Sam Ford a2e966c186
Xml: Move require outside of #parse_xml
Since we use `REXML::Document` in the type signature for `#parse_xml`,
we can encounter an `uninitialized constant
Homebrew::Livecheck::Strategy::Xml::REXML` error in strategies like
`Sparkle` that use `Xml#parse_xml` internally when the Sorbet runtime
is used. Moving the related require outside of the `#parse_xml` method
and into the `Xml` strategy proper resolves this issue.
2023-04-29 10:16:47 -04:00
..
2023-04-25 09:26:24 -07:00
2023-04-25 09:26:24 -07:00
2023-04-24 20:42:39 -07:00
2023-04-25 09:26:24 -07:00
2023-04-24 20:42:39 -07:00
2023-04-25 09:26:24 -07:00
2023-04-19 11:18:18 +02:00
2023-04-24 20:42:39 -07:00
2023-04-27 10:14:17 -06:00
2023-04-28 19:02:30 +00:00
2023-04-24 20:42:39 -07:00
2023-04-05 10:06:45 -07:00
2023-03-14 14:49:34 -07:00
2023-04-05 10:06:45 -07:00
2023-03-07 19:15:05 -08:00
2023-03-18 13:55:19 -07:00
2023-04-12 13:15:34 +01:00
2023-04-24 20:42:39 -07:00
2023-03-13 09:08:56 -07:00
2023-04-24 20:42:39 -07:00
2023-04-19 21:30:42 +09:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-03-07 09:08:54 -08:00
2023-04-24 20:42:39 -07:00
2023-04-25 09:26:24 -07:00
2023-03-15 14:29:15 -07:00
2023-04-24 20:42:39 -07:00
2023-04-05 09:28:15 -04:00
2023-04-24 20:42:39 -07:00
2023-04-25 09:26:24 -07:00
2023-04-25 09:26:24 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-03-25 08:50:06 -07:00
2023-04-24 14:03:55 +01:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-26 09:16:55 -07:00
2023-04-24 20:42:39 -07:00
2023-03-31 08:35:20 -07:00
2023-03-31 08:35:20 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-27 05:15:43 +01:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-03-30 17:22:02 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-03-21 21:42:51 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-03-15 14:29:15 -07:00
2023-03-15 14:29:15 -07:00
2023-03-03 19:12:33 -08:00
2023-03-26 10:37:20 -07:00
2023-04-24 20:42:39 -07:00
2023-04-25 09:26:24 -07:00
2023-04-24 20:42:38 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-25 09:26:24 -07:00
2023-04-24 20:42:39 -07:00
2023-04-27 05:15:45 +01:00
2023-03-09 13:42:06 -08:00
2023-03-09 13:42:06 -08:00
2023-04-24 20:42:39 -07:00
2023-03-21 17:37:48 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -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!