Skip to content

[ruby] Update rubocop 1.92.1 → 1.92.2 (patch) - #951

Merged
depfu[bot] merged 1 commit into
mainfrom
depfu/update/rubocop-1.92.2
Nov 7, 2026
Merged

depfu[bot] merged 1 commit into
mainfrom
depfu/update/rubocop-1.92.2

Conversation

@depfu

@depfu depfu Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

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 (1.92.1 → 1.92.2) · Repo · Changelog

Release Notes

1.92.2

Bug fixes

  • #16147: Fix a false negative for Lint/RedundantCopDisableDirective when autocorrection shifts lines. (@koic)
  • #16104: Fix a false negative for Style/FloatDivision with a trailing comment. (@a-lavis)
  • #16146: Fix a false positive for Lint/RedundantCopDisableDirective with a repeated disable. (@koic)
  • #16176: Fix a false positive for Style/RaiseArgs with EnforcedStyle: compact and constructor arguments. (@bbatsov)
  • #16183: Fix an error for Layout/RescueEnsureAlignment with index or-assignment. (@koic)
  • #16158: Fix an error for Style/NumericPredicate with a predicate nested in the receiver of another. (@Starlexxx)
  • #16125: Fix an error for Style/RedundantCondition with a nested modifier if. (@koic)
  • #16175: Fix an incorrect autocorrect for Layout/HashAlignment with multiple styles and pairs on one line. (@bbatsov)
  • #16139: Fix an incorrect autocorrect for Layout/LineLength with code after a heredoc opener. (@koic)
  • #16160: Fix an incorrect autocorrect for Layout/SingleLineBlockChain with Style/MapToSet. (@koic)
  • #16002: Fix an incorrect autocorrect for Layout/SpaceBeforeBlockBraces with a brace after a line continuation. (@Starlexxx)
  • #16175: Fix an incorrect autocorrect for Layout/SpaceBeforeBlockBraces with a brace after a heredoc body. (@bbatsov)
  • #16180: Fix an incorrect autocorrect for Lint/InterpolationCheck in a split string. (@Starlexxx)
  • #16143: Fix an incorrect autocorrect for Lint/ParenthesesAsGroupedExpression with a command call operand. (@koic)
  • #16170: Fix an incorrect autocorrect for Lint/RedundantSplatExpansion with Array.new as a method argument. (@wleeaf)
  • #16178: Fix an incorrect autocorrect for Style/AndOr with a binary operator method operand. (@bbatsov)
  • #16150: Fix an incorrect autocorrect for Style/AndOr with a command call that takes a do block. (@Starlexxx)
  • #16178: Fix an incorrect autocorrect for Style/AndOr with a method chained onto a command call's do block. (@bbatsov)
  • #16178: Fix an incorrect autocorrect for Style/AndOr with a negated command call that takes a do block. (@bbatsov)
  • #16178: Fix an incorrect autocorrect for Style/AndOr with a pattern matching, ternary, range or defined? operand. (@bbatsov)
  • #16178: Fix an incorrect autocorrect for Style/AndOr with super called with arguments. (@bbatsov)
  • #16171: Fix an incorrect autocorrect for Style/CaseEquality with a non-numeric range. (@wleeaf)
  • #16127: Fix an incorrect autocorrect for Style/ClassAndModuleChildren with Style/DataInheritance. (@koic)
  • #16154: Fix an incorrect autocorrect for Style/EndlessMethod with modifier cops. (@koic)
  • #16167: Fix an incorrect autocorrect for Style/HashAsLastArrayItem with Layout/MultilineArrayBraceLayout. (@Starlexxx)
  • #16126: Fix an incorrect autocorrect for Style/HashLookupMethod with forwarded or splatted arguments. (@koic)
  • #16163: Fix an incorrect autocorrect for Style/MethodCallWithArgsParentheses with Layout/HeredocArgumentClosingParenthesis. (@koic)
  • #16124: Fix an incorrect autocorrect for Style/MethodDefParentheses with a line continuation. (@koic)
  • #16159: Fix an incorrect autocorrect for Style/ParenthesesAroundCondition with a command call assignment. (@koic)
  • #16137: Fix an incorrect autocorrect for Style/QuotedSymbols with a trailing backslash. (@koic)
  • #16176: Fix an incorrect autocorrect for Style/RaiseArgs compact style with e.class as the exception. (@bbatsov)
  • #16169: Fix an incorrect autocorrect for Style/RaiseArgs with a heredoc message. (@Starlexxx)
  • #16132: Fix an incorrect autocorrect for Style/RaiseArgs with a parenthesized raise. (@koic)
  • #16136: Fix an incorrect autocorrect for Style/ReduceToHash with a heredoc. (@koic)
  • #16162: Fix an incorrect autocorrect for Style/RedundantBegin with a ternary branch. (@koic)
  • #16176: Fix an incorrect autocorrect for Style/RedundantException with a heredoc in a multiline call. (@bbatsov)
  • #16177: Fix an incorrect autocorrect for Style/SingleLineMethods with code after the method's end. (@bbatsov)
  • #16157: Fix an incorrect autocorrect for Style/StringConcatenation when joining parts forms an interpolation. (@Starlexxx)
  • #16161: Fix an incorrect autocorrect for Style/TrailingCommaInArguments with argument forwarding. (@koic)
  • #16182: Fix an infinite loop for Layout/EmptyLinesAfterModuleInclusion with a logical operator. (@Starlexxx)
  • #16138: Fix an infinite loop for Layout/EmptyLinesAroundClassBody with Layout/IndentationWidth. (@koic)
  • #16142: Fix an infinite loop for Layout/EndAlignment with a class or module assigned to a constant. (@Starlexxx)
  • #16128: Fix an infinite loop for Layout/ExtraSpacing with Layout/LineLength. (@koic)
  • #16148: Fix an infinite loop for Layout/SpaceAroundOperators with Layout/LineContinuationSpacing. (@Starlexxx)
  • #16123: Fix an infinite loop for Layout/SpaceAroundOperators with hash rockets aligned on non-adjacent lines. (@koic)
  • #16144: Fix an infinite loop for Layout/SpaceInsideBlockBraces with Layout/BlockAlignment. (@koic)
  • #16145: Fix an infinite loop for Layout/SpaceInsideRangeLiteral with a nested endless range. (@koic)
  • #15609: Fix an infinite loop and an incorrect autocorrect for Style/EndlessMethod when the method definition itself has a modifier if/unless/while/until or is followed by and/or/&&/||. (@Starlexxx)
  • #16153: Fix an infinite loop for Style/RedundantBegin and Style/IfUnlessModifier with Layout/SpaceInsideParens. (@koic)
  • #16168: Fix false positives for Lint/NestedPercentLiteral when a percent literal contains format sequences such as %-5s or %.2f. (@Vitalini)
  • #16149: Fix false positives in Style/RedundantSelf with a splat in multiple assignment. (@koic)
  • #16134: Fix Layout/HashAlignment deleting a double splat before a pair on the same line. (@Starlexxx)
  • #14045: Warn about any obsolete configuration shipped by a plugin, naming the plugin and its file, instead of reporting a renamed cop against the user's .rubocop.yml. (@ihamzatarar)

Changes

  • #16066: Clarify when a cached remote configuration file is refreshed. (@pdobb)
  • #15855: Make Lint/PercentStringArray suggest an array literal for quoted strings split at whitespace. (@koic)

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.


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 Nov 7, 2026
@depfu
depfu Bot merged commit 0b6811e into main Nov 7, 2026
9 checks passed
@depfu
depfu Bot deleted the depfu/update/rubocop-1.92.2 branch November 7, 2026 09:53
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.

0 participants