Bump rubocop from 1.36.0 to 1.76.0
Closed
Number: #203
Type: Pull Request
State: Closed
Type: Pull Request
State: Closed
Author:
dependabot[bot]
Association: Contributor
Comments: 3
Association: Contributor
Comments: 3
Created:
June 04, 2025 at 11:16 PM UTC
(about 1 year ago)
(about 1 year ago)
Updated:
June 09, 2025 at 11:22 PM UTC
(about 1 year ago)
(about 1 year ago)
Closed:
June 09, 2025 at 11:22 PM UTC
(about 1 year ago)
(about 1 year ago)
Time to Close:
5 days
Description:
Bumps rubocop from 1.36.0 to 1.76.0.
Release notes
Sourced from rubocop's releases.
RuboCop v1.76.0
New features
- #12360: Add new
Naming/PredicateMethodcop to check that predicate methods end with?and non-predicate methods do not. (@dvandersluis)- #13121: Add new
Style/EmptyStringInsideInterpolationcop. (@zopolis4)- #14091: Add new cop
Style/RedundantArrayFlatten. (@lovro-bikic)- #14184: Add new cop
Lint/UselessOr. (@lovro-bikic)- #14221: Enhance
Gemspecdepartment cops to detect offenses if specification variable isitor a numbered parameter. (@viralpraxis)- #14166: Add new cop
Lint/UselessDefaultValueArgument. (@lovro-bikic)Bug fixes
- #14228: Fix a false positive for
Style/RedundantParentheseswhen using a one-linerescueexpression as a method argument. (@koic)- #14224: Fix false negatives for
Style/RedundantParentheseswhen using one-line pattern matching. (@koic)- #14205: False negatives in
Style/SafeNavigationwhen a ternary expression is used in a method argument. (@steiley)- #14226: Fix
Lint/LiteralAsConditionautocorrect when branches of a condition have comments. (@zopolis4)Changes
- #14066: Add
EnforcedStyle: allow_single_lineas the default toStyle/ItBlockParameter. (@koic)- #13788: Disable
Lint/ShadowingOuterLocalVariableby default. (@nekketsuuu)- #14215: Recognize inequation (
!=) inLint/IdentityComparison. (@lovro-bikic)RuboCop v1.75.8
Bug fixes
- #14191: Fix
Lint/FloatComparisoncop to detect floating-point number comparisons incasestatements. (@daisuke)- #14209: Fix an error for
Style/RedundantFormatwith invalid format arguments. (@earlopain)- #14200: Fix false positives for
Style/DefWithParentheseswhen using endless method definition with empty parentheses and a space before=. (@koic)- #14197: Fix infinite loop error for
EnforcedStyle: with_fixed_indentationofLayout/ArgumentAlignmentandEnforcedStyle: consistentofLayout/FirstArgumentIndentationandLayout/HashAlignment. (@koic)- #14204: Fix
Layout/EmptyLinesAroundAccessModifiercop error on trailing access modifier. (@viralpraxis)- #14198: Fix
Lint/DuplicateMethodscop error ontooption is dynamically generated andprefixis enabled. (@viralpraxis)- #14199: Fix wrong autocorrection for
Style/MapToHashwith destructuring argument. (@lovro-bikic)- #14050: Modify condition for
rubocop:todoEOL comment. (@jonas054)
... (truncated)
Changelog
Sourced from rubocop's changelog.
1.76.0 (2025-06-04)
New features
- #12360: Add new
Naming/PredicateMethodcop to check that predicate methods end with?and non-predicate methods do not. ([@dvandersluis][])- #13121: Add new
Style/EmptyStringInsideInterpolationcop. ([@zopolis4][])- #14091: Add new cop
Style/RedundantArrayFlatten. ([@lovro-bikic][])- #14184: Add new cop
Lint/UselessOr. ([@lovro-bikic][])- #14221: Enhance
Gemspecdepartment cops to detect offenses if specification variable isitor a numbered parameter. ([@viralpraxis][])- #14166: Add new cop
Lint/UselessDefaultValueArgument. ([@lovro-bikic][])Bug fixes
- #14228: Fix a false positive for
Style/RedundantParentheseswhen using a one-linerescueexpression as a method argument. ([@koic][])- #14224: Fix false negatives for
Style/RedundantParentheseswhen using one-line pattern matching. ([@koic][])- #14205: False negatives in
Style/SafeNavigationwhen a ternary expression is used in a method argument. ([@steiley][])- #14226: Fix
Lint/LiteralAsConditionautocorrect when branches of a condition have comments. ([@zopolis4][])Changes
- #14066: Add
EnforcedStyle: allow_single_lineas the default toStyle/ItBlockParameter. ([@koic][])- #13788: Disable
Lint/ShadowingOuterLocalVariableby default. ([@nekketsuuu][])- #14215: Recognize inequation (
!=) inLint/IdentityComparison. ([@lovro-bikic][])1.75.8 (2025-05-28)
Bug fixes
- #14191: Fix
Lint/FloatComparisoncop to detect floating-point number comparisons incasestatements. ([@daisuke][])- #14209: Fix an error for
Style/RedundantFormatwith invalid format arguments. ([@earlopain][])- #14200: Fix false positives for
Style/DefWithParentheseswhen using endless method definition with empty parentheses and a space before=. ([@koic][])- #14197: Fix infinite loop error for
EnforcedStyle: with_fixed_indentationofLayout/ArgumentAlignmentandEnforcedStyle: consistentofLayout/FirstArgumentIndentationandLayout/HashAlignment. ([@koic][])- #14204: Fix
Layout/EmptyLinesAroundAccessModifiercop error on trailing access modifier. ([@viralpraxis][])- #14198: Fix
Lint/DuplicateMethodscop error ontooption is dynamically generated andprefixis enabled. ([@viralpraxis][])- #14199: Fix wrong autocorrection for
Style/MapToHashwith destructuring argument. ([@lovro-bikic][])- #14050: Modify condition for
rubocop:todoEOL comment. ([@jonas054][])1.75.7 (2025-05-21)
Bug fixes
- #14185: Fix an error for
Style/IfUnlessModifierOfIfUnlesswhen using nested modifier. ([@koic][])- #14192: Fix negatives for
Layout/SpaceBeforeBracketswhen using space between method argument parentheses and left bracket. ([@koic][])- #14189: Fix incorrect autocorrect for
Layout/SpaceBeforeBracketswhen using space between receiver and left brackets, and a space inside left bracket. ([@koic][])- #14170: Fix
Style/AccessModifierDeclarationscop error on semicolon after modifier. ([@viralpraxis][])- #14195: Fix
Style/AccessModifierDeclarationscop error on symbol modifier without surrounding scope. ([@viralpraxis][])- #14172: Fix
Style/AccessModifierDeclarationscop false positives when there are no method definitions and style isinline. ([@viralpraxis][])- #14193: Fix
Lint/UselessAssignmentcop error when using nested assignment with splat. ([@earlopain][])Changes
... (truncated)
Commits
190a64dCut 1.76f62809dUpdate Changelog329b580UseRuboCop::AST::Node#any_match_pattern_type?method9368339[Fix #14228] Fix false positive forStyle/RedundantParentheses16efaa9Merge pull request #14226 from Zopolis4/standeeaf29d5cFixLint/LiteralAsConditionautocorrect when branches of a condition have c...173db55Add new cop Lint/UselessOrc977defMerge pull request #14225 from viralpraxis/fix-style-empty-string-inside-inte...fac13c5FixStyle/EmptyStringInsideInterpolationcop error on non-string literal25a7eefFix false negatives forStyle/RedundantParentheses- 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:
0
0
Files Changed:
0
0
Additions:
+0
+0
Deletions:
-0
-0
Package Dependencies
Technical Details
| ID: | 1391627 |
| UUID: | 3119356718 |
| Node ID: | PR_kwDOIFCZBs6ZGuFv |
| Host: | GitHub |
| Repository: | RubyOnWorld/allure-ruby |