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.25.0 #253

Closed depfu[bot] closed 2 years ago

depfu[bot] commented 2 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.22.0 → ~> 1.25.0) · Repo · Changelog

Release Notes

1.25.0

New features

  • #10351: Support EnforcedShorthandSyntax: either option for Style/HashSyntax. (@koic)
  • #10339: Support auto-correction for EnforcedStyle: explicit of Naming/BlockForwarding. (@koic)

Bug fixes

  • #10344: Fix a false positive for Style/CollectionCompact when without receiver for bad methods. (@koic)
  • #10353: Use :ambiguous_regexp to detect ambiguous Regexp in Ruby 3. (@danieldiekmeier, @joergschiller)
  • #10336: Fix a false positive for Style/TernaryParentheses when using in keyword pattern matching as a ternary condition. (@koic)
  • #10317: Fix a false positive for Style/MethodCallWithArgsParentheses when using hash value omission. (@koic)
  • #8032: Improve ArgumentAlignment detection and correction for keyword arguments. (@mvz)
  • #10331: Fix cop generator for nested departments. (@fatkodima)
  • #10357: Fix a false positive for Style/HashSyntax when omitting the value. (@berkos)
  • #10335: Fix a false positive for Naming/BlockForwarding when using multiple proc arguments. (@koic)
  • #10350: Fix a false negative for Lint/IncompatibleIoSelectWithFiberScheduler when using IO.select with the first argument only. (@koic)
  • #10358: Fix Style/Sample crash on beginless and endless range shuffle indexes. (@gsamokovarov)
  • #10354: Fix Gemspec/RequiredRubyVersion version matcher when Gem::Requirement.new is used and initialised with multiple requirements. (@nickpellant)

Changes

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

Commits

See the full diff on Github. The new version differs by 32 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 2 years ago

Closed in favor of #256.