development-dependency: bump rubocop from 1.19.1 to 1.20.0
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 commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot rebase
will rebase this MR -
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts