Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 1, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Change Age Confidence
rubocop (source, changelog) '~> 1.79.2' -> '~> 1.81.1' age confidence
rubocop-rspec (changelog) '~> 3.6' -> '~> 3.7' age confidence

Release Notes

rubocop/rubocop (rubocop)

v1.81.1

Compare Source

Bug fixes
  • #​14563: Fix incorrect autocorrection for Lint/DeprecatedOpenSSLConstant when Cipher appears twice. ([@​koic][])
Changes
  • #​14565: Allow multiline method chain for Style/NumberedParameters and Style/ItBlockParameter with EnforcedStyle: allow_single_line when the block itself is on a single line. ([@​earlopain][])

v1.81.0

Compare Source

New features
Bug fixes
  • #​14560: Fix an error for Style/NilComparison cop when using the var.==(nil) and var.===(nil) syntax. ([@​viralpraxis][])
  • #​14535: Fix autocorrect for Style/ExplicitBlockArgument when there are two methods that share the same implementation. ([@​earlopain][])
  • #​14527: Fix false negatives for Style/NumberedParameters and Style/ItBlockParameter when using multiline method chain with EnforcedStyle: allow_single_line. ([@​koic][])
  • #​14522: Fix false negatives for Layout/MultilineOperationIndentation when using indented code on LHS of equality operator in modifier method definition. ([@​koic][])
  • #​14496: Fix false negatives for Layout/EmptyLineBetweenDefs for AllowAdjacentOneLineDefs: false and DefLikeMacros that take no block. ([@​earlopain][])
  • #​14553: Fix false positives when EnforcedStyle: allowed_in_returns and !! appears across multiple lines in return position. ([@​koic][])
  • #​14557: Fix false positives for Style/RedundantParentheses when parentheses are used around a one-line rescue expression as a condition. ([@​koic][])
  • #​14525: Fix false positives for Style/RedundantRegexpEscape when an escaped variable sigil follows # (e.g., /#\@​foo/, /#\@​@​bar/, /#\$baz/). ([@​koic][])
  • #​14529: Fix false negative in Layout/RescueEnsureAlignment with a block whose send node is split over multiple lines. ([@​dvandersluis][])
  • #​14528: Fix Style/RedundantFormat when the format string has a variable width that isn't given as a literal value. ([@​dvandersluis][])
  • #​14541: Fix gemspec parsing error when ParserEngine: parser_prism is configured in a base config file. ([@​sudoremo][])
  • #​14544: Fix an incorrect autocorrect for Lint/Void when using a return value in assignment method definition. ([@​koic][])
  • #​14543: Fix an incorrect autocorrect for Style/RedundantRegexpArgument when using escaped single quote character. ([@​koic][])
  • #​14540: Fix an incorrect autocorrect for Style/UnlessElse when using unless with then. ([@​koic][])
  • #​14507: Fix the built-in Ruby LSP add-on not restarting when config files (.rubocop.yml, .rubocop_todo.yml) change. ([@​earlopain][])
  • #​14514: Fix the built-in Ruby LSP add-on not respecting .rubocop config file. ([@​earlopain][])
  • #​14508: Fix the built-in Ruby LSP add-on getting in an irrecoverable state when the config is invalid on startup. ([@​earlopain][])
  • #​14534: Prevent Layout/LineLength autocorrection from splitting a block if its receiver contains a heredoc. ([@​dvandersluis][])
  • #​14497: Fix a false positive for Lint/ShadowedArgument when assigning inside a rescue block. ([@​earlopain][])
Changes

v1.80.2

Compare Source

Bug fixes
  • #​14477: Fix a false positive for Style/SafeNavigation when using ternary expression with index access call with method chain. ([@​koic][])
  • #​14486: Fix false positives for Style/RedundantParentheses with unary operators and yield, super, or defined?. ([@​earlopain][])
  • #​14489: Fix false negatives for Style/RedundantParentheses with method calls taking argument without parentheses like return (x y) if z. ([@​earlopain][])
  • #​14499: Fix wrong autocorrect for Style/StringConcatenation when a double-quoted string contains escaped quotes and interpolation. ([@​earlopain][])
  • #​14502: Fix wrong autocorrect for Style/StringConcatenation when a single-quoted string contains interpolation like '#{foo}'. ([@​earlopain][])
