From 0a49981a30a773dfef50cc2940e47750215046fc Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 10 Oct 2011 15:28:55 -0500 Subject: [PATCH] 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 --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index c2aeec8de3..bf930f5297 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