Skip to content

Commit

Permalink
Update to Ruby 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
chvp committed Jan 26, 2025
1 parent 5194d31 commit e07f98f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ AllCops:
- "vendor/**/*"
- "db/**/*"
- "node_modules/**/*"
TargetRubyVersion: 3.3
TargetRubyVersion: 3.4
NewCops: enable

Layout/FirstArrayElementIndentation:
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0
3.4.1
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '~> 3.3.0'
ruby '~> 3.4.1'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 8.0'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ DEPENDENCIES
will_paginate (~> 4.0)

RUBY VERSION
ruby 3.3.0p0
ruby 3.4.1p0

BUNDLED WITH
2.5.16
2.6.2
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
pkgs = import nixpkgs { inherit system; overlays = [ devshell.overlays.default ]; };
gems = pkgs.bundlerEnv rec {
name = "accentor-api-env";
ruby = pkgs.ruby_3_3.override { jemallocSupport = true; };
ruby = pkgs.ruby_3_4.override { jemallocSupport = true; };
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
Expand Down Expand Up @@ -109,7 +109,7 @@
category = "dependencies";
help = "Update the `Gemfile.lock` and `gemset.nix` files";
command = ''
${pkgs.ruby_3_3}/bin/bundle lock
${pkgs.ruby_3_4}/bin/bundle lock
${pkgs.bundix}/bin/bundix
'';
}
Expand Down

0 comments on commit e07f98f

Please sign in to comment.