Skip to content

Commit

Permalink
bump default ruby to 3.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
onshi committed Sep 4, 2024
1 parent 393b003 commit 3dde5eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG RUBY_VERSION=3.3.4
ARG RUBY_VERSION=3.3.5
FROM ruby:${RUBY_VERSION}

ARG NODE_VERSION=22
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.unix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG RUBY_VERSION=3.3.4
ARG RUBY_VERSION=3.3.5
FROM ruby:${RUBY_VERSION}

ARG USER_ID=1000
Expand Down
4 changes: 2 additions & 2 deletions src/rails_new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub struct Cli {
#[clap(trailing_var_arg = true, required = true)]
/// arguments passed to `rails new`
pub args: Vec<String>,
#[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,
Expand Down Expand Up @@ -54,7 +54,7 @@ mod tests {
let ruby_version = m.get_one::<String>("ruby_version").unwrap();
let rails_version = m.get_one::<String>("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(())
Expand Down

0 comments on commit 3dde5eb

Please sign in to comment.