Skip to content

Update rubocop-rails 2.30.3 → 2.31.0 (minor)#1445

Closed
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/rubocop-rails-2.31.0
Closed

Update rubocop-rails 2.30.3 → 2.31.0 (minor)#1445
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/rubocop-rails-2.31.0

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Apr 2, 2025

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.30.3 → 2.31.0) · Repo · Changelog

Release Notes

2.31.0

New features

  • #1471: Support it block parameter in Rails cops. (@koic)

Bug fixes

  • #1465: Avoid warnings about methods of RuboCop::Cop::EnforceSuperclass being redefined. (@davidrunger)

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

Commits

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

✳️ rubocop (1.74.0 → 1.75.1) · Repo · Changelog

Release Notes

1.75.1

Changes

  • #14038: Rename EnforcedStyle: allow_named_parameter to EnforcedStyle: only_numbered_parameters in Style/ItBlockParameter. (@koic)

1.75.0

New features

  • #12049: Add new Style/HashFetchChain cop to detect chained fetch calls that can be replaced with a single call to dig. (@dvandersluis)
  • #13597: Add new Style/ItBlockParameter cop. (@koic)
  • #13899: Enable reusable Prism parse result for Ruby LSP add-on. (@koic)
  • #14015: Support it block parameter in Layout cops. (@koic)
  • #14017: Support it block parameter in Lint cops. (@koic)
  • #14018: Support it block parameter in Metrics cops. (@koic)
  • #14013: Support it block parameter in Style cops. (@koic)
  • #14025: Support TargetRubyVersion: 3.5 (experimental). (@earlopain)

Bug fixes

  • #14022: Fix an error for Style/HashFetchChain when no arguments are given to fetch. (@koic)
  • #14028: Fix false negative for Layout/MultilineMethodParameterLineBreaks when class method definitions are used. (@vlad-pisanov)
  • #14027: Fix false negative for Layout/LineLength when autocorrecting class method definitions. (@vlad-pisanov)
  • #8099: Fix infinite loop between Layout/SpaceAroundOperators and Layout/HashAlignment with EnforcedHashRocketStyle being an array containing table. (@dvandersluis)
  • #14021: Fix handling of long heredoc lines with SplitStrings enabled. (@mauro-oto)
  • #13968: Fix InternalAffairs/RedundantDescribedClassAsSubject cop error on missing describe. (@viralpraxis)
  • #14036: Fix false negative for Lint/ShadowingOuterLocalVariable when block local variable is used inside a condition. (@lovro-bikic)
  • #13990: Fix a false positive for Lint/UselessAssignment when a variable is reassigned in a different branch. (@eugeneius)
  • #14012: Fix incorrect autocorrections for Style/SoleNestedConditional. (@lovro-bikic)
  • #14020: Fix comment autocorrection for Style/IfInsideElse. (@lovro-bikic)

Changes

  • #12358: Add does as a forbidden prefix to Naming/PredicateName. (@dvandersluis)
  • #13621: Add ForbiddenIdentifiers and ForbiddenPatterns config options to Naming/MethodName cop. (@tejasbubane)
  • #13986: Add support for Array#intersection to Style/ArrayIntersect. (@dvandersluis)
  • #14006: Allow cop renames to trigger warnings instead of fatal errors. (@dvandersluis)
  • #13617: Use the prism translation layer to analyze Ruby 3.4+ by default. (@earlopain)
  • #14024: Change Style/RedundantParentheses to offend parentheses for chained && expressions. (@lovro-bikic)
  • #14029: Add AllowConsecutiveConditionals setting to Style/Next to allow consecutive conditional statements. (@vlad-pisanov)
  • #14016: Update Style/RedundantFormat to register offenses when the only argument to format or sprintf is a constant. (@dvandersluis)

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

Commits

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

↗️ ast (indirect, 2.4.2 → 2.4.3) · Repo · Changelog

Commits

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

↗️ logger (indirect, 1.6.6 → 1.7.0) · Repo

Sorry, we couldn't find anything useful about this release.

↗️ parser (indirect, 3.3.7.1 → 3.3.7.4) · Repo · Changelog

Release Notes

3.3.7.4 (from changelog)

Bugs fixed:

  • lexer-strings.rb: Avoid an exception on utf8 surrogate pair codepoints (#1051) (Earlopain)
  • builder.rb: emit kwargs node for indexasgn when opted in (#1053) (Earlopain)
  • builder.rb: correctly handle ... forwarding to super with explicit block (#1049) (Earlopain)
  • numbered parameters are valid for pattern matching pinning (#1060) (Earlopain)

3.3.7.3 (from changelog)

API modifications:

  • Bump maintenance branches to 3.2.8 and 3.1.7 (#1074) (Koichi ITO)

3.3.7.2 (from changelog)

Features implemented:

  • add prism-specific node types (#1071) (Earlopain)

Bugs fixed:

  • builder.rb: fix hash value omission considering some local vars as constants (#1064) (Earlopain)

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

Commits

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

↗️ rubocop-ast (indirect, 1.38.1 → 1.43.0) · Repo · Changelog

Release Notes

1.43.0

Changes

  • #374: Use the prism translation layer to analyze Ruby 3.4 by default. ([@Earlopain])
  • #373: Add prism as a runtime dependency. ([@Earlopain])

1.42.0

New features

  • #370: Support Prism::Translation::Parser35 for Ruby 3.5 parser (experimental). (@earlopain, @koic)

1.41.0

New features

1.40.0

Changes

  • #354: Use Prism::Translation::Parser::Builder when parsing with prism. (@earlopain)

1.39.0 (from changelog)

New features

  • #359: Enable reusable Prism parse result. (@koic)

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

Commits

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

🆕 prism (added, 1.4.0)


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 the depfu label Apr 2, 2025
@mitlib mitlib temporarily deployed to thesis-submit-pr-1445 April 2, 2025 04:20 Inactive
@coveralls
Copy link

Coverage Status

coverage: 98.313%. remained the same
when pulling 7245bba on depfu/update/rubocop-rails-2.31.0
into c26476d on main.

@JPrevost JPrevost closed this May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants