Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency rubocop to v0.93.1 #47

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 9, 2023

Mend Renovate

This PR contains the following updates:

Package Update Change
rubocop (source, changelog) minor '~> 1.0' -> '~> 0.0'

Release Notes

rubocop/rubocop (rubocop)

v0.93.1

Compare Source

Bug fixes
  • #​8782: Fix incorrect autocorrection for Style/TernaryParentheses with defined?. ([@​dvandersluis][])
  • #​8867: Rework Lint/RedundantSafeNavigation to be more safe. ([@​fatkodima][])
  • #​8864: Fix false positive for Style/RedundantBegin with a postfix while or until. ([@​dvandersluis][])
  • #​8869: Fix a false positive for Style/RedundantBegin when using begin for or assignment and method call. ([@​koic][])
  • #​8862: Fix an error for Lint/AmbiguousRegexpLiteral when using regexp without method calls in nested structure. ([@​koic][])
  • #​8872: Fix an error for Metrics/ClassLength when multiple assignments to constants. ([@​koic][])
  • #​8871: Fix a false positive for Style/RedundantBegin when using begin for method argument or part of conditions. ([@​koic][])
  • #​8875: Fix an incorrect auto-correct for Style/ClassEqualityComparison when comparing class name. ([@​koic][])
  • #​8880: Fix an error for Style/ClassLength when overlapping constant assignments. ([@​koic][])

v0.93.0

Compare Source

New features
Bug fixes
  • #​8810: Fix multiple offense detection for Style/RaiseArgs. ([@​pbernays][])
  • #​8151: Fix a false positive for Lint/BooleanSymbol when used within %i[...]. ([@​fatkodima][])
  • #​8809: Fix multiple offense detection for Style/For. ([@​pbernays][])
  • #​8801: Fix Layout/SpaceAroundEqualsInParameterDefault only registered once in a line. ([@​rdunlop][])
  • #​8514: Correct multiple Style/MethodDefParentheses per file. ([@​rdunlop][])
  • #​8825: Fix crash in Style/ExplicitBlockArgument when code is called outside of a method. ([@​ghiculescu][])
  • #​8718: Fix undefined methods of pseudo location. ([@​ybiquitous][])
  • #​8354: Detect regexp named captures in Style/CaseLikeIf cop. ([@​dsavochkin][])
  • #​8821: Fix an incorrect autocorrect for Style/NestedTernaryOperator when using a nested ternary operator expression with no parentheses on the outside. ([@​koic][])
  • #​8834: Fix a false positive for Style/ParenthesesAsGroupedExpression when method argument parentheses are omitted and hash argument key is enclosed in parentheses. ([@​koic][])
  • #​8830: Fix bad autocorrect of Style/StringConcatenation when string includes double quotes. ([@​tleish][])
  • #​8807: Fix a false positive for Style/RedundantCondition when using assignment by hash key access. ([@​koic][])
  • #​8848: Fix a false positive for Style/CombinableLoops when using the same method with different arguments. ([@​dvandersluis][])
  • #​8843: Fix an incorrect autocorrect for Lint/AmbiguousRegexpLiteral when sending method to regexp literal receiver. ([@​koic][])
  • #​8842: Save actual status to cache, except corrected. ([@​hatkyinc2][])
  • #​8835: Fix an incorrect autocorrect for Style/RedundantInterpolation when using string interpolation for non-operator methods. ([@​koic][])
  • #​7495: Example for Lint/AmbiguousBlockAssociation cop. ([@​AllanSiqueira][])
  • #​8855: Fix an error for Layout/EmptyLinesAroundAccessModifier and Style/AccessModifierDeclarations when using only access modifier. ([@​koic][])
Changes
  • #​8803: (Breaking) RegexpNode#parsed_tree now processes regexps including interpolation (by blanking the interpolation before parsing, rather than skipping). ([@​owst][])
  • #​8625: Improve Style/RedundantRegexpCharacterClass and Style/RedundantRegexpEscape by using regexp_parser gem. ([@​owst][])
  • #​8646: Faster find of all files in TargetFinder class which improves initial startup speed. ([@​tleish][])
  • #​8102: Consider class length instead of block length for Struct.new. ([@​tejasbubane][])
  • #​7408: Make Gemspec/RequiredRubyVersion cop aware of Gem::Requirement. ([@​tejasbubane][])

