dep: bump rubocop from 1.34.1 to 1.35.0
Bumps rubocop from 1.34.1 to 1.35.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.35
New features
- #9364: Add
Style/MagicCommentFormat
cop. (@dvandersluis
,@mattbearman
)- #10776: New option (
consistent
) forEnforcedShorthandSyntax
inStyle/HashSyntax
to avoid mixing shorthand and non-shorthand hash keys in ruby 3.1. (@h-lame
)Bug fixes
- #10899: Fix an error for
Lint/ShadowingOuterLocalVariable
when the same variable name as a block variable is used in return value assignment ofif
. (@koic
)- #10916: Fix an error when .rubocop.yml is empty. (
@koic
)- #10915: Fix numblock support to
Layout/BlockAlignment
,Layout/BlockEndNewline
,Layout/EmptyLinesAroundAccessModifier
,Layout/EmptyLinesAroundBlockBody
,Layout/IndentationWidth
,Layout/LineLength
,Layout/MultilineBlockLayout
,Layout/SpaceBeforeBlockBraces
,Lint/NextWithoutAccumulator
,Lint/NonDeterministicRequireOrder
,Lint/RedundantWithIndex
,Lint/RedundantWithObject
,Lint/UnreachableLoop
,Lint/UselessAccessModifier
,Lint/Void
,Metrics/AbcSize
,Metrics/CyclomaticComplexity
,Style/CollectionMethods
,Style/CombinableLoops
,Style/EachWithObject
,Style/For
,Style/HashEachMethods
,Style/InverseMethods
,Style/MethodCalledOnDoEndBlock
,Style/MultilineBlockChain
,Style/Next
,Style/ObjectThen
,Style/Proc
,Style/RedundantBegin
,Style/RedundantSelf
,Style/RedundantSortBy
andStyle/TopLevelMethodDefinition
. (@gsamokovarov
)- #10895: Fix incorrect autocomplete in
Style/RedundantParentheses
when a heredoc is used in an array. (@dvandersluis
)- #10909: Fix loading behavior on running without
bundle exec
. (@r7kamura
)- #10913: Make
Style/ArgumentsForwarding
aware of anonymous block argument. (@koic
)- #10911: Fix Style/ClassMethodsDefinitions for non-self receivers. (
@sambostock
)Changes
- #10915: Depend on rubocop-ast 1.20.1 for numblocks support in #macro?. (
@gsamokovarov
)
Changelog
Sourced from rubocop's changelog.
1.35.0 (2022-08-12)
New features
- #9364: Add
Style/MagicCommentFormat
cop. ([@dvandersluis
][], [@mattbearman
][])- #10776: New option (
consistent
) forEnforcedShorthandSyntax
inStyle/HashSyntax
to avoid mixing shorthand and non-shorthand hash keys in ruby 3.1. ([@h-lame
][])Bug fixes
- #10899: Fix an error for
Lint/ShadowingOuterLocalVariable
when the same variable name as a block variable is used in return value assignment ofif
. ([@koic
][])- #10916: Fix an error when .rubocop.yml is empty. ([
@koic
][])- #10915: Fix numblock support to
Layout/BlockAlignment
,Layout/BlockEndNewline
,Layout/EmptyLinesAroundAccessModifier
,Layout/EmptyLinesAroundBlockBody
,Layout/IndentationWidth
,Layout/LineLength
,Layout/MultilineBlockLayout
,Layout/SpaceBeforeBlockBraces
,Lint/NextWithoutAccumulator
,Lint/NonDeterministicRequireOrder
,Lint/RedundantWithIndex
,Lint/RedundantWithObject
,Lint/UnreachableLoop
,Lint/UselessAccessModifier
,Lint/Void
,Metrics/AbcSize
,Metrics/CyclomaticComplexity
,Style/CollectionMethods
,Style/CombinableLoops
,Style/EachWithObject
,Style/For
,Style/HashEachMethods
,Style/InverseMethods
,Style/MethodCalledOnDoEndBlock
,Style/MultilineBlockChain
,Style/Next
,Style/ObjectThen
,Style/Proc
,Style/RedundantBegin
,Style/RedundantSelf
,Style/RedundantSortBy
andStyle/TopLevelMethodDefinition
. ([@gsamokovarov
][])- #10895: Fix incorrect autocomplete in
Style/RedundantParentheses
when a heredoc is used in an array. ([@dvandersluis
][])- #10909: Fix loading behavior on running without
bundle exec
. ([@r7kamura
][])- #10913: Make
Style/ArgumentsForwarding
aware of anonymous block argument. ([@koic
][])- #10911: Fix Style/ClassMethodsDefinitions for non-self receivers. ([
@sambostock
][])Changes
- #10915: Depend on rubocop-ast 1.20.1 for numblocks support in #macro?. ([
@gsamokovarov
][])
Commits
-
4c16de9
Cut 1.35 -
4f3d100
Update Changelog -
4a59941
Single changelog entry for the block cops without numblock fixes -
1c006d1
Fix Style/HashEachMethods with numblock -
460d20f
Fix Style/EachWithObject with numblocks -
06c2402
Fix Style/CollectionMethods with numblocks -
73916ed
Fix Style/InverseMethods with numblocks -
4293be4
Fix Style/RedundantSortBy with numblocks -
9853374
Fix Style/RedundantBegin with numblocks -
0a34e26
Fix Style/RedundantSelf with numblocks - 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 | 174 | 0 | 0 | 0 | 174 | ✅ |
| controllers | 25 | 0 | 0 | 0 | 25 | ✅ |
| models | 4 | 0 | 0 | 0 | 4 | ✅ |
| system | 10 | 0 | 0 | 0 | 10 | ✅ |
| jobs | 14 | 0 | 0 | 0 | 14 | ✅ |
| tasks | 9 | 0 | 0 | 0 | 9 | ✅ |
+-------------+--------+--------+---------+-------+-------+--------+
| Total | 236 | 0 | 0 | 0 | 236 | ✅ |
+-------------+--------+--------+---------+-------+-------+--------+
Edited by George Koltsov