Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Bump rubocop from 1.3.1 to 1.11.0 #362

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 18, 2021

Bumps rubocop from 1.3.1 to 1.11.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.11

New features

Bug fixes

  • #9520: Fix an incorrect auto-correct for Style/MultipleComparison when comparing a variable with multiple items in if and elsif conditions. (@​koic)
  • #9548: Fix a false positive for Style/TrailingBodyOnMethodDefinition when endless method definition body is after newline in opening parenthesis. (@​koic)
  • #9541: Fix Style/HashConversion when the correction needs to be wrapped in parens. (@​dvandersluis)
  • #9533: Make metrics length cops aware of multi-line kwargs. (@​koic)
  • #9523: Fix an error for Style/TrailingMethodEndStatement when endless method definition signature and body are on different lines. (@​koic)
  • #9482: Return minimal known ruby version from gemspecs required_ruby_version. (@​HeroProtagonist)
  • #9539: Fix an error for Style/RedundantBegin when using body of begin is empty. (@​koic)
  • #9542: Fix Layout/FirstArgumentIndentation for operator methods not called as operators. (@​dvandersluis, @​TSMMark)

Changes

  • #9526: Add AllowSplatArgument option to Style/HashConversion and the option is true by default. (@​koic)

RuboCop 1.10

New features

  • #9478: Add new Style/HashConversion cop. ([@​zverok][])
  • #9496: Add new Gemspec/DateAssignment cop. (@​koic)
  • #8724: Add IgnoreModules configuration to Style/ConstantVisibility to not register offense for module definitions. ([@​tejasbubane][])
  • #9403: Add autocorrect for Style/EvalWithLocation cop. ([@​cteece][])

Bug fixes

  • #9500: Update Lint/Debugger so that only specific receivers for debug methods lead to offenses. (@​dvandersluis)
  • #9499: Fix a false positive for Layout/SpaceBeforeBrackets when multiple spaces are inserted inside the left bracket. (@​koic)
  • #9507: Fix an incorrect auto-correct for Lint/RedundantSplatExpansion when expanding Array.new call on method argument. (@​koic)
  • #9490: Fix incorrect auto-correct for Layout/FirstArgumentIndentation when specifying EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and EnforcedStyle: consistent of Layout/FirstArgumentIndentation. (@​koic)
  • #9497: Fix an error for Style/ExplicitBlockArgument when yield is inside block of super. (@​koic)
  • #9349: Fix a false positive for Lint/MultipleComparison when using &, |, and ^ set operation operators in multiple comparison. (@​koic)
  • #9511: Fix a false negative for Lint/ElseLayout when using multiple elsifs. (@​koic)
  • #9513: Fix an incorrect auto-correct for Style/HashConversion when using hash argument Hash[]. (@​koic)
  • #9492: Fix an incorrect auto-correct for Lint/DeprecatedOpenSSLConstant when using no argument algorithm. (@​koic)

Changes

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.11.0 (2021-03-01)

New features

Bug fixes

  • #9520: Fix an incorrect auto-correct for Style/MultipleComparison when comparing a variable with multiple items in if and elsif conditions. ([@​koic][])
  • #9548: Fix a false positive for Style/TrailingBodyOnMethodDefinition when endless method definition body is after newline in opening parenthesis. ([@​koic][])
  • #9541: Fix Style/HashConversion when the correction needs to be wrapped in parens. ([@​dvandersluis][])
  • #9533: Make metrics length cops aware of multi-line kwargs. ([@​koic][])
  • #9523: Fix an error for Style/TrailingMethodEndStatement when endless method definition signature and body are on different lines. ([@​koic][])
  • #9482: Return minimal known ruby version from gemspecs required_ruby_version. ([@​HeroProtagonist][])
  • #9539: Fix an error for Style/RedundantBegin when using body of begin is empty. ([@​koic][])
  • #9542: Fix Layout/FirstArgumentIndentation for operator methods not called as operators. ([@​dvandersluis][], [@​TSMMark][])

Changes

  • #9526: Add AllowSplatArgument option to Style/HashConversion and the option is true by default. ([@​koic][])

1.10.0 (2021-02-15)

New features

  • #9478: Add new Style/HashConversion cop. ([@​zverok][])
  • #9496: Add new Gemspec/DateAssignment cop. ([@​koic][])
  • #8724: Add IgnoreModules configuration to Style/ConstantVisibility to not register offense for module definitions. ([@​tejasbubane][])
  • #9403: Add autocorrect for Style/EvalWithLocation cop. ([@​cteece][])

Bug fixes

  • #9500: Update Lint/Debugger so that only specific receivers for debug methods lead to offenses. ([@​dvandersluis][])
  • #9499: Fix a false positive for Layout/SpaceBeforeBrackets when multiple spaces are inserted inside the left bracket. ([@​koic][])
  • #9507: Fix an incorrect auto-correct for Lint/RedundantSplatExpansion when expanding Array.new call on method argument. ([@​koic][])
  • #9490: Fix incorrect auto-correct for Layout/FirstArgumentIndentation when specifying EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and EnforcedStyle: consistent of Layout/FirstArgumentIndentation. ([@​koic][])
  • #9497: Fix an error for Style/ExplicitBlockArgument when yield is inside block of super. ([@​koic][])
  • #9349: Fix a false positive for Lint/MultipleComparison when using &, |, and ^ set operation operators in multiple comparison. ([@​koic][])
  • #9511: Fix a false negative for Lint/ElseLayout when using multiple elsifs. ([@​koic][])
  • #9513: Fix an incorrect auto-correct for Style/HashConversion when using hash argument Hash[]. ([@​koic][])
  • #9492: Fix an incorrect auto-correct for Lint/DeprecatedOpenSSLConstant when using no argument algorithm. ([@​koic][])

Changes

1.9.1 (2021-02-01)

New features

... (truncated)

Commits
  • 3741eeb Cut 1.11
  • e3287dc Update Changelog
  • 28a8145 Merge pull request #9550 from koic/bump_rubocop_performance_to_1_10
  • 3790bb7 Bump RuboCop Performance to 1.10
  • 2a727f9 [Fix #9533] Fix calc of multiline hash arg length for metrics length cops
  • 8a4ee25 Fix a false positive for Style/TrailingBodyOnMethodDefinition
  • 6fb5d75 Merge pull request #9549 from koic/fix_error_for_internal_affairs_node_matche...
  • aef3d43 Fix an error for InternalAffairs/NodeMatcherDirective
  • 1dd69ab Merge pull request #9506 from dvandersluis/internal/method-directive
  • e850b27 Correct InternalAffairs/NodeMatcherDirective offenses.
  • 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 dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Mar 18, 2021
@YoheiZuho YoheiZuho closed this Mar 29, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 29, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/bundler/rubocop-1.11.0 branch March 29, 2021 04:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Metrics/BlockLength (and alike) should be able to ignore multi-line method calls
1 participant