aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2011-10-10 15:28:55 -0500
committerJack Nagel2011-10-10 15:34:28 -0500
commit66629740f136af08054fd8fef2215eaff8783133 (patch)
tree31ca796f12bc089aed5768508ba85be002e59eb5 /Library
parent5b22b81327ea425d9611fe14d4a4119b972cf2a5 (diff)
downloadhomebrew-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.rb2
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