Skip to content

build(deps-dev): bump rubocop from 1.91.0 to 1.92.0 - #5550

Merged
johha merged 2 commits into
mainfrom
dependabot/bundler/rubocop-1.92.0
Oct 21, 2026
Merged

johha merged 2 commits into
mainfrom
dependabot/bundler/rubocop-1.92.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Bumps rubocop from 1.91.0 to 1.92.0.

Release notes

Sourced from rubocop's releases.

RuboCop v1.92.0

New features

  • #15895: Add an MCP tool that explains what cops do. (@​bbatsov)
  • #15700: Add --explain COP to describe what a cop does, how it is configured, and the examples from its documentation. (@​bbatsov)
  • #15699: Add --max-offenses-per-cop to cap how many offenses a single cop reports. (@​bbatsov)
  • #15948: Let MCP autocorrection apply the corrections of AutoCorrect: contextual cops when asked to. (@​bbatsov)
  • #15945: Let MCP autocorrection preview its changes as a diff. (@​bbatsov)
  • #15915: Let MCP inspection cap how many offenses each cop reports. (@​bbatsov)
  • #15930: Let MCP tools choose which cops run and which files they check. (@​bbatsov)
  • #14666: Make Lint/UselessAssignment register an offense for a block-captured variable that is never referenced. (@​IslamElsayed)
  • #15695: Report autocorrection edits in the JSON formatter. (@​bbatsov)
  • #15940: Report cop errors and warnings per file in --format json. (@​bbatsov)
  • #15945: Report the offenses MCP autocorrection leaves behind. (@​bbatsov)

Bug fixes

  • #15780: Fix an error for Lint/MissingCopEnableDirective when an enable-next or next +Cop directive suspends an open rubocop:disable, and a false positive for next -Cop scopes larger than MaxRangeSize. (@​bbatsov)
  • #16005: Fix a false negative for Security/JSONLoad with create_additions as the second argument. (@​bbatsov)
  • #15994: Fix a false positive for Layout/LineEndStringConcatenationIndentation with an already aligned part. (@​bbatsov)
  • #15842: Fix a false positive for Style/ExplicitBlockArgument when the method uses argument forwarding (...). (@​bbatsov)
  • #15843: Fix a false positive for Style/NegativeArrayIndex with a different length receiver. (@​bbatsov)
  • #15841: Fix a false positive for Style/RedundantFreeze with an arithmetic operation on a non-numeric receiver. (@​bbatsov)
  • #15843: Fix a false positive for Style/Sample with an endless range, which was corrected to a sample call of the wrong size. (@​bbatsov)
  • #15842: Fix a false positive for Style/SuperArguments when the method has a destructuring parameter. (@​bbatsov)
  • #15740: Fix an error for Layout/EmptyLinesAroundMethodBody when a method's arguments span multiple lines and the method ends on the last argument's line. (@​viralpraxis)
  • #15860: Fix an error for Layout/HeredocIndentation with a heredoc nested in another heredoc. (@​Starlexxx)
  • #15876: Fix an error for Lint/EmptyConditionalBody with else on the condition line. (@​koic)
  • #16008: Fix an error for Lint/UnescapedBracketInRegexp when using regexp_parser 2.11.2 and earlier. (@​bbatsov)
  • #15897: Fix an error for Metrics/ClassLength with a long singleton class in LSP mode. (@​bbatsov)
  • #15749: Fix an error for Style/ClassAndModuleChildren when a compact class or module definition appears in an expression, such as an assignment value or a method argument. (@​viralpraxis)
  • #15750: Fix an error for Style/ClassAndModuleChildren when using EnforcedStyle: compact and the nested body is indented less than Layout/IndentationWidth's Width. (@​viralpraxis)
  • #15764: Fix an error for Style/ClassAndModuleChildren when EnforcedStyle: compact compacts an irregularly indented definition and Layout/IndentationStyle enforces tabs. (@​viralpraxis)
  • #15946: Fix an error for Style/ExplicitBlockArgument with the shorthand call syntax. (@​Starlexxx)
  • #15861: Fix an error for Style/FormatString with format nested in format. (@​Starlexxx)
  • #15694: Fix an error for Style/HashSyntax when a no_mixed_keys style forces hash rockets on a hash whose value repeats its key. (@​viralpraxis)
  • #16007: Fix an error for Style/IfInsideElse when the nested if shares a line with other code. (@​bbatsov)
  • #15867: Fix an error for Style/MapIntoArray when pushing into a numbered or it block parameter. (@​Starlexxx)
  • #15949: Fix an error for Style/Next with a modifier condition wrapping a block that has its own offense. (@​Starlexxx)
  • #15797: Fix an error for Style/RedundantCondition when autocorrecting a redundant condition nested in the else branch of another one. (@​koic)
  • #15928: Fix an error for Style/Semicolon when a semicolon follows an unparenthesized keyword parameter or hash pattern. (@​viralpraxis)
  • #15714: Fix an error for Style/YodaCondition when one operand of a comparison contains another comparison the cop also corrects. (@​viralpraxis)
  • #16011: Fix an error for the pacman formatter, which crashed with undefined method 'winsize' whether or not the output was a terminal. (@​bbatsov)
  • #15731: Fix an error when caching offenses whose correction or justification cannot be represented as UTF-8. (@​viralpraxis)
  • #16015: Fix an error when cleaning up a result cache that can't be written. (@​bbatsov)
  • #15702: Fix an error when interrupting RuboCop with Ctrl-C. (@​viralpraxis)
  • #16015: Fix an error when the cache directory or config can't be accessed under a sandbox. (@​bbatsov)
  • #16015: Fix an error when the result cache directory exists but can't be written. (@​bbatsov)
  • #15817: Fix an incorrect autocorrect for Gemspec/OrderedDependencies when the same dependency declaration appears more than once in the gemspec. (@​viralpraxis)
  • #15903: Fix an incorrect autocorrect for Layout/ClassStructure with blank line cops. (@​koic)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.92.0 (2026-10-10)

