Skip to content

Update rubocop: 1.19.0 → 1.20.0 (minor)

Depfu Bot requested to merge depfu/update/rubocop-1.20.0 into master

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.19.0 → 1.20.0) · Repo · Changelog
Release Notes

1.20.0

New features

  • #10040: Make Lint/Debugger aware of debug.rb. (@koic)
  • #9580: Add a new cop that enforces which bundler gem file to use. (@gregfletch)

Bug fixes

  • #10033: Fix an incorrect auto-correct for Style/BlockDelimiters when there is a comment after the closing brace and using method chanin. (@koic)
  • #6630: Updated Style/CommentAnnotation to be able to handle multiword keyword phrases. (@dvandersluis)
  • #7836: Update Style/BlockDelimeters to add begin...end when converting a block containing rescue or ensure to braces. (@dvandersluis)
  • #10031: Fix a false positive for Style/HashExcept when comparing with hash value. (@koic)

Changes

1.19.1 (from changelog)

Bug fixes

  • #10017: Fixan error for Layout/RescueEnsureAlignment when using zsuper with block. (@koic)
  • #10011: Fix a false positive for Style/RedundantSelfAssignmentBranch when using instance variable, class variable, and global variable. (@koic)
  • #10010: Fix a false positive for Style/DoubleNegation when !! is used at return location and before rescue keyword. (@koic)
  • #10014: Fix Style/Encoding to handle more situations properly. (@dvandersluis)
  • #10016: Fix conflict between Style/SoleNestedConditional and Style/NegatedIf/Style/NegatedUnless. (@dvandersluis)
  • #10024: Fix an incorrect auto-correct for Style/RedundantSelfAssignmentBranch when using multiline if / else conditional assignment. (@koic)
  • #10004: Fix a false positive for Style/RedundantBegin when using one-liner with semicolon. (@koic)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 38 commits:

️ rubocop-ast (indirect, 1.10.0 → 1.11.0) · Repo · Changelog
Release Notes

1.11.0 (from changelog)

New features

  • #205: Make class, module, and struct definitions aware of numblock. (@koic)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 4 commits:


Depfu Status

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)

Merge request reports