Update rubocop: 1.49.0 → 1.50.0 (minor)
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.49.0 → 1.50.0) · Repo · Changelog
Release Notes
1.50.0
New features
- #11749: Add new
Lint/DuplicateMatchPattern
cop. (@koic)- #11773: Make
Layout/ClassStructure
aware of singleton class. (@koic)- #11779: Make
Lint/RedundantStringCoercion
aware of print method arguments. (@koic)- #11776: Make
Metrics/ClassLength
aware of singleton class. (@koic)- #11775: Make
Style/TrailingBodyOnClass
aware of singleton class. (@koic)Bug fixes
- #11758: Fix a false positive for
Style/RedundantLineContinuation
when line continuations for string. (@koic)- #11754: Fix a false positive for
Style/RedundantLineContinuation
when using&&
and||
with a multiline condition. (@ydah)- #11765: Fix an error for
Style/MultilineMethodSignature
when line break afterdef
keyword. (@koic)- #11762: Fix an incorrect autocorrect for
Style/ClassEqualityComparison
when comparing a variable or return value for equality. (@koic)- #11752: Fix a false positive for
Style/RedundantLineContinuation
when using line concatenation and calling a method without parentheses. (@koic)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 27 commits:
Cut 1.50
Update Changelog
Make `Lint/RedundantStringCoercion` aware of print method arguments
Add specs for redundant `SafeAutoCorrect: true` and `AutoCorrect: true`
Use RuboCop 1.17.1+
Use RuboCop Performance 1.17
Make `Metrics/ClassLength` aware of singleton class
Merge pull request #11775 from koic/make_style_trailing_body_on_class_aware_of_singleton_class
Make `Style/TrailingBodyOnClass` aware of singleton class
Make `Style/ClassStructure` aware of singleton class
Fix typos
[Fix #11765] Fix an error for `Style/MultilineMethodSignature`
Merge pull request #11769 from ydah/style-file-empty-only-safe-false
Remove redundant `SafeAutoCorrect: false`
Rake task: Handle missing docs folder / TOC file
Rake task: Extract a `docs_path` variable
Use preferred methods instead deprecated methods for `AST::ProcessedSource`
[Fix #11762] Fix an incorrect autocorrect for `Style/ClassEqualityComparison`
[Fix #11758] Fix a false positive for `Style/RedundantLineContinuation`
Merge pull request #11752 from koic/fix_a_false_positive_for_style_redundant_line_continuation
Fix a false positive for `Style/RedundantLineContinuation`
Merge pull request #11754 from ydah/fix-false-positive-for-RedundantLineContinuation
Fix a false positive for `Style/RedundantLineContinuation` when using `&&` and `||` with a multiline condition.
Add new `Lint/DuplicateMatchPattern` cop
Move a changelog entry
Add missing changes to the changelog and the release notes (#11751)
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
- @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)