New features

  • #15895: Add an MCP tool that explains what cops do. ([@​bbatsov][])
  • #15700: Add --explain COP to describe what a cop does, how it is configured, and the examples from its documentation. ([@​bbatsov][])
  • #15699: Add --max-offenses-per-cop to cap how many offenses a single cop reports. ([@​bbatsov][])
  • #15948: Let MCP autocorrection apply the corrections of AutoCorrect: contextual cops when asked to. ([@​bbatsov][])
  • #15945: Let MCP autocorrection preview its changes as a diff. ([@​bbatsov][])
  • #15915: Let MCP inspection cap how many offenses each cop reports. ([@​bbatsov][])
  • #15930: Let MCP tools choose which cops run and which files they check. ([@​bbatsov][])
  • #14666: Make Lint/UselessAssignment register an offense for a block-captured variable that is never referenced. ([@​IslamElsayed][])
  • #15695: Report autocorrection edits in the JSON formatter. ([@​bbatsov][])
  • #15940: Report cop errors and warnings per file in --format json. ([@​bbatsov][])
  • #15945: Report the offenses MCP autocorrection leaves behind. ([@​bbatsov][])

Bug fixes

  • #15780: Fix an error for Lint/MissingCopEnableDirective when an enable-next or next +Cop directive suspends an open rubocop:disable, and a false positive for next -Cop scopes larger than MaxRangeSize. ([@​bbatsov][])
  • #16005: Fix a false negative for Security/JSONLoad with create_additions as the second argument. ([@​bbatsov][])
  • #15994: Fix a false positive for Layout/LineEndStringConcatenationIndentation with an already aligned part. ([@​bbatsov][])
  • #15842: Fix a false positive for Style/ExplicitBlockArgument when the method uses argument forwarding (...). ([@​bbatsov][])
  • #15843: Fix a false positive for Style/NegativeArrayIndex with a different length receiver. ([@​bbatsov][])
  • #15841: Fix a false positive for Style/RedundantFreeze with an arithmetic operation on a non-numeric receiver. ([@​bbatsov][])
  • #15843: Fix a false positive for Style/Sample with an endless range, which was corrected to a sample call of the wrong size. ([@​bbatsov][])
  • #15842: Fix a false positive for Style/SuperArguments when the method has a destructuring parameter. ([@​bbatsov][])
  • #15740: Fix an error for Layout/EmptyLinesAroundMethodBody when a method's arguments span multiple lines and the method ends on the last argument's line. ([@​viralpraxis][])
  • #15860: Fix an error for Layout/HeredocIndentation with a heredoc nested in another heredoc. ([@​Starlexxx][])
  • #15876: Fix an error for Lint/EmptyConditionalBody with else on the condition line. ([@​koic][])
  • #16008: Fix an error for Lint/UnescapedBracketInRegexp when using regexp_parser 2.11.2 and earlier. ([@​bbatsov][])
  • #15897: Fix an error for Metrics/ClassLength with a long singleton class in LSP mode. ([@​bbatsov][])
  • #15749: Fix an error for Style/ClassAndModuleChildren when a compact class or module definition appears in an expression, such as an assignment value or a method argument. ([@​viralpraxis][])
  • #15750: Fix an error for Style/ClassAndModuleChildren when using EnforcedStyle: compact and the nested body is indented less than Layout/IndentationWidth's Width. ([@​viralpraxis][])
  • #15764: Fix an error for Style/ClassAndModuleChildren when EnforcedStyle: compact compacts an irregularly indented definition and Layout/IndentationStyle enforces tabs. ([@​viralpraxis][])
  • #15946: Fix an error for Style/ExplicitBlockArgument with the shorthand call syntax. ([@​Starlexxx][])
  • #15861: Fix an error for Style/FormatString with format nested in format. ([@​Starlexxx][])
  • #15694: Fix an error for Style/HashSyntax when a no_mixed_keys style forces hash rockets on a hash whose value repeats its key. ([@​viralpraxis][])
  • #16007: Fix an error for Style/IfInsideElse when the nested if shares a line with other code. ([@​bbatsov][])
  • #15867: Fix an error for Style/MapIntoArray when pushing into a numbered or it block parameter. ([@​Starlexxx][])
  • #15949: Fix an error for Style/Next with a modifier condition wrapping a block that has its own offense. ([@​Starlexxx][])
  • #15797: Fix an error for Style/RedundantCondition when autocorrecting a redundant condition nested in the else branch of another one. ([@​koic][])
  • #15928: Fix an error for Style/Semicolon when a semicolon follows an unparenthesized keyword parameter or hash pattern. ([@​viralpraxis][])
  • #15714: Fix an error for Style/YodaCondition when one operand of a comparison contains another comparison the cop also corrects. ([@​viralpraxis][])
  • #16011: Fix an error for the pacman formatter, which crashed with undefined method 'winsize' whether or not the output was a terminal. ([@​bbatsov][])
  • #15731: Fix an error when caching offenses whose correction or justification cannot be represented as UTF-8. ([@​viralpraxis][])
  • #16015: Fix an error when cleaning up a result cache that can't be written. ([@​bbatsov][])
  • #15702: Fix an error when interrupting RuboCop with Ctrl-C. ([@​viralpraxis][])
  • #16015: Fix an error when the cache directory or config can't be accessed under a sandbox. ([@​bbatsov][])
  • #16015: Fix an error when the result cache directory exists but can't be written. ([@​bbatsov][])
  • #15817: Fix an incorrect autocorrect for Gemspec/OrderedDependencies when the same dependency declaration appears more than once in the gemspec. ([@​viralpraxis][])

