development-dependency: bump rubocop from 1.10.0 to 1.11.0
Bumps rubocop from 1.10.0 to 1.11.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.11
New features
- #5388: Add new
Style/UnlessLogicalOperators
cop. (@caalberts
)- #9525: Add
AllowMethodsWithArguments
option toStyle/SymbolProc
. (@koic
)Bug fixes
- #9520: Fix an incorrect auto-correct for
Style/MultipleComparison
when comparing a variable with multiple items inif
andelsif
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 ofbegin
is empty. (@koic
)- #9542: Fix
Layout/FirstArgumentIndentation
for operator methods not called as operators. (@dvandersluis
,@TSMMark
)Changes
Changelog
Sourced from rubocop's changelog.
1.11.0 (2021-03-01)
New features
- #5388: Add new
Style/UnlessLogicalOperators
cop. ([@caalberts
][])- #9525: Add
AllowMethodsWithArguments
option toStyle/SymbolProc
. ([@koic
][])Bug fixes
- #9520: Fix an incorrect auto-correct for
Style/MultipleComparison
when comparing a variable with multiple items inif
andelsif
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 ofbegin
is empty. ([@koic
][])- #9542: Fix
Layout/FirstArgumentIndentation
for operator methods not called as operators. ([@dvandersluis
][], [@TSMMark
][])Changes
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 forStyle/TrailingBodyOnMethodDefinition
-
6fb5d75
Merge pull request #9549 from koic/fix_error_for_internal_affairs_node_matche... -
aef3d43
Fix an error forInternalAffairs/NodeMatcherDirective
-
1dd69ab
Merge pull request #9506 from dvandersluis/internal/method-directive -
e850b27
CorrectInternalAffairs/NodeMatcherDirective
offenses. - Additional commits viewable in compare view