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.81 → 0.91.1) · Repo · Changelog
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by 40 commits:
Cut 0.91.1
[Fix #8372] Fix `Lint/RedundantCopEnableDirective` autocorrection not removing empty `# rubocop:enable` comments. (#8745)
[Fix #8372] Fix `Lint/RedundantCopDisableDirective` autocorrection removing a preceding newline incorrectly. (#8744)
Move a changelog entry
[Fix #8576] Fix `Style/IfUnlessModifier` to ignore cop disable comment directives when considering conversion to modifier form
Tweak a couple of changelog entries
[Fix #8771] Fix an error for `Style/OneLineConditional`
Merge pull request #8769 from koic/use_cop_base_api_for_several_style_cops
Merge pull request #8768 from fatkodima/redundant_return-rescue-else
Use `Cop::Base` API for some `Style` cops
Fix a false positive for `Style/RedundantReturn` when a rescue has an else clause
Merge pull request #8766 from dvandersluis/fix-layout-case-indentation-message
[Fix #8764] Fix `Layout/CaseIndentation` to properly output annotated error messages.
[Fixes #8762] Improve documentation for `Lint/ConstantDefinitionInBlock`
[Fix #8749] Disable `Style/IpAddresses` by default in gemfiles and gemspec files.
Merge pull request #8756 from koic/fix_false_positive_for_empty_lines_around_access_modifier
Fix a false positive for `Layout/EmptyLinesAroundAccessModifier`
Ignore non-integer ranges in Style/RandomWithOffset
Merge pull request #8750 from koic/fix_error_for_style_multiline_when_then
Fix an incorrect auto-correct for `Style/MultilineWhenThen`
[Fixes #7914] Style/SafeNavigation marked as having unsafe auto-correction.
`Metrics/AbcSize`: Fix assignment counts for various cases.
`MetricsAbcSize`: Remove unused method
Use sibling helpers from rubocop-ast
Use token helpers from rubocop-ast
Use RescueNode#resbody_branches
Fix an error for `Lint/UselessTimes`
Merge pull request #8741 from dvandersluis/fix-hash-as-last-array-implicit
Use ResbodyNode#exceptions
[Fix #8740] Fix a false positive for `Style/HashAsLastArrayItem` when the hash is in an implicit array.
Use ClassNode#body and ModuleNode#body methods
Merge pull request #8733 from koic/fix_error_for_lint_useless_times
[Fix #8730] Fix an error for `Lint/UselessTimes`
[Fix #8726] Fix a false positive for `Naming/VariableNumber`
Tweak the changelog
[#8489](https://github.com/rubocop-hq/rubocop/issues/8489) Exclude method respond_to_missing? from OptionalBooleanParameter cop.
Merge pull request #8719 from koic/fix_false_positive_for_rescue_ensure_alignment
[Fix #8710] Fix a false positive for `Layout/RescueEnsureAlignment`
[Fix #8720] Fix an error for `Lint/IdentityComparison`
Switch back docs version to master
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