Skip to content

Update rubocop-rails 2.32.0 → 2.34.3 (minor)#645

Open
depfu[bot] wants to merge 1 commit intodevelopfrom
depfu/update/rubocop-rails-2.34.3
Open

Update rubocop-rails 2.32.0 → 2.34.3 (minor)#645
depfu[bot] wants to merge 1 commit intodevelopfrom
depfu/update/rubocop-rails-2.34.3

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Jan 10, 2026

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ rubocop-rails (2.32.0 → 2.34.3) · Repo · Changelog

Release Notes

2.34.3

Bug fixes

  • #1473: Fix an error for Rails/SelectMap when select(:column_name).map(&:column_name) with parentheses. (@koic)
  • #1569: Fix an error in Rails/SelectMap when multiple select calls are present before map. (@koic)

2.34.2

Changes

  • #1565: Make Rails/Presence allow index access methods. (@koic)

2.34.1

Bug fixes

  • #1556: Fix an error for Rails/Env when assigning Rails.env. (@koic)
  • #1557: Fix false positives for Rails/Presence with comparison and assignment operators. (@davidenglishmusic)
  • #1558: This PR fixes incorrect autocorrect for Rails/RedirectBackOrTo when additional options as double splat are used. (@koic)
  • #1561: Fix incorrect autocorrect for Rails/RedirectBackOrTo when fallback_location argument is a hash and the call has no argument parentheses. (@koic)

2.34.0

New features

  • #1520: New Rails/HttpStatusNameConsistency cop. (@tuxagon)
  • #1376: Add new Rails/Env cop. (@cdudas17)
  • #1541: Add new Rails/RedirectBackOrTo cop to suggest using redirect_back_or_to instead of redirect_back with fallback_location. (@davidenglishmusic)

Bug fixes

  • #1539: Fix an error in Rails/ActionControllerFlashBeforeRender when flash is used inside a block followed by method chaining. (@koic)
  • #1553: Fix false positives for Rails/OutputSafety when using non-interpolated multiline heredoc. (@koic)
  • #1532: Fix false positives for Rails/FindByOrAssignmentMemoization when assigning a memoization instance variable at initialize method. (@koic)
  • #1549: Fix Rails/InverseOf cop false positives when using dynamic association options. (@viralpraxis)

Changes

2.33.4

Bug fixes

  • #1530: Fix an incorrect autocorrect for Rails/FindByOrAssignmentMemoization when using endless method definition. (@koic)
  • #1522: Fix an error for Rails/FindBy when where takes a block. (@earlopain)
  • #1182: Fix a false positive for Rails/ActionControllerFlashBeforeRender when flash is called in a block. (@5hun-s)

2.33.3

Bug fixes

  • #1516: Fix wrong autocorrect for Rails/FindByOrAssignmentMemoization. (@earlopain)

2.33.2

Bug fixes

  • #1488: Fix an error for Rails/ReadWriteAttribute with a frozen string attribute name. (@viralpraxis)

2.33.1

Bug fixes

  • #1508: Fix an error for Rails/TransactionExitStatement when transaction is part of a method chain. (@earlopain)
  • #1510: Fix Rails/OrderArguments cop false positives when using column index argument. (@viralpraxis)
  • #1511: Don't register offenses for Rails/WhereExists when exists? is given multiple or splat arguments. (@lovro-bikic)

2.33.0

New features

Bug fixes

  • #1497: Fix bugs in Rails/PluckId and Rails/PluckInWhere. (@r7kamura)
  • #1478: Fix a false negative for Rails/EnvLocal when having preceding conditions. (@fatkodima)
  • #1505: Fix false negatives for Rails/Pluck when map method call is used in a block without a receiver. (@koic)
  • #1486: Fix false positives for Rails/Output when p method is a DSL. (@koic)
  • #1495: Fix false positives for Rails/TransactionExitStatement when break is used in loop in transactions. (@koic)
  • #1483: Fix autocorrection error when Rails/IndexWith has nested offenses. (@lovro-bikic)

Changes

  • #1500: Exclude controllers and mailers from Lint/UselessMethodDefinition. (@r7kamura)
  • #1474: Make Rails/EnumSyntax include the lib directory by default. (@koic)
  • #1463: Mark Rails/IndexWith as unsafe autocorrect. (@tejasbubane)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

✳️ rubocop (1.78.0 → 1.84.2) · Repo · Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ parser (indirect, 3.3.8.0 → 3.3.10.2) · Repo · Changelog

Release Notes

3.3.10.2 (from changelog)

Features implemented:

  • add blocknilarg for prism (#1087) (Earlopain)

3.3.10.1 (from changelog)

API modifications:

  • Bump maintenance branches to 3.2.10 (#1085) (Koichi ITO)

3.3.10.0 (from changelog)

API modifications:

  • Bump maintenance branches to 3.3.10 (#1083) (Koichi ITO)

3.3.9.0 (from changelog)

API modifications:

  • Bump maintenance branches to 3.3.9 (#1080) (Koichi ITO)
  • Bump maintenance branches to 3.2.9 (#1079) (Koichi ITO)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 18 commits:

↗️ regexp_parser (indirect, 2.10.0 → 2.11.3) · Repo · Changelog

Release Notes

2.11.3 (from changelog)

Fixed

  • correctly emit backslash-escaped UTF8 characters in character classes as one token (#104)

2.11.2 (from changelog)

Added

Fixed

  • scan with correct encoding when passing regopt individually (#102)

2.11.1 (from changelog)

Fixed

  • restored compatibility with Ruby < 2.6, broken in regexp_parser v2.11.0

2.11.0 (from changelog)

Added

  • a new token :escape, :utf8_hex and expression EscapeSequence::UTF8Hex
    • used for UTF-8 hex escapes, e.g. \xE2\x82\xAC representing U+20AC "€"

Fixed

  • detection of numeric backrefs > 9, e.g. ((((((((((foo))))))))))\10
    • these are only backrefs in Ruby if sufficient groups have been opened
    • they were previously always scanned as octal or literal escapes

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 32 commits:

↗️ rubocop-ast (indirect, 1.46.0 → 1.49.0) · Repo · Changelog

Release Notes

1.49.0

New features

  • #394: Support Ruby 4.1 (experimental). (@koic)

1.48.0

New features

  • #391: Support Ruby 4.0 (experimental). (@koic)

1.47.1 (from changelog)

Bug fixes

  • #386: Fix parsing of node patterns that match against the empty string. (@earloapin)

1.47.0 (from changelog)

New features

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 34 commits:

↗️ unicode-display_width (indirect, 3.1.4 → 3.2.0) · Repo · Changelog

Release Notes

3.2.0 (from changelog)

  • Unicode 17.0

3.1.5 (from changelog)

  • Cache Emoji support level for performance reasons #30, patch by @Earlopain:

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 6 commits:

↗️ unicode-emoji (indirect, 4.0.4 → 4.2.0) · Repo · Changelog

Release Notes

4.2.0 (from changelog)

  • Allow Ruby 4.0
  • Remove Non-Emoji pictographs from spec, since they have been removed in Unicode 17
  • Update valid subdivisions to CLDR 48 (no changes)

4.1.0 (from changelog)

  • Unicode 17
  • Update valid subdivisions to CLDR 47 (no changes)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 16 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added dependencies Pull requests that update a dependency file Technical Debt labels Jan 10, 2026
@depfu depfu bot force-pushed the depfu/update/rubocop-rails-2.34.3 branch from 79b4d7e to a0a1f07 Compare February 24, 2026 19:50
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 Technical Debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants