From e621eff46b64f093610428f0049781552a30c1c4 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Sun, 20 Oct 2024 10:54:09 +0900 Subject: [PATCH] Bump default Ruby version to 3.3.5 Ruby 3.3.5 has been released on Sep 3, 2024. Refs: - https://www.ruby-lang.org/en/news/2024/09/03/3-3-5-released/ - https://github.com/ruby/ruby/releases/tag/v3_3_5 - https://hub.docker.com/layers/library/ruby/3.3.5/images/sha256-ec7f08965d494aac925342b53593fb55c826641ad7d80e2b02a97ff566147be7 --- Dockerfile | 2 +- Dockerfile.unix | 2 +- src/rails_new.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2e36541..b98117a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG RUBY_VERSION=3.3.4 +ARG RUBY_VERSION=3.3.5 FROM ruby:${RUBY_VERSION} ARG RAILS_VERSION # Install Rails based on the version specified but if not specified, install the latest version. diff --git a/Dockerfile.unix b/Dockerfile.unix index 8a66687..dadd6f0 100644 --- a/Dockerfile.unix +++ b/Dockerfile.unix @@ -1,4 +1,4 @@ -ARG RUBY_VERSION=3.3.4 +ARG RUBY_VERSION=3.3.5 FROM ruby:${RUBY_VERSION} ARG USER_ID=1000 ARG GROUP_ID=1000 diff --git a/src/rails_new.rs b/src/rails_new.rs index 19d3fa0..9243bf9 100644 --- a/src/rails_new.rs +++ b/src/rails_new.rs @@ -6,7 +6,7 @@ pub struct Cli { #[clap(trailing_var_arg = true, required = true)] /// arguments passed to `rails new` pub args: Vec, - #[clap(long, short = 'u', default_value = "3.3.4")] + #[clap(long, short = 'u', default_value = "3.3.5")] pub ruby_version: String, #[clap(long, short = 'r', default_value = "7.2.0")] pub rails_version: String, @@ -54,7 +54,7 @@ mod tests { let ruby_version = m.get_one::("ruby_version").unwrap(); let rails_version = m.get_one::("rails_version").unwrap(); - assert_eq!(ruby_version, "3.3.4"); + assert_eq!(ruby_version, "3.3.5"); assert_eq!(rails_version, "7.2.0"); Ok(())