aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/tab.rb
diff options
context:
space:
mode:
authorAlyssa Ross2016-12-30 18:15:35 +0000
committerAlyssa Ross2016-12-30 18:15:35 +0000
commitce454bd141ec4f97b2bfb9d71e0cea4389c78089 (patch)
treeef45bb5a6867c3d7e6bdc488d6c14b68ca3c6ad8 /Library/Homebrew/tab.rb
parente5db7927c940e260fe10d4c88754b7b01384e427 (diff)
downloadbrew-ce454bd141ec4f97b2bfb9d71e0cea4389c78089.tar.bz2
tab: parse full Homebrew version string
It didn't occur to me that this would work, but it does! Magic.
Diffstat (limited to 'Library/Homebrew/tab.rb')
-rw-r--r--Library/Homebrew/tab.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb
index 332237a57..ced49b7b2 100644
--- a/Library/Homebrew/tab.rb
+++ b/Library/Homebrew/tab.rb
@@ -248,7 +248,7 @@ class Tab < OpenStruct
def parsed_homebrew_version
return Version::NULL if homebrew_version.nil?
- Version.new(homebrew_tag)
+ Version.new(homebrew_version)
end
# Whether there is reliable runtime dependency information in the receipt.