Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rubocop-rails from 2.24.1 to 2.30.0 #187

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps rubocop-rails from 2.24.1 to 2.30.0.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.23.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

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)

... (truncated)

Changelog

Sourced from rubocop-rails's changelog.

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

... (truncated)

Commits
  • ff29ba4 Cut 2.30.0
  • c8e707a Update Changelog
  • 0dc6ea8 Use RuboCop Performance 1.24 for development
  • 897b22b Merge pull request #1434 from koic/pluginfy_with_lint_roller
  • aeb3cac Pluginfy RuboCop Rails
  • 67066d7 Merge pull request #1441 from koic/fix_an_error_for_rails_delegate_cop
  • b47e104 Fix an error for Rails/Delegate
  • 4d0e655 Merge pull request #1438 from ydakuka/912-add-more-delegation-targets-to-rail...
  • f9adec0 Suppress RuboCop's offense
  • 23e2098 [Fix rubocop#912] Enhance Rails/Delegate by adding delegation detection for...
  • 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.24.1 to 2.30.0.
- [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.24.1...v2.30.0)

---
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 17, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 24, 2025

Superseded by #189.

@dependabot dependabot bot closed this Feb 24, 2025
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-rails-2.30.0 branch February 24, 2025 02:09
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.

0 participants