#11599: Fix a false positive for Layout/LineContinuationSpacing when using percent literals. (@koic)
#11556: Fix a false positive for Lint/Debugger when p is an argument of method call. (@koic)
#11591: Fix a false positive for Lint/ToEnumArguments when enumerator is not created for __callee__ and __callee__ methods. (@koic)
#11603: Actually run temporarily enabled cops. (@tdeo)
#11579: Fix an error for Layout/HeredocArgumentClosingParenthesis when heredoc is a method argument in a parenthesized block argument. (@koic)
#11576: Fix an error for Lint/UselessRescue when rescue does not exception variable and ensure has empty body. (@koic)
#11608: Fix an error for Lint/RefinementImportMethods when using include on the top level. (@koic)
#11589: Fix an error for Layout/HeredocArgumentClosingParenthesis when heredoc is a branch body in a method argument of a parenthesized argument. (@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.40.0 → ~> 1.46.0) · Repo · Changelog
Release Notes
1.46.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 44 commits:
Cut 1.46
Update Changelog
[Fix #11591] Fix a false positive for `Lint/ToEnumArguments`
Fix an error for `Layout/HeredocArgumentClosingParenthesis`
[Fix #11596] Make `Style/AccessorGrouping` aware of method call before accessor
Actually run temporarily enabled cops
Fix checking if token with large offset begins its line
Fix an error for `Lint/RefinementImportMethods`
Fix parentheses in value omissions for multiple assignments
Add new `InternalAffairs/ProcessedSourceBufferName` cop
[Fix #11604] Make `Naming/VariableNumber` to allow `x86_64` by default
Merge pull request #11599 from koic/fix_a_false_positive_for_layout_line_continuation_spacing
Merge pull request #11598 from fatkodima/optimize-name-similarity
Fix a false positive for `Layout/LineContinuationSpacing`
Cache similar name suggestions in `Lint/RedundantCopDisableDirective` cop
Remove comments in `Style/InverseMethods` for Rails
Tweak the doc for `Style/SlicingWithRange`
Optimize `Style/WordArray` complex matrix check
Merge pull request #11587 from fatkodima/documentation_method-ruby2_keywords
Handle `ruby2_keywords` in `Style/DocumentationMethod` cop
Merge pull request #11581 from maxh/patch-2
Remove irrelevant comments
[Fix 11412] Mark `Style/ArrayIntersect` as unsafe
Fix an error for `Layout/HeredocArgumentClosingParenthesis`
Merge pull request #11573 from fatkodima/out_of_range_regexp_ref-hashes-pins
Handle hash patterns and pins in `Lint/OutOfRangeRegexpRef` cop
Fix an error for `Lint/UselessRescue`
Fix a PR number in a changelog entry
Merge pull request #11574 from gsamokovarov/hash-syntax-extra-paren
Fix a broken shorthand syntax autocorrection
Restore a pending test for JRuby
Merge pull request #11568 from j-miyake/fix_end_alignment
[Fix #11567] Fix `Layout/EndAlignment` false negative
Merge pull request #11570 from andreaswachowski/fix-article-in-front-of-unary
Fix grammatical error in error message
Use `RuboCop::AST::Node#class_constructor?`
Merge pull request #11569 from koic/support_ruby_3_3_experimental
Support `TargetRubyVersion 3.3` (experimental)
Add contribution note for CHANGELOG.md
Remove print debug methods from default for `Lint/Debugger`
[Fix #11556] Fix a false positive for `Lint/Debugger`
Merge pull request #11559 from jaynetics/fix_octal_handling_in_regexp_char_classes
Fix octal handling in Regexp char classes ...
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