v0.92.0

Compare Source

New features
Bug fixes
Changes
  • #​8785: Update TargetRubyVersion 2.8 to 3.0 (experimental). ([@​koic][])
  • #​8650: Faster find of hidden files in TargetFinder class which improves rubocop initial startup speed. ([@​tleish][])
  • #​8783: Disable Style/ArrayCoercion cop by default. ([@​koic][])

v0.91.1

Compare Source

Bug fixes
  • #​8720: Fix an error for Lint/IdentityComparison when calling object_id method without receiver in LHS or RHS. ([@​koic][])
  • #​8767: Fix a false positive for Style/RedundantReturn when a rescue has an else clause. ([@​fatkodima][])
  • #​8710: Fix a false positive for Layout/RescueEnsureAlignment when Layout/BeginEndAlignment cop is not enabled status. ([@​koic][])
  • #​8726: Fix a false positive for Naming/VariableNumber when naming multibyte character variable name. ([@​koic][])
  • #​8730: Fix an error for Lint/UselessTimes when there is a blank line in the method definition. ([@​koic][])
  • #​8740: Fix a false positive for Style/HashAsLastArrayItem when the hash is in an implicit array. ([@​dvandersluis][])
  • #​8739: Fix an error for Lint/UselessTimes when using empty block argument. ([@​koic][])
  • #​8742: Fix some assignment counts for Metrics/AbcSize. ([@​marcandre][])
  • #​8750: Fix an incorrect auto-correct for Style/MultilineWhenThen when line break for multiple candidate values of when statement. ([@​koic][])
  • #​8754: Fix an error for Style/RandomWithOffset when using a range with non-integer bounds. ([@​eugeneius][])
  • #​8756: Fix an infinite loop error for Layout/EmptyLinesAroundAccessModifier with Layout/EmptyLinesAroundBlockBody when using access modifier with block argument. ([@​koic][])
  • #​8372: Fix Lint/RedundantCopEnableDirective autocorrection to not leave orphaned empty # rubocop:enable comments. ([@​dvandersluis][])
  • #​8372: Fix Lint/RedundantCopDisableDirective autocorrection. ([@​dvandersluis][])
  • #​8764: Fix Layout/CaseIndentation not showing the cop name in output messages. ([@​dvandersluis][])
  • #​8771: Fix an error for Style/OneLineConditional when using if-then-elsif-then-end. ([@​koic][])
  • #​8576: Fix Style/IfUnlessModifier to ignore cop disable comment directives when considering conversion to the modifier form. ([@​dsavochkin][])
Changes

v0.91.0

Compare Source

New features
  • New option --cache-root and support for the RUBOCOP_CACHE_ROOT environment variable. Both can be used to override the AllCops: CacheRootDirectory config, especially in a CI setting. ([@​sascha-wolf][])
  • #​8582: Add new Layout/BeginEndAlignment cop. ([@​koic][])
  • #​8699: Add new Lint/IdentityComparison cop. ([@​koic][])
  • Add new Lint/UselessTimes cop. ([@​dvandersluis][])
  • #​8707: Add new Lint/ConstantDefinitionInBlock cop. ([@​eugeneius][])
Bug fixes
  • #​8627: Fix a false positive for Lint/DuplicateRequire when same feature argument but different require method. ([@​koic][])
  • #​8674: Fix an error for Layout/EmptyLineAfterMultilineCondition when conditional is at the top level. ([@​fatkodima][])
  • #​8658: Fix a false positive for Style/RedundantSelfAssignment when calling coercion methods. ([@​fatkodima][])
  • #​8669: Fix an offense creation for Lint/EmptyFile. ([@​fatkodima][])
  • #​8607: Fix a false positive for Lint/UnreachableLoop when conditional branch includes continue statement preceding break statement. ([@​fatkodima][])
  • #​8572: Fix a false positive for Style/RedundantParentheses when parentheses are used like method argument parentheses. ([@​koic][])
  • #​8630: Fix some false positives for Style/HashTransformKeys and Style/HashTransformValues when the receiver is an array. ([@​eugeneius][])
  • #​8653: Fix a false positive for Layout/DefEndAlignment when using refinements and private def. ([@​koic][])
  • #​8655: Fix a false positive for Style/ClassAndModuleChildren when using cbase class name. ([@​koic][])
  • #​8654: Fix a false positive for Style/SafeNavigation when checking foo&.empty? in a conditional. ([@​koic][])
  • #​8660: Fix a false positive for Style/ClassAndModuleChildren when using cbase module name. ([@​koic][])
  • #​8664: Fix a false positive for Naming/BinaryOperatorParameterName when naming multibyte character method name. ([@​koic][])
  • #​8604: Fix a false positive for Bundler/DuplicatedGem when gem is duplicated in condition. ([@​tejasbubane][])
  • #​8671: Fix an error for Style/ExplicitBlockArgument when using safe navigation method call. ([@​koic][])
  • #​8681: Fix an error for Style/HashAsLastArrayItem with no_braces for empty hash. ([@​fsateler][])
  • #​8682: Fix a positive for Style/HashTransformKeys and Style/HashTransformValues when the each_with_object hash is used in the transformed key or value. ([@​eugeneius][])
  • #​8688: Mark Style/GlobalStdStream as unsafe autocorrection. ([@​marcandre][])
  • #​8642: Fix a false negative for Style/SpaceInsideHashLiteralBraces when a correct empty hash precedes the incorrect hash. ([@​dvandersluis][])
  • #​8683: Make naming cops work with non-ascii characters. ([@​tejasbubane][])
  • #​8626: Fix false negatives for Lint/UselessMethodDefinition. ([@​marcandre][])
  • #​8698: Fix cache to avoid encoding exception. ([@​marcandre][])
  • #​8704: Fix an error for Lint/AmbiguousOperator when using safe navigation operator with a unary operator. ([@​koic][])
  • #​8661: Fix an incorrect auto-correct for Style/MultilineTernaryOperator when returning a multiline ternary operator expression. ([@​koic][])
  • #​8526: Fix a false positive for Style/CaseEquality cop when the receiver is not a camel cased constant. ([@​koic][])
  • #​8673: Fix the JSON parse error when specifying --format=json and --stdin options. ([@​koic][])
Changes
  • #​8470: Do not autocorrect Style/StringConcatenation when parts of the expression are too complex. ([@​dvandersluis][])
  • #​8561: Fix Lint/UselessMethodDefinition to not register an offense when method definition includes optional arguments. ([@​fatkodima][])
  • #​8617: Fix Style/HashAsLastArrayItem to not register an offense when all items in an array are hashes. ([@​dvandersluis][])
  • #​8500: Add in? to AllowedMethods for Lint/SafeNavigationChain cop. ([@​tejasbubane][])
  • #​8629: Fix the cache being reusable in CI by using crc32 to calculate file hashes rather than mtime, which changes each CI build. ([@​dvandersluis][])
  • #​8663: Fix multiple autocorrection bugs with Style/ClassMethodsDefinitions. ([@​dvandersluis][])
  • #​8621: Add helpful Infinite Loop error message. ([@​iSarCasm][])

v0.90.0

Compare Source

New features
Bug fixes
  • #​8508: Fix a false positive for Style/CaseLikeIf when conditional contains comparison with a class. Mark Style/CaseLikeIf as not safe. ([@​fatkodima][])
  • #​8618: Fix an infinite loop error for Layout/EmptyLineBetweenDefs. ([@​fatkodima][])
  • #​8534: Fix Lint/BinaryOperatorWithIdenticalOperands for binary operators used as unary operators. ([@​marcandre][])
  • #​8537: Allow a trailing comment as a description comment for Bundler/GemComment. ([@​pocke][])
  • #​8507: Fix Style/RescueModifier to handle parentheses around rescue modifiers. ([@​dsavochkin][])
  • #​8527: Prevent an incorrect auto-correction for Style/CaseEquality cop when comparing with === against a regular expression receiver. ([@​koic][])
  • #​8524: Fix Layout/EmptyLinesAroundClassBody and Layout/EmptyLinesAroundModuleBody to correctly handle an access modifier as a first child. ([@​dsavochkin][])
  • #​8518: Fix Lint/ConstantResolution cop reporting offense for module and class definitions. ([@​tejasbubane][])
  • #​8158: Fix Style/MultilineWhenThen cop to correctly handle cases with multiline body. ([@​dsavochkin][])
  • #​7705: Fix Style/OneLineConditional cop to handle if/then/elsif/then/else/end cases. Add AlwaysCorrectToMultiline config option to this cop to always convert offenses to the multi-line form (false by default). ([@​Lykos][], [@​dsavochkin][])
  • #​8590: Fix an error when auto-correcting encoding mismatch file. ([@​koic][])
  • #​8321: Enable auto-correction for Layout/{Def}EndAlignment, Lint/EmptyEnsure, Style/ClassAndModuleChildren. ([@​marcandre][])
  • #​8583: Fix Style/RedundantRegexpEscape false positive for line continuations. ([@​owst][])
  • #​8593: Fix Style/RedundantRegexpCharacterClass false positive for interpolated multi-line expressions. ([@​owst][])
  • #​8624: Fix an error with the Style/CaseLikeIf cop where it does not properly handle overridden equality methods with no arguments. ([@​Skipants][])
Changes
  • #​8413: Pending cops warning now contains snippet that can be directly copied into .rubocop.yml as well as a notice about NewCops: enable config option. ([@​colszowka][])
  • #​8362: Add numbers of correctable offenses to summary. ([@​nguyenquangminh0711][])
  • #​8513: Clarify the ruby warning mentioned in the Lint/ShadowingOuterLocalVariable documentation. ([@​chocolateboy][])
  • #​8517: Make Style/HashTransformKeys and Style/HashTransformValues aware of to_h with block. ([@​eugeneius][])
  • #​8529: Mark Style/FrozenStringLiteralComment as Safe, but with unsafe auto-correction. ([@​marcandre][])
  • #​8602: Fix usage of to_enum(:scan, regexp) to work on TruffleRuby. ([@​jaimerave][])

v0.89.1

Compare Source

Bug fixes
  • #​8463: Fix false positives for Lint/OutOfRangeRegexpRef when a regexp is defined and matched in separate steps. ([@​eugeneius][])
  • #​8464: Handle regexps matched with when, grep, gsub, gsub!, sub, sub!, [], slice, slice!, scan, index, rindex, partition, rpartition, start_with?, and end_with? in Lint/OutOfRangeRegexpRef. ([@​eugeneius][])
  • #​8466: Fix a false positive for Lint/UriRegexp when using regexp method without receiver. ([@​koic][])
  • #​8478: Relax Lint/BinaryOperatorWithIdenticalOperands for mathematical operations. ([@​marcandre][])
  • #​8480: Tweak callback list of Lint/MissingSuper. ([@​marcandre][])
  • #​8481: Fix autocorrect for elements with newlines in Style/SymbolArray and Style/WordArray. ([@​biinari][])
  • #​8475: Fix a false positive for Style/HashAsLastArrayItem when there are duplicate hashes in the array. ([@​wcmonty][])
  • #​8497: Fix Style/IfUnlessModifier to add parentheses when converting if-end condition inside a parenthesized method argument list. ([@​dsavochkin][])
Changes
  • #​8487: Detect < and > as comparison operators in Style/ConditionalAssignment cop. ([@​biinari][])

v0.89.0

Compare Source

