dep: bump rubocop from 1.40.0 to 1.41.0
Bumps rubocop from 1.40.0 to 1.41.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.41
New features
- #11305: Add new
Style/RedundantDoubleSplatHashBraces
cop. (@koic
)- #10812: New AllowMultilineFinalElement option for all LineBreaks cops. (
@Korri
)- #11277: Add new
Style/ConcatArrayLiterals
cop. (@koic
)Bug fixes
- #11255: Fix an error for
Style/RequireOrder
whenrequire
with no arguments is put betweenrequire
. (@ydah
)- #11273: Fix a false positive for
Lint/DuplicateMethods
when there are samealias_method
name outsiderescue
orensure
scopes. (@koic
)- #11267: Fix an error for Style/RequireOrder when modifier conditional is used between
require
. (@ydah
)- #11254: Fix an error for
Style/RequireOrder
whenrequire
is a method argument. (@koic
)- #11266: Fix a false positive for
Style/RedundantConstantBase
when enablingLint/ConstantResolution
. (@koic
)- #11296: Fix an error for
Lint/NonAtomicFileOperation
when use file existence checks line breakunless
by postfix before creating file. (@koic
)- #11284: Fix an incorrect autocorrect for
Style/WordArray
when assigning%w()
array. (@koic
)- #11299: Fix
base_dir
inTargetFinder#find_files()
. (@dukaev
)- #11250: Fix an error for
Style/GuardClause
when a method call whose last argument is not a string is in the condition body. (@ydah
)- #11298: Fix
Lint/SafeNavigationChain
to correctly handle[]
operator followed by save navigation and method chain. (@fatkodima
)- #11256: Fix an incorrect autocorrect for
Style/HashSyntax
when without parentheses call expr follows after multiple keyword arguments method call. (@koic
)- #11289: Correctly detect Rails version when using only parts of the framework, instead of the "rails" gem. (
@bdewater
)- #11262: Fix an error for
Style/IfUnlessModifier
when the body is a method call with hash splat. (@fatkodima
)- #11281: Fix
NoMethodError
forStyle/Documentation
when a class nested under non-constant values. (@arika
)Changes
Changelog
Sourced from rubocop's changelog.
1.41.0 (2022-12-20)
New features
- #11305: Add new
Style/RedundantDoubleSplatHashBraces
cop. ([@koic
][])- #10812: New AllowMultilineFinalElement option for all LineBreaks cops. ([
@Korri
][])- #11277: Add new
Style/ConcatArrayLiterals
cop. ([@koic
][])Bug fixes
- #11255: Fix an error for
Style/RequireOrder
whenrequire
with no arguments is put betweenrequire
. ([@ydah
][])- #11273: Fix a false positive for
Lint/DuplicateMethods
when there are samealias_method
name outsiderescue
orensure
scopes. ([@koic
][])- #11267: Fix an error for Style/RequireOrder when modifier conditional is used between
require
. ([@ydah
][])- #11254: Fix an error for
Style/RequireOrder
whenrequire
is a method argument. ([@koic
][])- #11266: Fix a false positive for
Style/RedundantConstantBase
when enablingLint/ConstantResolution
. ([@koic
][])- #11296: Fix an error for
Lint/NonAtomicFileOperation
when use file existence checks line breakunless
by postfix before creating file. ([@koic
][])- #11284: Fix an incorrect autocorrect for
Style/WordArray
when assigning%w()
array. ([@koic
][])- #11299: Fix
base_dir
inTargetFinder#find_files()
. ([@dukaev
][])- #11250: Fix an error for
Style/GuardClause
when a method call whose last argument is not a string is in the condition body. ([@ydah
][])- #11298: Fix
Lint/SafeNavigationChain
to correctly handle[]
operator followed by save navigation and method chain. ([@fatkodima
][])- #11256: Fix an incorrect autocorrect for
Style/HashSyntax
when without parentheses call expr follows after multiple keyword arguments method call. ([@koic
][])- #11289: Correctly detect Rails version when using only parts of the framework, instead of the "rails" gem. ([
@bdewater
][])- #11262: Fix an error for
Style/IfUnlessModifier
when the body is a method call with hash splat. ([@fatkodima
][])- #11281: Fix
NoMethodError
forStyle/Documentation
when a class nested under non-constant values. ([@arika
][])Changes
Commits
-
19d8feb
Cut 1.41 -
5545762
Update Changelog -
c055b39
MakeStyle/IfWithSemicolon
aware of one line withoutelse
body -
4661caf
[Fix #11267] Fix an error for Style/RequireOrder when modifier conditional is... -
8d0f750
Mark as private for YARD -
a143510
Allow extensions inject their defaults -
0732939
Add newStyle/RedundantDoubleSplatBrackets
cop -
e41543d
FixLint/SafeNavigationChain
to correctly handle[]
operator followed by ... -
2dc325c
More rubocop optimizations -
6c7bec0
Merge pull request #11301 from fatkodima/memory_profiler-file - 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 |
+-------------+--------+--------+---------+-------+-------+--------+
| controllers | 25 | 0 | 0 | 0 | 25 | ✅ |
| services | 181 | 0 | 0 | 0 | 181 | ✅ |
| jobs | 14 | 0 | 0 | 0 | 14 | ✅ |
| models | 4 | 0 | 0 | 0 | 4 | ✅ |
| system | 10 | 0 | 0 | 0 | 10 | ✅ |
| tasks | 9 | 0 | 0 | 0 | 9 | ✅ |
+-------------+--------+--------+---------+-------+-------+--------+
| Total | 243 | 0 | 0 | 0 | 243 | ✅ |
+-------------+--------+--------+---------+-------+-------+--------+
Edited by George Koltsov