Skip to content

Update dependency rubocop to v1 - #3

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rubocop-1.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rubocop-1.x

Conversation

@renovate

@renovate renovate Bot commented Dec 19, 2021 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
rubocop (source, changelog) '~> 0.66.0' → '~> 1.92.0' age confidence

Release Notes

rubocop/rubocop (rubocop)

v1.92.1

Compare Source

Bug fixes
  • #​16063: Fix an error for Layout/HashAlignment with a key spanning multiple lines. ([@​koic][])
  • #​15776: Fix an error in server mode when the configuration file is missing or empty. ([@​MIbtehajNasar][])
  • #​15939: Fix an error for Style/ClassAndModuleChildren when compacting a namespace that contains another compactable one. ([@​Starlexxx][])
  • #​16047: Fix an error for Style/ClassMethodsDefinitions with a nested class << self. ([@​Starlexxx][])
  • #​16041: Fix an error for Style/EmptyStringInsideInterpolation with nested conditionals. ([@​koic][])
  • #​16067: Fix an error for Style/RedundantInterpolationUnfreeze with an unfrozen string interpolated into another one. ([@​Starlexxx][])
  • #​16055: Fix an error for Style/RescueModifier with a rescue modifier in the rescue body of another one. ([@​Starlexxx][])
  • #​15968: Fix an error when the target Ruby version lookup cannot list a directory for a gemspec or read a version file or lockfile, and stop the gemspec search at the project root. ([@​koic][])
  • #​16073: Fix an incorrect autocorrect for Layout/ClassStructure with code after a heredoc. ([@​koic][])
  • #​16026: Fix an incorrect autocorrect for Layout/DotPosition with a dot removed by another cop. ([@​koic][])
  • #​16107: Fix an incorrect autocorrect for Layout/HeredocArgumentClosingParenthesis with Layout/MultilineMethodCallBraceLayout. ([@​koic][])
  • #​16117: Fix an incorrect autocorrect for Layout/LineLength with an unparenthesized method definition. ([@​koic][])
  • #​16061: Fix an incorrect autocorrect for Layout/MultilineHashBraceLayout with a nested literal. ([@​koic][])
  • #​16033: Fix an incorrect autocorrect for Layout/MultilineMethodCallIndentation with a single-line block. ([@​koic][])
  • #​16077: Fix an incorrect autocorrect for Layout/SingleLineBlockChain with Style/RedundantSort. ([@​koic][])
  • #​16098: Fix an incorrect autocorrect for Lint/AmbiguousRegexpLiteral with a regexp hash key. ([@​koic][])
  • #​16086: Fix an incorrect autocorrect for Lint/SymbolConversion with hash value omission. ([@​koic][])
  • #​16099: Fix an incorrect autocorrect for Naming/RescuedExceptionsVariableName with Style/HashSyntax. ([@​koic][])
  • #​16023: Fix an incorrect autocorrect for Style/AccessModifierDeclarations with Style/EndlessMethod. ([@​Starlexxx][])
  • #​16024: Fix an incorrect autocorrect for Style/AccessModifierDeclarations with an endless method command body. ([@​Starlexxx][])
  • #​16111: Fix an incorrect autocorrect for Style/AccessModifierDeclarations with an endless method with a do...end block body. ([@​koic][])
  • #​16056: Fix an incorrect autocorrect for Style/AndOr with a safe navigation command call. ([@​Starlexxx][])
  • #​16043: Fix an incorrect autocorrect for Style/AndOr with Style/ReturnNil. ([@​koic][])
  • #​16020: Fix an incorrect autocorrect for Style/ArgumentsForwarding when another call forwards anonymous arguments without the block. ([@​Starlexxx][])
  • #​16038: Fix an incorrect autocorrect for Style/ArgumentsForwarding with index assignment and setter methods. ([@​koic][])
  • #​15067: Fix an incorrect autocorrect for Style/CollectionQuerying when count is used without a block. ([@​Starlexxx][], [@​wwenrr][])
  • #​16032: Fix an incorrect autocorrect for Style/CombinableLoops with Layout/BlockEndNewline. ([@​Starlexxx][])
  • #​16072: Fix an incorrect autocorrect for Style/CombinableLoops with Layout/RedundantLineBreak. ([@​koic][])
  • #​16036: Fix an incorrect autocorrect for Style/ConcatArrayLiterals with a multiline call without parentheses. ([@​koic][])
  • #​16100: Fix an incorrect autocorrect for Style/EmptyStringInsideInterpolation with a command call. ([@​koic][])
  • #​16023: Fix an incorrect autocorrect for Style/EndlessMethod with a command body in a method definition passed as an argument. ([@​Starlexxx][])
  • #​16110: Fix an incorrect autocorrect for Style/EndlessMethod with a do...end block body in a method definition passed as an argument. ([@​koic][])
  • #​16042: Fix an incorrect autocorrect for Style/EndlessMethod with a negated command call. ([@​koic][])
  • #​16029: Fix an incorrect autocorrect for Style/EndlessMethod with Style/GuardClause. ([@​koic][])
  • #​16058: Fix an incorrect autocorrect for Style/EndlessMethod with Style/RaiseArgs. ([@​Starlexxx][])
  • #​16045: Fix an incorrect autocorrect for Style/For with a numbered or it block. ([@​koic][])
  • #​16046: Fix an incorrect autocorrect for Style/For with block parameters invalid as loop variables. ([@​koic][])
  • #​16044: Fix an incorrect autocorrect for Style/For with Style/ItBlockParameter. ([@​koic][])
  • #​16031: Fix an incorrect autocorrect for Style/GuardClause with a heredoc in a multiline guard clause. ([@​Starlexxx][])
  • #​16031: Fix an incorrect autocorrect for Style/GuardClause with a heredoc in the kept branch. ([@​Starlexxx][])
  • #​16021: Fix an incorrect autocorrect for Style/HashAsLastArrayItem with Style/TrailingCommaInArrayLiteral. ([@​Starlexxx][])
  • #​16027: Fix an incorrect autocorrect for Style/IfUnlessModifier with a heredoc in the condition. ([@​koic][])
  • #​16025: Fix an incorrect autocorrect for Style/Lambda with extra spacing before the block. ([@​koic][])
  • #​16054: Fix an incorrect autocorrect for Style/MethodCallWithArgsParentheses with a trailing comma. ([@​koic][])
  • #​16080: Fix an incorrect autocorrect for Style/MethodCallWithArgsParentheses with a parenthesized argument. ([@​koic][])
  • #​16074: Fix an incorrect autocorrect for Style/MethodCallWithArgsParentheses with an assignment used as an argument. ([@​koic][])
  • #​16118: Fix an incorrect autocorrect for Style/MethodDefParentheses with Layout/LineLength. ([@​koic][])
  • #​16039: Fix an incorrect autocorrect for Style/MixinGrouping with parenthesized arguments. ([@​koic][])
  • #​16085: Fix an incorrect autocorrect for Style/MutableConstant with an omitted hash value. ([@​koic][])
  • #​16075: Fix an incorrect autocorrect for Style/MutableConstant with Recursive: true and Style/HashAsLastArrayItem. ([@​koic][])
  • #​16030: Fix an incorrect autocorrect for Style/RaiseArgs dropping required parentheses. ([@​Starlexxx][])
  • #​16101: Fix an incorrect autocorrect for Style/RedundantInterpolationUnfreeze with Layout/MultilineMethodCallBraceLayout. ([@​koic][])
  • #​16108: Fix an incorrect autocorrect for Style/RedundantInterpolationUnfreeze with a comment. ([@​koic][])
  • #​16040: Fix an incorrect autocorrect for Style/RedundantSelfAssignmentBranch with assignment used as value. ([@​koic][])
  • #​16076: Fix an incorrect autocorrect for Style/RedundantSort with a line break before the accessor. ([@​koic][])
  • #​16102: Fix an incorrect autocorrect for Style/RequireOrder without a trailing newline. ([@​koic][])
  • #​16037: Fix an incorrect autocorrect for Style/SendWithLiteralMethodName with Layout/MultilineMethodArgumentLineBreaks. ([@​koic][])
  • #​16062: Fix an incorrect autocorrect for Style/StructInheritance with Style/MethodCallWithArgsParentheses. ([@​koic][])
  • #​16103: Fix an incorrect autocorrect for Style/SymbolProc with Style/TrailingCommaInArguments. ([@​koic][])
  • #​16048: Fix an infinite loop for Layout/ArgumentAlignment with a binary operator. ([@​koic][])
  • #​16116: Fix an infinite loop for Layout/EmptyLineAfterMultilineCondition with a statement on the condition line. ([@​koic][])
  • #​16051: Fix an infinite loop for Layout/EmptyLineAfterMultilineCondition with rescue. ([@​koic][])
  • #​16059: Fix an infinite loop for Layout/EmptyLinesAroundBlockBody with block arguments on the next line. ([@​koic][])
  • #​16028: Fix an infinite loop for Layout/EndAlignment with a conditional in a method argument. ([@​koic][])
  • #​16034: Fix an infinite loop for Layout/FirstArgumentIndentation with a multiline hash first argument. ([@​koic][])
  • #​15927: Fix an infinite loop for Layout/FirstArrayElementLineBreak with Layout/SpaceInsideArrayLiteralBrackets compact style. ([@​Starlexxx][])
  • #​16050: Fix an infinite loop for Layout/FirstHashElementIndentation with a double splat. ([@​koic][])
  • #​16069: Fix an infinite loop for Layout/HeredocArgumentClosingParenthesis with a HEREDOC nested in a hash argument. ([@​Starlexxx][])
  • #​16082: Fix an infinite loop for Layout/IndentationConsistency with Layout/IndentationWidth disabled on a line. ([@​koic][])
  • #​16022: Fix an infinite loop for Layout/LineLength splitting off a blank string. ([@​Starlexxx][])
  • #​16079: Fix an infinite loop for Layout/LineLength with Layout/SpaceInsideArrayLiteralBrackets compact style. ([@​koic][])
  • #​16053: Fix an infinite loop for Layout/LineLength with a run of spaces at the break. ([@​koic][])
  • #​16078: Fix an infinite loop for Layout/LineLength with a very long string. ([@​koic][])
  • #​16035: Fix an infinite loop for Layout/RedundantLineBreak with Layout/ExtraSpacing. ([@​koic][])
  • #​16060: Fix an infinite loop for Style/IfUnlessModifier with multiple modifiers in a logical operator. ([@​koic][])
  • #​16049: Fix an infinite loop for Style/IfUnlessModifier with spaces inside parentheses. ([@​koic][])
  • #​16064: Fix an infinite loop for Style/Lambda with Layout/SpaceInLambdaLiteral. ([@​koic][])
  • #​16052: Fix an infinite loop for Style/Lambda with Layout/SpaceInsideParens. ([@​koic][])
  • #​16084: Fix an infinite loop for Style/MutableConstant with a splat in a frozen array. ([@​koic][])
  • #​16071: Fix an infinite loop for Style/MutableConstant with Recursive: true and a hash without braces. ([@​koic][])
  • #​16018: Fix an infinite loop for Style/RequireOrder with a long list of unsorted requires. ([@​Starlexxx][])
  • #​16131: Fix RuboCop::Cop::Badge equality comparing only hash values, which could treat unrelated cops as the same on platforms with narrow object hashes such as Windows and JRuby. ([@​koic][])
  • #​16091: Fix Style/BlockDelimiters moving a trailing directive comment before the block. ([@​Starlexxx][])
  • #​16070: Fix false negatives for Layout/SpaceInsideReferenceBrackets with chained reference brackets inside. ([@​koic][])
  • #​16083: Fix false positives for Lint/SafeNavigationConsistency across || branches. ([@​koic][])
  • #​16119: Fix false positives in Style/ItBlockParameter when a local variable named it is in scope. ([@​koic][])
  • #​16120: Fix false positives in Style/ItBlockParameter when the block reassigns its parameter. ([@​koic][])
  • #​16106: Fix an incorrect autocorrect for Lint/HeredocMethodCallPosition with Style/MethodCallWithArgsParentheses. ([@​Starlexxx][])
  • #​15745: Make Layout/ClassStructure aware of the symbol-list forms of visibility modifiers, such as private :foo, :bar and private_class_method :foo. ([@​dduugg][])
  • #​16093: Fix a Parser::ClobberingError for Lint/NumberConversion with a symbol conversion in a corrected receiver. ([@​Starlexxx][])
  • #​16109: Fix an incorrect autocorrect for Style/ParenthesesAroundCondition with a multiple assignment. ([@​Starlexxx][])
  • #​16113: Fix a Parser::ClobberingError for Style/RaiseArgs with a raise nested in another. ([@​Starlexxx][])
  • #​16112: Fix an error for Style/RedundantBegin with a multiline begin as the condition of a modifier if. ([@​Starlexxx][])
  • #​16095: Fix an infinite loop for Layout/RedundantLineBreak with Layout/LineLength and tab indentation. ([@​Starlexxx][])
  • #​15745: Fix Style/ClassMethodsDefinitions and Style/DocumentationMethod treating methods named in a multi-symbol private call as public, which made the former correct class << self to code raising NameError. ([@​dduugg][])
  • #​16097: Fix an infinite loop for Lint/UselessSetterCall with Lint/Void in initialize and setter methods. ([@​Starlexxx][])

