Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bump rubocop from 1.76.0 to 1.79.1 #179

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

Closed
dependabot wants to merge 1 commit into main from dependabot/bundler/rubocop-1.79.1

Conversation

@dependabot
Copy link
Contributor

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

Bumps rubocop from 1.76.0 to 1.79.1.

Release notes

Sourced from rubocop's releases.

RuboCop v1.79.1

Bug fixes

  • #14390: Fix wrong autocorrect for Style/ArgumentsForwarding when the method arguments contain *, ** or &, and the method call contains self as the first argument. (@​earlopain)
  • #14399: Fix false positives for Layout/EmptyLinesAfterModuleInclusion when prepend is used with block methods. (@​koic)
  • #14396: Fix a false positive for Style/RedundantParentheses when parentheses are used around a one-line rescue expression inside a ternary operator. (@​koic)
  • #14383: Fix false positives for Lint/UselessAssignment when duplicate assignments in if branch inside a loop. (@​koic)
  • #14394: Fix false positive for Lint/UselessAssignment with retry in rescue branch. (@​earlopain)
  • #14386: Fix false positives for Style/RedundantParentheses when parentheses are used around a one-line rescue expression inside array or hash literals. (@​koic)
  • #14395: Fix LSP handling of URI-encoded paths with spaces. (@​hakanensari)

Changes

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)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.79.1 (2025年07月31日)

Bug fixes

  • #14390: Fix wrong autocorrect for Style/ArgumentsForwarding when the method arguments contain *, ** or &, and the method call contains self as the first argument. ([@​earlopain][])
  • #14399: Fix false positives for Layout/EmptyLinesAfterModuleInclusion when prepend is used with block methods. ([@​koic][])
  • #14396: Fix a false positive for Style/RedundantParentheses when parentheses are used around a one-line rescue expression inside a ternary operator. ([@​koic][])
  • #14383: Fix false positives for Lint/UselessAssignment when duplicate assignments in if branch inside a loop. ([@​koic][])
  • #14394: Fix false positive for Lint/UselessAssignment with retry in rescue branch. ([@​earlopain][])
  • #14386: Fix false positives for Style/RedundantParentheses when parentheses are used around a one-line rescue expression inside array or hash literals. ([@​koic][])
  • #14395: Fix LSP handling of URI-encoded paths with spaces. ([@​hakanensari][])

Changes

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

... (truncated)

Commits
  • 5ecd375 Cut 1.79.1
  • 0b19d92 Tweak a couple of changelog entries
  • 300bc86 Update Changelog
  • 8e6be28 Add support for or nodes to Lint/LiteralAsCondition
  • 6adbb27 Merge pull request #14405 from viralpraxis/fix-naming-method-name-cop-spec-de...
  • 9682294 Fix Naming/MethodName cop spec descriptions
  • fc0e660 Merge pull request #14403 from viralpraxis/enhance-naming-method-name-to-hand...
  • 19f9c0b Enhance Naming/MethodName cop to detect offenses within alias and `alias_...
  • 9d262b1 Merge pull request #14400 from koic/fix_false_positive_for_layout_empty_lines...
  • 13c5050 [Fix #14399] Fix false positives for Layout/EmptyLinesAfterModuleInclusion
  • 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.76.0 to 1.79.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.76.0...v1.79.1)
---
updated-dependencies:
- dependency-name: rubocop
 dependency-version: 1.79.1
 dependency-type: direct:production
 update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jul 31, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 5, 2025

Superseded by #180.

@dependabot dependabot bot deleted the dependabot/bundler/rubocop-1.79.1 branch August 5, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /