From 0b3ebe6ad686df41e1deb1b519e418372dd57f2c Mon Sep 17 00:00:00 2001 From: Rui Onodera Date: Sat, 16 Nov 2024 00:30:32 +0900 Subject: [PATCH] Bump Ruby to 3.3.6 --- 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..d80cfb6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG RUBY_VERSION=3.3.4 +ARG RUBY_VERSION=3.3.6 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..b273c0e 100644 --- a/Dockerfile.unix +++ b/Dockerfile.unix @@ -1,4 +1,4 @@ -ARG RUBY_VERSION=3.3.4 +ARG RUBY_VERSION=3.3.6 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..5bb1247 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.6")] 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.6"); assert_eq!(rails_version, "7.2.0"); Ok(())