v1.92.0

Compare Source

New features
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][])
  • #​15984: Fix an incorrect autocorrect for Layout/ClassStructure with Layout/EmptyLinesAroundAccessModifier. ([@​koic][])
  • #​15997: Fix an incorrect autocorrect for Layout/ClassStructure with a heredoc constant. ([@​bbatsov][])
  • #​15697: Fix an incorrect autocorrect for Layout/EmptyLinesAroundBlockBody when using EnforcedStyle: empty_lines and the empty line would precede a leading dot method call. ([@​viralpraxis][])
  • #​15953: Fix an incorrect autocorrect for Layout/EmptyLinesAroundBlockBody with do on its own line. ([@​koic][])
  • #​15818: Fix an incorrect autocorrect for Layout/ExtraSpacing cop with ForceEqualSignAlignment: true when Style/SelfAssignment rewrites the same assignment. ([@​Starlexxx][])
  • #​15997: Fix an incorrect autocorrect for Layout/FirstArgumentIndentation with an inner call not beginning its line. ([@​bbatsov][])
  • #​15904: Fix an incorrect autocorrect for Layout/FirstMethodArgumentLineBreak with Style/MethodCallWithArgsParentheses. ([@​koic][])
  • #​15875: Fix an incorrect autocorrect for Layout/FirstMethodParameterLineBreak with Style/MethodDefParentheses. ([@​koic][])
  • #​15793: Fix an incorrect autocorrect for Layout/LineContinuationSpacing cop when a line ends with the $\ global variable. ([@​Starlexxx][])
  • #​15656: Fix an incorrect autocorrect for Layout/LineLength when breaking a line after an argument with a nested heredoc. ([@​Starlexxx][])
  • #​15844: Fix an incorrect autocorrect for Layout/LineLength cop when Style/MethodCallWithArgsParentheses with EnforcedStyle: omit_parentheses removes the parentheses it breaks after. ([@​Starlexxx][])
  • #​15813: Fix an incorrect autocorrect for Layout/LineLength when SplitStrings: true would split a string inside an escape sequence such as \000. ([@​koic][])
  • #​15777: Fix an incorrect autocorrect for Layout/LineLength with SplitStrings: true when an interpolation in the string contains a block. ([@​Starlexxx][])
  • #​15997: Fix an incorrect autocorrect for Layout/LineLength with SplitStrings and a string not beginning its line. ([@​bbatsov][])
  • #​15964: Fix an incorrect autocorrect for Layout/MultilineArrayBraceLayout with Layout/MultilineHashBraceLayout and Layout/MultilineMethodCallBraceLayout. ([@​koic][])
  • #​15966: Fix an incorrect autocorrect for Layout/MultilineArrayBraceLayout with Style/ConcatArrayLiterals. ([@​koic][])
  • #​15789: Fix an incorrect autocorrect for Layout/MultilineBlockLayout cop adding a trailing comma when the only positional block argument is followed by keyword arguments. ([@​Starlexxx][])
  • #​15955: Fix an incorrect autocorrect for Layout/MultilineBlockLayout with block argument rewriting cops. ([@​koic][])
  • #​15932: Fix an incorrect autocorrect for Layout/MultilineHashBraceLayout with Style/HashAsLastArrayItem and Style/RedundantDoubleSplatHashBraces. ([@​koic][])
  • #​15906: Fix an incorrect autocorrect for Layout/MultilineArrayLineBreaks, Layout/MultilineHashKeyLineBreaks, Layout/MultilineMethodArgumentLineBreaks and Layout/MultilineMethodParameterLineBreaks after a heredoc opener. ([@​koic][])
  • #​15748: Fix an incorrect autocorrect for Layout/MultilineMethodCallBraceLayout when EnforcedStyle: omit_parentheses of Style/MethodCallWithArgsParentheses removes the parentheses the layout cop is moving. ([@​koic][])
  • #​15870: Fix an incorrect autocorrect for Layout/MultilineMethodDefinitionBraceLayout with Style/MultilineMethodSignature. ([@​Starlexxx][])
  • #​15967: Fix an incorrect autocorrect for Layout/SingleLineBlockChain with Style/NilComparison. ([@​koic][])
  • #​15988: Fix an incorrect autocorrect for Layout/SingleLineBlockChain with Style/FloatDivision. ([@​koic][])
  • #​15865: Fix an incorrect autocorrect for Layout/SingleLineBlockChain with a heredoc. ([@​Starlexxx][])
  • #​15735: Fix an incorrect autocorrect for Layout/SpaceInsideBlockBraces with EnforcedStyle: no_space when a multiline block's last line has code before the closing bracket. ([@​viralpraxis][])
  • #​15838: Fix an incorrect autocorrect for Lint/AmbiguousOperator with Style/ArgumentsForwarding. ([@​bbatsov][])
  • #​15913: Fix an incorrect autocorrect for Lint/EmptyConditionalBody with an empty elsif and else. ([@​koic][])
  • #​15971: Fix an incorrect autocorrect for Lint/LiteralInInterpolation with a # next to the interpolation. ([@​koic][])
  • #​15999: Fix an incorrect autocorrect for Lint/LiteralInInterpolation with an empty literal after a #. ([@​bbatsov][])
  • #​16004: Fix an incorrect autocorrect for Lint/LiteralInInterpolation with two adjacent interpolations. ([@​bbatsov][])
  • #​15795: Fix an incorrect autocorrect for Lint/Loop when begin ... end while or begin ... end until is written on a single line. ([@​koic][])
  • #​15889: Fix an incorrect autocorrect for Lint/NumberConversion with a symbol operand of an operator. ([@​koic][])
  • #​15934: Fix an incorrect autocorrect for Lint/RedundantDirGlobSort with a leading dot. ([@​koic][])
  • #​16007: Fix an incorrect autocorrect for Lint/UnescapedBracketInRegexp with a double-quoted Regexp.new string. ([@​bbatsov][])
  • #​16007: Fix an incorrect autocorrect for Lint/UnescapedBracketInRegexp with an escaped Regexp.new string. ([@​bbatsov][])
  • #​15838: Fix an incorrect autocorrect for Lint/UselessAssignment with a list of values without brackets. ([@​bbatsov][])
  • #​15796: Fix an incorrect autocorrect for Lint/Void when removing a heredoc in void context, so that its body and terminator are removed with it. ([@​koic][])
  • #​15832: Fix an incorrect autocorrect for Layout/MultilineArrayBraceLayout, Layout/MultilineHashBraceLayout, Layout/MultilineMethodCallBraceLayout, and Layout/MultilineMethodDefinitionBraceLayout when a heredoc is opened on the line of the closing brace. ([@​koic][])
  • #​15952: Fix an incorrect autocorrect for Naming/HeredocDelimiterCase when the body has the corrected delimiter. ([@​koic][])
  • #​15800: Fix an incorrect autocorrect for Style/AccessModifierDeclarations with a splatted variable. ([@​koic][])
  • #​15801: Fix an incorrect autocorrect for Style/Alias when a symbol argument such as :"foo bar" or :@type has no bareword form. ([@​koic][])
  • #​15991: Fix an incorrect autocorrect for Style/AndOr with Style/ReturnNilInPredicateMethodDefinition. ([@​Starlexxx][])
  • #​15962: Fix an incorrect autocorrect for Style/ArgumentsForwarding adding parentheses twice to a method definition. ([@​Starlexxx][])
  • #​15893: Fix an incorrect autocorrect for Style/ArgumentsForwarding with a block literal. ([@​koic][])
  • #​15843: Fix an incorrect autocorrect for Style/Attr with parenthesized arguments. ([@​bbatsov][])
  • #​15727: Fix an incorrect autocorrect for Style/BlockDelimiters when a braces block is the collection of a for loop. ([@​viralpraxis][])
  • #​15758: Fix an incorrect autocorrect for Style/BlockDelimiters when Style/MethodCallWithArgsParentheses with EnforcedStyle: omit_parentheses removes the call's parentheses in the same pass, producing invalid code such as foo :bar { baz }. ([@​viralpraxis][])
  • #​15838: Fix an incorrect autocorrect for Style/BlockDelimiters with a block in a loop condition. ([@​bbatsov][])
  • #​15842: Fix an incorrect autocorrect for Style/BlockDelimiters with a multiline block in an argument of yield or super without parentheses. ([@​bbatsov][])
  • #​15975: Fix an incorrect autocorrect for Style/BlockDelimiters with a heredoc after rescue. ([@​koic][])
  • #​15747: Fix an incorrect autocorrect for Style/BlockDelimiters with Layout/SpaceBeforeBlockBraces. ([@​koic][])
  • #​15840: Fix an incorrect autocorrect for Style/CaseLikeIf with an if inside the else branch. ([@​bbatsov][])
  • #​15730: Fix an incorrect autocorrect for Style/ClassAndModuleChildren with EnforcedStyle: compact when a one-liner child class has a superclass or a body. ([@​viralpraxis][])
  • #​15961: Fix an incorrect autocorrect for Style/ClassAndModuleChildren when compacting a nested definition. ([@​Starlexxx][])
  • #​15943: Fix an incorrect autocorrect for Style/ClassAndModuleChildren with Style/StructInheritance. ([@​koic][])
  • #​15744: Fix an incorrect autocorrect for Style/ClassMethodsDefinitions when a method definition inside class << self is followed by other code on its last line. ([@​viralpraxis][])
  • #​15922: Fix an incorrect autocorrect for Style/CombinableLoops when followed by another block. ([@​Starlexxx][])
  • #​15996: Fix an incorrect autocorrect for Style/CombinableLoops when one of the loops is disabled. ([@​bbatsov][])
  • #​16006: Fix an incorrect autocorrect for Style/CombinableLoops with comments after the loop's opening. ([@​bbatsov][])
  • #​16006: Fix an incorrect autocorrect for Style/CombinableLoops with comments before the closing delimiter. ([@​bbatsov][])
  • #​15987: Fix an incorrect autocorrect for Style/CombinableLoops with mixed block delimiters. ([@​koic][])
  • #​15996: Fix an incorrect autocorrect for Style/CombinableLoops with numbered and it parameters. ([@​bbatsov][])
  • #​15878: Fix an incorrect autocorrect for Style/CombinableLoops with rescue in a loop body. ([@​koic][])
  • #​16004: Fix an incorrect autocorrect for Style/ConcatArrayLiterals dropping comments. ([@​bbatsov][])
  • #​15834: Fix an incorrect autocorrect for Style/ConcatArrayLiterals with Style/MethodCallWithArgsParentheses. ([@​koic][])
  • #​15881: Fix an incorrect autocorrect for Style/ConcatArrayLiterals with Style/TrailingCommaInArguments. ([@​koic][])
  • #​15999: Fix an incorrect autocorrect for Style/ConcatArrayLiterals with multiline array arguments. ([@​bbatsov][])
  • #​15773: Fix an incorrect autocorrect for Style/ConditionalAssignment with EnforcedStyle: assign_inside_condition when Style/MethodCallWithArgsParentheses with EnforcedStyle: omit_parentheses removes a branch body's parentheses in the same pass, producing invalid code such as foo << bar :baz. ([@​viralpraxis][])
  • #​15863: Fix an incorrect autocorrect for Style/EmptyLiteral when Hash[] or Hash([]) is the first argument of a method call without parentheses. ([@​kevin9327][])
  • #​15689: Fix an incorrect autocorrect for Style/EndlessMethod when a method is made endless while Style/MethodCallWithArgsParentheses omits parentheses in its body. ([@​viralpraxis][])
  • #​16014: Fix an incorrect autocorrect for Style/EndlessMethod and Style/SingleLineMethods with a one-line pattern match or begin...end while body. ([@​bbatsov][])
  • #​15715: Fix an incorrect autocorrect for Style/EndlessMethod when the method body ends with an anonymous argument forwarding. ([@​viralpraxis][])
  • #​15710: Fix an incorrect autocorrect for Style/EndlessMethod when the method body passes a multiline or xstring heredoc to a method call. ([@​viralpraxis][])
  • #​15716: Fix an incorrect autocorrect for Style/EndlessMethod when the method body is a multiple assignment. ([@​viralpraxis][])
  • #​15707: Fix an incorrect autocorrect for Style/EndlessMethod when the method body ends with an omitted hash value. ([@​viralpraxis][])
  • #​15831: Fix an incorrect autocorrect for Style/EndlessMethod with a command that an endless body cannot hold. ([@​koic][])
  • #​15815: Fix an incorrect autocorrect for Style/EndlessMethod deleting a comment placed between the method signature and end. ([@​koic][])
  • #​15992: Fix an incorrect autocorrect for Style/EndlessMethod with a modifier condition or and/or body. ([@​Starlexxx][])
  • #​15775: Fix an incorrect autocorrect for Style/EndlessMethod when Naming/BlockForwarding or Style/ArgumentsForwarding adds parentheses to the same method definition. ([@​Starlexxx][])
  • #​15842: Fix an incorrect autocorrect for Style/EndlessMethod and Style/SingleLineMethods when the method body assigns multiple values without brackets. ([@​bbatsov][])
  • #​15756: Fix an incorrect autocorrect for Style/EndlessMethod when the method parameters are not surrounded by parentheses. ([@​koic][])
  • #​15843: Fix an incorrect autocorrect for Style/ExactRegexpMatch when the result is used. ([@​bbatsov][])
  • #​15790: Fix an incorrect autocorrect for Style/ExplicitBlockArgument cop when the method already has an argument or local variable named block. ([@​Starlexxx][])
  • #​15963: Fix an incorrect autocorrect for Style/ExplicitBlockArgument with Style/LambdaCall. ([@​koic][])
  • #​15965: Fix an incorrect autocorrect for Style/ExplicitBlockArgument with Style/TrailingCommaInArguments. ([@​koic][])
  • #​15998: Fix an incorrect autocorrect for Style/ExplicitBlockArgument with an empty index call. ([@​bbatsov][])
  • #​15842: Fix an incorrect autocorrect for Style/ExplicitBlockArgument when super without arguments is called in a method with keyword or block parameters. ([@​bbatsov][])
  • #​15977: Fix an incorrect autocorrect for Style/FloatDivision with a leading dot. ([@​koic][])
  • #​15768: Fix an incorrect autocorrect for Style/For when EnforcedStyle: for and the block body abuts a brace, such as c.each {d}, which left do or end glued to