... (truncated)

Commits
  • 4172ce5 Cut 1.92
  • 7e75867 Require net/http in the references:verify task
  • 7c107cb Update Changelog
  • 81c7d42 Fix an error when cleaning up a result cache that can't be written
  • 3b70129 Fix an error when the result cache directory exists but can't be written
  • 830275f Fix an error when the cache directory or config can't be accessed under a san...
  • 38b43fc Remove a check from Style/SingleLineMethods that the shared endless method ...
  • 9897fb1 Fix an incorrect autocorrect for Style/EndlessMethod and `Style/SingleLineM...
  • 1a2221e Fix an incorrect autocorrect for Style/ReturnNilInPredicateMethodDefinition...
  • f2f4fac Fix an incorrect autocorrect for Style/EndlessMethod with a modifier condit...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Oct 14, 2026
@dependabot
dependabot Bot force-pushed the dependabot/bundler/rubocop-1.92.0 branch 4 times, most recently from 52f5332 to 70f70c3 Compare October 21, 2026 07:54
@linux-foundation-easycla

linux-foundation-easycla Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: dependabot[bot] / name: dependabot[bot] (cafd568)

github-advanced-security[bot]

This comment was marked as outdated.

@dependabot
dependabot Bot force-pushed the dependabot/bundler/rubocop-1.92.0 branch from 97dbb46 to e40e056 Compare October 21, 2026 10:29
@cloudfoundry cloudfoundry deleted a comment from dependabot Bot Oct 21, 2026
@johha

johha commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

@dependabot recreate

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.91.0 to 1.92.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.91.0...v1.92.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.92.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/bundler/rubocop-1.92.0 branch from efc078b to cafd568 Compare October 21, 2026 11:16
@johha
johha merged commit e33f2ae into main Oct 21, 2026
12 checks passed
@johha
johha deleted the dependabot/bundler/rubocop-1.92.0 branch October 21, 2026 11:39
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request Oct 21, 2026
Dependency updates in cloud_controller_ng:

- build(deps-dev): bump rubocop from 1.91.0 to 1.92.0
    PR: cloudfoundry/cloud_controller_ng#5550
    Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Author: ari-wg-gitbot <app-runtime-interfaces@cloudfoundry.org>
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.

3 participants