Update rubocop requirement from ~> 1.30.1 to >= 1.30.1, < 1.34.0
Created by: dependabot[bot]
Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop 1.33
Bug fixes
- #10830: Fix an incorrect autocorrect for
Layout/FirstArgumentIndentation
when specifyingEnforcedStyle: with_fixed_indentation
ofLayout/ArgumentAlignment
andEnforcedStyle: consistent
ofLayout/FirstArgumentIndentation
and enablingLayout/FirstMethodArgumentLineBreak
. (@koic
)- #10825: Fix an incorrect autocorrect for
Style/ClassAndModuleChildren
when using nested one-liner class. (@koic
)- #10843: Fix a false positive for
Style/HashExcept
when usingreject
and callinginclude?
method with symbol array and second block value. (@koic
)- #10853: Fix an autocorrect for
Style/RedundantSort
with logical operator. (@ydah
)- #10842: Make server mode aware of
CacheRootDirectory
config option value,RUBOCOP_CACHE_ROOT
, andXDG_CACHE_HOME
environment variables. (@koic
)- #10833: Fix an incorrect autocorrect for
Style/RedundantCondition
when branches contains arithmetic operation. (@koic
)- #10864: Fix a false positive for
Style/SymbolProc
when usingHash#reject
. (@koic
)- #10771: Make server mode aware of
--cache-root
command line option. (@koic
)- #10831: Fix an error when using
changed_parameters
in obsoletion.yml by external library. (@koic
)- #10850: Fix
Style/ClassEqualityComparison
autocorrection within module. (@r7kamura
)- #10832: Fix an incorrect autocorrect for
Layout/BlockEndNewline
when multiline block}
is not on its own line and using heredoc argument. (@koic
)Changes
Changelog
Sourced from rubocop's changelog.
1.33.0 (2022-08-04)
Bug fixes
- #10830: Fix an incorrect autocorrect for
Layout/FirstArgumentIndentation
when specifyingEnforcedStyle: with_fixed_indentation
ofLayout/ArgumentAlignment
andEnforcedStyle: consistent
ofLayout/FirstArgumentIndentation
and enablingLayout/FirstMethodArgumentLineBreak
. ([@koic
][])- #10825: Fix an incorrect autocorrect for
Style/ClassAndModuleChildren
when using nested one-liner class. ([@koic
][])- #10843: Fix a false positive for
Style/HashExcept
when usingreject
and callinginclude?
method with symbol array and second block value. ([@koic
][])- #10853: Fix an autocorrect for
Style/RedundantSort
with logical operator. ([@ydah
][])- #10842: Make server mode aware of
CacheRootDirectory
config option value,RUBOCOP_CACHE_ROOT
, andXDG_CACHE_HOME
environment variables. ([@koic
][])- #10833: Fix an incorrect autocorrect for
Style/RedundantCondition
when branches contains arithmetic operation. ([@koic
][])- #10864: Fix a false positive for
Style/SymbolProc
when usingHash#reject
. ([@koic
][])- #10771: Make server mode aware of
--cache-root
command line option. ([@koic
][])- #10831: Fix an error when using
changed_parameters
in obsoletion.yml by external library. ([@koic
][])- #10850: Fix
Style/ClassEqualityComparison
autocorrection within module. ([@r7kamura
][])- #10832: Fix an incorrect autocorrect for
Layout/BlockEndNewline
when multiline block}
is not on its own line and using heredoc argument. ([@koic
][])Changes
- #10841: Don't hash shared libraries for cache key. ([
@ChrisBr
][])- #10862: Add autocorrection to
Lint/EmptyConditionalBody
. ([@dvandersluis
][])- #10829: Deprecate
IgnoredMethods
option in favor of theAllowedMethods
andAllowedPatterns
options. ([@ydah
][])1.32.0 (2022-07-21)
New features
- #10820: Add new
Style/EmptyHeredoc
cop. ([@koic
][])- #10691: Add new
Layout/MultilineMethodParameterLineBreaks
cop. ([@Korri
][])- #10790: Support
AllowComments
option forStyle/EmptyElse
. ([@ydah
][])- #10792: Add new
Lint/RequireRangeParentheses
cop. ([@koic
][])- #10692: Break long method definitions when auto-correcting. ([
@Korri
][])Bug fixes
- #10824: Make
Lint/DeprecatedClassMethods
aware ofENV.clone
andENV.dup
. ([@koic
][])- #10788: Relax
Style/FetchEnvVar
to allowENV[]
in LHS of||
. ([@j-miyake
][])- #10813: Fix recursive deletion to suppression in
Lint/NonAtomicFileOperation
. ([@ydah
][])- #10791: Fix an incorrect autocorrect for
Style/Semicolon
when using endless range before semicolon. ([@koic
][])- #10781: Fix a suggestions for safer conversions for
Lint/NonAtomicFileOperation
. ([@ydah
][])- #10263: Fix the value of
Enabled
leaking between configurations. ([@jonas054
][])Changes
- #10613: Allow autocorrecting with -P/--parallel and make it the default. ([
@jonas054
][])- Add EnforcedStyle (leading/trailing) configuration to
Layout::LineContinuationLeadingSpace
. ([@bquorning
][])- #10784: Preserve multiline semantics on
Style/SymbolArray
andStyle/WordArray
. ([@r7kamura
][])- #10814: Avoid buffering stdout when running in server mode. ([
@ccutrer
][])- #10817: Add autocorrect support for
Style/SafeNavigationChain
. ([@r7kamura
][])- #10810: Support safe navigation operator on
Style/SymbolProc
. ([@r7kamura
][])- #10803: Require RuboCop AST 1.9.1 or higher. ([
@koic
][])
... (truncated)
Commits
-
a9cef6d
Cut 1.33 -
70e901d
Update Changelog -
3290bef
Rewrite documentation forNaming/PredicateName
to better clarify its config... -
cbe9248
Add autocorrection toLint/EmptyConditionalBody
. -
45bb2bd
[Fix #10864] Fix a false positive forStyle/SymbolProc
-
382761c
Merge pull request #10841 from ChrisBr/cbruckmayer/fix-cache -
982159c
Merge pull request #10860 from dvandersluis/doc/lint/debugger -
7901305
Update documentation forLint/Debugger
. -
1839d17
Don't hash shared libraries for cache key -
6b6d554
[Fix #10842] Make server mode aware ofCacheRootDirectory
and two env vars ... - 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)