development-dependency: bump rubocop from 1.12.1 to 1.13.0
Bumps rubocop from 1.12.1 to 1.13.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.13
New features
- #7977: Add
Layout/RedundantLineBreak
cop. (@jonas054
)- #9691: Add configuration parameter
InspectBlocks
toLayout/RedundantLineBreak
. (@jonas054
)- #9684: Support
IgnoredMethods
option forLint/AmbguousBlockAssociation
. (@gprado
)- #9358: Support
restrictive_version_specificiers
option inBundler/GemComment
cop. (@RobinDaugherty
)Bug fixes
- #5576: Fix problem with inherited
Include
parameters. (@jonas054
)- #9690: Fix an incorrect auto-correct for
Style/IfUnlessModifier
when using a method with heredoc argument. (@koic
)- #9681: Fix an incorrect auto-correct for
Style/RedundantBegin
when using modifierif
single statement inbegin
block. (@koic
)- #9698: Fix an error for
Style/StructInheritance
when extending instance ofStruct
withoutdo
...end
and class body is empty and single line definition. (@koic
)- #9700: Avoid warning about Ruby version mismatch. (
@marcandre
)- #9636: Resolve symlinks when excluding directories. (
@ob-stripe
)- #9707: Fix false positive for
Style/MethodCallWithArgsParentheses
withomit_parentheses
style on an endlessdefs
node. (@dvandersluis
)- #9689: Treat parens around array items the same for children and deeper descendants. (
@dvandersluis
)- #9676: Fix an error for
Style/StringChars
when usingsplit
without parentheses. (@koic
)- #9712: Fix an incorrect auto-correct for
Style/HashConversion
whenHash[]
as a method argument without parentheses. (@koic
)- #9704: Fix an incorrect auto-correct for
Style/SingleLineMethods
when single line method call without parentheses. (@koic
)- #9683: Fix an incorrect auto-correct for
Style/HashConversion
when usingzip
method without argument inHash[]
. (@koic
)- #9715: Fix an incorrect auto-correct for
EnforcedStyle: require_parentheses
ofStyle/MethodCallWithArgsParentheses
withStyle/RescueModifier
. (@koic
)Changes
- #7544: Add --no-parallel (-P/--parallel can not be combined with --auto-correct). (
@kwerle
)- #9648: Drop support for Ruby 2.4. (
@koic
)- #9647: The parallel flag will now be automatically ignored when combined with
--auto-correct
,--auto-gen-config
, or-F/--fail-fast
. Previously, an error was raised and execution stopped. (@rrosenblum
)
Changelog
Sourced from rubocop's changelog.
1.13.0 (2021-04-20)
New features
- #7977: Add
Layout/RedundantLineBreak
cop. ([@jonas054
][])- #9691: Add configuration parameter
InspectBlocks
toLayout/RedundantLineBreak
. ([@jonas054
][])- #9684: Support
IgnoredMethods
option forLint/AmbguousBlockAssociation
. ([@gprado
][])- #9358: Support
restrictive_version_specificiers
option inBundler/GemComment
cop. ([@RobinDaugherty
][])Bug fixes
- #5576: Fix problem with inherited
Include
parameters. ([@jonas054
][])- #9690: Fix an incorrect auto-correct for
Style/IfUnlessModifier
when using a method with heredoc argument. ([@koic
][])- #9681: Fix an incorrect auto-correct for
Style/RedundantBegin
when using modifierif
single statement inbegin
block. ([@koic
][])- #9698: Fix an error for
Style/StructInheritance
when extending instance ofStruct
withoutdo
...end
and class body is empty and single line definition. ([@koic
][])- #9700: Avoid warning about Ruby version mismatch. ([
@marcandre
][])- #9636: Resolve symlinks when excluding directories. ([
@ob-stripe
][])- #9707: Fix false positive for
Style/MethodCallWithArgsParentheses
withomit_parentheses
style on an endlessdefs
node. ([@dvandersluis
][])- #9689: Treat parens around array items the same for children and deeper descendants. ([
@dvandersluis
][])- #9676: Fix an error for
Style/StringChars
when usingsplit
without parentheses. ([@koic
][])- #9712: Fix an incorrect auto-correct for
Style/HashConversion
whenHash[]
as a method argument without parentheses. ([@koic
][])- #9704: Fix an incorrect auto-correct for
Style/SingleLineMethods
when single line method call without parentheses. ([@koic
][])- #9683: Fix an incorrect auto-correct for
Style/HashConversion
when usingzip
method without argument inHash[]
. ([@koic
][])- #9715: Fix an incorrect auto-correct for
EnforcedStyle: require_parentheses
ofStyle/MethodCallWithArgsParentheses
withStyle/RescueModifier
. ([@koic
][])Changes
- #7544: Add --no-parallel (-P/--parallel can not be combined with --auto-correct). ([
@kwerle
][])- #9648: Drop support for Ruby 2.4. ([
@koic
][])- #9647: The parallel flag will now be automatically ignored when combined with
--auto-correct
,--auto-gen-config
, or-F/--fail-fast
. Previously, an error was raised and execution stopped. ([@rrosenblum
][])
Commits
-
76bc0a0
Cut 1.13 -
be91a13
Update Changelog -
ad11b07
Tweak a changelog entry -
cd3db12
Fix an incorrect auto-correct forStyle/MethodCallWithArgsParentheses
-
bc6f98b
Add --no-parallel command-line option (#9640) -
fe934c2
[Fix #9636] Resolve symlinks when excluding directories -
9c36847
Fix an incorrect auto-correct forStyle/HashConversion
-
c53803b
[Fix #9689] Treat parens around array items the same for children and deeper ... -
6136239
Fix typos -
bd27fcb
[Fix #5576] Treat relativity of Include parameters correctly - 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