From 75fb648f8e3e8162dd847f54a48ea7b4eaefbe2c Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Wed, 14 Aug 2024 16:16:52 +0900 Subject: [PATCH] Bump the default Rails version to 7.2.0 Rails 7.2.0 has been released on Aug 10, 2024. https://rubyonrails.org/2024/8/10/Rails-7-2-0-has-been-released --- src/rails_new.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rails_new.rs b/src/rails_new.rs index f6d21ac..8743a3b 100644 --- a/src/rails_new.rs +++ b/src/rails_new.rs @@ -8,7 +8,7 @@ pub struct Cli { pub args: Vec, #[clap(long, short = 'u', default_value = "3.3.3")] pub ruby_version: String, - #[clap(long, short = 'r', default_value = "7.1.3")] + #[clap(long, short = 'r', default_value = "7.2.0")] pub rails_version: String, #[command(subcommand)] @@ -55,7 +55,7 @@ mod tests { let rails_version = m.get_one::("rails_version").unwrap(); assert_eq!(ruby_version, "3.3.3"); - assert_eq!(rails_version, "7.1.3"); + assert_eq!(rails_version, "7.2.0"); Ok(()) }