merge all OS X release symbols into one file

This commit is contained in:
Roland Walker 2014-12-30 11:14:06 -05:00
parent 0e20bd4f62
commit 997c4a007d
2 changed files with 5 additions and 7 deletions

View File

@ -56,13 +56,7 @@ class Cask::DSL::DependsOn
def self.coerce_os_release(arg)
# supplement Homebrew's table
@osx_symbols ||= OS::Mac::Version::SYMBOLS.merge!(
:cheetah => '10.0',
:puma => '10.1',
:jaguar => '10.2',
:panther => '10.3'
)
@osx_symbols ||= OS::Mac::Version::SYMBOLS
@inverted_osx_symbols ||= @osx_symbols.invert
begin

View File

@ -13,6 +13,10 @@ module OS
:snow_leopard => '10.6',
:leopard => '10.5',
:tiger => '10.4',
:panther => '10.3',
:jaguar => '10.2',
:puma => '10.1',
:cheetah => '10.0',
}
def initialize(release)