Changes

v1.80.1

Compare Source

Bug fixes
  • #​14479: Don't invalidate cache when --display-time option is used on the CLI. ([@​lovro-bikic][])
  • #​14473: Fix a false negative for Style/RedundantBegin using begin with multiple statements without rescue or ensure. ([@​koic][])
  • #​14475: Fix cop errors during autocorrect for the build in LSP when analyzing as Ruby 3.4. ([@​earlopain][])
Changes

v1.80.0

Compare Source

Bug fixes
  • #​14469: Fix an incorrect autocorrect for Style/BitwisePredicate when using & with LHS flags in conjunction with == for comparisons. ([@​koic][])
  • #​14459: Fix wrong autocorrect for Style/For with save navigation in the collection. ([@​earlopain][])
  • #​14435: Fix false negatives for regexp cops when Lint/DuplicateRegexpCharacterClassElement is enabled. ([@​earlopain][])
  • #​14419: Fix false positives for Lint/UselessAssignment when duplicate assignments appear in nested if branches inside a loop and the variable is used outside while loop. ([@​koic][])
  • #​14468: Fix false positives for Naming/MethodName when an operator method is defined using a string. ([@​koic][])
  • #​14427: Fix false positives for Style/RedundantParentheses when do...end block is wrapped in parentheses as a method argument. ([@​koic][])
  • #​14441: Better hash access handling in Style/SafeNavigation. ([@​issyl0][])
  • #​14443: Fix false positive in Layout/EmptyLinesAfterModuleInclusion when include does not have exactly one argument. ([@​issyl0][])
  • #​14424: Fix Style/SafeNavigation cop to preserve existing safe navigation in fixed code. ([@​martinemde][])
  • #​14455: Follow module inclusion with nonzero args with an empty line. ([@​issyl0][])
  • #​14445: Fix false positives for Lint/UselessAssignment with for loops when the variable is referenced in the collection. ([@​earlopain][])
  • #​14447: Fix wrong autocorrect for Style/RedundantCondition with a parenthesised method call in the condition. ([@​earlopain][])
Changes
rubocop/rubocop-rspec (rubocop-rspec)

v3.7.0

Compare Source

  • Mark RSpec/IncludeExamples as SafeAutoCorrect: false. ([@​yujideveloper])
  • Fix a false positive for RSpec/LeakyConstantDeclaration when defining constants in explicit namespaces. ([@​naveg])
  • Add support for error matchers (raise_exception and raise_error) to RSpec/Dialect. ([@​lovro-bikic])
  • Don't register offenses for RSpec/DescribedClass within Data.define blocks. ([@​lovro-bikic])
  • Add autocorrection support for RSpec/IteratedExpectation for single expectations. ([@​lovro-bikic])
  • Exclude all cops from inspecting factorybot files, except if explicitly included. ([@​Mth0158])
  • Fix a false positive for RSpec/ExcessiveDocstringSpacing when receivers are not RSpec methods. ([@​ydah])

Configuration

📅 Schedule: Branch creation - "after 8am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update dependency rubocop to '~> 1.80.1' chore(deps): update rubocop-tools Sep 1, 2025
@renovate renovate bot force-pushed the renovate/rubocop-tools branch 2 times, most recently from 21002f6 to ba6ee86 Compare September 3, 2025 18:04
@renovate renovate bot force-pushed the renovate/rubocop-tools branch from ba6ee86 to db87c45 Compare September 25, 2025 17:08
@renovate renovate bot force-pushed the renovate/rubocop-tools branch from db87c45 to a4393ed Compare September 26, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant