dep: bump rubocop from 1.38.0 to 1.39.0
Bumps rubocop from 1.38.0 to 1.39.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.39
New features
- #11091: Add autocorrect for
Layout/LineContinuationLeadingSpace
. (@FnControlOption
)Bug fixes
- #11150: Improve
Style/RedundantRegexpEscape
to catch unnecessarily escaped hyphens within a character class. (@si-lens
)- #11168: Fix an incorrect autocorrect for
Style/ClassEqualityComparison
when using instance variable comparison in module. (@koic
)- #11176: Fix a false positive cases for
Lint/DuplicateMethods
when using duplicate nested method. (@koic
)- #11164: Suppress "RuboCop server starting..." message with
--server --format json
. (@koic
)- #11156: Fix
Style/OperatorMethodCall
autocorrection when operators are chained. (@gsamokovarov
)- #11139: Fix a false negative for
Style/HashEachMethods
when using each with a symbol proc argument. (@ydah
)- #11161: Fix a false positive for
Style/HashAsLastArrayItem
when using double splat operator. (@koic
)- #11151: Fix a false positive for
Lint/SuppressedException
. (@akihikodaki
)- #11123: Fix autocorrection bug for
Style/StringLiterals
when using multiple escape characters. (@si-lens
)- #11165: Fix a false positive for
Style/RedundantEach
when any method is used between methods containingeach
in the method name. (@koic
)- #11177: Fix a false positive for
Style/ObjectThen
cop with TargetRubyVersion < 2.6. (@epaew
)- #11173: Fix an incorrect autocorrect for
Style/CollectionCompact
when usingreject
with block pass arg and no parentheses. (@koic
)- #11137: Fix a false positive for
Style/RedundantEach
when using a symbol proc argument. (@ydah
)- #11142: Fix
Style/RedundantEach
for non-chainedeach_
calls. (@fatkodima
)Changes
- #11130: Check blank percent literal by
Layout/SpaceInsidePercentLiteralDelimiters
. (@r7kamura
)- #11163: Mark
Style/HashExcept
as unsafe. (@r7kamura
)- #11171: Support inline visibility definition on checking visibility. (
@r7kamura
)- #11158: Add
if
to allowed names list for MethodParameterName. (@okuramasafumi
)
Changelog
Sourced from rubocop's changelog.
1.39.0 (2022-11-14)
New features
- #11091: Add autocorrect for
Layout/LineContinuationLeadingSpace
. ([@FnControlOption
][])Bug fixes
- #11150: Improve
Style/RedundantRegexpEscape
to catch unnecessarily escaped hyphens within a character class. ([@si-lens
][])- #11168: Fix an incorrect autocorrect for
Style/ClassEqualityComparison
when using instance variable comparison in module. ([@koic
][])- #11176: Fix a false positive cases for
Lint/DuplicateMethods
when using duplicate nested method. ([@koic
][])- #11164: Suppress "RuboCop server starting..." message with
--server --format json
. ([@koic
][])- #11156: Fix
Style/OperatorMethodCall
autocorrection when operators are chained. ([@gsamokovarov
][])- #11139: Fix a false negative for
Style/HashEachMethods
when using each with a symbol proc argument. ([@ydah
][])- #11161: Fix a false positive for
Style/HashAsLastArrayItem
when using double splat operator. ([@koic
][])- #11151: Fix a false positive for
Lint/SuppressedException
. ([@akihikodaki
][])- #11123: Fix autocorrection bug for
Style/StringLiterals
when using multiple escape characters. ([@si-lens
][])- #11165: Fix a false positive for
Style/RedundantEach
when any method is used between methods containingeach
in the method name. ([@koic
][])- #11177: Fix a false positive for
Style/ObjectThen
cop with TargetRubyVersion < 2.6. ([@epaew
][])- #11173: Fix an incorrect autocorrect for
Style/CollectionCompact
when usingreject
with block pass arg and no parentheses. ([@koic
][])- #11137: Fix a false positive for
Style/RedundantEach
when using a symbol proc argument. ([@ydah
][])- #11142: Fix
Style/RedundantEach
for non-chainedeach_
calls. ([@fatkodima
][])Changes
- #11130: Check blank percent literal by
Layout/SpaceInsidePercentLiteralDelimiters
. ([@r7kamura
][])- #11163: Mark
Style/HashExcept
as unsafe. ([@r7kamura
][])- #11171: Support inline visibility definition on checking visibility. ([
@r7kamura
][])- #11158: Add
if
to allowed names list for MethodParameterName. ([@okuramasafumi
][])
Commits
-
6bdf42b
Cut 1.39 -
a0ecf1b
Update Changelog -
d6345ac
Merge pull request #11177 from epaew/bugfix/style/object_then -
b13c21a
Fix a false positive forStyle/ObjectThen
cop with TargetRubyVersion < 2.6 -
3f3c829
Fix a false positive forLint/DuplicateMethods
-
31720ce
[Fix #11150] Improve redundant_regex_escape.rb -
57e7c45
Merge pull request #11144 from si-lens/fix_auto_correction_bug_for_Style/Stri... -
45da59a
[Fix #11123 ] Fix auto correction bug for Style/StringLiterals -
7b265aa
[Fix #11173] Fix an incorrect autocorrect forStyle/CollectionCompact
-
dfb1ca5
Add autocorrect forLayout/LineContinuationLeadingSpace
- 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
Allure report
allure-report-publisher
generated test report!
rspec:
+------------------------------------------------------------------+
| behaviors summary |
+-------------+--------+--------+---------+-------+-------+--------+
| | passed | failed | skipped | flaky | total | result |
+-------------+--------+--------+---------+-------+-------+--------+
| services | 181 | 0 | 0 | 0 | 181 | ✅ |
| jobs | 14 | 0 | 0 | 0 | 14 | ✅ |
| tasks | 9 | 0 | 0 | 0 | 9 | ✅ |
| models | 4 | 0 | 0 | 0 | 4 | ✅ |
| controllers | 25 | 0 | 0 | 0 | 25 | ✅ |
| system | 10 | 0 | 0 | 0 | 10 | ✅ |
+-------------+--------+--------+---------+-------+-------+--------+
| Total | 243 | 0 | 0 | 0 | 243 | ✅ |
+-------------+--------+--------+---------+-------+-------+--------+
Edited by George Koltsov