Bryce Glover 33c3faa125 [JavaRequirement#satisfies_version] java_version_s: Fix regular expression.
The match obtained by applying the regular expression used to index into
the `stderr` member of the result of calling `system_command` in the relevant
variable assignment could yield unexpected results.  The regular expression in-
volved was not strict enough and contained an unescaped period, which could
match any character, not just the expected literal decimal point.  This commit
corrects this oversight by escaping the relevant character, thus addressing
@apjanke's remark in https://github.com/Homebrew/brew/pull/5280#issuecomment-437165119 on the existence of a:

> …possible bug - that `.` looks like it should be escaped as `\.` to match a
> literal ".".) …
2018-12-14 13:45:55 -05:00
..
2018-12-13 15:46:12 -08:00
2018-12-04 10:47:38 -05:00
2018-11-05 12:41:51 +08:00
2018-11-02 17:29:23 +00:00
2018-11-24 11:21:52 +00:00
2018-11-12 05:01:33 +01:00
2018-11-02 17:29:23 +00:00
2018-11-02 17:29:23 +00:00
2018-11-02 17:29:23 +00:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-10-03 21:21:05 +00:00
2018-11-02 17:29:23 +00:00
2018-11-02 17:29:26 +00:00
2018-11-08 15:54:47 +00:00
2018-11-02 17:29:23 +00:00
2018-09-28 14:01:09 -07:00
2018-11-02 17:29:23 +00:00
2018-11-02 17:29:23 +00:00
2018-09-17 03:45:59 +02:00
2018-11-02 17:29:23 +00:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-11-02 17:29:23 +00:00
2018-09-17 03:45:59 +02:00
2018-09-17 03:45:59 +02:00
2018-11-02 17:29:23 +00:00
2018-10-19 16:38:41 +01:00
2018-09-17 03:45:59 +02:00
2018-11-02 17:29:23 +00:00
2018-11-08 15:54:47 +00:00
2018-11-02 17:29:23 +00:00
2018-11-02 17:29:23 +00:00
2018-11-02 17:29:23 +00:00
2018-11-02 17:29:23 +00:00
2018-09-17 03:45:59 +02:00
2018-11-02 17:29:23 +00:00

Homebrew's Formula API

This is the (partially) documented 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!