Issy Long b9f13fc35d
Better detection and replacement of non-alphabetized arrays
- Use `sort_by` to sort the array, rather than comparing each element
  to the next.
- This doesn't error with complaints about clobbering at all when run on
  `homebrew/cask`, hurray. And it also handles interpolations correctly,
  rather than ignoring them.

Co-authored-by: Bevan Kay <email@bevankay.me>
2023-12-22 00:26:38 +00:00
..
2023-10-06 01:00:21 +00:00
2023-10-30 18:57:50 +00:00
2023-12-18 16:29:36 +00:00
2023-11-05 08:55:58 -08:00
2023-11-11 05:36:40 +00:00
2023-04-05 10:06:45 -07:00
2023-08-12 22:01:22 -07:00
2023-03-07 19:15:05 -08:00
2023-12-15 16:24:46 +00:00
2023-04-24 20:42:39 -07:00
2023-03-02 11:49:09 -08:00
2023-12-06 00:01:25 +00:00
2023-05-12 21:17:30 +02:00
2023-11-29 15:30:17 +00:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-10-10 03:42:22 +02:00
2023-04-24 20:42:39 -07:00
2023-12-06 00:01:25 +00:00
2023-08-12 22:01:22 -07:00
2023-11-05 08:55:58 -08:00
2023-12-16 20:18:35 -05:00
2023-03-07 09:08:54 -08:00
2023-03-15 14:29:15 -07: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-12-16 20:18:35 -05:00
2023-08-04 16:43:13 +01:00
2023-04-24 20:42:39 -07:00
2023-05-20 19:28:29 +02:00
2023-03-25 08:50:06 -07:00
2023-12-15 19:24:05 +00:00
2023-12-18 16:29:36 +00:00
2023-04-24 20:42:39 -07:00
2023-06-24 11:09:28 +01: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-27 05:15:43 +01:00
2023-04-24 20:42:39 -07:00
2023-05-06 03:27:42 +02:00
2023-11-05 00:54:59 +00: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-21 21:42:51 -07:00
2023-05-09 05:08:38 +02:00
2023-07-06 16:56:20 +01:00
2023-03-15 14:29:15 -07:00
2023-12-06 00:01:25 +00:00
2023-09-29 12:32:22 +01:00
2023-09-05 22:40:23 -04:00
2023-04-24 20:42:38 -07:00
2023-04-24 20:42:39 -07: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-12-06 00:01:25 +00:00
2023-03-09 13:42:06 -08:00
2023-11-05 08:55:58 -08:00
2023-03-21 17:37:48 -07: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!