New features
Bug fixes
  • #​8346: Allow parentheses in single-line inheritance with Style/MethodCallWithArgsParentheses EnforcedStyle: omit_parentheses to fix invalid Ruby auto-correction. ([@​gsamokovarov][])
  • #​8324: Fix crash for Layout/SpaceAroundMethodCallOperator when using Proc#call shorthand syntax. ([@​fatkodima][])
  • #​8332: Fix auto-correct in Style/ConditionalAssignment to preserve constant namespace. ([@​biinari][])
  • #​8344: Fix crash for Style/CaseLikeIf when checking against equal? and match? without a receiver. ([@​fatkodima][])
  • #​8323: Fix a false positive for Style/HashAsLastArrayItem when hash is not a last array item. ([@​fatkodima][])
  • #​8299: Fix an incorrect auto-correct for Style/RedundantCondition when using raise, rescue, or and without argument parentheses in else. ([@​koic][])
  • #​8335: Fix incorrect character class detection for nested or POSIX bracket character classes in Style/RedundantRegexpEscape. ([@​owst][])
  • #​8347: Fix an incorrect auto-correct for EnforcedStyle: hash_rockets of Style/HashSyntax with Layout/HashAlignment. ([@​koic][])
  • #​8375: Fix an infinite loop error for Style/EmptyMethod. ([@​koic][])
  • #​8385: Remove auto-correction for Lint/EnsureReturn. ([@​marcandre][])
  • #​8391: Mark Style/ArrayCoercion as not safe. ([@​marcandre][])
  • #​8406: Improve Style/AccessorGrouping's auto-correction to remove redundant blank lines. ([@​koic][])
  • #​8330: Fix a false positive for Style/MissingRespondToMissing when defined method with inline access modifier. ([@​koic][])
  • #​8422: Fix an error for Lint/SelfAssignment when using or-assignment for constant. ([@​koic][])
  • #​8423: Fix an error for Style/SingleArgumentDig when without a receiver. ([@​koic][])
  • #​8424: Fix an error for Lint/IneffectiveAccessModifier when there is begin...end before a method definition. ([@​koic][])
  • #​8006: Fix line length calculation for Style/IfUnlessModifier to correctly take into account code before the if condition when considering conversation to a single-line form. ([@​dsavochkin][])
  • #​8283: Fix line length calculation for Style/IfUnlessModifier to correctly take into account a comment on the first line when considering conversation to a single-line form. ([@​dsavochkin][])
  • #​7957: Fix line length calculation for Style/IfUnlessModifier to correctly take into account code on the last line after the end keyword when considering conversion to a single-line form. ([@​dsavochkin][])
  • #​8226: Fix Style/IfUnlessModifier to add parentheses when converting if-end condition inside an array or a hash to a single-line form. ([@​dsavochkin][])
  • #​8443: Fix an incorrect auto-correct for Style/StructInheritance when there is a comment before class declaration. ([@​koic][])
  • #​8444: Fix an error for Layout/FirstMethodArgumentLineBreak when using kwargs in super. ([@​koic][])
  • #​8448: Fix Style/NestedParenthesizedCalls to include line continuations in whitespace for auto-correct. ([@​biinari][])
Changes
  • #​8376: Style/MethodMissingSuper cop is removed in favor of new Lint/MissingSuper cop. ([@​fatkodima][])
  • #​8433: Lint/UselessComparison cop is removed in favor of new Lint/BinaryOperatorWithIdenticalOperands cop. ([@​fatkodima][])
  • #​8350: Set default max line length to 120 for Style/MultilineMethodSignature. ([@​koic][])
  • #​8338: potentially breaking. Config#for_department now returns only the config specified for that department; the 'Enabled' attribute is no longer calculated. ([@​marcandre][])
  • #​8037: (Breaking) Cop Metrics/AbcSize now counts ||=, &&=, multiple assignments, for, yield, iterating blocks. &. now count as conditions too (unless repeated on the same variable). Default bumped from 15 to 17. Consider using rubocop -a --disable-uncorrectable to ease transition. ([@​marcandre][])
  • #​8276: Cop Metrics/CyclomaticComplexity not longer counts &. when repeated on the same variable. ([@​marcandre][])
  • #​8204: (Breaking) Cop Metrics/PerceivedComplexity now counts else in case statements, &., ||=, &&= and blocks known to iterate. Default bumped from 7 to 8. Consider using rubocop -a --disable-uncorrectable to ease transition. ([@​marcandre][])
  • #​8416: Cop Lint/InterpolationCheck marked as unsafe. ([@​marcandre][])
  • #​8442: Remove RuboCop::Cop::ParserDiagnostic mixin module. ([@​koic][])

