aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-01-29 09:51:01 -0600
committerJack Nagel2013-01-29 09:52:02 -0600
commit9b555ee3990ce381ce3073d361f5aaf7a0499548 (patch)
treee05f3f0ce64f86ad8b89855a9a2a5fc2db7a37c8
parent14bb39b898858f5a6a03999f24ddad4a0d4e7d7a (diff)
downloadbrew-9b555ee3990ce381ce3073d361f5aaf7a0499548.tar.bz2
Update Xcode.version for 4.6
-rw-r--r--Library/Homebrew/macos/xcode.rb34
1 files changed, 12 insertions, 22 deletions
diff --git a/Library/Homebrew/macos/xcode.rb b/Library/Homebrew/macos/xcode.rb
index 49b18af0d..28e825261 100644
--- a/Library/Homebrew/macos/xcode.rb
+++ b/Library/Homebrew/macos/xcode.rb
@@ -109,28 +109,18 @@ module MacOS::Xcode extend self
"4.0"
else
case (MacOS.clang_version.to_f * 10).to_i
- when 0
- "dunno"
- when 1..14
- "3.2.2"
- when 15
- "3.2.4"
- when 16
- "3.2.5"
- when 17..20
- "4.0"
- when 21
- "4.1"
- when 22..30
- "4.2"
- when 31
- "4.3"
- when 40
- "4.4"
- when 41
- "4.5"
- else
- "4.5"
+ when 0 then :dunno
+ when 1..14 then "3.2.2"
+ when 15 then "3.2.4"
+ when 16 then "3.2.5"
+ when 17..20 then "4.0"
+ when 21 then "4.1"
+ when 22..30 then "4.2"
+ when 31 then "4.3"
+ when 40 then "4.4"
+ when 41 then "4.5"
+ when 42 then "4.6"
+ else "4.6"
end
end
end