diff options
| author | Jack Nagel | 2011-10-10 15:28:55 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-10-10 15:34:28 -0500 |
| commit | 0a49981a30a773dfef50cc2940e47750215046fc (patch) | |
| tree | 5f381f99c9d726d86fe6a39e0ef1b7ede997691f /Library | |
| parent | f29c44d1fd0a7ae7c5c27dc3f0030915aa8cb262 (diff) | |
| download | brew-0a49981a30a773dfef50cc2940e47750215046fc.tar.bz2 | |
Add an attr_reader for 'head'
This allows `brew audit` to inspect the head URLs, for example; until
now, that check was failing silently.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index c2aeec8de..bf930f529 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -100,7 +100,7 @@ class Formula include FileUtils attr_reader :name, :path, :url, :version, :homepage, :specs, :downloader - attr_reader :bottle, :bottle_sha1 + attr_reader :bottle, :bottle_sha1, :head # Homebrew determines the name def initialize name='__UNKNOWN__', path=nil |
