Sam Ford bc2ce97e5d
Sparkle: Move sorting/filtering into methods
We need to be able to replicate the `Sparkle` strategy's sorting
and filtering behavior in a related cask audit, so this extracts
the logic into reusable methods.

This also stores `item.minimum_system_version` as a `MacOSVersion`
object (instead of a string), so we can do proper version comparison
(instead of naive string comparison) wherever needed.
2023-11-16 12:05:24 -05:00
..
2023-11-09 10:23:13 +11:00
2023-11-05 08:55:58 -08:00
2023-10-06 01:00:21 +00:00
2023-11-05 08:55:58 -08:00
2023-11-16 16:40:04 +00:00
2023-10-30 18:57:50 +00:00
2023-11-10 23:12:08 +08:00
2023-11-16 16:35:26 +00:00
2023-11-05 08:55:58 -08:00
2023-11-11 05:36:40 +00:00
2023-08-12 22:01:22 -07:00
2023-11-07 19:27:30 +00:00
2023-05-12 21:17:30 +02:00
2023-11-07 22:28:03 +00:00
2023-10-10 03:42:22 +02:00
2023-08-12 22:01:22 -07:00
2023-11-05 08:55:58 -08:00
2023-09-29 12:32:22 +01:00
2023-05-17 15:26:46 +02:00
2023-08-12 22:01:22 -07:00
2023-07-06 16:56:20 +01:00
2023-08-04 16:43:13 +01:00
2023-05-20 19:28:29 +02:00
2023-11-13 14:12:35 -05:00
2023-09-05 16:43:36 -04:00
2023-11-05 09:28:19 -08:00
2023-06-24 11:09:28 +01:00
2023-11-05 08:55:58 -08:00
2023-11-05 00:54:59 +00:00
2023-05-09 05:08:38 +02:00
2023-07-06 16:56:20 +01:00
2023-09-29 12:32:22 +01:00
2023-09-05 22:40:23 -04:00
2023-11-05 12:23:42 -08:00
2023-08-12 22:01:22 -07:00
2023-09-27 17:33:44 +01:00
2023-08-12 22:01:22 -07:00
2023-11-05 08:55:58 -08:00
2023-10-28 23:43:35 -07:00

Homebrew Ruby API

This is the API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!