#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)
#11381: Require Parser 3.2.0.0 or higher. (@koic)
#11380: Disable Style/YodaExpression by default. (@koic)
#11303: Make Metrics/ParameterLists aware of Struct.new and Data.define blocks. (@koic)
#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][])
#11381: Require Parser 3.2.0.0 or higher. ([@koic][])
#11380: Disable Style/YodaExpression by default. ([@koic][])
#11303: Make Metrics/ParameterLists aware of Struct.new and Data.define blocks. ([@koic][])
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps rubocop from 1.30.0 to 1.43.0.
Release notes
Sourced from rubocop's releases.
... (truncated)
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
c311137
Cut 1.43d1e7287
Update Changelog2f29892
Add autocorrect forStyle/MissingElse
73a4121
[Fix #11303] MakeMetrics/ParameterLists
aware ofStruct.new
and `Data.de...46963bd
[Fix #11409] Fix an incorrect autocorrect forStyle/HashSyntax
1e5f19a
[Fix #8990] MakeStyle/HashEachMethods
aware ofThread.current
de30af8
Fix an error forStyle/HashSyntax
when expression follows hash key assignment52a448f
Merge pull request #11406 from sorare/114051ac1ce7
[Fix #11405] Fix Style/WhileUntilModifier with ruby 3.13ce55d0
Merge pull request #11403 from gsamokovarov/omit-parentheses-call-with-block-...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)