mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
The jruby-launcher needs to be tested at least one major JRuby version back. In addition, there are users out there running JRuby 9.1.x that may be unable to upgrade at present.
31 lines
723 B
JavaScript
31 lines
723 B
JavaScript
export function getVersions(platform) {
|
|
const versions = {
|
|
"ruby": [
|
|
"2.2.10",
|
|
"2.3.0", "2.3.1", "2.3.2", "2.3.3", "2.3.4", "2.3.5", "2.3.6", "2.3.7", "2.3.8",
|
|
"2.4.0", "2.4.1", "2.4.2", "2.4.3", "2.4.4", "2.4.5", "2.4.6", "2.4.7", "2.4.9",
|
|
"2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.5.4", "2.5.5", "2.5.6", "2.5.7",
|
|
"2.6.0", "2.6.1", "2.6.2", "2.6.3", "2.6.4", "2.6.5",
|
|
"2.7.0",
|
|
"head"
|
|
],
|
|
"jruby": [
|
|
"9.1.17.0", "9.2.9.0", "9.2.10.0", "9.2.11.0",
|
|
"head"
|
|
],
|
|
"truffleruby": [
|
|
"19.3.0", "19.3.1",
|
|
"20.0.0",
|
|
"head"
|
|
]
|
|
}
|
|
|
|
if (platform === 'ubuntu-18.04') {
|
|
versions['rubinius'] = [
|
|
"4.14"
|
|
]
|
|
}
|
|
|
|
return versions
|
|
}
|