aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_support.rb
diff options
context:
space:
mode:
authorJack Nagel2012-07-10 16:10:16 -0500
committerJack Nagel2012-08-18 11:12:09 -0500
commite57122780ec3c7dea535ea743930db97c9239037 (patch)
tree42b6d6e12037b9619b728cdd53a875a191c97540 /Library/Homebrew/formula_support.rb
parent329f0a849059d227866d8127f9f72066236c82da (diff)
downloadbrew-e57122780ec3c7dea535ea743930db97c9239037.tar.bz2
Add Version#detected_from_url?
Diffstat (limited to 'Library/Homebrew/formula_support.rb')
-rw-r--r--Library/Homebrew/formula_support.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index 1b968d849..023d225d9 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -11,11 +11,6 @@ class SoftwareSpec
@mirrors = []
end
- # Was the version defined in the DSL, or detected from the URL?
- def explicit_version?
- @explicit_version || false
- end
-
def download_strategy
@download_strategy ||= DownloadStrategyDetector.new(@url, @using).detect
end
@@ -63,7 +58,6 @@ class SoftwareSpec
@version ||= Version.parse(@url)
else
@version = Version.new(val)
- @explicit_version = true
end
end