Merge pull request #16176 from MikeMcQuaid/cask_json_installed_time

cask: add `installed_time` to JSON output.
This commit is contained in:
Mike McQuaid 2023-11-03 11:51:12 +00:00 committed by GitHub
commit e8290c2ed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -321,6 +321,7 @@ module Cask
"appcast" => appcast,
"version" => version,
"installed" => installed_version,
"installed_time" => install_time&.to_i,
"outdated" => outdated?,
"sha256" => sha256,
"artifacts" => artifacts_list,

View File

@ -20,6 +20,7 @@
"appcast": null,
"version": "1.2.3",
"installed": null,
"installed_time": null,
"outdated": false,
"sha256": "c64c05bdc0be845505d6e55e69e696a7f50d40846e76155f0c85d5ff5e7bbb84",
"artifacts": [