#10313: Fix autocorrect Style/MapToHash with multiline code. (@tejasbubane)
#10251: Fix an incorrect autocorrect for Gemspec/RequireMFA when .gemspec file contains metadata keys assignments. (@fatkodima)
#10329: Fix a false positive for Lint/ParenthesesAsGroupedExpression and an incorrect autocorrect for the cop with Style/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)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop (~> 1.22.0 → ~> 1.24.1) · Repo · Changelog
Release Notes
1.24.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 21 commits:
Cut 1.24.1
Update Changelog
Fix an incorrect autocorrect for `Naming/BlockForwarding`
Remove dead SemVer compatibility badge
[Fix #10329] Fix a false positive for `Lint/ParenthesesAsGroupedExpression`
Fix an incorrect autocorrect for `Gemspec/RequireMFA` when .gemspec file contains `metadata` keys assignments
[Fix #10321] Make `Style/MethodDefParentheses` aware of anonymous block forwarding
[Fix #10317] Fix a false positive for `Style/MethodCallWithArgsParentheses`
Use `call` instead of `{send csend}` for `def_node_matcher`
Merge pull request #10326 from koic/use_cimg_instead_of_deprecated_circleci_image
Merge pull request #10324 from koic/fix_a_false_positive_for_combinable_loop
Use `cimg/ruby` instead of deprecated `circleci/ruby` images
[Fix #10319] Fix a false positive for `Style/CombinableLoop`
[Fix #10320] Fix an incorrect autocorrect for `Style/FileWrite`
Merge pull request #10316 from koic/fix_an_error_for_internal_affairs_redundant_method_dispatch_node
Add `StyleGuide` for `Naming/BlockForwarding`
Fix an error for `InternalAffairs/RedundantMethodDispatchNode
Merge pull request #10315 from tejasbubane/fix-10313
Bump RuboCop Performance to 1.13
[Fix #10313] Fix autocorrect `Style/MapToHash` with multiline code
Switch back the docs version
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands