#7528: Add new Lint/NonDeterministicRequireOrder cop. (@mangara)
#7559: Add EnforcedStyleForExponentOperator parameter to Layout/SpaceAroundOperators cop. (@khiav223577)
Bug fixes
#7530: Typo in Style/TrivialAccessors's AllowedMethods. (@movermeyer)
#7532: Fix an error for Style/TrailingCommaInArguments when using an anonymous function with multiple line arguments with EnforcedStyleForMultiline: consistent_comma. (@koic)
#7534: Fix an incorrect autocorrect for Style/BlockDelimiters cop and Layout/SpaceBeforeBlockBraces cop with EnforcedStyle: no_space when using multiline braces. (@koic)
#7231: Fix the exit code to be 2 rather when 0 when the config file contains an unknown cop. (@jethroo)
#7513: Fix abrupt error on autocorrecting with --disable-uncorrectable. (@tejasbubane)
#7537: Fix a false positive for Layout/SpaceAroundOperators when using a Rational literal with / (e.g. 2/3r). (@koic)
#7029: Make Style/Attr not flag offense for custom attr method. (@tejasbubane)
#7574: Fix a corner case that made Style/GuardClause crash. (@buehmann)
Changes
#7514: Expose correctable status on offense and in formatters. (@tyler-ball)
#7542: (Breaking) Move LineLength cop from Metrics department to Layout department. (@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 (~> 0.68.0 → ~> 0.78.0) · Repo · Changelog
Release Notes
0.78.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 32 commits:
Cut 0.78
Merge pull request #7575 from buehmann/guard-empty-begin/7574
Fix an oversight in specs
[Fix #7574] Fix corner case in Style/GuardClause
Replace "can not" with "cannot"
Add new Lint/NonDeterministicRequireOrder cop (#7528)
Support EnforcedStyleForExponentOperator for SpaceAroundOperators cop
Add the Style Guide URL for `Gemspec/RubyVersionGlobalsUsage`
Tweak a changelog entry
Fix the changelog
Move `LineLength` cop from `Metrics` to `Layout` department
Update the changelog
Expose correctable status on offense and in formatters (#7514)
Workaround for broke docs with YARD 0.9.20 when using Ruby 2.7.0-dev
Restyle example formatting for `Style/TrailingUnderscoreVariable` cop.
Make `Style/Attr` not flag offense for custom `attr` method
In default.yml, Exclude tmp
Fix a typo in default.yml
[Fix #7506] Move LineLength code to mixin and use in IfUnlessModifier
[Fix #7537] Fix a false positive for `Layout/SpaceAroundOperators`
Tweak CHANGELOG
Add comments explaining external dependency checksum caching
Merge pull request #7546 from tejasbubane/fix-7513
[Fix #7513] Fix abrupt error on autocorrecting with `--disable-uncorrectable`
Merge pull request #7526 from jethroo/fix/Issue_7231_unrecognized_cop_warning_does_not_exit_with_1
Fix #7231 unknown cop in config file warning will exit with code 1 rather 0
Fix a typo
Merge pull request #7535 from koic/fix_an_incorrect_autocorrect_for_space_before_block_braces
[Fix #7534] Fix an incorrect autocorrect for `Layout/SpaceBeforeBlockBraces`
[Fix #7532] Fix an error for `Style/TrailingCommaInArguments`
Fix a typo
[Fix #7530] Fix typo of missing `s` in AllowedMethods parameter
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