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

Update rubocop-rails requirement from ~> 2.25.0 to ~> 2.28.0 #297

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 2024

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

Release notes

Sourced from rubocop-rails's releases.

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)
  • #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)
Changelog

Sourced from rubocop-rails's changelog.

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)

Bug fixes

  • #1377: Fix an error for Rails/EnumSyntax when positional arguments are used and options are not passed as keyword arguments. ([@​koic][])
  • #1367: Fix Rails/TimeZone should not report offense on String#to_time with timezone specifier. ([@​armandmgt][])

Changes

2.26.2 (2024-09-21)

Bug fixes

  • #1362: Fix false positives for Rails/EnumSyntax when using Ruby 2.7. ([@​koic][])
  • #1269: Fix false positives for Rails/ActionControllerFlashBeforeRender in combination with implicit returns. ([@​earlopain][])
  • #1326: Fix wrong autocorrect for Rails/FilePath when passing an array to File.join. ([@​earlopain][])

Changes

2.26.1 (2024-09-07)

Bug fixes

  • #1343: Fix false negatives for Rails/EnumSyntax for non-literal mappings. ([@​earlopain][])
  • #1340: Fix a false positive for Rails/WhereEquals, Rails/WhereNot, and Rails/WhereRange when qualifying the database name. ([@​earlopain][])

... (truncated)

Commits
  • fcc4cf6 Cut 2.28.0
  • bac0f3e Update Changelog
  • 2c357f0 Merge pull request #1383 from koic/intro_migrated_schema_version
  • 86b7a55 Introduce AllCops: MigratedSchemaVersion config
  • 2671fb4 Merge pull request #1398 from viralpraxis/fix-rails-file-path-cop-error-on-jo...
  • 815d119 Fix Rails/FilePath cop error on join method with implicit receiver
  • fecead8 Merge pull request #1399 from viralpraxis/fix-rails-file-path-cop-error-on-ex...
  • e4aee6b Fix Rails/FilePath cop error in case of extra operations in Rails.root in...
  • c6f869b Merge pull request #1392 from viralpraxis/fix-rails-file-path-cop-error-with-...
  • bb03d6b Fix Rails/FilePath cop error with rescued Rails.root
  • 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)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants