commit
3844cd6dc5
@ -41,21 +41,21 @@ module OS
|
|||||||
|
|
||||||
def latest_sdk_version
|
def latest_sdk_version
|
||||||
# TODO: bump version when new Xcode macOS SDK is released
|
# TODO: bump version when new Xcode macOS SDK is released
|
||||||
Version.new "10.15"
|
Version.new "11.0"
|
||||||
end
|
end
|
||||||
|
|
||||||
def latest_stable_version
|
def latest_stable_version
|
||||||
# TODO: bump version when new macOS is released and also update
|
# TODO: bump version when new macOS is released and also update
|
||||||
# references in docs/Installation.md and
|
# references in docs/Installation.md and
|
||||||
# https://github.com/Homebrew/install/blob/HEAD/install.sh
|
# https://github.com/Homebrew/install/blob/HEAD/install.sh
|
||||||
Version.new "10.15"
|
Version.new "11.0"
|
||||||
end
|
end
|
||||||
|
|
||||||
def outdated_release?
|
def outdated_release?
|
||||||
# TODO: bump version when new macOS is released and also update
|
# TODO: bump version when new macOS is released and also update
|
||||||
# references in docs/Installation.md and
|
# references in docs/Installation.md and
|
||||||
# https://github.com/Homebrew/install/blob/HEAD/install.sh
|
# https://github.com/Homebrew/install/blob/HEAD/install.sh
|
||||||
version < "10.13"
|
version < "10.14"
|
||||||
end
|
end
|
||||||
|
|
||||||
def prerelease?
|
def prerelease?
|
||||||
|
|||||||
@ -22,8 +22,8 @@ module OS
|
|||||||
def latest_version
|
def latest_version
|
||||||
latest_stable = "12.2"
|
latest_stable = "12.2"
|
||||||
case MacOS.version
|
case MacOS.version
|
||||||
when "11.0" then "12.2"
|
when "11.0" then latest_stable
|
||||||
when "10.15" then latest_stable
|
when "10.15" then "12.2"
|
||||||
when "10.14" then "11.3.1"
|
when "10.14" then "11.3.1"
|
||||||
when "10.13" then "10.1"
|
when "10.13" then "10.1"
|
||||||
when "10.12" then "9.2"
|
when "10.12" then "9.2"
|
||||||
@ -45,7 +45,7 @@ module OS
|
|||||||
sig { returns(String) }
|
sig { returns(String) }
|
||||||
def minimum_version
|
def minimum_version
|
||||||
case MacOS.version
|
case MacOS.version
|
||||||
when "11.0" then "12.0"
|
when "11.0" then "12.2"
|
||||||
when "10.15" then "11.0"
|
when "10.15" then "11.0"
|
||||||
when "10.14" then "10.2"
|
when "10.14" then "10.2"
|
||||||
when "10.13" then "9.0"
|
when "10.13" then "9.0"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user