update global constants to allow for windows 10

bug/bundler_fix
William Webb 2016-07-27 12:43:19 -05:00
parent af137f3ec3
commit 5b8b15e578
1 changed files with 3 additions and 1 deletions

View File

@ -88,6 +88,7 @@ module OperatingSystems
SEVEN = "7"
EIGHT = "8"
EIGHTONE = "8.1"
TEN = "10.0"
end
UNKNOWN = "Unknown"
@ -108,6 +109,7 @@ module OperatingSystems
WINDOWS_2012 = /^(?:Microsoft )?Windows 2012/
WINDOWS_8 = /^(?:Microsoft )?Windows 8/
WINDOWS_81 = /^(?:Microsoft )?Windows 8\.1/
WINDOWS_10 = /^(?:Microsoft )?Windows 10/
LINUX = /^Linux/i
MAC_OSX = /^(?:Apple )?Mac OS X/
@ -138,4 +140,4 @@ LICENSES =
BSD_LICENSE,
ARTISTIC_LICENSE,
UNKNOWN_LICENSE
]
]