Bump rubocop from 1.78.0 to 1.79.1
Open
Number: #328
Type: Pull Request
State: Open
Type: Pull Request
State: Open
Author:
dependabot[bot]
Association: Contributor
Comments: 0
Association: Contributor
Comments: 0
Created:
August 05, 2025 at 01:17 AM UTC
(10 months ago)
(10 months ago)
Updated:
August 05, 2025 at 07:39 AM UTC
(10 months ago)
(10 months ago)
Labels:
dependencies ruby
dependencies ruby
Description:
Bumps rubocop from 1.78.0 to 1.79.1.
Release notes
Sourced from rubocop's releases.
RuboCop v1.79.1
Bug fixes
- #14390: Fix wrong autocorrect for
Style/ArgumentsForwardingwhen the method arguments contain*,**or&, and the method call containsselfas the first argument. (@earlopain)- #14399: Fix false positives for
Layout/EmptyLinesAfterModuleInclusionwhenprependis used with block methods. (@koic)- #14396: Fix a false positive for
Style/RedundantParentheseswhen parentheses are used around a one-linerescueexpression inside a ternary operator. (@koic)- #14383: Fix false positives for
Lint/UselessAssignmentwhen duplicate assignments inifbranch inside a loop. (@koic)- #14394: Fix false positive for
Lint/UselessAssignmentwithretryinrescuebranch. (@earlopain)- #14386: Fix false positives for
Style/RedundantParentheseswhen parentheses are used around a one-linerescueexpression inside array or hash literals. (@koic)- #14395: Fix LSP handling of URI-encoded paths with spaces. (
@hakanensari)Changes
- #14403: Enhance
Naming/MethodNamecop to detect offenses withinaliasandalias_methodcalls. (@viralpraxis)- #14389: Add support for
||toLint/LiteralAsCondition. (@zopolis4)RuboCop v1.79.0
New features
- #14348: Add new cop
Layout/EmptyLinesAfterModuleInclusion. ([@lovro-bikic][])- #14374: Enhance
Naming/MethodNamecop to detect offenses withinDatamembers. (@viralpraxis)Bug fixes
- #14373: Fix an error for
Style/ParallelAssignmentwhen a lambda with parallel assignment is used on the RHS. (@koic)- #14370: Fix comment duplication bug in
Style/AccessorGroupingseparated autocorrect. ([@r7kamura][])- #14377: Fix a false positive for
Lint/UselessAssignmentwhen the assignment is inside a loop body. ([@5hun-s][])- #14355: Fix a false negative for
Style/RedundantParentheseswhen using parentheses around arescueexpression on a one-line. (@koic)- #14354: Fix incorrect autocorrect for
Style/AccessModifierDeclarationswhen using a grouped access modifier declaration. ([@girasquid][])- #14367: Fix an incorrect autocorrect for
Style/SingleLineMethodswhen defining a single-line singleton method. (@koic)- #14344: Fix incorrect autocorrect for
Style/SingleLineMethodswhen a single-line method definition contains a modifier. (@koic)- #14350: Fix
Naming/MethodNamecop false positives withdefine_methodand operator names. (@viralpraxis)- #14333: Fix
Naming/PredicateMethodignoring the implicitnilfrom missingelsebranches. (@earlopain)- #14356: Fix
Style/ItBlockParametercop error onalwaysstyle and missing block body. (@viralpraxis)- #14362: Update
Lint/RequireRangeParenthesesto not register false positives when range elements span multiple lines. ([@dvandersluis][])- #14309: Update
Style/SoleNestedConditionalto properly correct assignments withinand. ([@dvandersluis][])Changes
- #14358: Add
tsortgem to runtime dependency for Ruby 3.5-dev. (@koic)- #14322: Expand the scope of
Style/ItAssignmentto consider all local variable and method parameter names. ([@dvandersluis][])- #14378: Change
Layout/SpaceAroundKeywordto offend for missing whitespace betweenreturnand opening parenthesis. ([@lovro-bikic][])- #14360: Make
Layout/SpaceAroundOperatorsaware of alternative and as pattern matchings. (@koic)- #14375: Make
Lint/RedundantSafeNavigationaware of builtin convert methodsto_s,to_i,to_f,to_a, andto_h. (@koic)
... (truncated)
Changelog
Sourced from rubocop's changelog.
1.79.1 (2025-07-31)
Bug fixes
- #14390: Fix wrong autocorrect for
Style/ArgumentsForwardingwhen the method arguments contain*,**or&, and the method call containsselfas the first argument. ([@earlopain][])- #14399: Fix false positives for
Layout/EmptyLinesAfterModuleInclusionwhenprependis used with block methods. ([@koic][])- #14396: Fix a false positive for
Style/RedundantParentheseswhen parentheses are used around a one-linerescueexpression inside a ternary operator. ([@koic][])- #14383: Fix false positives for
Lint/UselessAssignmentwhen duplicate assignments inifbranch inside a loop. ([@koic][])- #14394: Fix false positive for
Lint/UselessAssignmentwithretryinrescuebranch. ([@earlopain][])- #14386: Fix false positives for
Style/RedundantParentheseswhen parentheses are used around a one-linerescueexpression inside array or hash literals. ([@koic][])- #14395: Fix LSP handling of URI-encoded paths with spaces. ([
@hakanensari][])Changes
- #14403: Enhance
Naming/MethodNamecop to detect offenses withinaliasandalias_methodcalls. ([@viralpraxis][])- #14389: Add support for
||toLint/LiteralAsCondition. ([@zopolis4][])1.79.0 (2025-07-24)
New features
- #14348: Add new cop
Layout/EmptyLinesAfterModuleInclusion. ([@lovro-bikic][])- #14374: Enhance
Naming/MethodNamecop to detect offenses withinDatamembers. ([@viralpraxis][])Bug fixes
- #14373: Fix an error for
Style/ParallelAssignmentwhen a lambda with parallel assignment is used on the RHS. ([@koic][])- #14370: Fix comment duplication bug in
Style/AccessorGroupingseparated autocorrect. ([@r7kamura][])- #14377: Fix a false positive for
Lint/UselessAssignmentwhen the assignment is inside a loop body. ([@5hun-s][])- #14355: Fix a false negative for
Style/RedundantParentheseswhen using parentheses around arescueexpression on a one-line. ([@koic][])- #14354: Fix incorrect autocorrect for
Style/AccessModifierDeclarationswhen using a grouped access modifier declaration. ([@girasquid][])- #14367: Fix an incorrect autocorrect for
Style/SingleLineMethodswhen defining a single-line singleton method. ([@koic][])- #14344: Fix incorrect autocorrect for
Style/SingleLineMethodswhen a single-line method definition contains a modifier. ([@koic][])- #14350: Fix
Naming/MethodNamecop false positives withdefine_methodand operator names. ([@viralpraxis][])- #14333: Fix
Naming/PredicateMethodignoring the implicitnilfrom missingelsebranches. ([@earlopain][])- #14356: Fix
Style/ItBlockParametercop error onalwaysstyle and missing block body. ([@viralpraxis][])- #14362: Update
Lint/RequireRangeParenthesesto not register false positives when range elements span multiple lines. ([@dvandersluis][])- #14309: Update
Style/SoleNestedConditionalto properly correct assignments withinand. ([@dvandersluis][])Changes
- #14358: Add
tsortgem to runtime dependency for Ruby 3.5-dev. ([@koic][])- #14322: Expand the scope of
Style/ItAssignmentto consider all local variable and method parameter names. ([@dvandersluis][])- #14378: Change
Layout/SpaceAroundKeywordto offend for missing whitespace betweenreturnand opening parenthesis. ([@lovro-bikic][])- #14360: Make
Layout/SpaceAroundOperatorsaware of alternative and as pattern matchings. ([@koic][])- #14375: Make
Lint/RedundantSafeNavigationaware of builtin convert methodsto_s,to_i,to_f,to_a, andto_h. ([@koic][])- #13835: Add
InferNonNilReceiverconfig toLint/RedundantSafeNavigationto check previous code paths if the receiver is non-nil. ([@fatkodima][])- #14381: Offend
array1.any? { |elem| array2.member?(elem) }andarray1.none? { |elem| array2.member?(elem) }inStyle/ArrayIntersect. ([@lovro-bikic][])
Commits
5ecd375Cut 1.79.10b19d92Tweak a couple of changelog entries300bc86Update Changelog8e6be28Add support for or nodes to Lint/LiteralAsCondition6adbb27Merge pull request #14405 from viralpraxis/fix-naming-method-name-cop-spec-de...9682294FixNaming/MethodNamecop spec descriptionsfc0e660Merge pull request #14403 from viralpraxis/enhance-naming-method-name-to-hand...19f9c0bEnhanceNaming/MethodNamecop to detect offenses withinaliasand `alias_...9d262b1Merge pull request #14400 from koic/fix_false_positive_for_layout_empty_lines...13c5050[Fix #14399] Fix false positives forLayout/EmptyLinesAfterModuleInclusion- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
Commits:
1
1
Files Changed:
1
1
Additions:
+6
+6
Deletions:
-6
-6
Package Dependencies
Technical Details
| ID: | 4591639 |
| UUID: | 2719553801 |
| Node ID: | PR_kwDOBIkbMc6iGRkJ |
| Host: | GitHub |
| Repository: | github/rubocop-github |
| Merge State: | Unknown |