Bump rubocop from 1.36.0 to 1.76.2
Closed
Number: #207
Type: Pull Request
State: Closed
Type: Pull Request
State: Closed
Author:
dependabot[bot]
Association: Contributor
Comments: 3
Association: Contributor
Comments: 3
Created:
June 17, 2025 at 11:29 PM UTC
(about 1 year ago)
(about 1 year ago)
Updated:
June 20, 2025 at 11:29 PM UTC
(about 1 year ago)
(about 1 year ago)
Closed:
June 20, 2025 at 11:29 PM UTC
(about 1 year ago)
(about 1 year ago)
Time to Close:
3 days
Description:
Bumps rubocop from 1.36.0 to 1.76.2.
Release notes
Sourced from rubocop's releases.
RuboCop v1.76.2
Bug fixes
- #14273: Fix an error for
Lint/EmptyInterpolationwhen using a boolean literal inside interpolation. (@koic)- #14260: Fix an error for
Lint/UselessDefaultValueArgumentwhenfetchcall without a receiver. (@koic)- #14267: Fix an error for
Style/ConditionalAssignmentcop when using one-line branches. (@viralpraxis)- #14275: Fix false positives for
Style/RedundantParentheseswhen using parenthesized one-line pattern matching in endless method definition. (@koic)- #14269: Fix false positives for
Style/RedundantSelfwhen local variable assignment name is used in nestedif. (@koic)- #14286: Fix incorrect autocorrect for
Lint/SafeNavigationChainwhen a safe navigation is used on the left-hand side of a-operator when inside an array. (@koic)Changes
- #14232: Add
AllowedPatternsandAllowBangMethodsconfiguration toNaming/PredicateMethod. (@dvandersluis)- #14268: Register operator expression range boundaries as offenses in
Lint/AmbiguousRange. (@lovro-bikic)- #14264: Offend access modifiers used on top-level in
Lint/UselessAccessModifier. (@lovro-bikic)- #14278: Register conditions wrapped in parentheses as offenses in
Style/MinMaxComparison. (@lovro-bikic)RuboCop v1.76.1
Bug fixes
- #14245: Fix an error for
Lint/EmptyInterpolationwhen using primitives in interpolation. (@ka8725)- #14233: Fix an error for
Style/SafeNavigationwhen using ternary expression with index access call. (@koic)- #14236: Fix an error for
Style/SafeNavigationwhen using ternary expression with operator method call. (@koic)- #14249: Fix false positives for
Style/RedundantArrayFlattenwhenArray#joinis used with an argument other than the defaultnil. (@koic)- #14239: Fix false positives for
Style/RedundantParentheseswhen using one-lineinpattern matching in operator. (@koic)- #14240: Fix
Naming/PredicateMethodcop error on empty parentheses method body. (@viralpraxis)- #14235: Fix
Style/SafeNavigationcop error on indexed assignment in ternary expression. (@viralpraxis)- #14247: Fix
Style/SafeNavigationinvalid autocorrection on double colon method call. (@viralpraxis)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
... (truncated)
Changelog
Sourced from rubocop's changelog.
1.76.2 (2025-06-17)
Bug fixes
- #14273: Fix an error for
Lint/EmptyInterpolationwhen using a boolean literal inside interpolation. ([@koic][])- #14260: Fix an error for
Lint/UselessDefaultValueArgumentwhenfetchcall without a receiver. ([@koic][])- #14267: Fix an error for
Style/ConditionalAssignmentcop when using one-line branches. ([@viralpraxis][])- #14275: Fix false positives for
Style/RedundantParentheseswhen using parenthesized one-line pattern matching in endless method definition. ([@koic][])- #14269: Fix false positives for
Style/RedundantSelfwhen local variable assignment name is used in nestedif. ([@koic][])- #14286: Fix incorrect autocorrect for
Lint/SafeNavigationChainwhen a safe navigation is used on the left-hand side of a-operator when inside an array. ([@koic][])Changes
- #14232: Add
AllowedPatternsandAllowBangMethodsconfiguration toNaming/PredicateMethod. ([@dvandersluis][])- #14268: Register operator expression range boundaries as offenses in
Lint/AmbiguousRange. ([@lovro-bikic][])- #14264: Offend access modifiers used on top-level in
Lint/UselessAccessModifier. ([@lovro-bikic][])- #14278: Register conditions wrapped in parentheses as offenses in
Style/MinMaxComparison. ([@lovro-bikic][])1.76.1 (2025-06-09)
Bug fixes
- #14245: Fix an error for
Lint/EmptyInterpolationwhen using primitives in interpolation. ([@ka8725][])- #14233: Fix an error for
Style/SafeNavigationwhen using ternary expression with index access call. ([@koic][])- #14236: Fix an error for
Style/SafeNavigationwhen using ternary expression with operator method call. ([@koic][])- #14249: Fix false positives for
Style/RedundantArrayFlattenwhenArray#joinis used with an argument other than the defaultnil. ([@koic][])- #14239: Fix false positives for
Style/RedundantParentheseswhen using one-lineinpattern matching in operator. ([@koic][])- #14240: Fix
Naming/PredicateMethodcop error on empty parentheses method body. ([@viralpraxis][])- #14235: Fix
Style/SafeNavigationcop error on indexed assignment in ternary expression. ([@viralpraxis][])- #14247: Fix
Style/SafeNavigationinvalid autocorrection on double colon method call. ([@viralpraxis][])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
... (truncated)
Commits
3676d66Cut 1.76.2137e991Update Changelogfa9946aFix typos in Configuration docsf242a4aMerge pull request #14290 from kozy4324/fix-misleading-message-in-it_block_pa...a509757Fix misleading message for using multi-lineitparameter in Style/ItBlockPa...391837cMerge pull request #14289 from duffuniverse/fix-typos-in-cops-docsd8fd303Fix typos in Cops docsb7618fc[Doc] Tweak the doc forNaming/PredicateMethod88859b1Merge pull request #14287 from koic/fix_incorrect_autocorrect_for_lint_safe_n...d7072a4[Fix #14286] Fix incorrect autocorrect forLint/SafeNavigationChain- 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: | 1973538 |
| UUID: | 3154992919 |
| Node ID: | PR_kwDOIFCZBs6a-r-V |
| Host: | GitHub |
| Repository: | RubyOnWorld/allure-ruby |