From 630fc9dbcaf4f97bb2fce818d1aad959339e22ee Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Tue, 4 Jun 2024 19:51:09 +0900 Subject: [PATCH] Bump default Ruby version to 3.3.3 https://hub.docker.com/layers/library/ruby/3.3.3/images/sha256-090961e372013fd63a0de53f414e5f6cb81d77836234e68832dd95f2920d3f09?context=explore --- Dockerfile | 2 +- Dockerfile.unix | 2 +- src/rails_new.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 184ed37..71d0c6b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG RUBY_VERSION=3.3.1 +ARG RUBY_VERSION=3.3.3 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 3e29b2f..5709f1c 100644 --- a/Dockerfile.unix +++ b/Dockerfile.unix @@ -1,4 +1,4 @@ -ARG RUBY_VERSION=3.3.1 +ARG RUBY_VERSION=3.3.3 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 02db921..f6d21ac 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.1")] + #[clap(long, short = 'u', default_value = "3.3.3")] pub ruby_version: String, #[clap(long, short = 'r', default_value = "7.1.3")] 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.1"); + assert_eq!(ruby_version, "3.3.3"); assert_eq!(rails_version, "7.1.3"); Ok(())