Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 24, 2025

Bumps rubocop-rails from 2.27.0 to 2.30.2.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.30.2

Bug fixes

  • #1447: Fix false positive for Rails/LexicallyScopedActionFilter when action methods are delegated. (@​vlad-pisanov)
  • #1446: Fix false positives for Rails/Delegate when module_function is used. (@​ydakuka)
  • #1427: Fix an error for Rails/UniqBeforePluck when pluck and unique are on different lines. (@​earlopain)

RuboCop Rails 2.30.1

Bug fixes

  • #1442: Fix an incorrect behavior when using AllCops: TargetRailsVersion. (@​koic)
  • #1444: Fix an incorrect behavior when using AllCops: MigratedSchemaVersion. (@​koic)

RuboCop Rails 2.30.0

New features

Bug fixes

  • #1071: Fix Rails/FilePath cop to correctly handle File.join with variables and ignore leading and multiple slashes in string literal arguments for Rails.root.join and File.join. (@​ydakuka)
  • #912: Enhance Rails/Delegate by adding delegation detection for self.class, constants, class variables, global variables, and instance variables. (@​ydakuka)

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

... (truncated)

Changelog

Sourced from rubocop-rails's changelog.

2.30.2 (2025-02-24)

Bug fixes

  • #1447: Fix false positive for Rails/LexicallyScopedActionFilter when action methods are delegated. ([@​vlad-pisanov][])
  • #1446: Fix false positives for Rails/Delegate when module_function is used. ([@​ydakuka][])
  • #1427: Fix an error for Rails/UniqBeforePluck when pluck and unique are on different lines. ([@​earlopain][])

2.30.1 (2025-02-17)

Bug fixes

  • #1442: Fix an incorrect behavior when using AllCops: TargetRailsVersion. ([@​koic][])
  • #1444: Fix an incorrect behavior when using AllCops: MigratedSchemaVersion. ([@​koic][])

2.30.0 (2025-02-16)

New features

Bug fixes

  • #1071: Fix Rails/FilePath cop to correctly handle File.join with variables and ignore leading and multiple slashes in string literal arguments for Rails.root.join and File.join. ([@​ydakuka][])
  • #912: Enhance Rails/Delegate by adding delegation detection for self.class, constants, class variables, global variables, and instance variables. ([@​ydakuka][])

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

... (truncated)

Commits
  • e023cdd Cut 2.30.2
  • 1ad2fe5 Update Changelog
  • 04529cf Merge pull request #1450 from vlad-pisanov/vp_fix_lexically_scoped_action_fil...
  • ec8e18e Merge pull request #1428 from Earlopain/uniq-pluck-multiple-lines
  • eca3732 Fix incorrect comment placement for add_dependency
  • 1980681 [Fix #1427] Fix an error for Rails/UniqBeforePluck with multi-line expression
  • 7b92670 [Fix #1447] Fix false positive for Rails/LexicallyScopedActionFilter when a...
  • 159045f Enable InternalAffairs/CopEnabled cop
  • 12b45a5 Merge pull request #1448 from ydakuka/1446/fix-incorrect-autocorrect-for-rail...
  • 204e667 [Fix rubocop#1446] Fix false positives for Rails/Delegate when `module_func...
  • 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.30.2.
- [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.30.2)

---
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 dependabot bot added the dependencies Pull requests that update a dependency file label Feb 24, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 4, 2025

Superseded by #283.

@dependabot dependabot bot closed this Mar 4, 2025
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-rails-2.30.2 branch March 4, 2025 11:23
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant