chore(deps): bump rubocop from 1.75.8 to 1.76.1 in the dependencies group
Open
Number: #4792
Type: Pull Request
State: Open
Type: Pull Request
State: Open
Author:
dependabot[bot]
Association: Contributor
Comments: 0
Association: Contributor
Comments: 0
Created:
June 09, 2025 at 08:56 AM UTC
(9 months ago)
(9 months ago)
Updated:
June 09, 2025 at 08:56 AM UTC
(9 months ago)
(9 months ago)
Labels:
dependencies dependabot bundler
dependencies dependabot bundler
Description:
Bumps the dependencies group with 1 update: rubocop.
Updates rubocop from 1.75.8 to 1.76.1
Release notes
Sourced from rubocop's releases.
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
- #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)
Changelog
Sourced from rubocop's changelog.
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
- #14066: Add
EnforcedStyle: allow_single_lineas the default toStyle/ItBlockParameter. ([@koic][])- #13788: Disable
Lint/ShadowingOuterLocalVariableby default. ([@nekketsuuu][])- #14215: Recognize inequation (
!=) inLint/IdentityComparison. ([@lovro-bikic][])
Commits
c74a5b3Cut 1.76.1c78ad7aUpdate Changelog0bd38ff[Fix #14249] Fix false positives forStyle/RedundantArrayFlattenbf52626Improveexpect_offenseinterpolation documentationd0dfd68Add new rake task to verify config references availability44f5eb7Merge pull request #14259 from koic/fix_build_error_on_windows_matrixed880dfFix build errors on Winsows matrix9316b04Merge pull request #14244 from koic/fix_false_positives_for_style_redundant_p...bb32f69Merge pull request #14252 from koic/workaround_ruby_lsp_0_24067da9dWorkaround to avoid build error in Ruby LSP add-on test with Ruby LSP 0.24- 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 <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Pull Request Statistics
Commits:
1
1
Files Changed:
1
1
Additions:
+3
+3
Deletions:
-3
-3
Package Dependencies
Package:
rubocop
Ecosystem:
rubygems
rubygems
Version Change:
1.75.8 → 1.76.1
Update Type:
Minor
Minor
Path:
the dependencies group
Technical Details
| ID: | 1364832 |
| UUID: | 2577814504 |
| Node ID: | PR_kwDOBi9YiM6ZplPo |
| Host: | GitHub |
| Repository: | github/explore |
| Merge State: | Unknown |