Michka Popoff d768b6649a bottle: add tests for json merging
- Extract the json reading from the json merging: it makes the code hard to understand.
This helps for the separation of concerns: the jsons are read in one method;
and merged in a second one
- Added a first test to check the merge function

No change in behaviour was done, this change is just there to increase code coverage
and to prepare for #9315
2020-12-07 19:58:49 +01:00
..
2020-11-25 17:04:19 +01:00
2020-12-02 00:27:24 +00:00
2020-10-10 14:59:39 +02:00
2020-12-02 09:54:18 +01:00
2020-12-07 12:09:29 +00:00
2020-11-25 17:04:19 +01:00
2020-12-07 14:41:14 +00:00
2020-12-07 19:58:49 +01:00
2020-11-26 14:13:01 +01:00
2020-12-07 14:40:28 +00:00
2020-11-13 12:26:36 +01:00
2020-11-12 17:06:47 +00:00
2020-10-11 00:30:09 +02:00
2020-12-02 10:43:04 +00:00
2020-12-02 10:43:04 +00:00
2020-11-19 19:46:59 +01:00
2020-12-03 16:52:55 +00:00
2020-11-19 19:46:59 +01:00
2020-11-16 02:05:29 +01:00
2020-12-02 10:43:04 +00:00
2020-11-25 09:37:21 +00:00
2020-11-24 16:44:02 +00:00
2020-11-17 11:09:55 +01:00
2020-11-13 12:26:36 +01:00
2020-11-23 05:48:43 +01:00
2020-12-02 10:43:04 +00:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-17 11:09:55 +01:00
2020-11-23 02:06:37 +01:00
2020-11-29 22:59:10 +01:00
2020-12-02 10:43:04 +00:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-25 17:04:19 +01:00
2020-12-02 10:43:04 +00:00
2020-12-02 10:43:04 +00:00
2020-12-02 10:43:04 +00:00
2020-12-07 14:40:28 +00:00
2020-10-10 14:59:39 +02:00
2020-12-02 10:43:04 +00:00
2020-11-27 13:12:09 +00:00
2020-12-02 10:43:04 +00:00
2020-10-10 14:59:39 +02:00
2020-11-13 12:26:36 +01:00
2020-10-10 14:59:39 +02:00
2020-11-13 12:26:36 +01:00
2020-11-05 23:50:55 -05:00
2020-11-13 12:26:36 +01:00
2020-11-13 12:26:36 +01:00
2020-11-29 21:23:54 +01:00
2020-11-24 16:44:02 +00:00
2020-11-25 17:36:52 +01:00
2020-11-29 21:23:54 +01:00
2020-11-05 23:50:55 -05:00
2020-11-18 09:30:11 +01:00
2020-11-25 17:04:19 +01:00
2020-11-25 17:04:19 +01:00
2020-12-02 10:43:04 +00:00
2020-11-29 21:23:54 +01:00
2020-11-30 18:18:50 -05:00
2020-11-13 12:26:36 +01:00
2020-11-24 16:44:02 +00:00
2020-11-30 00:00:02 +01:00
2020-11-29 21:23:54 +01:00
2020-11-30 00:49:14 +01:00
2020-11-05 00:53:12 -05:00
2020-12-02 10:43:04 +00:00
2020-11-16 02:05:29 +01:00

Homebrew's Formula API

This is the public 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!