v0.88.0

Compare Source

New features
Bug fixes
  • #​8232: Fix a false positive for Layout/EmptyLinesAroundAccessModifier when end immediately after access modifier. ([@​koic][])
  • #​7777: Fix crash for Layout/MultilineArrayBraceLayout when comment is present after last element. ([@​shekhar-patil][])
  • #​7776: Fix crash for Layout/MultilineMethodCallBraceLayout when comment is present before closing braces. ([@​shekhar-patil][])
  • #​8282: Fix Style/IfUnlessModifier bad precedence detection. ([@​tejasbubane][])
  • #​8289: Fix Style/AccessorGrouping to not register offense for accessor with comment. ([@​tejasbubane][])
  • #​8310: Handle major version requirements in Gemspec/RequiredRubyVersion. ([@​eugeneius][])
  • #​8315: Fix crash for Style/PercentLiteralDelimiters when the source contains invalid characters. ([@​eugeneius][])
  • #​8239: Don't load .rubocop.yml files at all outside of the current project, unless they are personal configuration files and the project has no configuration. ([@​deivid-rodriguez][])
Changes

v0.87.1

Compare Source

Bug fixes
  • #​8189: Fix an error for Layout/MultilineBlockLayout where spaces for a new line where not considered. ([@​knejad][])
  • #​8252: Fix a command line option name from --safe-autocorrect to --safe-auto-correct, which is compatible with RuboCop 0.86 and lower. ([@​koic][])
  • #​8259: Fix false positives for Style/BisectedAttrAccessor when accessors have different access modifiers. ([@​fatkodima][])
  • #​8253: Fix false positives for Style/AccessorGrouping when accessors have different access modifiers. ([@​fatkodima][])
  • #​8257: Fix an error for Style/BisectedAttrAccessor when using attr_reader and attr_writer with splat arguments. ([@​fatkodima][])
  • #​8239: Don't load .rubocop.yml from personal folders to check for exclusions if given a custom configuration file. ([@​deivid-rodriguez][])
  • #​8256: Fix an error for --auto-gen-config when running a cop who do not support auto-correction. ([@​koic][])
  • #​8262: Fix Lint/DeprecatedOpenSSLConstant auto-correction of OpenSSL::Cipher to use lower case, as some Linux-based systems do not accept upper cased cipher names. ([@​bdewater][])

v0.87.0

Compare Source

New features
Bug fixes
  • #​8039: Fix false positives for Lint/ParenthesesAsGroupedExpression in when using operators or chain functions. ([@​CamilleDrapier][])
  • #​8196: Fix a false positive for Style/RedundantFetchBlock when using with Rails.cache. ([@​fatkodima][])
  • #​8195: Fix an error for Style/RedundantFetchBlock when using #fetch with empty block. ([@​koic][])
  • #​8193: Fix a false positive for Style/RedundantRegexpCharacterClass when using [\b]. ([@​owst][])
  • #​8205: Fix a false positive for Style/RedundantRegexpCharacterClass when using a leading escaped ]. ([@​owst][])
  • #​8208: Fix Style/RedundantParentheses with hash literal as first argument to yield. ([@​karlwithak][])
  • #​8176: Don't load .rubocop.yml from personal folders to check for exclusions if there's a project configuration. ([@​deivid-rodriguez][])
Changes
  • #​7868: (Breaking) Extensive refactoring of internal classes Team, Commissioner, Corrector. Cop::Cop#corrections not completely compatible. See Upgrade Notes. ([@​marcandre][])
  • #​8156: (Breaking) rubocop -a / --auto-correct no longer run unsafe corrections; rubocop -A / --auto-correct-all run both safe and unsafe corrections. Options --safe-autocorrect is deprecated. ([@​marcandre][])
  • #​8207: (Breaking) Order for gems names now disregards underscores and dashes unless ConsiderPunctuation setting is set to true. ([@​marcandre][])
  • #​8211: Style/ClassVars cop now detects class_variable_set. ([@​biinari][])
  • #​8245: Detect top-level constants like ::Const in various cops. ([@​biinari][])

