development-dependency: bump rubocop from 1.12.0 to 1.12.1
Bumps rubocop from 1.12.0 to 1.12.1.
Release notes
Sourced from rubocop's releases.
RuboCop 1.12.1
Bug fixes
- #9649: Fix when highlights contain multibyte characters. (
@osyo-manga
)- #9646: Fix an incorrect auto-correct for
EnforcedStyle: require_parentheses
ofStyle/MethodCallWithArgsParentheses
withEnforcedStyle: conditionals
ofStyle/AndOr
. (@koic
)- #9608: Fix a false positive for
Layout/EmptyLineAfterGuardClause
when using guard clause is afterrubocop:enable
comment. (@koic
)- #9637: Allow parentheses for forwarded args in
Style/MethodCallWithArgsParentheses
'somit_parentheses
style to avoid endless range ambiguity. (@gsamokovarov
)- #9641: Fix
Layout/MultilineMethodCallIndentation
triggering on method calls that look like operators. (@dvandersluis
)- #9638: Fix an error for
Layout/LineLength
when over limit at right hand side of multiple assignment. (@koic
)- #9639: Fix
Style/RedundantBegin
removing comments on assignment statement correction. (@marcotc
)- #9671: Fix an incorrect auto-correct for
Lint/AmbiguousOperator
withStyle/MethodCallWithArgsParentheses
. (@koic
)- #9645: Fix an incorrect auto-correct for
Style/SingleLineMethods
when using single line class method definition. (@koic
)- #9644: Fix an error and an incorrect auto-correct for
Style/MultilineMethodSignature
when line break after opening parenthesis. (@koic
)- #9672: Fix an incorrect auto-correct for
Style/HashConversion
when using multi-argumentHash[]
as a method argument. (@koic
)
Changelog
Sourced from rubocop's changelog.
1.12.1 (2021-04-04)
Bug fixes
- #9649: Fix when highlights contain multibyte characters. ([
@osyo-manga
][])- #9646: Fix an incorrect auto-correct for
EnforcedStyle: require_parentheses
ofStyle/MethodCallWithArgsParentheses
withEnforcedStyle: conditionals
ofStyle/AndOr
. ([@koic
][])- #9608: Fix a false positive for
Layout/EmptyLineAfterGuardClause
when using guard clause is afterrubocop:enable
comment. ([@koic
][])- #9637: Allow parentheses for forwarded args in
Style/MethodCallWithArgsParentheses
'somit_parentheses
style to avoid endless range ambiguity. ([@gsamokovarov
][])- #9641: Fix
Layout/MultilineMethodCallIndentation
triggering on method calls that look like operators. ([@dvandersluis
][])- #9638: Fix an error for
Layout/LineLength
when over limit at right hand side of multiple assignment. ([@koic
][])- #9639: Fix
Style/RedundantBegin
removing comments on assignment statement correction. ([@marcotc
][])- #9671: Fix an incorrect auto-correct for
Lint/AmbiguousOperator
withStyle/MethodCallWithArgsParentheses
. ([@koic
][])- #9645: Fix an incorrect auto-correct for
Style/SingleLineMethods
when using single line class method definition. ([@koic
][])- #9644: Fix an error and an incorrect auto-correct for
Style/MultilineMethodSignature
when line break after opening parenthesis. ([@koic
][])- #9672: Fix an incorrect auto-correct for
Style/HashConversion
when using multi-argumentHash[]
as a method argument. ([@koic
][])
Commits
-
adf5629
Cut 1.12.1 -
a5c2887
Update Changelog -
7f45422
Document that we allow parens where omitting them is ambiguous or invalid -
93ecd7e
Parenthesized forwarded args in Style/MethodCallWithArgsParentheses -
c8c3358
Configure rspec shared_context_metadata_behavior to :apply_to_host_groups (co... -
50dc01e
[Fix #9672] Fix an incorrect auto-correct forStyle/HashConversion
-
f4e72bc
Merge pull request #9671 from koic/fix_incorrect_autocorrect_for_ambiguous_op... -
e0342b2
Fix an incorrect auto-correct forLint/AmbiguousOperator
-
1cd90c7
Remove (almost) redundant setting. -
2d1fd7b
Merge pull request #9646 from koic/fix_incorrect_autocorrect_for_style_and_or - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts