aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-01-29 09:51:01 -0600
committerJack Nagel2013-01-29 09:52:02 -0600
commit19d5fc8a5e14c86835383215708233645340fd0b (patch)
treeee878f9c9641aa57723c5c432c7b25fd3df2f1ce /Library
parent1ae81a292ab89498a84f5f4b9a2eaa0148733bbc (diff)
downloadhomebrew-19d5fc8a5e14c86835383215708233645340fd0b.tar.bz2
Update Xcode.version for 4.6
Diffstat (limited to 'Library')
-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