Skip to content

Bump rubocop from 1.78.0 to 1.79.0 #3604

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 28, 2025
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 28, 2025

Bumps rubocop from 1.78.0 to 1.79.0.

Release notes

Sourced from rubocop's releases.

RuboCop v1.79.0

New features

Bug fixes

  • #14373: Fix an error for Style/ParallelAssignment when a lambda with parallel assignment is used on the RHS. (@​koic)
  • #14370: Fix comment duplication bug in Style/AccessorGrouping separated autocorrect. (@​r7kamura)
  • #14377: Fix a false positive for Lint/UselessAssignment when the assignment is inside a loop body. (@​5hun-s)
  • #14355: Fix a false negative for Style/RedundantParentheses when using parentheses around a rescue expression on a one-line. (@​koic)
  • #14354: Fix incorrect autocorrect for Style/AccessModifierDeclarations when using a grouped access modifier declaration. (@​girasquid)
  • #14367: Fix an incorrect autocorrect for Style/SingleLineMethods when defining a single-line singleton method. (@​koic)
  • #14344: Fix incorrect autocorrect for Style/SingleLineMethods when a single-line method definition contains a modifier. (@​koic)
  • #14350: Fix Naming/MethodName cop false positives with define_method and operator names. (@​viralpraxis)
  • #14333: Fix Naming/PredicateMethod ignoring the implicit nil from missing else branches. (@​earlopain)
  • #14356: Fix Style/ItBlockParameter cop error on always style and missing block body. (@​viralpraxis)
  • #14362: Update Lint/RequireRangeParentheses to not register false positives when range elements span multiple lines. (@​dvandersluis)
  • #14309: Update Style/SoleNestedConditional to properly correct assignments within and. (@​dvandersluis)

Changes

  • #14358: Add tsort gem to runtime dependency for Ruby 3.5-dev. (@​koic)
  • #14322: Expand the scope of Style/ItAssignment to consider all local variable and method parameter names. (@​dvandersluis)
  • #14378: Change Layout/SpaceAroundKeyword to offend for missing whitespace between return and opening parenthesis. (@​lovro-bikic)
  • #14360: Make Layout/SpaceAroundOperators aware of alternative and as pattern matchings. (@​koic)
  • #14375: Make Lint/RedundantSafeNavigation aware of builtin convert methods to_s, to_i, to_f, to_a, and to_h. (@​koic)
  • #13835: Add InferNonNilReceiver config to Lint/RedundantSafeNavigation to check previous code paths if the receiver is non-nil. (@​fatkodima)
  • #14381: Offend array1.any? { |elem| array2.member?(elem) } and array1.none? { |elem| array2.member?(elem) } in Style/ArrayIntersect. (@​lovro-bikic)
Changelog

Sourced from rubocop's changelog.

1.79.0 (2025-07-24)

New features

Bug fixes

  • #14373: Fix an error for Style/ParallelAssignment when a lambda with parallel assignment is used on the RHS. ([@​koic][])
  • #14370: Fix comment duplication bug in Style/AccessorGrouping separated autocorrect. ([@​r7kamura][])
  • #14377: Fix a false positive for Lint/UselessAssignment when the assignment is inside a loop body. ([@​5hun-s][])
  • #14355: Fix a false negative for Style/RedundantParentheses when using parentheses around a rescue expression on a one-line. ([@​koic][])
  • #14354: Fix incorrect autocorrect for Style/AccessModifierDeclarations when using a grouped access modifier declaration. ([@​girasquid][])
  • #14367: Fix an incorrect autocorrect for Style/SingleLineMethods when defining a single-line singleton method. ([@​koic][])
  • #14344: Fix incorrect autocorrect for Style/SingleLineMethods when a single-line method definition contains a modifier. ([@​koic][])
  • #14350: Fix Naming/MethodName cop false positives with define_method and operator names. ([@​viralpraxis][])
  • #14333: Fix Naming/PredicateMethod ignoring the implicit nil from missing else branches. ([@​earlopain][])
  • #14356: Fix Style/ItBlockParameter cop error on always style and missing block body. ([@​viralpraxis][])
  • #14362: Update Lint/RequireRangeParentheses to not register false positives when range elements span multiple lines. ([@​dvandersluis][])
  • #14309: Update Style/SoleNestedConditional to properly correct assignments within and. ([@​dvandersluis][])

Changes

  • #14358: Add tsort gem to runtime dependency for Ruby 3.5-dev. ([@​koic][])
  • #14322: Expand the scope of Style/ItAssignment to consider all local variable and method parameter names. ([@​dvandersluis][])
  • #14378: Change Layout/SpaceAroundKeyword to offend for missing whitespace between return and opening parenthesis. ([@​lovro-bikic][])
  • #14360: Make Layout/SpaceAroundOperators aware of alternative and as pattern matchings. ([@​koic][])
  • #14375: Make Lint/RedundantSafeNavigation aware of builtin convert methods to_s, to_i, to_f, to_a, and to_h. ([@​koic][])
  • #13835: Add InferNonNilReceiver config to Lint/RedundantSafeNavigation to check previous code paths if the receiver is non-nil. ([@​fatkodima][])
  • #14381: Offend array1.any? { |elem| array2.member?(elem) } and array1.none? { |elem| array2.member?(elem) } in Style/ArrayIntersect. ([@​lovro-bikic][])
Commits
  • 1c543c8 Cut 1.79
  • 966ece8 Update Changelog
  • 71350c6 Register offense for Array#any? and Array#none? blocks in Style/ArrayIntersec...
  • e92b13a Tweak autocorrect code for InternalAffairs/NodeTypeGroup
  • 6c522f8 Fix a typo
  • d4809c1 Change Layout/SpaceAroundKeyword to offend for missing whitespace between ret...
  • 2013dd6 Merge pull request #14377 from 5hun-s/fix_false_negative_for_lint_useless_ass...
  • bfe8ff3 Fix a false positive for Lint/UselessAssignment
  • 57a4580 Merge pull request #14376 from viralpraxis/fix-14375-changelog-entry
  • a4cd639 Follow-up to #14375: fix changelog entry
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.78.0 to 1.79.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.78.0...v1.79.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.79.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added bundler Gemfile dependencies dependencies Pull requests that update a dependency file skip changeset Pull requests that don't change the library output labels Jul 28, 2025
@dependabot dependabot bot requested a review from a team as a code owner July 28, 2025 12:59
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 28, 2025
@dependabot dependabot bot requested a review from francinelucca July 28, 2025 12:59
@dependabot dependabot bot added skip changeset Pull requests that don't change the library output bundler Gemfile dependencies labels Jul 28, 2025
Copy link

changeset-bot bot commented Jul 28, 2025

⚠️ No Changeset found

Latest commit: 1c53dbf

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@jonrohan jonrohan added this pull request to the merge queue Jul 28, 2025
Merged via the queue into main with commit 987b742 Jul 28, 2025
47 checks passed
@jonrohan jonrohan deleted the dependabot/bundler/rubocop-1.79.0 branch July 28, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bundler Gemfile dependencies dependencies Pull requests that update a dependency file skip changeset Pull requests that don't change the library output
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant