Baptiste Fontaine 236a18debe audit: fix crash when HOMEBREW_NO_GITHUB_API is set
Running brew audit --strict --online on a formula with a GitHub
homepage/url would crash if HOMEBREW_NO_GITHUB_API is set because
GitHub.repository returns `nil` and the audit code assumes it always
returns a hash.

Closes Homebrew/homebrew#50054.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-03-14 19:39:15 +08:00
..
2016-03-07 19:43:46 +08:00
2015-12-26 23:00:38 +01:00
2016-01-04 13:17:21 +01:00
2016-03-07 19:43:46 +08:00
2016-01-03 19:08:11 +00:00
2016-03-11 13:32:54 +08:00
2016-01-19 12:54:00 +00:00
2016-03-08 21:55:09 +08:00
2016-02-02 18:08:13 +00:00
2015-10-18 22:57:42 +08:00
2016-02-06 14:20:56 -08:00
2016-01-13 21:37:22 +01:00
2016-01-15 16:26:04 +08:00
2016-03-13 14:32:05 +08:00
2016-03-07 19:43:46 +08:00
2016-03-10 18:45:43 +08: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!