Skip to content

Commit 013eeed

Browse files
committed
Update rubocop
1 parent b57ccde commit 013eeed

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

Gemfile

+13-5
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,32 @@ gem "rspec", "~> 3.0"
1212

1313
gem "dotenv"
1414

15-
git "https://github.com/rom-rb/rom.git", branch: "release-5.3" do
15+
git "https://github.com/rom-rb/rom.git", branch: "release-5.4" do
1616
gem "rom"
1717
gem "rom-changeset"
1818
gem "rom-core"
1919
gem "rom-repository"
2020
end
2121

2222
group :test do
23-
gem "pry"
24-
gem "pry-byebug", "~> 3.8", platforms: :ruby
25-
gem "rom-sql", github: "rom-rb/rom-sql", branch: "release-3.6"
23+
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4")
24+
gem 'debug'
25+
else
26+
gem "pry"
27+
gem "pry-byebug", "~> 3.8", platforms: :ruby
28+
end
29+
gem "rom-sql", github: "rom-rb/rom-sql", branch: "release-3.7"
2630

2731
gem "jdbc-postgres", platforms: :jruby
2832
gem "pg", "~> 1.5", platforms: :ruby
2933
end
3034

3135
group :tools do
32-
gem "byebug", platform: :mri
36+
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4")
37+
gem "byebug", platform: :mri
38+
else
39+
gem "pry-byebug", "~> 3.8", platforms: :ruby
40+
end
3341
gem "redcarpet" # for yard
3442
end
3543

Gemfile.devtools

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ end
1616

1717
group :tools do
1818
# this is the same version that we use on codacy
19-
gem "rubocop", "1.26.1"
19+
gem "rubocop", "1.69.2"
2020
end

0 commit comments

Comments
 (0)