Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2025

Bumps rubocop-rails from 2.27.0 to 2.29.1.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.29.1

Bug fixes

  • #1423: Fix an error for Rails/StrongParametersExpect when using permit with no arguments. (@​koic)
  • #1417: Fix an incorrect autocorrect for Rails/StrongParametersExpect when using a leading dot multiline call to require with permit. (@​koic)
  • #1356: Enhance Rails/DuplicateAssociation to handle alias. (@​ydakuka)
  • #1389: Handle TypeError caused by passing array literals as arguments to File methods in Rails/FilePath cop. (@​ydakuka)
  • #1389: Handle TypeError caused by passing array literals as arguments to File methods in Rails/RootPathnameMethods cop. (@​ydakuka)
  • #1228: Enhance Rails/SaveBang to properly handle instance variables. (@​ydakuka)

RuboCop Rails 2.29.0

New features

Bug fixes

  • #1409: Fix an error for Rails/ReversibleMigration when calling drop_table without any arguments. (@​earlopain)
  • #1397: Fix an incorrect autocorrect for Rails/TimeZone when Time.new has a string argument. (@​mterada1228)
  • #1406: Fix autocorrection for Rails/IndexBy and Rails/IndexWith when map { ... }.to_h is enclosed in another block. (@​franzliedke, @​eugeneius)
  • #1404: Update Rails/IndexBy and Rails/IndexWith to support numbered block parameters. (@​eugeneius)
  • #1405: Fix autocorrection for Rails/IndexWith when the value is a hash literal without braces. (@​koic, @​eugeneius)
  • #1414: Fix Rails/HttpPositionalArguments cop false positives with arguments forwarding. (@​viralpraxis)

Changes

  • #1410: Make registered cops aware of AllCops: MigratedSchemaVersion. (@​koic)

RuboCop Rails 2.28.0

New features

  • #1383: Introduce AllCops: MigratedSchemaVersion config. (@​koic)

Bug fixes

  • #1390: Fix an incorrect autocorrect for Rails/SelectMap when select has no receiver and method chains are used. ([@​masato-bkn][])
  • #1382: Fix false negatives for Rails/RedundantActiveRecordAllMethod when using all method in block. ([@​masato-bkn][])
  • #1397: Fix Rails/FilePath cop error on join method with implicit receiver. (@​viralpraxis)
  • #1398: Fix Rails/FilePath cop error in case of extra operations in Rails.root interpolation. (@​viralpraxis)

... (truncated)

Changelog

Sourced from rubocop-rails's changelog.

2.29.1 (2025-01-25)

Bug fixes

  • #1423: Fix an error for Rails/StrongParametersExpect when using permit with no arguments. ([@​koic][])
  • #1417: Fix an incorrect autocorrect for Rails/StrongParametersExpect when using a leading dot multiline call to require with permit. ([@​koic][])
  • #1356: Enhance Rails/DuplicateAssociation to handle alias. ([@​ydakuka][])
  • #1389: Handle TypeError caused by passing array literals as arguments to File methods in Rails/FilePath cop. ([@​ydakuka][])
  • #1389: Handle TypeError caused by passing array literals as arguments to File methods in Rails/RootPathnameMethods cop. ([@​ydakuka][])
  • #1228: Enhance Rails/SaveBang to properly handle instance variables. ([@​ydakuka][])

2.29.0 (2025-01-18)

New features

Bug fixes

  • #1409: Fix an error for Rails/ReversibleMigration when calling drop_table without any arguments. ([@​earlopain][])
  • #1397: Fix an incorrect autocorrect for Rails/TimeZone when Time.new has a string argument. ([@​mterada1228][])
  • #1406: Fix autocorrection for Rails/IndexBy and Rails/IndexWith when map { ... }.to_h is enclosed in another block. ([@​franzliedke][], [@​eugeneius][])
  • #1404: Update Rails/IndexBy and Rails/IndexWith to support numbered block parameters. ([@​eugeneius][])
  • #1405: Fix autocorrection for Rails/IndexWith when the value is a hash literal without braces. ([@​koic][], [@​eugeneius][])
  • #1414: Fix Rails/HttpPositionalArguments cop false positives with arguments forwarding. ([@​viralpraxis][])

Changes

  • #1410: Make registered cops aware of AllCops: MigratedSchemaVersion. ([@​koic][])

2.28.0 (2024-12-25)

New features

  • #1383: Introduce AllCops: MigratedSchemaVersion config. ([@​koic][])

Bug fixes

  • #1390: Fix an incorrect autocorrect for Rails/SelectMap when select has no receiver and method chains are used. ([@​masato-bkn][])
  • #1382: Fix false negatives for Rails/RedundantActiveRecordAllMethod when using all method in block. ([@​masato-bkn][])
  • #1397: Fix Rails/FilePath cop error on join method with implicit receiver. ([@​viralpraxis][])
  • #1398: Fix Rails/FilePath cop error in case of extra operations in Rails.root interpolation. ([@​viralpraxis][])
  • #1392: Fix Rails/FilePath cop error with rescued Rails.root. ([@​viralpraxis][])

Changes

  • #1388: Modify Rails/Pluck to ignore map/collect when used inside blocks to prevent potential N+1 queries. ([@​masato-bkn][])
Commits
  • a54b408 Cut 2.29.1
  • 18f5484 Update Changelog
  • c0f086f Apply bundle exec rubocop --regenerate-todo
  • d1443ca Merge pull request #1419 from ydakuka/fix/enhance-rails-duplicate-association...
  • 10829d3 [Fix rubocop#1356] Enhance Rails/DuplicateAssociation to handle alias
  • 7024ab5 Merge pull request #1415 from ydakuka/fix/typeerror_in_the_file_path_cop
  • 3677f7b [Fix rubocop#1389] Handle TypeError caused by an array in Rails/FilePath cop
  • 158cd38 Merge pull request #1424 from koic/fix_an_error_for_rails_strong_parameters_e...
  • ce69ef7 Merge pull request #1416 from ydakuka/fix/typeerror_in_the_root_pathname_meth...
  • e48fec2 [Fix #1423] Fix an error for Rails/StrongParametersExpect
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.27.0 to 2.29.1. - [Release notes](https://github.com/rubocop/rubocop-rails/releases) - [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop-rails@v2.27.0...v2.29.1) --- updated-dependencies: - dependency-name: rubocop-rails dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 15, 2025

Looks like rubocop-rails is no longer updatable, so this is no longer needed.

@dependabot dependabot bot closed this Feb 15, 2025
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-rails-2.29.1 branch February 15, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

0 participants