Bump rubocop from 1.19.1 to 1.20.0
Created by: dependabot[bot]
Bumps rubocop from 1.19.1 to 1.20.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.20
New features
- #10040: Make
Lint/Debugger
aware of debug.rb. (@koic
)- #9580: Add a new cop that enforces which bundler gem file to use. (
@gregfletch
)Bug fixes
- #10033: Fix an incorrect auto-correct for
Style/BlockDelimiters
when there is a comment after the closing brace and using method chanin. (@koic
)- #6630: Updated
Style/CommentAnnotation
to be able to handle multiword keyword phrases. (@dvandersluis
)- #7836: Update
Style/BlockDelimeters
to addbegin
...end
when converting a block containingrescue
orensure
to braces. (@dvandersluis
)- #10031: Fix a false positive for
Style/HashExcept
when comparing with hash value. (@koic
)Changes
- #10034: Add
RubyJard
debugger calls to Lint/Debugger/DebuggerMethods. (@DanielVartanov
)- #10006: Interpolated string literals are no longer frozen since Ruby 3.0. (
@splattael
)- #9328: Recognize shareable_constant_value magic comment. (
@thearjunmdas
,@caalberts
)- #10036: Mark
Style/StructInheritance
as unsafe auto-correction. (@koic
)
Changelog
Sourced from rubocop's changelog.
1.20.0 (2021-08-26)
New features
- #10040: Make
Lint/Debugger
aware of debug.rb. ([@koic
][])- #9580: Add a new cop that enforces which bundler gem file to use. ([
@gregfletch
][])Bug fixes
- #10033: Fix an incorrect auto-correct for
Style/BlockDelimiters
when there is a comment after the closing brace and using method chanin. ([@koic
][])- #6630: Updated
Style/CommentAnnotation
to be able to handle multiword keyword phrases. ([@dvandersluis
][])- #7836: Update
Style/BlockDelimeters
to addbegin
...end
when converting a block containingrescue
orensure
to braces. ([@dvandersluis
][])- #10031: Fix a false positive for
Style/HashExcept
when comparing with hash value. ([@koic
][])Changes
- #10034: Add
RubyJard
debugger calls to Lint/Debugger/DebuggerMethods. ([@DanielVartanov
][])- #10006: Interpolated string literals are no longer frozen since Ruby 3.0. ([
@splattael
][])- #9328: Recognize shareable_constant_value magic comment. ([
@thearjunmdas
][], [@caalberts
][])- #10036: Mark
Style/StructInheritance
as unsafe auto-correction. ([@koic
][])
Commits
-
536d986
Cut 1.20 -
6516c18
Update Changelog -
60552ea
Update a changelog entry -
baba941
[Fix #9580] Add New Cop to Enforce Bundler Gem filename (#9903) -
016838b
[Fix #7836] UpdateStyle/BlockDelimeters
to addbegin
...end
when conver... -
5ad72a1
Clarify relationship betweenLayout/MultilineMethodArgumentLineBreaks
and `... -
2bab715
[Fix #6630] UpdatedStyle/CommentAnnotation
to be able to handle multiword ... -
150f285
RefactorAnnotationComment
into an actual class representing an annotation ... -
9ff50d1
MakeLint/Debugger
aware of debug.rb -
7b0358f
[Fix #10031] Fix a false positive forStyle/HashExcept
- 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)