pivotal-sprout/sprout — pull request #117 by msainz (2013-09-12 02:26:28+00:00)
Title: Added :tap / :untap actions to brew provider

Example usage: subversion17 # recipe to install svn 1.7

formula_is_available = (/No available formula/ =~ `brew info subversion17 2>&1`).nil?
unless /version 1\.7/ =~ `svn --version`
brew 'homebrew/versions' do
action :tap
not_if formula_is_available
end
brew 'subversion17'
end