stefan-kolb / paas-profiles

Making Platform as a Service offerings comparable - Ecosystem profiles for portability matching.
https://PaaSfinder.org
Other
137 stars 66 forks source link

Bump rubocop from 0.92.0 to 1.28.1 #512

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps rubocop from 0.92.0 to 1.28.1.

Release notes

Sourced from rubocop's releases.

RuboCop 1.27

New features

Bug fixes

  • #10464: Fix an incorrect autocorrect for Lint/IncompatibleIoSelectWithFiberScheduler when using IO.select with read (or write) argument and using return value. (@​koic)
  • #10506: Fix an error for Style/RaiseArgs when raise with new method without receiver. (@​koic)
  • #10479: Fix a false positive for Lint/ShadowingOuterLocalVariable conditional statement and block variable. (@​ydah)
  • #10189: Fix --display-style-guide so it works together with --format offenses. (@​jonas054)
  • #10465: Fix false positive for Naming/BlockForwarding when the block argument is assigned. (@​dvandersluis)
  • #10491: Improve the handling of comments in Lint/EmptyConditionalBody, Lint/EmptyInPattern and Lint/EmptyWhen when AllowComments is set to true. (@​Darhazer)
  • #10504: Fix a false positive for Lint/UnusedMethodArgument when using raise NotImplementedError with optional arguments. (@​koic)
  • #10494: Fix a false positive for Style/HashSyntax when return with one line if condition follows (without parentheses). (@​koic)
  • #10311: Fix false negative inside do..end for Layout/RedundantLineBreak. (@​jonas054)
  • #10468: Fix a false positive for Style/FileWrite when a splat argument is passed to f.write. (@​koic)
  • #10474: Fix a false positive for Style/DoubleNegation with EnforcedStyle: allowed_in_returns when inside returned conditional clauses. (@​ydah)
  • #10388: Fix an incorrectly adds a disable statement for Layout/SpaceInsideArrayLiteralBrackets with --disable-uncorrectable. (@​ydah)
  • #10489: Fix a false positive for Lint/LambdaWithoutLiteralBlock when using lambda with a symbol proc. (@​koic)

Changes

  • #10191: Add MaxChainLength option to Style/SafeNavigation and the option is 2 by default. (@​ydah)

RuboCop 1.26.1

Bug fixes

  • #10375: Fix error for auto-correction of unless/else nested inside each other. (@​jonas054)
  • #10457: Make Style/SelectByRegexp aware of ENV const. (@​koic)
  • #10462: Fix an incorrect autocorrect for Lint/SymbolConversion when using a quoted symbol key with hash rocket. (@​koic)
  • #10456: Fix a false positive for Layout/MultilineMethodCallIndentation when using EnforcedStyle: indented with indented assignment method. (@​koic)
  • #10459: Fix a false positive for Layout/LineLength when long URIs in yardoc comments to have titles. (@​ydah)
  • #10447: Fix an error for Style/SoleNestedConditional raises exception when inspecting if ... end if .... (@​ydah)

RuboCop 1.26

New features

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.28.1 (2022-04-21)

Bug fixes

  • #10559: Fix crash on CodeLengthCalculator if method call is not parenthesized. ([@​nobuyo][])
  • #10557: Fix a false positive for Style/FetchEnvVar when ENV['key'] is a receiver of ||=. ([@​koic][])

1.28.0 (2022-04-21)

New features

Bug fixes

  • #10528: Fix an infinite loop at autocorrect for Layout/CaseIndentation. ([@​ydah][])
  • #10537: Fix an incorrect auto-correct for Style/MultilineTernaryOperator when returning a multiline ternary operator expression with break, next, or method call. ([@​koic][])
  • #10529: Fix autocorrect for Style/SoleNestedConditional causes logical error when using a outer condition of method call by omitting parentheses for method arguments. ([@​nobuyo][])
  • #10530: Fix a false positive for Style/RedundantRegexpCharacterClass when using regexp character class with a character class containing multiple unicode code-points. ([@​koic][])
  • #10518: Fix a false positive for Style/DoubleNegation when inside returned conditional clauses with Ruby 2.7's pattern matching. ([@​koic][])
  • #10510: Fix an error for Style/SingleArgumentDig when using multiple dig in a method chain. ([@​koic][])
  • #10553: Fix crash with trailing tabs in heredocs for Layout/TrailingWhitespace. ([@​dvandersluis][])
  • #10488: Fix autocorrection for Layout/MultilineMethodCallIndentation breaks indentation for nesting of method calls. ([@​nobuyo][])
  • #10543: Fix incorrect code length calculation for few more patterns of hash folding asked. ([@​nobuyo][])
  • #10541: Fix an incorrect autocorrect for Style/SpecialGlobalVars when global variable as Perl name is used multiple times. ([@​koic][])
  • #10514: Fix an error for Lint/EmptyConditionalBody when missing second elsif body. ([@​koic][])
  • #10469: Fix code length calculation when kwargs written in single line. ([@​nobuyo][])

Changes

  • #10555: Deprecate IgnoredPatterns in favour of AllowedPatterns. ([@​dvandersluis][])
  • #10356: Add AllowConsecutiveConditionals option to Style/GuardClause and the option is false by default. ([@​ydah][])
  • #10524: Mark Style/RedundantInitialize as unsafe. ([@​koic][])
  • #10280: Add AllowComments option to Style/SymbolProc and the option is false by default. ([@​ydah][])

1.27.0 (2022-04-08)

New features

  • #10500: Add new Lint/RefinementImportMethods cop. ([@​koic][])
  • #10438: Add new Style/RedundantInitialize cop to check for unnecessary initialize methods. ([@​dvandersluis][])

Bug fixes

... (truncated)

Commits
  • 54f4c82 Cut 1.28.1
  • e2bd465 Update Changelog
  • 52ffecd [Fix #10559] Fix crash on CodeLengthCalculator if method call is not parenthe...
  • 269fc46 [Fix #10557] Fix a false positive for Style/FetchEnvVar
  • 16c6f74 Fix a build error
  • 24ab7b2 Cut 1.28.0
  • 3e11aa1 Update Changelog
  • 7fcb272 Support autocorrection for Style/RedundantInitialize
  • e491166 Update uses of IgnoredPatterns to AllowedPatterns.
  • 8ac5b59 Add obsoletion rules for AllowedPatterns.
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #513.