Bump rubocop from 1.13.0 to 1.14.0
Created by: dependabot[bot]
Bumps rubocop from 1.13.0 to 1.14.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.14
New features
- #7669: New cop
Bundler/GemVersion
requires or forbids specifying gem versions. (@timlkelly
)- #9758: Support
TargetRubyVersion 3.1
(experimental). (@koic
)- #9377: Add cop
Layout/SingleLineBlockChain
. (@jonas054
)Bug fixes
- #9751:
Style/StringLiteral
doesn't autocorrect global variable interpolation. (@etiennebarrie
)- #9731: Fix two autocorrection issues for
Style/NegatedIfElseCondition
. (@dvandersluis
)- #9740: Fix an incorrect auto-correct for
Style/SingleLineMethods
when defining setter method. (@koic
)- #9757: Fix a false positive for
Lint/NumberConversion
when:to_f
is one of multiple method arguments. (@koic
)- #9761: Fix
Style/ClassAndModuleChildren
false negative forcompact
style when a class/module is partially nested. (@dvandersluis
)- #9748: Prevent infinite loops during symlink traversal. (
@Tonkpils
)- #9762: Update
VariableForce
to be able to handlecase-match
nodes. (@dvandersluis
)- #9729: Fix an error for
Style/IfUnlessModifier
when variable assignment is used in the branch body of if modifier. (@koic
)- #9750: Fix an incorrect auto-correct for
Style/SoleNestedConditional
when when using nestedif
withinunless foo == bar
. (@koic
)- #9751:
Style/StringLiteral
autocorrects'\\'
into"\\"
. (@etiennebarrie
)- #9732: Support deprecated Socket.gethostbyaddr and Socket.gethostbyname. (
@AndreiEres
)- #9713: Fix autocorrection for block local variables in
Lint/UnusedBlockArgument
. (@tejasbubane
)- #9746: Fix a false positive for
Lint/UnreachableLoop
when using conditionalnext
in a loop. (@koic
)
Changelog
Sourced from rubocop's changelog.
1.14.0 (2021-05-05)
New features
- #7669: New cop
Bundler/GemVersion
requires or forbids specifying gem versions. ([@timlkelly
][])- #9758: Support
TargetRubyVersion 3.1
(experimental). ([@koic
][])- #9377: Add cop
Layout/SingleLineBlockChain
. ([@jonas054
][])Bug fixes
- #9751:
Style/StringLiteral
doesn't autocorrect global variable interpolation. ([@etiennebarrie
][])- #9731: Fix two autocorrection issues for
Style/NegatedIfElseCondition
. ([@dvandersluis
][])- #9740: Fix an incorrect auto-correct for
Style/SingleLineMethods
when defining setter method. ([@koic
][])- #9757: Fix a false positive for
Lint/NumberConversion
when:to_f
is one of multiple method arguments. ([@koic
][])- #9761: Fix
Style/ClassAndModuleChildren
false negative forcompact
style when a class/module is partially nested. ([@dvandersluis
][])- #9748: Prevent infinite loops during symlink traversal. ([
@Tonkpils
][])- #9762: Update
VariableForce
to be able to handlecase-match
nodes. ([@dvandersluis
][])- #9729: Fix an error for
Style/IfUnlessModifier
when variable assignment is used in the branch body of if modifier. ([@koic
][])- #9750: Fix an incorrect auto-correct for
Style/SoleNestedConditional
when when using nestedif
withinunless foo == bar
. ([@koic
][])- #9751:
Style/StringLiteral
autocorrects'\\'
into"\\"
. ([@etiennebarrie
][])- #9732: Support deprecated Socket.gethostbyaddr and Socket.gethostbyname. ([
@AndreiEres
][])- #9713: Fix autocorrection for block local variables in
Lint/UnusedBlockArgument
. ([@tejasbubane
][])- #9746: Fix a false positive for
Lint/UnreachableLoop
when using conditionalnext
in a loop. ([@koic
][])
Commits
-
2283fe4
Cut 1.14 -
9421ac0
Update Changelog -
762655e
[Fix #7669] Add Bundler/GemVersion cop (#9727) -
8384d34
[Fix #9761] FixStyle/ClassAndModuleChildren
false negative forcompact
s... -
d0df484
Merge pull request #9764 from dvandersluis/issue/9762 -
8f00479
[Fix #9762] UpdateVariableForce
to be able to handlecase-match
nodes. -
c165e90
Don't autocorrect global variable interpolation -
c5f7dd6
Autocorrect '\' when double-quotes are preferred -
22274c6
Prevent infinite loops during symlink traversal -
2c39d51
Add changelog - Additional commits viewable in compare view
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)