From 42a133e8635b67efda76e48e4efe7d5d801f380e Mon Sep 17 00:00:00 2001 From: Koki07 Date: Sat, 11 Jan 2025 23:39:23 +0900 Subject: [PATCH] Bump Ruby to 3.4.1 --- 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..d2f2e86 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG RUBY_VERSION=3.3.4 +ARG RUBY_VERSION=3.4.1 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..28e8fa8 100644 --- a/Dockerfile.unix +++ b/Dockerfile.unix @@ -1,4 +1,4 @@ -ARG RUBY_VERSION=3.3.4 +ARG RUBY_VERSION=3.4.1 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..a5c8348 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.4.1")] 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.4.1"); assert_eq!(rails_version, "7.2.0"); Ok(())