From f117ca04d86e4ea2ddb6c33076de6028df76da23 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sat, 3 Oct 2020 14:30:52 +0200 Subject: [PATCH] Add Ruby 2.7.2 --- README.md | 7 ++++--- dist/index.js | 2 +- ruby-builder-versions.js | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8c02acd..c38d4dc 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This action currently supports these versions of MRI, JRuby and TruffleRuby: | Interpreter | Versions | | ----------- | -------- | -| Ruby | 2.1.9, 2.2, 2.3.0 - 2.3.8, 2.4.0 - 2.4.10, 2.5.0 - 2.5.8, 2.6.0 - 2.6.6, 2.7.1, head, debug, mingw, mswin | +| Ruby | 2.1.9, 2.2, 2.3.0 - 2.3.8, 2.4.0 - 2.4.10, 2.5.0 - 2.5.8, 2.6.0 - 2.6.6, 2.7.2, head, debug, mingw, mswin | | JRuby | 9.1.17.0, 9.2.9.0 - 9.2.13.0, head | | TruffleRuby | 19.3.0 - 20.2.0, head | | Rubinius | 4.14 | @@ -22,8 +22,9 @@ This action currently supports these versions of MRI, JRuby and TruffleRuby: `ruby-debug` is the same as `ruby-head` but with assertions enabled (`-DRUBY_DEBUG=1`). On Windows, `mingw` and `mswin` are `ruby-head` builds using the MSYS2/MinGW and the MSVC toolchains respectively. -Ruby 2.2 resolves to 2.2.6 on Windows (last build from RubyInstaller) and 2.2.10 otherwise. -Ruby 2.3 on Windows only has builds for 2.3.0, 2.3.1 and 2.3.3 (same as RubyInstaller). +Only versions published by [RubyInstaller](https://rubyinstaller.org/downloads/archives/) are available on Windows. +Due to that, Ruby 2.2 resolves to 2.2.6 on Windows and 2.2.10 on other platforms. +And Ruby 2.3 on Windows only has builds for 2.3.0, 2.3.1 and 2.3.3. Note that Ruby ≤ 2.3 and the OpenSSL version it needs (1.0.2) are both end-of-life, which means Ruby ≤ 2.3 is unmaintained and considered insecure. diff --git a/dist/index.js b/dist/index.js index 3decc4c..6b675b0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -44483,7 +44483,7 @@ function getVersions(platform) { "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.4.10", "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.5.8", "2.6.0", "2.6.1", "2.6.2", "2.6.3", "2.6.4", "2.6.5", "2.6.6", - "2.7.0", "2.7.1", + "2.7.0", "2.7.1", "2.7.2", "head", "debug", ], "jruby": [ diff --git a/ruby-builder-versions.js b/ruby-builder-versions.js index 4a85c81..eedf57d 100644 --- a/ruby-builder-versions.js +++ b/ruby-builder-versions.js @@ -7,7 +7,7 @@ export function getVersions(platform) { "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.4.10", "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.5.8", "2.6.0", "2.6.1", "2.6.2", "2.6.3", "2.6.4", "2.6.5", "2.6.6", - "2.7.0", "2.7.1", + "2.7.0", "2.7.1", "2.7.2", "head", "debug", ], "jruby": [