opscode-cookbooks/homebrew — pull request #26 by JeanMertz (2014-04-19 08:14:54+00:00)
Title: Guard against "HEAD only" formulae

Some formulae are "HEAD only". They are in a [separate repository](https://github.com/Homebrew/homebrew-headonly) but can easily be added using `brew tap homebrew/headonly`. This solves an issue where `Formula#stable` returns `nil` for these formulae.

Also replaces the deprecated `Formula.factory` method with `Formula[]`.