Skip to content

Commit

Permalink
Bump rubocop 1.31.2 -> 1.60.1
Browse files Browse the repository at this point in the history
  • Loading branch information
toddkummer committed Jan 21, 2024
1 parent a05d4f8 commit 5f6679a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Ruby 3.0
- name: Set up Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: 3.2
- name: Install RuboCop
run: |
gem install bundler --no-document
gem install rubocop -v 1.31.2 --no-document
gem install rubocop -v 1.60.1 --no-document
- name: RuboCop
run: rubocop
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inherit_mode:
Layout/LineLength:
Max: 120
Metrics/BlockLength:
IgnoredMethods: ['describe', 'context']
AllowedMethods: ['describe', 'context']
Exclude:
- 'Guardfile'
Style/FrozenStringLiteralComment:
Expand Down
12 changes: 7 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ GEM
rdoc
reline (>= 0.4.2)
json (2.7.1)
language_server-protocol (3.17.0.3)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
Expand Down Expand Up @@ -242,16 +243,17 @@ GEM
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.12.1)
rubocop (1.31.2)
rubocop (1.60.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.1.0.0)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.18.0, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
ruby-progressbar (1.13.0)
Expand Down Expand Up @@ -286,7 +288,7 @@ DEPENDENCIES
next_page!
pg (~> 1.5.4)
rspec-rails (~> 5.1.2)
rubocop (~> 1.31.2)
rubocop (~> 1.60.1)
simplecov (~> 0.18)

BUNDLED WITH
Expand Down
2 changes: 1 addition & 1 deletion next_page.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "guard-rubocop", "~> 1.5.0"
spec.add_development_dependency "pg", "~> 1.5.4"
spec.add_development_dependency "rspec-rails", "~> 5.1.2"
spec.add_development_dependency "rubocop", "~> 1.31.2"
spec.add_development_dependency "rubocop", "~> 1.60.1"
spec.add_development_dependency "simplecov", "~> 0.18"
end
2 changes: 1 addition & 1 deletion spec/dummy/config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
config.active_support.deprecation = :notify

# Use default logging formatter so that PID and timestamp are not suppressed.
config.log_formatter = ::Logger::Formatter.new
config.log_formatter = Logger::Formatter.new

# Use a different logger for distributed setups.
# require 'syslog/logger'
Expand Down

0 comments on commit 5f6679a

Please sign in to comment.