[!IMPORTANT]
✂ PR body was truncated to here.


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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • 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 force-pushed the renovate/rubocop-1.x branch from 8087ea8 to d63b91c Compare December 23, 2021 11:53
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch 2 times, most recently from a656d9c to f6b8e54 Compare January 23, 2022 11:13
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from f6b8e54 to 2f74f46 Compare February 4, 2022 23:48
@sonarqubecloud

sonarqubecloud Bot commented Feb 4, 2022

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 2f74f46 to 6268252 Compare March 10, 2022 04:17
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 6268252 to 2e16f17 Compare April 8, 2022 11:12
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 2e16f17 to 8c0bccf Compare April 21, 2022 13:27
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 8c0bccf to c48cc89 Compare May 6, 2022 17:24
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from c48cc89 to 6b5946f Compare May 26, 2022 11:26
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 6b5946f to 1c955c3 Compare June 27, 2022 13:52
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 1c955c3 to e393b43 Compare July 21, 2022 12:05
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch 2 times, most recently from 308f7e9 to 37f9cb4 Compare August 9, 2022 10:32
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 37f9cb4 to e8f0855 Compare August 12, 2022 15:21
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from e8f0855 to 142bcdd Compare September 25, 2022 11:00
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 142bcdd to d9db27e Compare November 20, 2022 20:44
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from d9db27e to bc2483b Compare December 8, 2022 09:23
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from bc2483b to eee04da Compare December 20, 2022 10:26
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from eee04da to 4d992fe Compare January 1, 2023 17:42
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 4d992fe to 44168ef Compare January 10, 2023 15:01
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 44168ef to fb00941 Compare January 23, 2023 11:58
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from fb00941 to daa0c60 Compare February 8, 2023 14:34
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch 2 times, most recently from 6be5825 to 3ca9d43 Compare March 1, 2023 14:26
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 3ca9d43 to 68e5dca Compare March 6, 2023 11:17
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 68e5dca to cbbea76 Compare March 15, 2023 17:14
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from b456d6c to 94d447e Compare January 10, 2025 08:32
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 94d447e to 9610231 Compare January 22, 2025 22:33
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 9610231 to 4bf01cd Compare February 14, 2025 16:56
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 4bf01cd to 60afa04 Compare February 26, 2025 09:29
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 60afa04 to 83d3358 Compare March 13, 2025 09:19
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 83d3358 to 9f87cbc Compare March 26, 2025 17:55
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 9f87cbc to 4d61a35 Compare June 4, 2025 08:15
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 4d61a35 to 8e81b28 Compare June 20, 2025 09:08
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 8e81b28 to 24f903f Compare July 8, 2025 15:15
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 24f903f to 41930a5 Compare July 24, 2025 10:27
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 41930a5 to 661d76b Compare August 22, 2025 18:47
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 661d76b to 085bfdd Compare September 25, 2025 18:04
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 085bfdd to 36975ec Compare December 17, 2025 11:41
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 36975ec to f32661e Compare January 27, 2026 11:46
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from f32661e to da86c00 Compare February 26, 2026 11:38
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from da86c00 to 0c40f14 Compare March 23, 2026 10:49
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 0c40f14 to 1fbcdcb Compare May 30, 2026 10:54
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 1fbcdcb to d03647b Compare June 16, 2026 13:04
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from d03647b to 6f14b01 Compare August 4, 2026 19:54
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 6f14b01 to 8519f00 Compare August 25, 2026 16:04
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from 8519f00 to d246f59 Compare September 10, 2026 22:29
@renovate
renovate Bot force-pushed the renovate/rubocop-1.x branch from d246f59 to ccd9378 Compare October 10, 2026 10:35
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant