Skip to content

Update rubocop requirement from ~> 1.73.2 to ~> 1.79.0 #164

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Updates the requirements on rubocop to permit the latest version.

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][])

1.78.0 (2025-07-08)

New features

Bug fixes

  • #14343: Fix autocorrect code for Style/HashConversion to avoid syntax error. ([@​koic][])
  • #14346: Avoid requiring parentheses for Style/SingleLineMethods. ([@​koic][])
  • #14339: Fix bug where specifying --format disables parallelization. ([@​r7kamura][])
  • #14300: Fix false positives for Lint/DuplicateMethods cop when self-alias trick is used. ([@​viralpraxis][])
  • #14329: Fix false positives for Lint/LiteralAsCondition when a literal is used inside || in case condition. ([@​koic][])
  • #14326: Fix additional autocorrection errors in Style/HashConversion for nested Hash[] calls. ([@​dvandersluis][])
  • #14031: Honor --config options on server mode. ([@​steiley][])
  • #14319: Fix the following incorrect autocorrect for Lint/RedundantTypeConversion when using parentheses with no arguments or any arguments. ([@​koic][])

... (truncated)

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 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)

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.73.2...v1.79.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.79.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Jul 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants