Sam Ford b3ab410215
rubocops/livecheck: Rework LivecheckUrlProvided
The existing `LivecheckUrlProvided` RuboCop requires a `url` for all
`livecheck` blocks except those using `skip`, `formula`, or `cask`,
as those only appear in a `livecheck` block with no other DSL methods.

We now have a `throttle` method that can be used alongside other DSL
methods (e.g., `url`, `regex`, `strategy`) or by itself. `brew style`
currently fails when `throttle` is used by itself, so this reworks
the conditions to allow this usage.
2024-03-21 15:53:25 -04:00
..
2024-03-07 16:20:20 +00:00
2024-03-19 21:21:37 +00:00
2024-03-15 12:51:03 -07:00
2024-02-09 00:11:05 +00:00
2024-03-20 10:16:17 -07:00
2024-03-07 16:20:20 +00:00
2024-03-21 00:20:03 +00:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-02-11 21:53:21 -05:00
2023-11-11 05:36:40 +00:00
2024-03-17 20:53:58 -07:00
2024-03-20 10:36:19 -07:00
2024-03-07 16:20:20 +00:00
2023-12-31 11:29:57 -08:00
2024-03-11 11:46:23 -04:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2023-10-10 03:42:22 +02:00
2023-11-05 08:55:58 -08:00
2024-02-18 15:47:56 -08:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-02-18 15:47:56 -08:00
2024-03-07 16:20:20 +00:00
2024-02-04 15:42:26 +01:00
2024-03-17 11:33:47 -04:00
2023-12-27 15:29:33 -08:00
2024-03-07 16:20:20 +00:00
2024-03-17 22:47:37 -07:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-02-18 15:47:56 -08:00
2023-12-06 00:01:25 +00:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-01-12 15:37:24 +01:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-02-22 22:03:54 +01:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00:00
2024-03-07 16:20:20 +00: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!