Skip to content

development-dependency: bump rubocop from 1.10.0 to 1.11.0

George Koltsov requested to merge dependabot-bundler-rubocop-1.11.0 into master

Bumps rubocop from 1.10.0 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)
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][])
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

Merge request reports

Loading