From 90217c07a51109e86ace3203b5b99a2d77587bfd Mon Sep 17 00:00:00 2001 From: Kaniska Date: Fri, 28 Mar 2025 09:06:44 +0000 Subject: [PATCH] Ruby 3.1 EOL and 3.4 addition --- src/ruby/devcontainer-feature.json | 7 +++---- test/ruby/install_additional_ruby.sh | 6 +++--- test/ruby/ruby_fallback_test.sh | 2 +- test/ruby/scenarios.json | 4 ++-- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/ruby/devcontainer-feature.json b/src/ruby/devcontainer-feature.json index 0618d4296..3d7a081e8 100644 --- a/src/ruby/devcontainer-feature.json +++ b/src/ruby/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "ruby", - "version": "1.2.3", + "version": "1.3.0", "name": "Ruby (via rvm)", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/ruby", "description": "Installs Ruby, rvm, rbenv, common Ruby utilities, and needed dependencies.", @@ -10,9 +10,8 @@ "proposals": [ "latest", "none", - "3.1", - "3.0", - "2.7" + "3.4", + "3.2" ], "default": "latest", "description": "Select or enter a Ruby version to install" diff --git a/test/ruby/install_additional_ruby.sh b/test/ruby/install_additional_ruby.sh index 4fa844475..12b77def3 100644 --- a/test/ruby/install_additional_ruby.sh +++ b/test/ruby/install_additional_ruby.sh @@ -5,9 +5,9 @@ set -e # Optional: Import test library source dev-container-features-test-lib -check "ruby version 3.1.2 installed as default" ruby -v | grep 3.1.2 -check "ruby version 2.5.9 installed" rvm list | grep 2.5.9 -check "ruby version 3.0.4 installed" rvm list | grep 3.0.4 +check "ruby version 3.4.2 installed as default" ruby -v | grep 3.4.2 +check "ruby version 3.2.8 installed" rvm list | grep 3.2.8 +check "ruby version 3.3.2 installed" rvm list | grep 3.3.2 check "rbenv" bash -c 'eval "$(rbenv init -)" && rbenv --version' check "rake" bash -c "gem list | grep rake" diff --git a/test/ruby/ruby_fallback_test.sh b/test/ruby/ruby_fallback_test.sh index 1c2179fc3..a4ec9a6b5 100644 --- a/test/ruby/ruby_fallback_test.sh +++ b/test/ruby/ruby_fallback_test.sh @@ -248,7 +248,7 @@ get_github_api_repo_url() { # Figure out correct version of a three part version number is not passed ruby_url="https://github.com/ruby/ruby" -RUBY_VERSION="3.1.xyz" +RUBY_VERSION="3.4.xyz" set_rvm_install_args() { RUBY_VERSION=$1 diff --git a/test/ruby/scenarios.json b/test/ruby/scenarios.json index cfa2d8554..dd59d30fb 100644 --- a/test/ruby/scenarios.json +++ b/test/ruby/scenarios.json @@ -3,8 +3,8 @@ "image": "ubuntu:focal", "features": { "ruby": { - "version": "3.1.2", - "additionalVersions": "2.5,3.0.4" + "version": "3.4.2", + "additionalVersions": "3.2,3.3.2" } } },