Skip to content

Commit

Permalink
Merge pull request #1456 from openSUSE/depfu/update/rubocop-rails-2.24.0
Browse files Browse the repository at this point in the history
Update rubocop-rails 2.15.2 → 2.24.0 (minor)
  • Loading branch information
hennevogel authored Mar 25, 2024
2 parents 13da56c + d2b094e commit a5dea99
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 17 deletions.
39 changes: 24 additions & 15 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-03-25 15:54:14 UTC using RuboCop version 1.62.1.
# on 2024-03-25 17:46:17 UTC using RuboCop version 1.62.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down Expand Up @@ -109,6 +109,7 @@ Rails/EagerEvaluationLogMessage:
- 'lib/obs.rb'

# Offense count: 10
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: slashes, arguments
Rails/FilePath:
Expand Down Expand Up @@ -140,7 +141,7 @@ Rails/LexicallyScopedActionFilter:
- 'app/controllers/package_controller.rb'

# Offense count: 8
# This cop supports safe autocorrection (--autocorrect).
# This cop supports unsafe autocorrection (--autocorrect-all).
Rails/Pluck:
Exclude:
- 'app/controllers/download_controller.rb'
Expand All @@ -166,6 +167,21 @@ Rails/RakeEnvironment:
- 'lib/tasks/gettext.rake'
- 'lib/tasks/rubocop.rake'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Include.
# Include: spec/controllers/**/*.rb, spec/requests/**/*.rb, test/controllers/**/*.rb, test/integration/**/*.rb
Rails/ResponseParsedBody:
Exclude:
- 'test/integration/download_controller_test.rb'

# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
Rails/RootPathnameMethods:
Exclude:
- 'app/models/screenshot.rb'
- 'test/models/screenshot_test.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Rails/RootPublicPath:
Expand Down Expand Up @@ -198,19 +214,6 @@ Style/ClassVars:
Exclude:
- 'app/helpers/application_helper.rb'

# Offense count: 8
# Configuration parameters: AllowedConstants.
Style/Documentation:
Exclude:
- 'app/controllers/application_controller.rb'
- 'app/controllers/download_controller.rb'
- 'app/controllers/package_controller.rb'
- 'app/controllers/search_controller.rb'
- 'app/helpers/package_helper.rb'
- 'app/helpers/search_helper.rb'
- 'app/models/appdata.rb'
- 'lib/api_connect.rb'

# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
Expand All @@ -230,6 +233,12 @@ Style/IfUnlessModifier:
- 'lib/api_connect.rb'
- 'lib/obs.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/RedundantFilterChain:
Exclude:
- 'app/controllers/application_controller.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantParentheses:
Expand Down
5 changes: 3 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,11 @@ GEM
rubocop-performance (1.20.2)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-rails (2.15.2)
rubocop-rails (2.24.0)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.7.0, < 2.0)
rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
ruby_parser (3.21.0)
Expand Down
Binary file removed vendor/cache/rubocop-rails-2.15.2.gem
Binary file not shown.
Binary file added vendor/cache/rubocop-rails-2.24.0.gem
Binary file not shown.

0 comments on commit a5dea99

Please sign in to comment.