v0.86.0

Compare Source

New features
Bug fixes
  • #​8132: Fix the problem with Naming/MethodName: EnforcedStyle: camelCase and _ or i variables. ([@​avrusanov][])
  • #​8115: Fix false negative for Lint::FormatParameterMismatch when argument contains formatting. ([@​andrykonchin][])
  • #​8131: Fix false positive for Style/RedundantRegexpEscape with escaped delimiters. ([@​owst][])
  • #​8124: Fix a false positive for Lint/FormatParameterMismatch when using named parameters with escaped %. ([@​koic][])
  • #​7979: Fix "uninitialized constant DidYouMean::SpellChecker" exception. ([@​bquorning][])
  • #​8098: Fix a false positive for Style/RedundantRegexpCharacterClass when using interpolations. ([@​owst][])
  • #​8150: Fix a false positive for Layout/EmptyLinesAroundAttributeAccessor when using attribute accessors in if ... else branches. ([@​koic][])
  • #​8179: Fix an infinite correction loop error for Layout/MultilineBlockLayout when missing newline before opening parenthesis ( for block body. ([@​koic][])
  • #​8185: Fix a false positive for Style/YodaCondition when interpolation is used on the left hand side. ([@​koic][])
Changes
  • #​8149: (Breaking) Cop Metrics/CyclomaticComplexity now counts &., ||=, &&= and blocks known to iterate. Default bumped from 6 to 7. Consider using rubocop -a --disable-uncorrectable to ease transition. ([@​marcandre][])
  • #​8146: Use UTC in RuboCop todo file generation. ([@​mauro-oto][])
  • #​8178: Mark unsafe for Lint/RaiseException. ([@​koic][])

v0.85.1

Compare Source

Bug fixes

Configuration

📅 Schedule: 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 has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Contributor Author

renovate bot commented Jul 9, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Gemfile.lock
[10:02:14.452] INFO (10): Installing tool ruby v3.2.2...
[10:02:14.456] INFO (10): Preparing legacy tool ruby ...
installing v2 tool ruby v3.2.2
linking tool ruby v3.2.2
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
gem 3.4.10
RubyGems Environment:
  - RUBYGEMS VERSION: 3.4.10
  - RUBY VERSION: 3.2.2 (2023-03-30 patchlevel 53) [x86_64-linux]
  - INSTALLATION DIRECTORY: /tmp/worker/705cdb/61d42f/cache/others/bundler
  - USER INSTALLATION DIRECTORY: /home/ubuntu/.local/share/gem/ruby/3.2.0
  - RUBY EXECUTABLE: /opt/containerbase/tools/ruby/3.2.2/bin/ruby
  - GIT EXECUTABLE: /usr/bin/git
  - EXECUTABLE DIRECTORY: /tmp/worker/705cdb/61d42f/cache/others/bundler/bin
  - SPEC CACHE DIRECTORY: /home/ubuntu/.local/share/gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /usr/local/ruby/3.2.2/etc
  - RUBYGEMS PLATFORMS:
     - ruby
     - x86_64-linux
  - GEM PATHS:
     - /tmp/worker/705cdb/61d42f/cache/others/bundler
     - /home/ubuntu/.local/share/gem/ruby/3.2.0
     - /opt/containerbase/tools/ruby/3.2.2/lib/ruby/gems/3.2.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "--bindir /home/ubuntu/bin --no-document"
     - :benchmark => false
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /home/ubuntu/.cargo/bin
     - /home/ubuntu/.local/bin
     - /go/bin
     - /home/ubuntu/bin
     - /home/ubuntu/.cargo/bin
     - /home/ubuntu/.local/bin
     - /go/bin
     - /home/ubuntu/bin
     - /home/ubuntu/.cargo/bin
     - /home/ubuntu/.local/bin
     - /go/bin
     - /home/ubuntu/bin
     - /home/ubuntu/bin
     - /home/ubuntu/.cargo/bin
     - /home/ubuntu/.local/bin
     - /go/bin
     - /home/ubuntu/bin
     - /home/ubuntu/bin
     - /usr/local/sbin
     - /usr/local/bin
     - /usr/sbin
     - /usr/bin
     - /sbin
     - /bin
