Skip to content

chore(deps-dev): bump rubocop from 1.81.1 to 1.81.6 in /ruby_2

Bumps rubocop from 1.81.1 to 1.81.6.

Release notes

Sourced from rubocop's releases.

RuboCop v1.81.6

Bug fixes

  • #14587: Fix an error for Lint/SelfAssignment when using []= assignment with no arguments. (@​koic)
  • #14572: Fix an error for Style/ArrayIntersect when intersection(other).any? is called without a receiver. (@​koic)
  • #14599: Fix a crash when Style/ConditionalAssignment is configured with assign_inside_conditional and the conditional contains a multi-line regex. (@​martinemde)
  • #14574: Fix false positives for Style/RedundantInterpolation when using a one-line => pattern matching. (@​koic)
  • #14602: Fix false positives for Style/EndlessMethod when heredoc is used in method body. (@​koic)
  • #14594: Fix false positives for Style/EndlessMethod when the endless method would exceed the maximum line length. (@​koic)
  • #14605: Fix false positive for Lint/EmptyInterpolation when interpolation is inside a %W literal. (@​dvandersluis)
  • #14604: Fix Style/RedundantFormat false positive when a interpolated value is given to a specifier with a width or precision. (@​dvandersluis)
  • #14607: Fix Style/RedundantFormat handling control characters like \n. (@​dvandersluis)
  • #14577: Fix an incorrect autocorrect for Style/Semicolon when a method call using hash value omission without parentheses is terminated with a semicolon. (@​koic)
  • #14552: Fix a false positive for Security/JSONLoad when create_additions is explicitly specified. (@​earlopain)

Changes

  • #14566: Enhance Lint::ConstantOverwrittenInRescue cop to detect offenses within fully qualified constants. (@​viralpraxis)
  • #14575: Enhance Lint/ConstantOverwrittenInRescue cop to detect offenses within nested constants. (@​viralpraxis)
  • #14596: Change Lint/ConstantOverwrittenInRescue to detect any constant assignment. (@​viralpraxis)
  • #14568: Make Style/LambdaCall autocorrection contextual. (@​koic)
Changelog

Sourced from rubocop's changelog.

1.81.6 (2025-10-21)

Bug fixes

  • #14587: Fix an error for Lint/SelfAssignment when using []= assignment with no arguments. ([@​koic][])
  • #14572: Fix an error for Style/ArrayIntersect when intersection(other).any? is called without a receiver. ([@​koic][])
  • #14599: Fix a crash when Style/ConditionalAssignment is configured with assign_inside_conditional and the conditional contains a multi-line regex. ([@​martinemde][])
  • #14574: Fix false positives for Style/RedundantInterpolation when using a one-line => pattern matching. ([@​koic][])
  • #14602: Fix false positives for Style/EndlessMethod when heredoc is used in method body. ([@​koic][])
  • #14594: Fix false positives for Style/EndlessMethod when the endless method would exceed the maximum line length. ([@​koic][])
  • #14605: Fix false positive for Lint/EmptyInterpolation when interpolation is inside a %W literal. ([@​dvandersluis][])
  • #14604: Fix Style/RedundantFormat false positive when a interpolated value is given to a specifier with a width or precision. ([@​dvandersluis][])
  • #14607: Fix Style/RedundantFormat handling control characters like \n. ([@​dvandersluis][])
  • #14577: Fix an incorrect autocorrect for Style/Semicolon when a method call using hash value omission without parentheses is terminated with a semicolon. ([@​koic][])
  • #14552: Fix a false positive for Security/JSONLoad when create_additions is explicitly specified. ([@​earlopain][])

Changes

  • #14566: Enhance Lint::ConstantOverwrittenInRescue cop to detect offenses within fully qualified constants. ([@​viralpraxis][])
  • #14575: Enhance Lint/ConstantOverwrittenInRescue cop to detect offenses within nested constants. ([@​viralpraxis][])
  • #14596: Change Lint/ConstantOverwrittenInRescue to detect any constant assignment. ([@​viralpraxis][])
  • #14568: Make Style/LambdaCall autocorrection contextual. ([@​koic][])
Commits
  • 8c98655 Cut 1.81.6
  • f5431f5 Update broken link
  • 3d76fb0 Update Changelog
  • fe019a8 Merge pull request #14611 from r7kamura/CopDirectiveSyntax-comment-improve
  • df813a3 Improve Lint/CopDirectiveSyntax cop documentation examples
  • 905c991 Merge pull request #14606 from dvandersluis/issue/14605
  • f7f653f Merge pull request #14608 from dvandersluis/issue/14604
  • 91ed4aa [Fix #14604] Fix Style/RedundantFormat false positive when a interpolated v...
  • bb5d1a3 [Fix #14605] Fix false positive for Lint/EmptyInterpolation when interpolat...
  • 783a4bf Merge pull request #14607 from dvandersluis/redundant-format-control-chars
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • @dependabot-bot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading