archivesunleashed / warclight

A Rails engine supporting the discovery of web archives.
https://archivesunleashed.org/warclight/
Other
49 stars 10 forks source link

[ruby] Upgrade rubocop to version 1.16.0 #211

Closed depfu[bot] closed 3 years ago

depfu[bot] commented 3 years ago

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.12.0 → ~> 1.16.0) · Repo · Changelog

Release Notes

1.16.0

New features

  • #9841: Support guard if and unless syntax keywords of Ruby 2.7's pattern matching for Layout/SpaceAroundKeyword. (@koic)
  • #9812: Support auto-correction for Style/IdenticalConditionalBranches. (@koic)
  • #9833: Add new Style/InPatternThen cop. (@koic)
  • #9840: Adds AllowedReceivers option for Style/HashEachMethods. (@koic)
  • #9818: Support Ruby 2.7's in pattern syntax for Layout/CaseIndentation. (@koic)
  • #9793: Add Style/QuotedSymbols to enforce consistency in quoted symbols. (@dvandersluis)
  • #9825: Add new Lint/EmptyInPattern cop. (@koic)
  • #9834: Add new Style/MultilineInPatternThen cop. (@koic)

Bug fixes

  • #9822: Fix a false directive comment range for Lint/RedundantCopDisableDirective. (@koic)
  • #9819: Fix a false negative for Style/TopLevelMethodDefinition when defining a top-level method after a class definition. (@koic)
  • #9836: Fix incorrect corrections for Layout/HashAlignment when a kwsplat node is on the same line as a pair node with table style. (@dvandersluis)
  • #9805: Fix a false negative for Layout/HashAlignment when set EnforcedStyle: with_fixed_indentation of ArgumentAlignment. (@koic)
  • #9811: Fix an error for Layout/ArgumentAlignment with Layout/FirstHashElementIndentation when setting EnforcedStyle: with_fixed_indentation. (@koic)

Changes

  • #9809: Change Lint/SymbolConversion to only quote with double quotes, since Style/QuotedSymbols can now correct those to the correct quotes as per configuration. (@dvandersluis)

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

Commits

See the full diff on Github. The new version differs by 26 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)
depfu[bot] commented 3 years ago

Closed in favor of #213.