diff options
| author | Jack Nagel | 2011-10-10 15:28:55 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-10-10 15:34:28 -0500 |
| commit | 66629740f136af08054fd8fef2215eaff8783133 (patch) | |
| tree | 31ca796f12bc089aed5768508ba85be002e59eb5 /Library | |
| parent | 5b22b81327ea425d9611fe14d4a4119b972cf2a5 (diff) | |
| download | homebrew-66629740f136af08054fd8fef2215eaff8783133.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 |
