apainintheneck c1d85bf598
formula: add #to_api_hash
This will be used internally to generate a slimmer api hash representation
of formulas that will require less space and be faster to load.

Changes:
- Added #to_api_hash
- Modified #to_hash_with_variations to work with both #to_hash and #to_api_hash
- Modified #bottle_hash to have compact representation for the api hash
- Added #urls_hash to share url hash generation logic between the hash methods
2024-02-04 13:50:57 +01:00
..
2024-01-31 20:02:33 -08:00
2023-10-06 01:00:21 +00:00
2024-01-31 20:02:33 -08:00
2024-02-04 11:42:32 +00:00
2024-01-26 15:03:59 -08:00
2023-11-11 05:36:40 +00:00
2024-01-09 19:07:36 +00:00
2023-08-12 22:01:22 -07:00
2023-12-31 11:29:57 -08:00
2023-12-18 09:34:01 -08:00
2023-12-19 19:05:28 +09: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
2024-01-02 17:48:29 +00:00
2023-12-16 20:18:35 -05:00
2023-08-12 22:01:22 -07:00
2024-01-22 10:52:43 -08:00
2023-08-04 16:43:13 +01:00
2023-12-27 15:29:33 -08:00
2024-02-04 13:50:57 +01:00
2024-01-19 13:36:17 -08:00
2023-11-05 00:54:59 +00:00
2023-12-06 00:01:25 +00:00
2023-09-29 12:32:22 +01:00
2024-01-12 15:37:24 +01:00
2023-08-12 22:01:22 -07:00
2024-01-12 10:56:49 -08:00
2023-12-06 00:01:25 +00:00
2023-11-05 08:55:58 -08:00
2024-01-01 18:37:47 +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!