[10:02:16.388] INFO (10): Installed tool ruby in 1.9s.
[10:02:16.505] INFO (94): Installing tool bundler v1.17.3...
[10:02:16.508] INFO (94): Preparing legacy tool bundler ...
installing v2 tool bundler v1.17.3
Successfully installed bundler-1.17.3
1 gem installed
linking tool bundler v1.17.3
[10:02:17.108] FATAL (94): Command failed with exit code 1: /usr/local/containerbase/bin/install-tool bundler 1.17.3
    err: {
      "type": "Error",
      "message": "Command failed with exit code 1: /usr/local/containerbase/bin/install-tool bundler 1.17.3",
      "stack":
          Error: Command failed with exit code 1: /usr/local/containerbase/bin/install-tool bundler 1.17.3
              at makeError (/snapshot/dist/containerbase-cli.js:44669:13)
              at handlePromise (/snapshot/dist/containerbase-cli.js:45124:29)
              at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
              at async InstallLegacyToolService.execute (/snapshot/dist/containerbase-cli.js:45383:5)
              at async InstallToolService.execute (/snapshot/dist/containerbase-cli.js:45536:7)
              at async InstallToolShortCommand.execute (/snapshot/dist/containerbase-cli.js:45603:14)
              at async InstallToolShortCommand.validateAndExecute (/snapshot/dist/containerbase-cli.js:1342:26)
              at async _Cli.run (/snapshot/dist/containerbase-cli.js:2455:22)
              at async _Cli.runExit (/snapshot/dist/containerbase-cli.js:2463:28)
              at async main (/snapshot/dist/containerbase-cli.js:45735:3)
      "shortMessage": "Command failed with exit code 1: /usr/local/containerbase/bin/install-tool bundler 1.17.3",
      "command": "/usr/local/containerbase/bin/install-tool bundler 1.17.3",
      "escapedCommand": "\"/usr/local/containerbase/bin/install-tool\" bundler 1.17.3",
      "exitCode": 1,
      "failed": true,
      "timedOut": false,
      "isCanceled": false,
      "killed": false
    }
[10:02:17.112] INFO (94): Installed tool bundler with errors in 607ms.

/usr/local/bin/docker: line 4: .: filename argument required
.: usage: . filename [arguments]
/opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:272:in `search_up': undefined method `untaint' for "/tmp/worker/705cdb/61d42f/repos/github/brucellino/hackfest-app":String (NoMethodError)

      current  = File.expand_path(SharedHelpers.pwd).untaint
                                                    ^^^^^^^^
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:259:in `find_file'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:251:in `find_gemfile'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:27:in `root'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/lib/bundler.rb:234:in `root'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/lib/bundler.rb:246:in `app_config_path'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/lib/bundler.rb:273:in `settings'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/lib/bundler/feature_flag.rb:21:in `block in settings_method'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/lib/bundler/cli.rb:97:in `<class:CLI>'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/lib/bundler/cli.rb:7:in `<module:Bundler>'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/lib/bundler/cli.rb:6:in `<top (required)>'
	from <internal:/opt/containerbase/tools/ruby/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/opt/containerbase/tools/ruby/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/exe/bundle:23:in `block in <top (required)>'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/exe/bundler:4:in `load'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/gems/bundler-1.17.3/exe/bundler:4:in `<top (required)>'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/bin/bundler:25:in `load'
	from /opt/containerbase/tools/bundler/1.17.3/3.2/bin/bundler:25:in `<main>'

@brucellino brucellino closed this Jul 9, 2023
@brucellino brucellino deleted the renovate/rubocop-0.x branch July 9, 2023 10:24
@renovate
Copy link
Contributor Author

renovate bot commented Jul 9, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update ('~> 0.0'). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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.

None yet

1 participant