Skip to content

Update rubocop 1.51.0 → 1.52.0 (minor)

Depfu Bot requested to merge depfu/update/rubocop-1.52.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.51.0 → 1.52.0) · Repo · Changelog
Release Notes

1.52.0

New features

  • #11873: Add ComparisonsThreshold config option to Style/MultipleComparison. (@fatkodima)
  • #11886: Add new Style/RedundantArrayConstructor cop. (@koic)
  • #11873: Add new Style/RedundantRegexpConstructor cop. (@koic)
  • #11841: Add new Style/RedundantFilterChain cop. (@fatkodima)
  • #11908: Support AllowedReceivers for Style/CollectionMethods. (@koic)

Bug fixes

  • #11890: Fix a false negative for Lint/RedundantSafeNavigation when &. is used for to_d. (@koic)
  • #11880: Fix a false positive for Style/ExactRegexpMatch when using literal with quantifier in regexp. (@koic)
  • #11902: Fix a false positive for Style/RequireOrder when single-quoted string and double-quoted string are mixed. (@koic)
  • #11879: Fix a false positive for Style/SelectByRegexp when Ruby 2.2 or lower analysis. (@koic)
  • #11891: Fix Style/AccessorGrouping to accept macros separated from accessors by space. (@fatkodima)
  • #11905: Fix an error for Lint/UselessAssignment when a variable is assigned with rest assignment and unreferenced. (@koic)
  • #11899: Fix an incorrect autocorrect for Style/SingleLineMethods when using Ruby 3.0 and Style/EndlessMethod is disabled. (@koic)
  • #11884: Make rubocop -V display rubocop-factory_bot version when using it. (@koic)
  • #11893: Fix a false positive for Lint/InheritException when inheriting Exception with omitted namespace. (@koic)
  • #11898: Fix offences in calls inside blocks with braces for Style/MethodCallWithArgsParentheses with omit_parentheses enforced style. (@gsamokovarov)
  • #11857: Server mode: only read $stdin when -s or --stdin argument provided. (@naveg)

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

Commits

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

️ rubocop-ast (indirect, 1.28.1 → 1.29.0) · Repo · Changelog
Release Notes

1.29.0 (from changelog)

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

Commits

See the full diff on Github. The new version differs by 10 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 cancel merge
Cancels automatic merging of this PR
@​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