#9061: Add new Lint/IncompatibleIoSelectWithFiberScheduler cop. (@koic)
Bug fixes
#10067: Fix an error for Lint/NumberConversion when using nested number conversion methods. (@koic)
#10054: Fix a false positive for Layout/SpaceAroundOperators when match operators between << and +=. (@koic)
#10061: Fix a false positive for Style/RedundantSort when using size method in the block. (@koic)
#10063: Fix a false positive for Layout/SingleLineBlockChain when method call chained on a new line after a single line block with trailing dot. (@koic)
#10064: Fix Style/ExplicitBlockArgument corrector assuming any existing block argument was named block. (@byroot)
#10070: Fix a false positive for Style/MutableConstant when using non-interpolated heredoc in Ruby 3.0. (@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.20.0 → ~> 1.21.0) · Repo · Changelog
Release Notes
1.21.0
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.21
Update Changelog
[Fix #9061] Add new `Lint/IncompatibleIoSelectWithFiberScheduler` cop
Update `Naming/InclusiveLanguage` to be disabled by default.
[Fix #10070] Fix a false positive for `Style/MutableConstant`
Mark `Style/AndOr` as unsafe auto-correction
Fix an error for `Lint/NumberConversion`
Merge pull request #10064 from casperisfine/explicit-block-corrector
Style/ExplicitBlockArgument: do not assume the block parameter name
Merge pull request #10063 from koic/fix_a_false_positive_for_layout_single_line_block_chain
Remove redundant `AutoCorrect` config of `Layout/LineLength`
Fix a false positive for `Layout/SingleLineBlockChain`
Use `RESTRICT_ON_SEND`
[Fix #10061] Fix a false positive for `Style/RedundantSort`
Fix a build error
Fix a false positive for `Layout/SpaceAroundOperators`
Correct `Lint/AmbiguousOperatorPrecedence` offenses.
[Fix #7849] Add new `Lint/AmbiguousOperatorPrecedence` cop.
Restyle example formatting for `Style/CaseEquality`
Merge pull request #10053 from neoeno/patch-1
Improve grammar in Bundler/InsecureProtocolSource docs
Merge pull request #10051 from dvandersluis/style/documentation
Improve the messaging for `Style/Documentation` to be more clear about what class/module needs documentation.
Remove a redundant empty `RESTRICT_ON_SEND`
Merge pull request #10045 from dvandersluis/issue/9674
[Fix #9674] Disable `Style/AsciiComments` by default.
Switch back 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