From e59456515d337ea629b63c74e7a1b31e1439f06e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 14 Jun 2013 19:10:14 -0500 Subject: [PATCH] Pass these as strings, they get converted anyway --- Library/Homebrew/os/mac/version.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/os/mac/version.rb b/Library/Homebrew/os/mac/version.rb index 90f0e97f70..cc1d65cfa3 100644 --- a/Library/Homebrew/os/mac/version.rb +++ b/Library/Homebrew/os/mac/version.rb @@ -4,11 +4,11 @@ module MacOS class Version < ::Version def <=>(other) v = case other - when :mountain_lion then 10.8 - when :lion then 10.7 - when :snow_leopard then 10.6 - when :leopard then 10.5 - when :tiger then 10.4 + when :mountain_lion then "10.8" + when :lion then "10.7" + when :snow_leopard then "10.6" + when :leopard then "10.5" + when :tiger then "10.4" else other.to_s end super(Version.new(v))