diff options
| author | Adam Vandenberg | 2012-03-10 10:02:05 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-03-10 10:02:05 -0800 |
| commit | f14b1fcfffa8c2e9ceb4f33298119809ae4fa4e8 (patch) | |
| tree | 79b43227482ace0cb365813dd1d66d3084ffb5b6 /Library | |
| parent | 8a1675273c8071687083a5c414d44b96c153052e (diff) | |
| download | homebrew-f14b1fcfffa8c2e9ceb4f33298119809ae4fa4e8.tar.bz2 | |
roll back stricter version check
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 4c0634d06..26b25cbf7 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -52,7 +52,9 @@ class Formula set_instance_variable 'version' # Otherwise detect the version from the URL @version ||= @spec_to_use.detect_version - validate_variable :version + # Only validate if a version was set; GitHubGistFormula needs to get + # the URL to determine the version + validate_variable :version if @version CHECKSUM_TYPES.each { |type| set_instance_variable type } |
