Mike McQuaid 03e583e746
cask: read bundle version from Info.plist when sensible.
If you're trying to use `brew info --json=v2` to get an installed
version and figure out if it is outdated: you're going to have a bad
time with `auto_updates` casks because `installed_version` alone is not
enough to get the actually currently installed version of the app.

Instead, in these cases, try to read from `Info.plist` if there is one
and use that version.

While we're here, add a `blank?` method to `Version` so we can use it
for `present?` checks (making a `null?` `Version` object `blank?`).

Co-authored-by: Markus Reiter <me@reitermark.us>
2024-03-06 15:52:16 +00:00
..
2024-02-26 16:58:53 +00:00
2024-02-04 15:42:26 +01:00
2023-08-12 22:01:22 -07:00
2024-01-19 13:36:17 -08:00
2024-02-20 18:25:11 +01:00
2023-05-12 21:17:30 +02:00
2023-05-12 21:17:30 +02:00
2024-01-12 10:56:49 -08:00
2023-05-12 21:17:30 +02:00
2023-11-09 10:23:13 +11:00
2023-05-13 06:46:59 +02:00