Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 18, 2025

Updates the requirements on rubocop-rails to permit the latest version.

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)
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][])

2.27.0 (2024-10-26)

... (truncated)

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 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels May 18, 2025
@dependabot dependabot bot force-pushed the dependabot/bundler/rubocop-rails-tw-2.29.1 branch from f246530 to c7d4c84 Compare May 18, 2025 06:52
@mvz
Copy link
Member

mvz commented May 18, 2025

@dependabot rebase

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 18, 2025

Looks like this PR is already up-to-date with master! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@dependabot dependabot bot force-pushed the dependabot/bundler/rubocop-rails-tw-2.29.1 branch from c7d4c84 to 1aa9c35 Compare May 18, 2025 08:55
Updates the requirements on [rubocop-rails](https://github.com/rubocop/rubocop-rails) to permit the latest version.
- [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.25.0...v2.29.1)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-version: 2.29.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/rubocop-rails-tw-2.29.1 branch from 1aa9c35 to 196a742 Compare May 18, 2025 09:10
@mvz mvz merged commit 662c600 into master May 18, 2025
6 checks passed
@mvz mvz deleted the dependabot/bundler/rubocop-rails-tw-2.29.1 branch May 18, 2025 09:14
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 ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants