Repository navigation
chore(deps): update dependency rubocop to v1.92.1 - #250
Merged
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
October 22, 2026 07:26
9d719ea to
85d5097
Compare
drish
approved these changes
Oct 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
1.91.0→1.92.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
rubocop/rubocop (rubocop)
v1.92.1Compare Source
Bug fixes
Layout/HashAlignmentwith a key spanning multiple lines. ([@koic][])Style/ClassAndModuleChildrenwhen compacting a namespace that contains another compactable one. ([@Starlexxx][])Style/ClassMethodsDefinitionswith a nestedclass << self. ([@Starlexxx][])Style/EmptyStringInsideInterpolationwith nested conditionals. ([@koic][])Style/RedundantInterpolationUnfreezewith an unfrozen string interpolated into another one. ([@Starlexxx][])Style/RescueModifierwith a rescue modifier in the rescue body of another one. ([@Starlexxx][])Layout/ClassStructurewith code after a heredoc. ([@koic][])Layout/DotPositionwith a dot removed by another cop. ([@koic][])Layout/HeredocArgumentClosingParenthesiswithLayout/MultilineMethodCallBraceLayout. ([@koic][])Layout/LineLengthwith an unparenthesized method definition. ([@koic][])Layout/MultilineHashBraceLayoutwith a nested literal. ([@koic][])Layout/MultilineMethodCallIndentationwith a single-line block. ([@koic][])Layout/SingleLineBlockChainwithStyle/RedundantSort. ([@koic][])Lint/AmbiguousRegexpLiteralwith a regexp hash key. ([@koic][])Lint/SymbolConversionwith hash value omission. ([@koic][])Naming/RescuedExceptionsVariableNamewithStyle/HashSyntax. ([@koic][])Style/AccessModifierDeclarationswithStyle/EndlessMethod. ([@Starlexxx][])Style/AccessModifierDeclarationswith an endless method command body. ([@Starlexxx][])Style/AccessModifierDeclarationswith an endless method with ado...endblock body. ([@koic][])Style/AndOrwith a safe navigation command call. ([@Starlexxx][])Style/AndOrwithStyle/ReturnNil. ([@koic][])Style/ArgumentsForwardingwhen another call forwards anonymous arguments without the block. ([@Starlexxx][])Style/ArgumentsForwardingwith index assignment and setter methods. ([@koic][])Style/CollectionQueryingwhencountis used without a block. ([@Starlexxx][], [@wwenrr][])Style/CombinableLoopswithLayout/BlockEndNewline. ([@Starlexxx][])Style/CombinableLoopswithLayout/RedundantLineBreak. ([@koic][])Style/ConcatArrayLiteralswith a multiline call without parentheses. ([@koic][])Style/EmptyStringInsideInterpolationwith a command call. ([@koic][])Style/EndlessMethodwith a command body in a method definition passed as an argument. ([@Starlexxx][])Style/EndlessMethodwith ado...endblock body in a method definition passed as an argument. ([@koic][])Style/EndlessMethodwith a negated command call. ([@koic][])Style/EndlessMethodwithStyle/GuardClause. ([@koic][])Style/EndlessMethodwithStyle/RaiseArgs. ([@Starlexxx][])Style/Forwith a numbered oritblock. ([@koic][])Style/Forwith block parameters invalid as loop variables. ([@koic][])Style/ForwithStyle/ItBlockParameter. ([@koic][])Style/GuardClausewith a heredoc in a multiline guard clause. ([@Starlexxx][])Style/GuardClausewith a heredoc in the kept branch. ([@Starlexxx][])Style/HashAsLastArrayItemwithStyle/TrailingCommaInArrayLiteral. ([@Starlexxx][])Style/IfUnlessModifierwith a heredoc in the condition. ([@koic][])Style/Lambdawith extra spacing before the block. ([@koic][])Style/MethodCallWithArgsParentheseswith a trailing comma. ([@koic][])Style/MethodCallWithArgsParentheseswith a parenthesized argument. ([@koic][])Style/MethodCallWithArgsParentheseswith an assignment used as an argument. ([@koic][])Style/MethodDefParentheseswithLayout/LineLength. ([@koic][])Style/MixinGroupingwith parenthesized arguments. ([@koic][])Style/MutableConstantwith an omitted hash value. ([@koic][])Style/MutableConstantwithRecursive: trueandStyle/HashAsLastArrayItem. ([@koic][])Style/RaiseArgsdropping required parentheses. ([@Starlexxx][])Style/RedundantInterpolationUnfreezewithLayout/MultilineMethodCallBraceLayout. ([@koic][])Style/RedundantInterpolationUnfreezewith a comment. ([@koic][])Style/RedundantSelfAssignmentBranchwith assignment used as value. ([@koic][])Style/RedundantSortwith a line break before the accessor. ([@koic][])Style/RequireOrderwithout a trailing newline. ([@koic][])Style/SendWithLiteralMethodNamewithLayout/MultilineMethodArgumentLineBreaks. ([@koic][])Style/StructInheritancewithStyle/MethodCallWithArgsParentheses. ([@koic][])Style/SymbolProcwithStyle/TrailingCommaInArguments. ([@koic][])Layout/ArgumentAlignmentwith a binary operator. ([@koic][])Layout/EmptyLineAfterMultilineConditionwith a statement on the condition line. ([@koic][])Layout/EmptyLineAfterMultilineConditionwithrescue. ([@koic][])Layout/EmptyLinesAroundBlockBodywith block arguments on the next line. ([@koic][])Layout/EndAlignmentwith a conditional in a method argument. ([@koic][])Layout/FirstArgumentIndentationwith a multiline hash first argument. ([@koic][])Layout/FirstArrayElementLineBreakwithLayout/SpaceInsideArrayLiteralBracketscompact style. ([@Starlexxx][])Layout/FirstHashElementIndentationwith a double splat. ([@koic][])Layout/HeredocArgumentClosingParenthesiswith a HEREDOC nested in a hash argument. ([@Starlexxx][])Layout/IndentationConsistencywithLayout/IndentationWidthdisabled on a line. ([@koic][])Layout/LineLengthsplitting off a blank string. ([@Starlexxx][])Layout/LineLengthwithLayout/SpaceInsideArrayLiteralBracketscompact style. ([@koic][])Layout/LineLengthwith a run of spaces at the break. ([@koic][])Layout/LineLengthwith a very long string. ([@koic][])Layout/RedundantLineBreakwithLayout/ExtraSpacing. ([@koic][])Style/IfUnlessModifierwith multiple modifiers in a logical operator. ([@koic][])Style/IfUnlessModifierwith spaces inside parentheses. ([@koic][])Style/LambdawithLayout/SpaceInLambdaLiteral. ([@koic][])Style/LambdawithLayout/SpaceInsideParens. ([@koic][])Style/MutableConstantwith a splat in a frozen array. ([@koic][])Style/MutableConstantwithRecursive: trueand a hash without braces. ([@koic][])Style/RequireOrderwith a long list of unsorted requires. ([@Starlexxx][])RuboCop::Cop::Badgeequality comparing only hash values, which could treat unrelated cops as the same on platforms with narrow object hashes such as Windows and JRuby. ([@koic][])Style/BlockDelimitersmoving a trailing directive comment before the block. ([@Starlexxx][])Layout/SpaceInsideReferenceBracketswith chained reference brackets inside. ([@koic][])Lint/SafeNavigationConsistencyacross||branches. ([@koic][])Style/ItBlockParameterwhen a local variable nameditis in scope. ([@koic][])Style/ItBlockParameterwhen the block reassigns its parameter. ([@koic][])Lint/HeredocMethodCallPositionwithStyle/MethodCallWithArgsParentheses. ([@Starlexxx][])Layout/ClassStructureaware of the symbol-list forms of visibility modifiers, such asprivate :foo, :barandprivate_class_method :foo. ([@dduugg][])Parser::ClobberingErrorforLint/NumberConversionwith a symbol conversion in a corrected receiver. ([@Starlexxx][])Style/ParenthesesAroundConditionwith a multiple assignment. ([@Starlexxx][])Parser::ClobberingErrorforStyle/RaiseArgswith araisenested in another. ([@Starlexxx][])Style/RedundantBeginwith a multilinebeginas the condition of a modifierif. ([@Starlexxx][])Layout/RedundantLineBreakwithLayout/LineLengthand tab indentation. ([@Starlexxx][])Style/ClassMethodsDefinitionsandStyle/DocumentationMethodtreating methods named in a multi-symbolprivatecall as public, which made the former correctclass << selfto code raisingNameError. ([@dduugg][])Lint/UselessSetterCallwithLint/Voidininitializeand setter methods. ([@Starlexxx][])v1.92.0Compare Source
New features
--explain COPto describe what a cop does, how it is configured, and the examples from its documentation. ([@bbatsov][])--max-offenses-per-copto cap how many offenses a single cop reports. ([@bbatsov][])AutoCorrect: contextualcops when asked to. ([@bbatsov][])Lint/UselessAssignmentregister an offense for a block-captured variable that is never referenced. ([@IslamElsayed][])--format json. ([@bbatsov][])Bug fixes
Lint/MissingCopEnableDirectivewhen anenable-nextornext +Copdirective suspends an openrubocop:disable, and a false positive fornext -Copscopes larger thanMaxRangeSize. ([@bbatsov][])Security/JSONLoadwithcreate_additionsas the second argument. ([@bbatsov][])Layout/LineEndStringConcatenationIndentationwith an already aligned part. ([@bbatsov][])Style/ExplicitBlockArgumentwhen the method uses argument forwarding (...). ([@bbatsov][])Style/NegativeArrayIndexwith a different length receiver. ([@bbatsov][])Style/RedundantFreezewith an arithmetic operation on a non-numeric receiver. ([@bbatsov][])Style/Samplewith an endless range, which was corrected to asamplecall of the wrong size. ([@bbatsov][])Style/SuperArgumentswhen the method has a destructuring parameter. ([@bbatsov][])Layout/EmptyLinesAroundMethodBodywhen a method's arguments span multiple lines and the method ends on the last argument's line. ([@viralpraxis][])Layout/HeredocIndentationwith a heredoc nested in another heredoc. ([@Starlexxx][])Lint/EmptyConditionalBodywithelseon the condition line. ([@koic][])Lint/UnescapedBracketInRegexpwhen using regexp_parser 2.11.2 and earlier. ([@bbatsov][])Metrics/ClassLengthwith a long singleton class in LSP mode. ([@bbatsov][])Style/ClassAndModuleChildrenwhen a compact class or module definition appears in an expression, such as an assignment value or a method argument. ([@viralpraxis][])Style/ClassAndModuleChildrenwhen usingEnforcedStyle: compactand the nested body is indented less thanLayout/IndentationWidth'sWidth. ([@viralpraxis][])Style/ClassAndModuleChildrenwhenEnforcedStyle: compactcompacts an irregularly indented definition andLayout/IndentationStyleenforces tabs. ([@viralpraxis][])Style/ExplicitBlockArgumentwith the shorthand call syntax. ([@Starlexxx][])Style/FormatStringwithformatnested informat. ([@Starlexxx][])Style/HashSyntaxwhen ano_mixed_keysstyle forces hash rockets on a hash whose value repeats its key. ([@viralpraxis][])Style/IfInsideElsewhen the nestedifshares a line with other code. ([@bbatsov][])Style/MapIntoArraywhen pushing into a numbered oritblock parameter. ([@Starlexxx][])Style/Nextwith a modifier condition wrapping a block that has its own offense. ([@Starlexxx][])Style/RedundantConditionwhen autocorrecting a redundant condition nested in theelsebranch of another one. ([@koic][])Style/Semicolonwhen a semicolon follows an unparenthesized keyword parameter or hash pattern. ([@viralpraxis][])Style/YodaConditionwhen one operand of a comparison contains another comparison the cop also corrects. ([@viralpraxis][])pacmanformatter, which crashed withundefined method 'winsize'whether or not the output was a terminal. ([@bbatsov][])Ctrl-C. ([@viralpraxis][])Gemspec/OrderedDependencieswhen the same dependency declaration appears more than once in the gemspec. ([@viralpraxis][])Layout/ClassStructurewith blank line cops. ([@koic][])Layout/ClassStructurewithLayout/EmptyLinesAroundAccessModifier. ([@koic][])Layout/ClassStructurewith a heredoc constant. ([@bbatsov][])Layout/EmptyLinesAroundBlockBodywhen usingEnforcedStyle: empty_linesand the empty line would precede a leading dot method call. ([@viralpraxis][])Layout/EmptyLinesAroundBlockBodywithdoon its own line. ([@koic][])Layout/ExtraSpacingcop withForceEqualSignAlignment: truewhenStyle/SelfAssignmentrewrites the same assignment. ([@Starlexxx][])Layout/FirstArgumentIndentationwith an inner call not beginning its line. ([@bbatsov][])Layout/FirstMethodArgumentLineBreakwithStyle/MethodCallWithArgsParentheses. ([@koic][])Layout/FirstMethodParameterLineBreakwithStyle/MethodDefParentheses. ([@koic][])Layout/LineContinuationSpacingcop when a line ends with the$\global variable. ([@Starlexxx][])Layout/LineLengthwhen breaking a line after an argument with a nested heredoc. ([@Starlexxx][])Layout/LineLengthcop whenStyle/MethodCallWithArgsParentheseswithEnforcedStyle: omit_parenthesesremoves the parentheses it breaks after. ([@Starlexxx][])Layout/LineLengthwhenSplitStrings: truewould split a string inside an escape sequence such as\000. ([@koic][])Layout/LineLengthwithSplitStrings: truewhen an interpolation in the string contains a block. ([@Starlexxx][])Layout/LineLengthwithSplitStringsand a string not beginning its line. ([@bbatsov][])Layout/MultilineArrayBraceLayoutwithLayout/MultilineHashBraceLayoutandLayout/MultilineMethodCallBraceLayout. ([@koic][])Layout/MultilineArrayBraceLayoutwithStyle/ConcatArrayLiterals. ([@koic][])Layout/MultilineBlockLayoutcop adding a trailing comma when the only positional block argument is followed by keyword arguments. ([@Starlexxx][])Layout/MultilineBlockLayoutwith block argument rewriting cops. ([@koic][])Layout/MultilineHashBraceLayoutwithStyle/HashAsLastArrayItemandStyle/RedundantDoubleSplatHashBraces. ([@koic][])Layout/MultilineArrayLineBreaks,Layout/MultilineHashKeyLineBreaks,Layout/MultilineMethodArgumentLineBreaksandLayout/MultilineMethodParameterLineBreaksafter a heredoc opener. ([@koic][])Layout/MultilineMethodCallBraceLayoutwhenEnforcedStyle: omit_parenthesesofStyle/MethodCallWithArgsParenthesesremoves the parentheses the layout cop is moving. ([@koic][])Layout/MultilineMethodDefinitionBraceLayoutwithStyle/MultilineMethodSignature. ([@Starlexxx][])Layout/SingleLineBlockChainwithStyle/NilComparison. ([@koic][])Layout/SingleLineBlockChainwithStyle/FloatDivision. ([@koic][])Layout/SingleLineBlockChainwith a heredoc. ([@Starlexxx][])Layout/SpaceInsideBlockBraceswithEnforcedStyle: no_spacewhen a multiline block's last line has code before the closing bracket. ([@viralpraxis][])Lint/AmbiguousOperatorwithStyle/ArgumentsForwarding. ([@bbatsov][])Lint/EmptyConditionalBodywith an emptyelsifandelse. ([@koic][])Lint/LiteralInInterpolationwith a#next to the interpolation. ([@koic][])Lint/LiteralInInterpolationwith an empty literal after a#. ([@bbatsov][])Lint/LiteralInInterpolationwith two adjacent interpolations. ([@bbatsov][])Lint/Loopwhenbegin ... end whileorbegin ... end untilis written on a single line. ([@koic][])Lint/NumberConversionwith a symbol operand of an operator. ([@koic][])Lint/RedundantDirGlobSortwith a leading dot. ([@koic][])Lint/UnescapedBracketInRegexpwith a double-quotedRegexp.newstring. ([@bbatsov][])Lint/UnescapedBracketInRegexpwith an escapedRegexp.newstring. ([@bbatsov][])Lint/UselessAssignmentwith a list of values without brackets. ([@bbatsov][])Lint/Voidwhen removing a heredoc in void context, so that its body and terminator are removed with it. ([@koic][])Layout/MultilineArrayBraceLayout,Layout/MultilineHashBraceLayout,Layout/MultilineMethodCallBraceLayout, andLayout/MultilineMethodDefinitionBraceLayoutwhen a heredoc is opened on the line of the closing brace. ([@koic][])Naming/HeredocDelimiterCasewhen the body has the corrected delimiter. ([@koic][])Style/AccessModifierDeclarationswith a splatted variable. ([@koic][])Style/Aliaswhen a symbol argument such as:"foo bar"or:@typehas no bareword form. ([@koic][])Style/AndOrwithStyle/ReturnNilInPredicateMethodDefinition. ([@Starlexxx][])Style/ArgumentsForwardingadding parentheses twice to a method definition. ([@Starlexxx][])Style/ArgumentsForwardingwith a block literal. ([@koic][])Style/Attrwith parenthesized arguments. ([@bbatsov][])Style/BlockDelimiterswhen a braces block is the collection of aforloop. ([@viralpraxis][])Style/BlockDelimiterswhenStyle/MethodCallWithArgsParentheseswithEnforcedStyle: omit_parenthesesremoves the call's parentheses in the same pass, producing invalid code such asfoo :bar { baz }. ([@viralpraxis][])Style/BlockDelimiterswith a block in a loop condition. ([@bbatsov][])Style/BlockDelimiterswith a multiline block in an argument ofyieldorsuperwithout parentheses. ([@bbatsov][])Style/BlockDelimiterswith a heredoc afterrescue. ([@koic][])Style/BlockDelimiterswithLayout/SpaceBeforeBlockBraces. ([@koic][])Style/CaseLikeIfwith anifinside theelsebranch. ([@bbatsov][])Style/ClassAndModuleChildrenwithEnforcedStyle: compactwhen a one-liner child class has a superclass or a body. ([@viralpraxis][])Style/ClassAndModuleChildrenwhen compacting a nested definition. ([@Starlexxx][])Style/ClassAndModuleChildrenwithStyle/StructInheritance. ([@koic][])Style/ClassMethodsDefinitionswhen a method definition insideclass << selfis followed by other code on its last line. ([@viralpraxis][])Style/CombinableLoopswhen followed by another block. ([@Starlexxx][])Style/CombinableLoopswhen one of the loops is disabled. ([@bbatsov][])Style/CombinableLoopswith comments after the loop's opening. ([@bbatsov][])Style/CombinableLoopswith comments before the closing delimiter. ([@bbatsov][])Style/CombinableLoopswith mixed block delimiters. ([@koic][])Style/CombinableLoopswith numbered anditparameters. ([@bbatsov][])Style/CombinableLoopswithrescuein a loop body. ([@koic][])Style/ConcatArrayLiteralsdropping comments. ([@bbatsov][])Style/ConcatArrayLiteralswithStyle/MethodCallWithArgsParentheses. ([@koic][])Style/ConcatArrayLiteralswithStyle/TrailingCommaInArguments. ([@koic][])Style/ConcatArrayLiteralswith multiline array arguments. ([@bbatsov][])Style/ConditionalAssignmentwithEnforcedStyle: assign_inside_conditionwhenStyle/MethodCallWithArgsParentheseswithEnforcedStyle: omit_parenthesesremoves a branch body's parentheses in the same pass, producing invalid code such asfoo << bar :baz. ([@viralpraxis][])Style/EmptyLiteralwhenHash[]orHash([])is the first argument of a method call without parentheses. ([@kevin9327][])Style/EndlessMethodwhen a method is made endless whileStyle/MethodCallWithArgsParenthesesomits parentheses in its body. ([@viralpraxis][])Style/EndlessMethodandStyle/SingleLineMethodswith a one-line pattern match orbegin...end whilebody. ([@bbatsov][])Style/EndlessMethodwhen the method body ends with an anonymous argument forwarding. ([@viralpraxis][])Style/EndlessMethodwhen the method body passes a multiline or xstring heredoc to a method call. ([@viralpraxis][])Style/EndlessMethodwhen the method body is a multiple assignment. ([@viralpraxis][])Style/EndlessMethodwhen the method body ends with an omitted hash value. ([@viralpraxis][])Style/EndlessMethodwith a command that an endless body cannot hold. ([@koic][])Style/EndlessMethoddeleting a comment placed between the method signature andend. ([@koic][])Style/EndlessMethodwith a modifier condition orand/orbody. ([@Starlexxx][])Style/EndlessMethodwhenNaming/BlockForwardingorStyle/ArgumentsForwardingadds parentheses to the same method definition. ([@Starlexxx][])Style/EndlessMethodandStyle/SingleLineMethodswhen the method body assigns multiple values without brackets. ([@bbatsov][])Style/EndlessMethodwhen the method parameters are not surrounded by parentheses. ([@koic][])Style/ExactRegexpMatchwhen the result is used. ([@bbatsov][])Style/ExplicitBlockArgumentcop when the method already has an argument or local variable namedblock. ([@Starlexxx][])Style/ExplicitBlockArgumentwithStyle/LambdaCall. ([@koic][])Style/ExplicitBlockArgumentwithStyle/TrailingCommaInArguments. ([@koic][])Style/ExplicitBlockArgumentwith an empty index call. ([@bbatsov][])Style/ExplicitBlockArgumentwhensuperwithout arguments is called in a method with keyword or block parameters. ([@bbatsov][])Style/FloatDivisionwith a leading dot. ([@koic][])Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.