Sam Ford
dce220e518
Cask::Audit: fix key not found: :latest
error
...
`Cask::Audit.audit_livecheck_version` can raise a `key not found:
:latest` error when a hash from livecheck's `latest_version` method
doesn't have a `:latest` value. This error means that livecheck was
unable to identify the latest upstream version but it can only be
understood if the reader knows how this audit is implemented (and it
may also depend on knowing the structure of livecheck's
`latest_version` hash). Without that knowledge, the error doesn't
make it clear which audit is failing and why.
This addresses the issue by using `nil` as the default value for this
`fetch` call and accounting for a `nil` `latest_version` value. This
allows the audit to surface the usual "Version '1.2.3' differs from
'' retrieved by livecheck" failure, which makes it more clear that
livecheck isn't returning a version.
2025-09-03 12:34:06 -04:00
..
2025-08-25 20:27:47 -07:00
2025-08-26 17:02:57 -04:00
2025-08-28 16:41:50 +01:00
2025-09-03 12:34:06 -04:00
2025-08-25 13:39:35 -04:00
2025-08-25 20:30:31 -07:00
2025-08-16 00:57:59 -04:00
2025-08-08 16:01:13 +08:00
2025-06-17 16:33:58 +01:00
2025-09-03 09:10:58 -04:00
2025-09-01 14:51:29 +00:00
2025-08-29 08:18:14 +00:00
2025-08-25 20:27:47 -07:00
2025-09-02 11:32:22 -04:00
2025-08-22 10:41:43 +01:00
2025-09-03 11:07:03 +00:00
2025-08-05 17:13:42 -04:00
2025-08-23 13:13:48 +10:00
2025-08-22 09:10:29 +00:00
2025-08-31 11:11:41 -07:00
2025-09-02 15:55:09 +08:00
2025-08-04 09:50:06 -04:00
2025-09-02 15:55:09 +08:00
2025-08-25 20:27:47 -07:00
2025-08-25 20:27:47 -07:00
2025-08-29 08:32:56 +00:00
2025-08-13 12:23:12 -07:00
2025-08-23 09:23:30 -07:00
2025-08-20 19:20:19 +01:00
2025-07-16 08:58:14 -07:00
2025-08-20 19:20:19 +01:00
2025-06-17 08:18:33 +01:00
2025-09-01 16:32:48 -04:00
2025-06-15 09:02:41 -04:00
2025-08-20 19:20:19 +01:00
2025-08-07 14:32:56 +02:00
2025-08-15 19:21:28 +01:00
2025-08-04 15:51:02 +01:00
2025-08-22 09:10:29 +00:00
2025-08-18 18:41:19 +08:00
2025-08-05 17:13:42 -04:00
2025-09-02 17:00:34 +01:00
2025-08-23 18:44:36 -07:00
2025-07-14 19:12:38 +01:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-08-16 00:57:59 -04:00
2025-08-20 19:20:19 +01:00
2025-08-15 19:21:28 +01:00
2025-06-29 11:30:06 -07:00
2025-08-16 00:57:59 -04:00
2025-08-25 00:34:09 -04:00
2025-08-18 18:04:58 +10:00
2025-06-21 21:13:38 -04:00
2025-08-23 20:52:31 +08:00
2025-08-25 13:39:35 -04:00
2025-09-01 08:12:37 -04:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-08-28 13:23:39 -04:00
2025-08-25 12:00:33 -04:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-08-26 17:02:57 -04:00
2025-08-20 19:20:19 +01:00
2025-08-24 14:57:19 -07:00
2025-08-28 16:48:32 -04:00
2025-08-29 08:32:56 +00:00
2025-08-23 18:44:36 -07:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-07-16 17:22:33 +01:00
2025-06-14 18:45:25 -04:00
2025-06-16 08:10:08 +00:00
2025-08-20 19:20:19 +01:00
2025-08-05 17:13:42 -04:00
2025-08-13 12:23:12 -07:00
2025-07-31 17:31:27 +01:00
2025-08-20 19:20:19 +01:00
2025-08-28 15:19:08 +02:00
2025-08-18 20:23:19 +01:00
2025-08-28 21:01:19 +09:00
2025-08-05 17:13:42 -04:00
2025-08-20 19:20:19 +01:00
2025-08-28 15:20:54 +02:00
2025-09-01 13:59:07 +01:00
2025-08-18 16:57:20 +01:00
2025-08-22 14:31:59 +01:00
2025-08-23 20:40:20 +01:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-08-24 12:58:48 -04:00
2025-08-20 19:20:19 +01:00
2025-07-27 10:07:34 -07:00
2025-08-20 19:20:19 +01:00
2025-08-23 18:44:36 -07:00
2025-09-02 17:00:34 +01:00
2025-08-19 13:03:08 +01:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-09-01 09:50:10 -04:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-08-16 00:57:59 -04:00
2025-08-21 14:19:34 +08:00
2025-09-01 13:59:07 +01:00
2025-08-16 04:04:46 +08:00
2025-08-20 19:20:19 +01:00
2025-08-20 19:20:19 +01:00
2025-06-17 08:18:33 +01:00
2025-06-24 12:06:55 +01:00
2025-08-31 22:59:21 +08:00
2025-07-01 15:07:24 -04:00
2025-09-02 17:00:34 +01:00
2025-08-20 19:20:19 +01:00
2025-08-31 11:11:41 -07:00
2025-08-26 21:23:07 +08:00
2025-08-20 19:20:19 +01:00
2025-08-24 14:34:31 -07:00
2025-08-16 00:54:50 -04:00