This repository was archived by the owner on Feb 9, 2025. It is now read-only.
File tree 1 file changed +1
-7
lines changed
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -379,13 +379,6 @@ def format_os_version_dimension(dimension)
379
379
. gsub ( /^macOS ?/ , "" )
380
380
. gsub ( / \( .+\) $/ , "" )
381
381
case dimension
382
- when "10.4" then "Mac OS X Tiger (10.4)"
383
- when "10.5" then "Mac OS X Leopard (10.5)"
384
- when "10.6" then "Mac OS X Snow Leopard (10.6)"
385
- when "10.7" then "Mac OS X Lion (10.7)"
386
- when "10.8" then "OS X Mountain Lion (10.8)"
387
- when "10.9" then "OS X Mavericks (10.9)"
388
- when "10.10" then "OS X Yosemite (10.10)"
389
382
when "10.11" , /^10\. 11\. ?/ then "OS X El Capitan (10.11)"
390
383
when "10.12" , /^10\. 12\. ?/ then "macOS Sierra (10.12)"
391
384
when "10.13" , /^10\. 13\. ?/ then "macOS High Sierra (10.13)"
@@ -403,6 +396,7 @@ def format_os_version_dimension(dimension)
403
396
when /CentOS (\w +) (\d +)/ then "CentOS #{ Regexp . last_match ( 1 ) } #{ Regexp . last_match ( 2 ) } "
404
397
when /Fedora Linux (\d +)[.\d ]*/ then "Fedora Linux #{ Regexp . last_match ( 1 ) } "
405
398
when /KDE neon .*?([\d .]+)/ then "KDE neon #{ Regexp . last_match ( 1 ) } "
399
+ when /Amazon Linux (\d +)\. [.\d ]*/ then "Amazon Linux #{ Regexp . last_match ( 1 ) } "
406
400
else dimension
407
401
end
408
402
end
You can’t perform that action at this time.
0 commit comments