This repository was archived by the owner on Jun 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 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)
379379 . gsub ( /^macOS ?/ , "" )
380380 . gsub ( / \( .+\) $/ , "" )
381381 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)"
389382 when "10.11" , /^10\. 11\. ?/ then "OS X El Capitan (10.11)"
390383 when "10.12" , /^10\. 12\. ?/ then "macOS Sierra (10.12)"
391384 when "10.13" , /^10\. 13\. ?/ then "macOS High Sierra (10.13)"
@@ -403,6 +396,7 @@ def format_os_version_dimension(dimension)
403396 when /CentOS (\w +) (\d +)/ then "CentOS #{ Regexp . last_match ( 1 ) } #{ Regexp . last_match ( 2 ) } "
404397 when /Fedora Linux (\d +)[.\d ]*/ then "Fedora Linux #{ Regexp . last_match ( 1 ) } "
405398 when /KDE neon .*?([\d .]+)/ then "KDE neon #{ Regexp . last_match ( 1 ) } "
399+ when /Amazon Linux (\d +)\. [.\d ]*/ then "Amazon Linux #{ Regexp . last_match ( 1 ) } "
406400 else dimension
407401 end
408402 end
You can’t perform that action at this time.
0 commit comments