diff --git a/.github/ruby-versions.json b/.github/ruby-versions.json index 998187d..910d76b 100644 --- a/.github/ruby-versions.json +++ b/.github/ruby-versions.json @@ -1,4 +1,5 @@ [ + "4.0.2", "4.0.1", "4.0.0", "3.4.9", diff --git a/features/src/ruby/README.md b/features/src/ruby/README.md index ddc5ae1..d74040e 100644 --- a/features/src/ruby/README.md +++ b/features/src/ruby/README.md @@ -40,7 +40,7 @@ Installs Ruby and a version manager (mise or rbenv) along with the dependencies | Options Id | Description | Type | Default Value | |-----|-----|-----|-----| -| version | The version of ruby to be installed | string | 4.0.1 | +| version | The version of ruby to be installed | string | 4.0.2 | | versionManager | The version manager to use for Ruby (mise or rbenv) | string | mise | ## Customizations diff --git a/features/src/ruby/devcontainer-feature.json b/features/src/ruby/devcontainer-feature.json index 95c33e2..7f8b148 100644 --- a/features/src/ruby/devcontainer-feature.json +++ b/features/src/ruby/devcontainer-feature.json @@ -19,7 +19,7 @@ "options": { "version": { "type": "string", - "default": "4.0.1", + "default": "4.0.2", "description": "The ruby version to be installed" }, "versionManager": { diff --git a/features/test/ruby/test.sh b/features/test/ruby/test.sh index ff6d126..62942eb 100644 --- a/features/test/ruby/test.sh +++ b/features/test/ruby/test.sh @@ -8,6 +8,6 @@ check "mise is installed" bash -c "mise --version" check "mise init is sourced in the bashrc" bash -c "grep 'eval \"\$(~/.local/bin/mise activate bash)\"' $HOME/.bashrc" check "mise idiomatic version file is enabled for ruby" bash -c "mise settings | grep idiomatic_version_file_enable_tools | grep ruby" check "Ruby is installed with YJIT" bash -c "RUBY_YJIT_ENABLE=1 ruby -v | grep +YJIT" -check "Ruby version is set to 4.0.1" bash -c "mise use -g ruby | grep 4.0.1" +check "Ruby version is set to 4.0.1" bash -c "mise use -g ruby | grep 4.0.2" reportResults diff --git a/features/test/ruby/with_rbenv.sh b/features/test/ruby/with_rbenv.sh index 22af2c7..0749728 100644 --- a/features/test/ruby/with_rbenv.sh +++ b/features/test/ruby/with_rbenv.sh @@ -9,6 +9,6 @@ check "rbenv is installed" bash -c "rbenv --version" check "ruby-build is installed" bash -c "ls -l $HOME/.rbenv/plugins/ruby-build | grep '\-> /usr/local/share/ruby-build'" eval "$(rbenv init -)" check "Ruby is installed with YJIT" bash -c "RUBY_YJIT_ENABLE=1 ruby -v | grep +YJIT" -check "Ruby version is set to 4.0.1" bash -c "rbenv global | grep 4.0.1" +check "Ruby version is set to 4.0.1" bash -c "rbenv global | grep 4.0.2" reportResults