Skip to content

Commit d8fdb47

Browse files
committed
Lock RuboCop on CI.
1 parent e3b40e2 commit d8fdb47

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ group :development do
2525
gem "rake"
2626
gem "rspec"
2727
gem "pry"
28-
gem "rubocop"
28+
if RUBY_VERSION > '3.2'
29+
gem "rubocop", "~> 1.70.0"
30+
end
2931
gem "test-unit"
3032
gem "logger"
3133
# Explicitly add webrick because it has been removed from stdlib in Ruby 3.0

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ DEPENDENCIES
187187
rackup
188188
rake
189189
rspec
190-
rubocop
190+
rubocop (~> 1.70.0)
191191
simplecov!
192192
test-unit
193193
webrick

0 commit comments

Comments
 (0)