Skip to content

Commit efd8832

Browse files
authored
[Ruby] - 3.1 EOL and 3.4 addition (#1312)
Ruby 3.1 EOL and 3.4 addition
1 parent 2eb4b5c commit efd8832

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

src/ruby/devcontainer-feature.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "ruby",
3-
"version": "1.2.3",
3+
"version": "1.3.0",
44
"name": "Ruby (via rvm)",
55
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/ruby",
66
"description": "Installs Ruby, rvm, rbenv, common Ruby utilities, and needed dependencies.",
@@ -10,9 +10,8 @@
1010
"proposals": [
1111
"latest",
1212
"none",
13-
"3.1",
14-
"3.0",
15-
"2.7"
13+
"3.4",
14+
"3.2"
1615
],
1716
"default": "latest",
1817
"description": "Select or enter a Ruby version to install"

test/ruby/install_additional_ruby.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ set -e
55
# Optional: Import test library
66
source dev-container-features-test-lib
77

8-
check "ruby version 3.1.2 installed as default" ruby -v | grep 3.1.2
9-
check "ruby version 2.5.9 installed" rvm list | grep 2.5.9
10-
check "ruby version 3.0.4 installed" rvm list | grep 3.0.4
8+
check "ruby version 3.4.2 installed as default" ruby -v | grep 3.4.2
9+
check "ruby version 3.2.8 installed" rvm list | grep 3.2.8
10+
check "ruby version 3.3.2 installed" rvm list | grep 3.3.2
1111

1212
check "rbenv" bash -c 'eval "$(rbenv init -)" && rbenv --version'
1313
check "rake" bash -c "gem list | grep rake"

test/ruby/ruby_fallback_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ get_github_api_repo_url() {
248248
# Figure out correct version of a three part version number is not passed
249249
ruby_url="https://github.com/ruby/ruby"
250250

251-
RUBY_VERSION="3.1.xyz"
251+
RUBY_VERSION="3.4.xyz"
252252

253253
set_rvm_install_args() {
254254
RUBY_VERSION=$1

test/ruby/scenarios.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"image": "ubuntu:focal",
44
"features": {
55
"ruby": {
6-
"version": "3.1.2",
7-
"additionalVersions": "2.5,3.0.4"
6+
"version": "3.4.2",
7+
"additionalVersions": "3.2,3.3.2"
88
}
99
}
1010
},

0 commit comments

Comments
 (0)