#11386: Fix a false positive for Style/OperatorMethodCall when using anonymous forwarding. (@koic)
#11409: Fix an incorrect autocorrect for Style/HashSyntax when using hash value omission and EnforcedStyle: no_mixed_keys. (@koic)
#11405: Fix undefined method `range_between' for Style/WhileUntilModifier. (@such)
#11374: Fix an error for Style/StringHashKeys when using invalid symbol in encoding UTF-8 as keys. (@koic)
#11392: Fix an incorrect autocorrect for Style/RedundantDoubleSplatHashBraces using double splat in double splat hash braces. (@koic)
#8990: Make Style/HashEachMethods aware of built-in Thread.current. (@koic)
#11390: Fix an incorrect autocorrect for Style/HashSyntax when hash first argument key and hash value only are the same which has a method call on the next line. (@koic)
#11379: Fix a false negative for Style/OperatorMethodCall when using a.+ b.something. (@koic)
#11180: Fix an error for Style/RedundantRegexpEscape when using %r to provide regexp expressions. (@si-lens)
#11403: Fix bad offense for parenthesised calls in literals for omit_parentheses style in Style/MethodCallWithArgsParentheses. (@gsamokovarov)
#11407: Fix an error for Style/HashSyntax when expression follows hash key assignment. (@fatkodima)
#11377: Fix Style/OperatorMethodCall when forwarding arguments. (@sambostock)
Changes
#11382: Require unicode-display_width 2.4.0 or higher. (@fatkodima)
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.40.0 → ~> 1.43.0) · Repo · Changelog
Release Notes
1.43.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 33 commits:
Cut 1.43
Update Changelog
Add autocorrect for `Style/MissingElse`
[Fix #11303] Make `Metrics/ParameterLists` aware of `Struct.new` and `Data.define` blocks
[Fix #11409] Fix an incorrect autocorrect for `Style/HashSyntax`
[Fix #8990] Make `Style/HashEachMethods` aware of `Thread.current`
Fix an error for `Style/HashSyntax` when expression follows hash key assignment
Merge pull request #11406 from sorare/11405
[Fix #11405] Fix Style/WhileUntilModifier with ruby 3.1
Merge pull request #11403 from gsamokovarov/omit-parentheses-call-with-block-in-literal
Fix bad offense for parenthesised calls in literals
Merge pull request #11395 from si-lens/fix_redundant_regexp_escape_bug
[Fix rubocop#11180] Fix redundant_regex_escape.rb bug
Use concurrency for GitHub Actions workflow
Merge pull request #11392 from koic/fix_an_incorrect_autocorrect_for_style_redundant_double_splat_hash_braces
Merge pull request #11391 from koic/fix_an_incorrect_autocorrect_for_style_hash_syntax
Fix an incorrect autocorrect for `Style/RedundantDoubleSplatHashBraces`
[Fix #11390] Fix an incorrect autocorrect for `Style/HashSyntax`
Merge pull request #11386 from koic/fix_a_false_positive_for_style_operator_method_call
Add new `Lint/UselessRescue` cop
Fix a false positive for `Style/OperatorMethodCall`
Disable `Style/YodaExpression` by default
Optimize `ClangStyleFormatter`
Require `unicode-display_width` 2.4.0 or higher
Improve generated changelog filenames
Merge pull request #11379 from koic/fix_a_false_negative_for_style_operator_method_call
Require Parser 3.2.0.0 or higher
Fix a false negative for `Style/OperatorMethodCall`
Merge pull request #11378 from sambostock/operator-method-call-ellipsis
Fix OperatorMethodCall when forwarding arguments
Merge pull request #11374 from koic/fix_an_error_for_style_string_hash_keys
Fix an error for `Style/StringHashKeys`
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