Bump rubocop from 1.24.0 to 1.24.1
Bumps rubocop from 1.24.0 to 1.24.1.
Release notes
Sourced from rubocop's releases.
RuboCop 1.24.1
Bug fixes
- #10313: Fix autocorrect
Style/MapToHash
with multiline code. (@tejasbubane
)- #10251: Fix an incorrect autocorrect for
Gemspec/RequireMFA
when .gemspec file containsmetadata
keys assignments. (@fatkodima
)- #10329: Fix a false positive for
Lint/ParenthesesAsGroupedExpression
and an incorrect autocorrect for the cop withStyle/TernaryParentheses
when using ternary expression as a first argument. (@koic
)- #10317: Fix a false positive for
Style/MethodCallWithArgsParentheses
when using hash value omission. (@koic
)- #10333: Fix an incorrect autocorrect for
Naming/BlockForwarding
using explicit block forwarding without method definition parentheses. (@koic
)- #10321: Make
Style/MethodDefParentheses
aware of Ruby 3.1's anonymous block forwarding. (@koic
)- #10320: Fix an incorrect autocorrect for
Style/FileWrite
when using heredoc argument. (@koic
)- #10319: Require rubocop-ast 1.15.1 to fix a false positive for
Style/CombinableLoop
when the same method with different arguments and safe navigation. (@koic
)
Changelog
Sourced from rubocop's changelog.
1.24.1 (2021-12-31)
Bug fixes
- #10313: Fix autocorrect
Style/MapToHash
with multiline code. ([@tejasbubane
][])- #10251: Fix an incorrect autocorrect for
Gemspec/RequireMFA
when .gemspec file containsmetadata
keys assignments. ([@fatkodima
][])- #10329: Fix a false positive for
Lint/ParenthesesAsGroupedExpression
and an incorrect autocorrect for the cop withStyle/TernaryParentheses
when using ternary expression as a first argument. ([@koic
][])- #10317: Fix a false positive for
Style/MethodCallWithArgsParentheses
when using hash value omission. ([@koic
][])- #10333: Fix an incorrect autocorrect for
Naming/BlockForwarding
using explicit block forwarding without method definition parentheses. ([@koic
][])- #10321: Make
Style/MethodDefParentheses
aware of Ruby 3.1's anonymous block forwarding. ([@koic
][])- #10320: Fix an incorrect autocorrect for
Style/FileWrite
when using heredoc argument. ([@koic
][])- #10319: Require rubocop-ast 1.15.1 to fix a false positive for
Style/CombinableLoop
when the same method with different arguments and safe navigation. ([@koic
][])
Commits
-
0c0bee1
Cut 1.24.1 -
b864ea3
Update Changelog -
ced2bbd
Fix an incorrect autocorrect forNaming/BlockForwarding
-
dc4ce59
Remove dead SemVer compatibility badge -
41234cb
[Fix #10329] Fix a false positive forLint/ParenthesesAsGroupedExpression
-
5290c6e
Fix an incorrect autocorrect forGemspec/RequireMFA
when .gemspec file cont... -
6821569
[Fix #10321] MakeStyle/MethodDefParentheses
aware of anonymous block forwa... -
883bf10
[Fix #10317] Fix a false positive forStyle/MethodCallWithArgsParentheses
-
8ce1e7c
Usecall
instead of{send csend}
fordef_node_matcher
-
3ffa2bc
Merge pull request #10326 from koic/use_cimg_instead_of_deprecated_circleci_i... - 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