David Frascone 8ed8d6979c Fix for when version is nil
When version is nil, (version <==> other.version) also returns nil
and then the nill object doesn't have a nonzero? method.

I'm not sure what package put me into this state, but, this fix repaired
my environment.

Also, there is probably a more ruby-esque way to do this, but, I'm not a
ruby expert ;-)
2020-03-03 12:27:21 -07:00
..
2020-02-26 16:49:48 +03:00
2020-03-03 12:27:21 -07:00
2020-02-22 17:13:51 +00:00
2020-02-19 11:05:29 +00:00
2019-12-19 12:01:51 +00:00
2020-01-26 14:38:32 +11:00
2020-02-02 16:36:37 +01:00
2020-02-19 11:24:12 +00:00
2020-03-03 12:27:21 -07:00
2019-11-28 15:10:50 +00:00
2020-02-28 14:57:28 -05: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!