Skip to content

Bump rubocop-rails from 2.37.0 to 2.38.0 in the rubocop group - #504

Merged
chvp merged 1 commit into
mainfrom
dependabot/bundler/rubocop-dfa84d4e65
Sep 26, 2026
Merged

chvp merged 1 commit into
mainfrom
dependabot/bundler/rubocop-dfa84d4e65

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 26, 2026

Copy link
Copy Markdown
Contributor

Bumps the rubocop group with 1 update: rubocop-rails.

Updates rubocop-rails from 2.37.0 to 2.38.0

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails v2.38.0

Bug fixes

  • #1662: Fix an error for Rails/ReadWriteAttribute when a read_attribute call is nested inside another attribute call. (@​viralpraxis)
  • #1660: Fix an incorrect autocorrect for Rails/RakeEnvironment when a task declares its arguments without an array literal, or declares an empty dependency list. (@​viralpraxis)
  • #1657: Fix version-gated cops using minimum_target_rails_version to respect AllCops: TargetRailsVersion so that an explicitly configured version takes precedence over the lockfile and enables these cops in projects without a lockfile. (@​koic)

Changes

  • #1655: Resolve AllCops: TargetRailsVersion within RuboCop Rails itself instead of relying on RuboCop core, in preparation for the removal of TargetRailsVersion support from RuboCop core in RuboCop 2.0. (@​koic)
Changelog

Sourced from rubocop-rails's changelog.

2.38.0 (2026-09-20)

Bug fixes

  • #1662: Fix an error for Rails/ReadWriteAttribute when a read_attribute call is nested inside another attribute call. ([@​viralpraxis][])
  • #1660: Fix an incorrect autocorrect for Rails/RakeEnvironment when a task declares its arguments without an array literal, or declares an empty dependency list. ([@​viralpraxis][])
  • #1657: Fix version-gated cops using minimum_target_rails_version to respect AllCops: TargetRailsVersion so that an explicitly configured version takes precedence over the lockfile and enables these cops in projects without a lockfile. ([@​koic][])

Changes

  • #1655: Resolve AllCops: TargetRailsVersion within RuboCop Rails itself instead of relying on RuboCop core, in preparation for the removal of TargetRailsVersion support from RuboCop core in RuboCop 2.0. ([@​koic][])
Commits
  • 9b25387 Cut 2.38.0
  • 3bf4e62 Update Changelog
  • e3df883 Merge pull request #1662 from viralpraxis/fix-an-error-for-rails-read-write-a...
  • 74464cd Fix an error for Rails/ReadWriteAttribute cop
  • 38949cd Merge pull request #1660 from viralpraxis/fix-an-incorrect-autocorrect-for-ra...
  • f504da1 Fix an incorrect autocorrect for Rails/RakeEnvironment cop
  • 5e2998e Merge pull request #1657 from koic/fix_version_gated_cops_to_respect_target_r...
  • 72dfac3 Fix version-gated cops to respect AllCops: TargetRailsVersion
  • a4655cb Merge pull request #1655 from koic/extract_target_rails_version_resolution
  • fd01923 Resolve TargetRailsVersion within RuboCop Rails itself
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the rubocop group with 1 update: [rubocop-rails](https://github.com/rubocop/rubocop-rails).


Updates `rubocop-rails` from 2.37.0 to 2.38.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.37.0...v2.38.0)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-version: 2.38.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Sep 26, 2026
@dependabot
dependabot Bot requested a review from chvp as a code owner September 26, 2026 06:02
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Sep 26, 2026
@chvp
chvp merged commit f09c89b into main Sep 26, 2026
2 checks passed
@chvp
chvp deleted the dependabot/bundler/rubocop-dfa84d4e65 branch September 26, 2026 07:11
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.

1 participant