Update rubocop 1.52.1 → 1.53.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.52.1 → 1.53.0) · Repo · Changelog
Release Notes
1.53.0
New features
- #11561: Add new
Lint/MixedCaseRange
cop. (@rwstauner)- #11565: Add new
Lint/RedundantRegexpQuantifiers
cop. (@jaynetics)- #11925: Add new
Style/RedundantCurrentDirectoryInPath
cop. (@koic)- #11595: Add new
Style/RedundantRegexpArgument
cop. (@koic)- #11967: Add new
Style/ReturnNilInPredicateMethodDefinition
cop. (@koic)- #11745: Add new
Style/YAMLFileRead
cop. (@koic)- #11926: Support built-in LSP server. (@koic)
Bug fixes
- #11953: Fix a false negative for
Lint/DuplicateHashKey
when there is a duplicated constant key in the hash literal. (@koic)- #11945: Fix a false negative for
Style/RedundantSelfAssignmentBranch
when using method chaining or arguments in ternary branch. (@koic)- #11949: Fix a false positive for
Layout/RedundantLineBreak
when using a line broken string. (@koic)- #11931: Fix a false positive for
Lint/RedundantRequireStatement
when usingPP.pp
. (@koic)- #11946: Fix an error for
Lint/NumberConversion
when using multiple number conversion methods. (@koic)- #11972: Fix an error for
Lint/Void
whenCheckForMethodsWithNoSideEffects: true
and using a method definition. (@koic)- #11958: Fix error for
Style/IdenticalConditionalBranches
when using empty parentheses in theif
branch. (@koic)- #11962: Fix an error for
Style/RedundantStringEscape
when an escaped double quote precedes interpolation in a symbol literal. (@koic)- #11947: Fix an error for
Style/ConditionalAssignment
with an assignment that usesif
branch bodies, which include a block. (@koic)- #11959: Fix false negatives for
Layout/EmptyLinesAroundExceptionHandlingKeywords
when using Ruby 2.5'srescue
inside block and Ruby 2.7's numbered block. (@koic)- #10902: Fix an error for
Style/RedundantRegexpEscape
string with invalid byte sequence in UTF-8. (@ydah)- #11562: Fixed escaped octal handling and detection in
Lint/DuplicateRegexpCharacterClassElement
. (@rwstauner)Changes
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.53
Update Changelog
[Fix #11972] Fix an error for `Lint/Void`
Fix a false positive for `Lint/RedundantRequireStatement`
Revert "Change include paths to be relative to working directory rather than derived dir"
Add new `Style/ReturnNilInPredicateMethodDefinition` cop
Remove a useless style guide URL
Mark Layout/ClassStructure as unsafe to autocorrect
Merge pull request #11940 from iMacTia/fix/lint-missing-super-configurable-stateless-classes
[Fix #8506] Add AllowedParentClasses config to Lint/MissingSuper.
Merge pull request #11562 from rwstauner/rwstauner/duplicate-regexp-char-octals
Prevent false positives for `Style/RedundantRegexpArgument`
Add new `Style/RedundantRegexpArgument` cop
Add new `Style/YAMLFileRead` cop
Add new `Lint/RedundantRegexpQuantifiers` cop
[Fix #11962] Fix an error for `Style/RedundantStringEscape`
Add new MixedCaseRange cop (#11561)
[Fix #11924] Add new `Style/RedundantCurrentDirectoryInPath` cop
[Fix #11953] Fix a false negative for `Lint/DuplicateHashKey`
Fix false negatives for `Layout/EmptyLinesAroundExceptionHandlingKeywords`
Merge pull request #11958 from koic/fix_an_error_for_style_identical_conditional_branches
Fix an error for `Style/IdenticalConditionalBranches`
Merge pull request #11951 from koic/fix_a_false_negative_for_style_redundant_self_assignment_branch
Merge pull request #11950 from koic/fix_a_false_positive_for_layout_redundant_line_break
Merge pull request #11948 from koic/fix_error_for_style_conditional_assignment
[Fix #11945] Fix a false negative for `Style/RedundantSelfAssignmentBranch`
[Fix #11949] Fix a false positive for `Layout/RedundantLineBreak`
[Fix #11947] Fix an error for `Style/ConditionalAssignment`
Fix an error for `Lint/NumberConversion`
Support built-in LSP server
Import LSP server from Standard
[Fix #10902] Fix an error for `Style/RedundantRegexpEscape` string with invalid byte sequence in UTF-8
Switch back the docs version
↗ ️ racc (indirect, 1.7.0 → 1.7.1) · Repo · Changelog
Release Notes
1.7.1
What's Changed
- Use released version of test-unit-ruby-core by @hsbt in #220
- Fix place to specify rake-compiler version by @nobu in #223
- Embedded path by @nobu in #221
Full Changelog: v1.7.0...v1.7.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 14 commits:
Bump up v1.7.1
Bump up source/target versions for Java extension
Merge pull request #221 from nobu/embedded-path
Merge pull request #223 from nobu/gem-version
Fix place to specify rake-compiler version
Expand embedded paths so that the guards can find it
Assert no warning from embedded parser-text.rb
Assert no warning from parser-text.rb
racc/parser-text.rb depends on Rakefile
Merge pull request #220 from ruby/use-test-unit-ruby-core
sync_tool is no longer needed
Use released version of test-unit-ruby-core
Don't need Bundler on Gemfile
Bump up source/target JVM versions
🆕 language_server-protocol (added, 3.17.0.3)
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 cancel merge
- Cancels automatic merging of this PR
- @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)