Skip to content

Commit 05e3f05

Browse files
chore(deps): update dependency rubocop to v1.88.1 (#191)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [rubocop](https://rubocop.org/) ([source](https://redirect.github.com/rubocop/rubocop), [changelog](https://redirect.github.com/rubocop/rubocop/releases/tag/v1.88.1)) | `1.87.0` → `1.88.1` | ![age](https://developer.mend.io/api/mc/badges/age/rubygems/rubocop/1.88.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/rubocop/1.87.0/1.88.1?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/101) for more information. --- ### Release Notes <details> <summary>rubocop/rubocop (rubocop)</summary> ### [`v1.88.1`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1881-2026-07-01) [Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.88.0...v1.88.1) ##### Bug fixes - [#&#8203;15408](https://redirect.github.com/rubocop/rubocop/pull/15408): Fix a crash for `Bundler/GemComment` with a non-literal gem option key. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;9571](https://redirect.github.com/rubocop/rubocop/issues/9571): Fix a crash for `Layout/ClassStructure` when a class body is a single safe-navigation call (e.g. `test&.private_methods(def foo; end)`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15413](https://redirect.github.com/rubocop/rubocop/pull/15413): Fix a crash for `Gemspec/DevelopmentDependencies` when `AllowedGems` is nil. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15404](https://redirect.github.com/rubocop/rubocop/pull/15404): Fix a crash for `Metrics/MethodLength` with an anonymous `define_method`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15414](https://redirect.github.com/rubocop/rubocop/pull/15414): Fix a crash for `Naming/InclusiveLanguage` with nil or empty `FlaggedTerms`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15405](https://redirect.github.com/rubocop/rubocop/pull/15405): Fix a crash for `Security/IoMethods` with a non-string-literal argument. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15330](https://redirect.github.com/rubocop/rubocop/pull/15330): Fix a crash for `Style/EmptyStringInsideInterpolation` with a modifier conditional. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15351](https://redirect.github.com/rubocop/rubocop/pull/15351): Fix a crash for `Style/OpenStructUse` with a bare `OpenStruct` root node. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15379](https://redirect.github.com/rubocop/rubocop/pull/15379): Fix a crash for `Style/TrailingUnderscoreVariable` when a nested destructuring group consists only of underscore variables. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15412](https://redirect.github.com/rubocop/rubocop/pull/15412): Fix a false negative for `Security/MarshalLoad` with a proc argument. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15386](https://redirect.github.com/rubocop/rubocop/pull/15386): Fix a false negative for `Style/MethodDefParentheses` with named rest arguments under `EnforcedStyle: require_no_parentheses`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15396](https://redirect.github.com/rubocop/rubocop/pull/15396): Fix a false negative for `Style/MultilineMethodSignature` where a signature that fits on one line was skipped because the multi-line source length was measured instead of the collapsed width. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15386](https://redirect.github.com/rubocop/rubocop/pull/15386): Fix a false negative for `Style/OptionalArguments` with singleton methods. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15383](https://redirect.github.com/rubocop/rubocop/pull/15383): Fix a false negative for `Style/RedundantFilterChain` with numbered-parameter blocks. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15290](https://redirect.github.com/rubocop/rubocop/issues/15290): Fix a false negative for `Lint/ToEnumArguments` when a braced hash is passed to keyword parameters (e.g. `to_enum(:m, { required: required })`), which raises `ArgumentError` when the enumerator is used. (\[[@&#8203;RedZapdos123](https://redirect.github.com/RedZapdos123)]\[]) - [#&#8203;11956](https://redirect.github.com/rubocop/rubocop/issues/11956): Fix a false positive for `Naming/FileName` when a class or module name contains multiple consecutive `AllowedAcronyms`. (\[[@&#8203;camallen](https://redirect.github.com/camallen)]\[]) - [#&#8203;15324](https://redirect.github.com/rubocop/rubocop/pull/15324): Fix a false positive for `Style/DirEmpty` with a block. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15326](https://redirect.github.com/rubocop/rubocop/pull/15326): Fix a false positive for `Style/EmptyLiteral` with numbered and `it` block parameters. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15335](https://redirect.github.com/rubocop/rubocop/pull/15335): Fix a false positive for `Style/EnvHome`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15345](https://redirect.github.com/rubocop/rubocop/pull/15345): Fix a false positive for `Style/InlineComment` with `rubocop:todo` directives. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15348](https://redirect.github.com/rubocop/rubocop/pull/15348): Fix a false positive for `Style/MultilineIfThen`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15383](https://redirect.github.com/rubocop/rubocop/pull/15383): Fix a false positive for `Style/NumericPredicate` when an allowed method encloses a numbered-parameter or `it` block. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15389](https://redirect.github.com/rubocop/rubocop/pull/15389): Fix a false positive for `Style/OptionHash` when the options hash is forwarded with an explicit `super`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15350](https://redirect.github.com/rubocop/rubocop/pull/15350): Fix a false positive for `Style/RedundantFormat` with a lone format sequence. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15374](https://redirect.github.com/rubocop/rubocop/pull/15374): Fix a false positive for `Style/RedundantSelf` with a rescue exception variable. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15376](https://redirect.github.com/rubocop/rubocop/pull/15376): Fix a false positive for `Style/Semicolon` with a semicolon inside a string literal. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15398](https://redirect.github.com/rubocop/rubocop/pull/15398): Fix an incorrect autocorrect for `Layout/ConditionPosition` that dropped a body statement sharing the condition's line via a semicolon. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15399](https://redirect.github.com/rubocop/rubocop/pull/15399): Fix an incorrect autocorrect for `Layout/EmptyComment` that deleted a heredoc when removing an empty comment trailing its opener. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15400](https://redirect.github.com/rubocop/rubocop/pull/15400): Fix an incorrect autocorrect for `Layout/EmptyLineBetweenDefs` that inserted a blank line inside a heredoc body when an endless method's body was a heredoc. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15401](https://redirect.github.com/rubocop/rubocop/pull/15401): Fix an incorrect autocorrect for `Layout/SpaceAroundOperators` that turned `**=` and `/=` compound assignments into `**`/`/`, dropping the assignment. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15406](https://redirect.github.com/rubocop/rubocop/pull/15406): Fix an incorrect autocorrect for `Naming/MemoizedInstanceVariableName`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15411](https://redirect.github.com/rubocop/rubocop/pull/15411): Fix an incorrect autocorrect for `Naming/RescuedExceptionsVariableName`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15319](https://redirect.github.com/rubocop/rubocop/pull/15319): Fix an incorrect autocorrect for `Style/DataInheritance` with a brace block. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15323](https://redirect.github.com/rubocop/rubocop/pull/15323): Fix an incorrect autocorrect for `Style/EmptyCaseCondition` as a `yield`/`super` argument. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15323](https://redirect.github.com/rubocop/rubocop/pull/15323): Fix an incorrect autocorrect for `Style/EmptyCaseCondition` with low-precedence `when` values. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15322](https://redirect.github.com/rubocop/rubocop/pull/15322): Fix an incorrect autocorrect for `Style/EmptyClassDefinition` with a namespaced constant. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15336](https://redirect.github.com/rubocop/rubocop/pull/15336): Fix an incorrect autocorrect for `Style/EmptyHeredoc`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15332](https://redirect.github.com/rubocop/rubocop/pull/15332): Fix an incorrect autocorrect for `Style/EvenOdd`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15329](https://redirect.github.com/rubocop/rubocop/pull/15329): Fix an incorrect autocorrect for `Style/ExactRegexpMatch` with a single quote. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15333](https://redirect.github.com/rubocop/rubocop/pull/15333): Fix an incorrect autocorrect for `Style/FileNull`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15334](https://redirect.github.com/rubocop/rubocop/pull/15334): Fix an incorrect autocorrect for `Style/For`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15331](https://redirect.github.com/rubocop/rubocop/pull/15331): Fix an incorrect autocorrect for `Style/FormatString` with a low-precedence argument. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15331](https://redirect.github.com/rubocop/rubocop/pull/15331): Fix an incorrect autocorrect for `Style/FormatString` with a splat argument. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15337](https://redirect.github.com/rubocop/rubocop/pull/15337): Fix an incorrect autocorrect for `Style/HashSlice`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15327](https://redirect.github.com/rubocop/rubocop/pull/15327): Fix an incorrect autocorrect for `Style/HashSyntax` with a multi-pair braceless `return`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15368](https://redirect.github.com/rubocop/rubocop/pull/15368): Fix an incorrect autocorrect for `Style/IfWithSemicolon` that changed semantics when the condition was an assignment, by parenthesizing it in the resulting ternary. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15340](https://redirect.github.com/rubocop/rubocop/pull/15340): Fix an incorrect autocorrect for `Style/KeywordArgumentsMerging` with a block-pass argument. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15387](https://redirect.github.com/rubocop/rubocop/pull/15387): Fix an incorrect autocorrect for `Style/KeywordParametersOrder` that inserted a spurious blank line when a keyword optional parameter already trailed the parameters list. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15341](https://redirect.github.com/rubocop/rubocop/pull/15341): Fix an incorrect autocorrect for `Style/MapIntoArray` with a block-pass argument. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15342](https://redirect.github.com/rubocop/rubocop/pull/15342): Fix an incorrect autocorrect for `Style/MethodCallWithoutArgsParentheses` with `it()` in a numbered block. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15343](https://redirect.github.com/rubocop/rubocop/pull/15343): Fix an incorrect autocorrect for `Style/MinMaxComparison` with `unless`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15348](https://redirect.github.com/rubocop/rubocop/pull/15348): Fix an incorrect autocorrect for `Style/MultilineMemoization` with `rescue`/`ensure`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15348](https://redirect.github.com/rubocop/rubocop/pull/15348): Fix an incorrect autocorrect for `Style/MultilineMethodSignature`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15394](https://redirect.github.com/rubocop/rubocop/pull/15394): Fix an incorrect autocorrect for `Style/NilLambda` when a non-lambda proc returns `nil` with `return`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15352](https://redirect.github.com/rubocop/rubocop/pull/15352): Fix an incorrect autocorrect for `Style/ParallelAssignment` with a `%i` element needing quoting. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15352](https://redirect.github.com/rubocop/rubocop/pull/15352): Fix an incorrect autocorrect for `Style/ParallelAssignment` with a `%w` element needing escaping. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15366](https://redirect.github.com/rubocop/rubocop/pull/15366): Fix an incorrect autocorrect for `Style/PercentLiteralDelimiters` that produced invalid Ruby for a `%s` symbol whose content contains the preferred delimiter. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15370](https://redirect.github.com/rubocop/rubocop/pull/15370): Fix an incorrect autocorrect for `Style/PerlBackrefs` that rewrote `$+`/`$LAST_PAREN_MATCH` to the non-equivalent `Regexp.last_match(-1)`; these are no longer flagged. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15371](https://redirect.github.com/rubocop/rubocop/pull/15371): Fix an incorrect autocorrect for `Style/RedundantException` that changed the exception message when raising `RuntimeError` with a `nil` message. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15350](https://redirect.github.com/rubocop/rubocop/pull/15350): Fix an incorrect autocorrect for `Style/RedundantFormat` with a `nil` argument. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15365](https://redirect.github.com/rubocop/rubocop/pull/15365): Fix an incorrect autocorrect for `Style/RedundantLineContinuation` that corrupted an earlier line when removing a line continuation at the end of a multi-line file. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15373](https://redirect.github.com/rubocop/rubocop/pull/15373): Fix an incorrect autocorrect for `Style/RedundantRegexpEscape` that stripped a necessary `\@&#8203;`/`\$` escape after `#` in `%r{}`/`%r//` literals, enabling unintended interpolation. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15375](https://redirect.github.com/rubocop/rubocop/pull/15375): Fix an incorrect autocorrect for `Style/RedundantStructKeywordInit` when `keyword_init` is not the last pair. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15377](https://redirect.github.com/rubocop/rubocop/pull/15377): Fix an incorrect autocorrect for `Style/SingleLineDoEndBlock` when the block body contains a heredoc. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15378](https://redirect.github.com/rubocop/rubocop/pull/15378): Fix an incorrect autocorrect for `Style/StringHashKeys` when the hash key is a heredoc. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15380](https://redirect.github.com/rubocop/rubocop/pull/15380): Fix an incorrect autocorrect for `Style/TernaryParentheses` when the condition is a modifier `if`/`unless` expression. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15407](https://redirect.github.com/rubocop/rubocop/pull/15407): Fix an infinite loop for `Gemspec/RequireMFA` with multiple specifications. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15356](https://redirect.github.com/rubocop/rubocop/issues/15356): Fix an infinite loop between `Lint/AssignmentInCondition` and `Style/RedundantParentheses` when an assignment is a statement of a multi-statement `begin` in a condition. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14370](https://redirect.github.com/rubocop/rubocop/issues/14370): Fix comment duplication for `Style/AccessorGrouping` with a single-line trailing comment. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15318](https://redirect.github.com/rubocop/rubocop/issues/15318): Fix `--fail-fast` not reporting offenses and exiting with a zero status when offenses are found. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15312](https://redirect.github.com/rubocop/rubocop/issues/15312): Fix false positives for `Layout/BlockAlignment` when `EnforcedStyleAlignWith: start_of_block` is used and `do` is on a continuation line of a parenthesisless multiline method call. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15339](https://redirect.github.com/rubocop/rubocop/pull/15339): Fix incorrect autocorrects for `Style/HashTransformKeys` and `Style/HashTransformValues` with a splat. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15344](https://redirect.github.com/rubocop/rubocop/pull/15344): Fix incorrect autocorrects for `Style/Lambda` with block-local arguments. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15311](https://redirect.github.com/rubocop/rubocop/pull/15311): Fix a false negative for `Layout/IndentationWidth` when the body of a multiline grouped expression in parentheses is not indented. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15302](https://redirect.github.com/rubocop/rubocop/issues/15302): Fix an incorrect autocorrect for `Bundler/OrderedGems` and `Gemspec/OrderedDependencies` when the last declaration has no trailing newline, which joined two declarations into a single line. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15307](https://redirect.github.com/rubocop/rubocop/issues/15307): Fix a false positive for `Lint/UnescapedBracketInRegexp` when a character class starts with a bare `]` (e.g. `/[^]]/`). (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) ##### Changes - [#&#8203;15390](https://redirect.github.com/rubocop/rubocop/pull/15390): Mark `Style/MapCompactWithConditionalBlock` autocorrect as unsafe because `compact` also removes `nil` elements already present in the collection. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15300](https://redirect.github.com/rubocop/rubocop/issues/15300): Update `Metrics/PerceivedComplexity` to weight simple `case`/`in` pattern branches the same as `case`/`when` branches. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) ### [`v1.88.0`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1880-2026-06-16) [Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.87.0...v1.88.0) ##### New features - [#&#8203;15166](https://redirect.github.com/rubocop/rubocop/pull/15166): Add a new `Recursive` option to `Style/MutableConstant`. When enabled, the cop checks and freezes mutable literals nested inside arrays and hashes. The option is disabled by default to preserve existing behavior. (\[[@&#8203;paracycle](https://redirect.github.com/paracycle)]\[]) ##### Bug fixes - [#&#8203;15220](https://redirect.github.com/rubocop/rubocop/pull/15220): Fix a bad autocorrect for `Lint/RedundantSplatExpansion` when splatting an empty literal (e.g. `when *[]` or `rescue *[]`), which expanded to invalid or semantically different code. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15221](https://redirect.github.com/rubocop/rubocop/pull/15221): Fix a bad autocorrect for `Lint/RegexpAsCondition` when the regexp literal is negated (e.g. `if !/foo/`), which inverted the condition. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15242](https://redirect.github.com/rubocop/rubocop/pull/15242): Fix a bad autocorrect for `Lint/SymbolConversion` when the receiver is an interpolated string containing an embedded double quote (e.g. `"foo#{bar}\"qux".to_sym`), which produced a syntax error. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15270](https://redirect.github.com/rubocop/rubocop/pull/15270): Fix a crash for `Style/CombinableLoops` when a `for` loop has an empty body, and stop autocorrecting consecutive `for` loops whose iteration variables differ (which produced code referencing an undefined variable). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15272](https://redirect.github.com/rubocop/rubocop/pull/15272): Fix a crash for `Style/ConstantVisibility` when a visibility declaration has a numeric literal argument (e.g. `private_constant 42`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15215](https://redirect.github.com/rubocop/rubocop/pull/15215): Fix a false negative for `Lint/OrderedMagicComments` when an `encoding` magic comment is preceded by a magic comment other than `frozen_string_literal` (e.g. `shareable_constant_value`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15228](https://redirect.github.com/rubocop/rubocop/pull/15228): Fix a false negative for `Lint/RedundantWithIndex` when the block takes no arguments (e.g. `ary.each_with_index { do_something }`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15230](https://redirect.github.com/rubocop/rubocop/pull/15230): Fix a false negative for `Lint/RequireRelativeSelfPath` when requiring the current file by name with its extension (e.g. `require_relative 'foo.rb'`) and the file path is absolute. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15229](https://redirect.github.com/rubocop/rubocop/pull/15229): Fix a false negative for `Lint/SafeNavigationChain` when an ordinary method is chained after a parenthesized safe navigation call (e.g. `(x&.foo).bar`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15225](https://redirect.github.com/rubocop/rubocop/pull/15225): Fix a false negative for `Lint/SafeNavigationWithEmpty` when the receiver of `&.empty?` is a local variable, instance variable, constant, or other non-method-call expression. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15231](https://redirect.github.com/rubocop/rubocop/pull/15231): Fix a false negative for `Lint/SendWithMixinArgument` when `send`/`public_send`/`__send__` is called with no explicit receiver or with a `self` receiver (e.g. `send(:include, Bar)`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15248](https://redirect.github.com/rubocop/rubocop/pull/15248): Fix a false negative for `Lint/ToEnumArguments` when more positional arguments are passed than the method accepts (e.g. `def m(x); to_enum(:m, x, extra); end`), which raises `ArgumentError` when the enumerator is used. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15249](https://redirect.github.com/rubocop/rubocop/pull/15249): Fix a false negative for `Lint/UnescapedBracketInRegexp` when an unescaped `]` is preceded by an escaped backslash (e.g. `/abc\\]123/`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15267](https://redirect.github.com/rubocop/rubocop/pull/15267): Fix a false positive for `Style/ArrayIntersectWithSingleElement` with a splat argument (e.g. `array.intersect?([*foo])`), which is not a single element and was incorrectly rewritten to `array.include?(*foo)`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15272](https://redirect.github.com/rubocop/rubocop/pull/15272): Fix a false positive for `Style/ColonMethodCall` with chained JRuby interop calls (e.g. `Java::com::something_method`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15271](https://redirect.github.com/rubocop/rubocop/pull/15271): Fix a false positive for `Style/ConditionalAssignment` with `EnforcedStyle: assign_inside_condition` when assigning an `unless` without an `else` branch (e.g. `x = unless cond; 1; end`), which was rewritten to move the assignment inside the `unless` and changed behavior when the condition was true. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;14401](https://redirect.github.com/rubocop/rubocop/issues/14401): Fix a false positive for `Layout/BlockAlignment` with `EnforcedStyleAlignWith: start_of_line` when a block is passed as a method argument. (\[[@&#8203;augustocbx](https://redirect.github.com/augustocbx)]\[]) - [#&#8203;15216](https://redirect.github.com/rubocop/rubocop/pull/15216): Fix a false positive for `Lint/RaiseException` when `raise Exception` is used inside a module nested within an allowed implicit namespace (e.g. `Gem`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15219](https://redirect.github.com/rubocop/rubocop/pull/15219): Fix a false positive for `Lint/RedundantDirGlobSort` when `sort` is given a comparator block or a block-pass argument, which is not redundant with the default sorting. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15224](https://redirect.github.com/rubocop/rubocop/pull/15224): Fix a false positive for `Lint/ShadowingOuterLocalVariable` when a block argument has the same name as a pattern variable from a different `in` branch of the same `case`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15239](https://redirect.github.com/rubocop/rubocop/pull/15239): Fix a false positive for `Lint/SuppressedExceptionInNumberConversion` when the numeric constructor already passes `exception: false` (e.g. `Integer(arg, exception: false) rescue nil`), which also produced an autocorrect with a duplicate `exception: false` keyword. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15243](https://redirect.github.com/rubocop/rubocop/pull/15243): Fix a false positive for `Lint/TopLevelReturnWithArgument` when a `return` with an argument is inside a numbered-parameter block or an `it` block. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15245](https://redirect.github.com/rubocop/rubocop/pull/15245): Fix a false positive for `Lint/UselessRuby2Keywords` when `ruby2_keywords` in a nested class or module refers to a method of the same name defined in an outer scope. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15246](https://redirect.github.com/rubocop/rubocop/pull/15246): Fix a false positive for `Lint/UselessSetterCall` when a multiple assignment uses nested destructuring (e.g. `(a, b), c = arg, other_arg`), which misaligned variables with the right-hand side values. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15125](https://redirect.github.com/rubocop/rubocop/issues/15125): Fix a false positive for `Style/ZeroLengthPredicate` when `File::Stat.new(...).size.zero?` is used. (\[[@&#8203;augustocbx](https://redirect.github.com/augustocbx)]\[]) - [#&#8203;15196](https://redirect.github.com/rubocop/rubocop/pull/15196): Fix `--start-server` to wait until the server is running before returning, which fixes a flaky `--restart-server` spec and a race for commands run right after starting the server. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15272](https://redirect.github.com/rubocop/rubocop/pull/15272): Fix `Style/Alias` not detecting block scope for numbered-parameter and `it` blocks, which caused a false positive for `alias_method` and a false negative for `alias` inside such blocks. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15281](https://redirect.github.com/rubocop/rubocop/pull/15281): Fix an incorrect autocorrect when `Style/IfUnlessModifier` and `Style/Next` correct the same conditional. (\[[@&#8203;fynsta](https://redirect.github.com/fynsta)]\[]) - [#&#8203;15260](https://redirect.github.com/rubocop/rubocop/issues/15260): Fix an error for `Style/FileWrite` when a literal or variable is passed to `write` in the block form. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15276](https://redirect.github.com/rubocop/rubocop/pull/15276): Fix an error for `Style/RedundantFormat` when the format string is a heredoc with format arguments. (\[[@&#8203;fynsta](https://redirect.github.com/fynsta)]\[]) - [#&#8203;15270](https://redirect.github.com/rubocop/rubocop/pull/15270): Fix an incorrect autocorrect for `Style/AndOr` when an operand is `next`, `break`, or `yield` with an argument (e.g. `foo and next 1`), which produced invalid Ruby like `foo && next 1`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15267](https://redirect.github.com/rubocop/rubocop/pull/15267): Fix an incorrect autocorrect for `Style/ArrayFirstLast` when `arr[0]`/`arr[-1]` is the target of a compound assignment (e.g. `arr[0] += 1`), which produced `arr.first += 1` and raised `NoMethodError`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15267](https://redirect.github.com/rubocop/rubocop/pull/15267): Fix an incorrect autocorrect for `Style/ArrayIntersect` where a negated predicate on a safe-navigation chain (e.g. `a&.intersection(b)&.none?`) was rewritten to `!a&.intersect?(b)`, flipping the result when the receiver is `nil`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15273](https://redirect.github.com/rubocop/rubocop/pull/15273): Fix an incorrect autocorrect for `Style/BlockDelimiters` that converted a single-line `do...end` block containing a block-level `rescue` or `ensure` to `{...}`, producing invalid Ruby. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15268](https://redirect.github.com/rubocop/rubocop/pull/15268): Fix an incorrect autocorrect for `Style/CaseEquality` when the argument is an operator or unary expression (e.g. `Array === a + b`), which produced mis-parsed code like `a + b.is_a?(Array)`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15268](https://redirect.github.com/rubocop/rubocop/pull/15268): Fix an incorrect autocorrect for `Style/ClassEqualityComparison` inside a namespace when the class name string is already fully qualified (e.g. `bar.class.name == '::Bar'`), which produced `instance_of?(::::Bar)` and was a syntax error. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15268](https://redirect.github.com/rubocop/rubocop/pull/15268): Fix an incorrect autocorrect for `Style/ClassEqualityComparison` when comparing `Class` itself to a string literal (e.g. `var.class == 'Date'`), which produced `var.instance_of?('Date')` and raised `TypeError`; such comparisons are no longer autocorrected. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15274](https://redirect.github.com/rubocop/rubocop/pull/15274): Fix an incorrect autocorrect for `Style/ClassMethodsDefinitions` that corrupted a preceding comment containing `def <name>` and left the method undefined as a class method. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15270](https://redirect.github.com/rubocop/rubocop/pull/15270): Fix an incorrect autocorrect for `Style/ComparableClamp` when the clamped value is an operator expression (e.g. `a + b`), which produced mis-parsed code like `a + b.clamp(low, high)`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15267](https://redirect.github.com/rubocop/rubocop/pull/15267): Fix an incorrect autocorrect for `Style/ConcatArrayLiterals` with an empty array literal argument (e.g. `arr.concat([], [b])`), which produced invalid Ruby like `arr.push(, b)`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15274](https://redirect.github.com/rubocop/rubocop/pull/15274): Fix an incorrect autocorrect for `Style/DigChain` that duplicated a trailing comment and dropped indentation when the chain was inside a method or block. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15288](https://redirect.github.com/rubocop/rubocop/pull/15288): Fix an incorrect autocorrect for `Lint/UselessTimes` when a `1.times` block takes a single destructured (`|(a, b)|`) or splat (`|*a|`) argument, which produced a body referencing an undefined variable. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15280](https://redirect.github.com/rubocop/rubocop/pull/15280): Fix an incorrect autocorrect for `Style/ConditionalAssignment` with `EnforcedStyle: assign_inside_condition` and a single-line `case`. (\[[@&#8203;fynsta](https://redirect.github.com/fynsta)]\[]) - [#&#8203;15278](https://redirect.github.com/rubocop/rubocop/pull/15278): Fix an incorrect autocorrect for `Style/ParallelAssignment` when the right-hand side contains a heredoc. (\[[@&#8203;fynsta](https://redirect.github.com/fynsta)]\[]) - [#&#8203;15279](https://redirect.github.com/rubocop/rubocop/pull/15279): Fix an incorrect autocorrect for `Style/Semicolon` when a heredoc is opened before the semicolon. (\[[@&#8203;fynsta](https://redirect.github.com/fynsta)]\[]) - [#&#8203;15277](https://redirect.github.com/rubocop/rubocop/pull/15277): Fix an incorrect autocorrect for `Style/WordArray` when the array contains heredocs. (\[[@&#8203;fynsta](https://redirect.github.com/fynsta)]\[]) - [#&#8203;15240](https://redirect.github.com/rubocop/rubocop/pull/15240): Fix an incorrect autocorrect for `Lint/UselessAssignment` that rewrote a first-seen `foo &&= 1` to `foo && 1`, raising `NameError` at runtime. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15269](https://redirect.github.com/rubocop/rubocop/issues/15269): Fix a false positive where a cop's relative `Include` pattern could match directories above the project root. (\[[@&#8203;augustocbx](https://redirect.github.com/augustocbx)]\[]) - [#&#8203;15209](https://redirect.github.com/rubocop/rubocop/pull/15209): Fix a false negative for `Lint/InterpolationCheck` when interpolation appears in a multiline single-quoted string. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15211](https://redirect.github.com/rubocop/rubocop/pull/15211): Fix a false negative for `Lint/NonLocalExitFromIterator` when the iterator receiver uses safe navigation. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15227](https://redirect.github.com/rubocop/rubocop/pull/15227): Fix false negatives for `Lint/RedundantSafeNavigation` with `&.respond_to?` on a guaranteed-instance receiver (e.g. `foo.to_s&.respond_to?(:class)`) and with `&.to_h` using a numbered-parameter or `it` block (e.g. `foo&.to_h { _1 } || {}`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15226](https://redirect.github.com/rubocop/rubocop/pull/15226): Fix false negatives for `Lint/RescueType` when rescuing from `true`, `false`, a rational literal (`1r`), or a complex literal (`1i`), all of which raise a `TypeError` at runtime. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15233](https://redirect.github.com/rubocop/rubocop/pull/15233): Fix false negatives for `Lint/SelfAssignment` with `||=` and `&&=` on constants, attributes, and hash keys (e.g. `Foo ||= Foo`, `foo.bar ||= foo.bar`, `hash['foo'] ||= hash['foo']`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15247](https://redirect.github.com/rubocop/rubocop/pull/15247): Fix false negatives for `Lint/SharedMutableDefault` when a mutable default is combined with a `capacity:` keyword argument and given as an array or `Array.new`/`Hash.new` (e.g. `Hash.new([], capacity: 42)`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15206](https://redirect.github.com/rubocop/rubocop/pull/15206): Fix a false positive for `Lint/FloatComparison` when comparing against a parenthesized zero or `nil`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15208](https://redirect.github.com/rubocop/rubocop/pull/15208): Fix a false positive for `Lint/IncompatibleIoSelectWithFiberScheduler` when the single array argument element is a splat. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15207](https://redirect.github.com/rubocop/rubocop/pull/15207): Fix a false positive for `Lint/LiteralAssignmentInCondition` when a literal is assigned inside a block in the condition. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15272](https://redirect.github.com/rubocop/rubocop/pull/15272): Fix false positives for `Style/DateTime`: a bare `to_datetime` call on implicit self is no longer flagged, and historic-date calls using safe navigation (e.g. `DateTime&.iso8601(str, Date::ENGLAND)`) are now exempted. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;14979](https://redirect.github.com/rubocop/rubocop/issues/14979): Fix false positives in `Layout/BlockAlignment` when there is a line break between method arguments before the block. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15204](https://redirect.github.com/rubocop/rubocop/pull/15204): Fix false positives in `Lint/EnsureReturn` and `Lint/NoReturnInBeginEndBlocks` for `return` inside a nested method definition or lambda. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15197](https://redirect.github.com/rubocop/rubocop/issues/15197): Fix false positives in `Style/WhileUntilDo` when the loop body is on the same line as the `do` keyword. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15205](https://redirect.github.com/rubocop/rubocop/pull/15205): Fix an incorrect autocorrect for `Lint/ErbNewArguments` when a keyword argument follows the `safe_level` argument. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15210](https://redirect.github.com/rubocop/rubocop/pull/15210): Fix an incorrect autocorrect for `Lint/LambdaWithoutLiteralBlock` that dropped safe navigation from the block argument. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15214](https://redirect.github.com/rubocop/rubocop/pull/15214): Fix an incorrect autocorrect for `Lint/NumericOperationWithConstantResult` when using safe navigation, as the result is `nil` when the receiver is `nil`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15217](https://redirect.github.com/rubocop/rubocop/pull/15217): Fix an incorrect autocorrect for `Lint/RedundantCopDisableDirective` and `Lint/RedundantCopEnableDirective` when a cop name in the directive is a prefix of another cop name in the same directive (e.g. `Lint/AmbiguousOperator` and `Lint/AmbiguousOperatorPrecedence`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15275](https://redirect.github.com/rubocop/rubocop/pull/15275): Fix incorrect autocorrects for `Style/FileWrite` that deleted or duplicated heredoc bodies when a heredoc was used as the filename, in an argument expression, or in an inline block. (\[[@&#8203;fynsta](https://redirect.github.com/fynsta)]\[]) - [#&#8203;15241](https://redirect.github.com/rubocop/rubocop/pull/15241): Fix incorrect autocorrects for `Lint/UselessTimes` when the `times` block uses `next`/`break` (which became a syntax error) or takes multiple block arguments (which became undefined references). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15222](https://redirect.github.com/rubocop/rubocop/pull/15222): Fix `Lint/ScriptPermission` to honor a cop-level `AutoCorrect: false` setting and to not crash on sources without a file on disk (e.g. unsaved editor buffers). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15244](https://redirect.github.com/rubocop/rubocop/pull/15244): Fix `Lint/TrailingCommaInAttributeDeclaration` to detect a trailing comma before a singleton method definition (e.g. `def self.bar`) and to not crash when a `def` is the sole argument (e.g. `attr_reader def bar; end`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15250](https://redirect.github.com/rubocop/rubocop/issues/15250): Fix incorrect autocorrects for `Lint/LiteralInInterpolation` with embedded quotes and escaped interpolation text. (\[[@&#8203;RedZapdos123](https://redirect.github.com/RedZapdos123)]\[]) - [#&#8203;15291](https://redirect.github.com/rubocop/rubocop/issues/15291): Fix an incorrect autocorrect for `Lint/LiteralInInterpolation` when interpolated hashes contain symbols that require quoted syntax, such as `:'foo-bar'`. (\[[@&#8203;RedZapdos123](https://redirect.github.com/RedZapdos123)]\[]) - [#&#8203;14364](https://redirect.github.com/rubocop/rubocop/issues/14364): Fix `.rubocop_todo.yml` autocorrect safety comments for local custom cops configured in the project config. (\[[@&#8203;RedZapdos123](https://redirect.github.com/RedZapdos123)]\[]) - [#&#8203;15252](https://redirect.github.com/rubocop/rubocop/issues/15252): Stop autocorrecting `Lint/NumberConversion` offenses on safe navigation calls. (\[[@&#8203;RedZapdos123](https://redirect.github.com/RedZapdos123)]\[]) - [#&#8203;12276](https://redirect.github.com/rubocop/rubocop/issues/12276): Fix `--auto-gen-config` to record `--disable-pending-cops` and `--enable-pending-cops` in the generated `.rubocop_todo.yml` command so that `--regenerate-todo` preserves them. (\[[@&#8203;augustocbx](https://redirect.github.com/augustocbx)]\[]) - [#&#8203;15202](https://redirect.github.com/rubocop/rubocop/pull/15202): Fix `InternalAffairs/RedundantLetRuboCopConfigNew` crash when `let(:config)` has no enclosing `describe`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) ##### Changes - [#&#8203;15234](https://redirect.github.com/rubocop/rubocop/pull/15234): Reword the `Lint/RequireRangeParentheses` offense message, which incorrectly called the flagged (finite) range "endless". (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15235](https://redirect.github.com/rubocop/rubocop/pull/15235): Add autocorrection to `Lint/RefinementImportMethods` (replacing `include`/`prepend` with `import_methods`) and report that the functionality was removed (not just deprecated) on Ruby 3.2+. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15198](https://redirect.github.com/rubocop/rubocop/pull/15198): Reword cop descriptions that did not start with a verb (e.g. `Lint/UnreachableCode`, `Metrics/AbcSize`, `Security/Eval`) for consistency. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15223](https://redirect.github.com/rubocop/rubocop/pull/15223): Make `Lint/RedundantWithObject` autocorrect unsafe, since `each_with_object` returns the memo object while the corrected `each` returns the receiver. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15194](https://redirect.github.com/rubocop/rubocop/pull/15194): Rename inconsistently named cop parameters to follow RuboCop's conventions (the old names are deprecated but still work): `Bundler/GemComment`'s `IgnoredGems` to `AllowedGems`, `Lint/NumberConversion`'s `IgnoredClasses` to `AllowedClasses`, `Lint/MissingCopEnableDirective`'s `MaximumRangeSize` to `MaxRangeSize`, `Metrics/CollectionLiteralLength`'s `LengthThreshold` to `Max`, and `Style/FetchEnvVar`'s `AllowedVars` to `AllowedVariables`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - 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. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-feature/ruby-sdk-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDIuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI0Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 5eb65be commit 05e3f05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

providers/openfeature-flagsmith-provider/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ GEM
7272
rubocop-ast (>= 1.49.0, < 2.0)
7373
ruby-progressbar (~> 1.7)
7474
unicode-display_width (>= 2.4.0, < 4.0)
75-
rubocop-ast (1.49.1)
75+
rubocop-ast (1.50.0)
7676
parser (>= 3.3.7.2)
7777
prism (~> 1.7)
7878
rubocop-performance (1.26.1)

0 commit comments

Comments
 (0)