Update rubocop 1.62.0 → 1.62.1 (patch) #240
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop (1.62.0 → 1.62.1) · Repo · Changelog
Release Notes
1.62.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 38 commits:
Cut 1.62.1
Update Changelog
Fix an error for `Lint/UselessTimes` when no block is present
Fix an infinite loop for `Style/RaiseArgs` with `EnforcedStyle: compact` when passing than 2 arguments to `raise`
Merge pull request #12771 from Earlopain/node-matcher-directive-followup
Merge pull request #12773 from Earlopain/fix-error-for-style-for
Merge pull request #12772 from Earlopain/fix-error-for-style-class-vars
Fix an error for `Style/For` with `EnforcedStyle: for` when no receiver
Fix an error for `Style/ClassVars` when calling `class_variable_set` without arguments
Merge pull request #12770 from Earlopain/fix-an-error-for-lint-redundant-with-index
Merge pull request #12768 from Earlopain/fix-false-positive-for-style-nil-comparison
Fix a wrong offense message for `InternalAffairs/NodeMatcherDirective`
Fix a false positive for `Style/NilComparison` without receiver
Fix an error for `Lint/RedundantWithIndex` when there is no receiver
Fix an infinite loop for `Style/MultilineMethodSignature` when line break after def
Merge pull request #12765 from Earlopain/fix-an-error-for-layout-multiline-method-call-indentation
Merge pull request #12764 from Earlopain/false-negative-for-layout-empty-line-after-magic-comment
Fix an error for `Layout/MultilineMethodCallIndentation` with safe navigation and assignment method
[Fix #12710] Fix a false negative for `Layout/EmptyLineAfterMagicComment` when the file is comments only
[Docs] Tweak the Prism docs
[Fix #12758] Fix false positives for `Layout/RedundantLineBreak`
Merge pull request #12760 from Earlopain/fix-12663
[Fix #12761] Fix a false positive for `Style/HashEachMethods`
Merge pull request #12753 from Earlopain/fix-12665
[Fix #12665] Fix infinite loop for `InternalAffairs/NodeMatcherDirective` with class methods
[Fix #12663] Prevent `Lint/Syntax` being disabled by directive comments
Fix an incorrect issue number of Prism
[Docs] Expand a bit the history section
Skip `LineLength` phase on `--auto-gen-only-exclude`
Expand configuration docs re: finding target Ruby in *.gemspec file
Only parse target Ruby from gemspec if array elements are strings
Merge pull request #12755 from viralpraxis/fix-redundant-current-directory-in-path-cop-failure-on-require-relative-without-arguments
Fix `RedundantCurrentDirectoryInPath` cop exception
Merge pull request #12752 from Earlopain/error-required-ruby-version
Merge pull request #12751 from Earlopain/fix-12703
Fix an error for `Gemspec/RequiredRubyVersion` when the file is empty
[Fix #12703] Fix an error for `Lint/MixedCaseRange` with invalid byte sequence in UTF-8
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