#8510: Add RegexpNode#each_capture and parsed_tree. (@marcandre)
#8365: Cops defining on_send can be optimized by defining the constant RESTRICT_ON_SEND with a list of acceptable method names. (@marcandre)
Bug fixes
#8508: Fix a false positive for Style/CaseLikeIf when conditional contains comparison with a class. Mark Style/CaseLikeIf as not safe. (@fatkodima)
#8618: Fix an infinite loop error for Layout/EmptyLineBetweenDefs. (@fatkodima)
#8534: Fix Lint/BinaryOperatorWithIdenticalOperands for binary operators used as unary operators. (@marcandre)
#8537: Allow a trailing comment as a description comment for Bundler/GemComment. (@pocke)
#8507: Fix Style/RescueModifier to handle parentheses around rescue modifiers. (@dsavochkin)
#8527: Prevent an incorrect auto-correction for Style/CaseEquality cop when comparing with === against a regular expression receiver. (@koic)
#8524: Fix Layout/EmptyLinesAroundClassBody and Layout/EmptyLinesAroundModuleBody to correctly handle an access modifier as a first child. (@dsavochkin)
#8518: Fix Lint/ConstantResolution cop reporting offense for module and class definitions. (@tejasbubane)
#8158: Fix Style/MultilineWhenThen cop to correctly handle cases with multiline body. (@dsavochkin)
#7705: Fix Style/OneLineConditional cop to handle if/then/elsif/then/else/end cases. Add AlwaysCorrectToMultiline config option to this cop to always convert offenses to the multi-line form (false by default). (@Lykos, @dsavochkin)
#8590: Fix an error when auto-correcting encoding mismatch file. (@koic)
#8321: Enable auto-correction for Layout/{Def}EndAlignment, Lint/EmptyEnsure, Style/ClassAndModuleChildren. (@marcandre)
#8583: Fix Style/RedundantRegexpEscape false positive for line continuations. (@owst)
#8593: Fix Style/RedundantRegexpCharacterClass false positive for interpolated multi-line expressions. (@owst)
#8624: Fix an error with the Style/CaseLikeIf cop where it does not properly handle overridden equality methods with no arguments. (@Skipants)
Changes
#8413: Pending cops warning now contains snippet that can be directly copied into .rubocop.yml as well as a notice about NewCops: enable config option. (@colszowka)
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 (~> 0.89.1 → ~> 0.90.0) · Repo · Changelog
Release Notes
0.90.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
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