From a708031bc25ded914e692906d7f5ffe51bae1c4c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Dec 2025 15:00:55 +0000 Subject: [PATCH 1/4] Bump rubocop from 1.81.6 to 1.82.0 in the rubocop group Bumps the rubocop group with 1 update: [rubocop](https://github.com/rubocop/rubocop). Updates `rubocop` from 1.81.6 to 1.82.0 - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.81.6...v1.82.0) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.82.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rubocop ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 18290d8e..f5ba1952 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -227,7 +227,7 @@ GEM gemoji (>= 3, < 5) html-pipeline (~> 2.2) jekyll (>= 3.0, < 5.0) - json (2.15.2) + json (2.18.0) kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) @@ -275,7 +275,7 @@ GEM regexp_parser (2.11.3) rexml (3.4.4) rouge (3.30.0) - rubocop (1.81.6) + rubocop (1.82.0) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -283,10 +283,10 @@ GEM parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.47.1, < 2.0) + rubocop-ast (>= 1.48.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.47.1) + rubocop-ast (1.48.0) parser (>= 3.3.7.2) prism (~> 1.4) rubocop-minitest (0.38.2) From b90155d3510af18e2e3dcfdc88a75a0ca551482a Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 17 Dec 2025 15:01:30 +0000 Subject: [PATCH 2/4] Dump full RuboCop config This automated commit dumps the contents of the full RuboCop config. [dependabot skip] --- test/fixtures/full_config.yml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/test/fixtures/full_config.yml b/test/fixtures/full_config.yml index ccc85235..ada45317 100644 --- a/test/fixtures/full_config.yml +++ b/test/fixtures/full_config.yml @@ -749,7 +749,7 @@ Layout/LineLength: StyleGuide: "#max-line-length" Enabled: false VersionAdded: '0.25' - VersionChanged: '1.69' + VersionChanged: '1.82' Max: 120 AllowHeredoc: true AllowURI: true @@ -757,7 +757,8 @@ Layout/LineLength: URISchemes: - http - https - IgnoreCopDirectives: true + AllowRBSInlineAnnotation: false + AllowCopDirectives: true AllowedPatterns: - "\\A\\s*(remote_)?test(_\\w+)?\\s.*(do|->)(\\s|\\Z)" - "\\A\\s*def test_\\w+\\s*\\Z" @@ -2006,7 +2007,10 @@ Lint/UselessNumericOperation: Lint/UselessOr: Description: Checks for useless OR expressions. Enabled: true + SafeAutoCorrect: false + AutoCorrect: contextual VersionAdded: '1.76' + VersionChanged: '1.82' Lint/UselessRescue: Description: Checks for useless `rescue`s. Enabled: false @@ -2497,7 +2501,7 @@ Style/Alias: - prefer_alias_method Style/AmbiguousEndlessMethodDefinition: Description: Checks for endless methods inside operators of lower precedence. - StyleGuide: "#ambiguous-endless-method-defintions" + StyleGuide: "#ambiguous-endless-method-definitions" Enabled: false VersionAdded: '1.68' Style/AndOr: @@ -2648,9 +2652,11 @@ Style/BlockDelimiters: AllowBracesOnProceduralOneLiners: false BracesRequiredMethods: [] Style/CaseEquality: - Description: Avoid explicit use of the case equality operator(===). + Description: Avoid explicit use of the case equality operator (`===`). StyleGuide: "#no-case-equality" Enabled: false + References: + - https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceregexpmatch VersionAdded: '0.9' VersionChanged: '0.89' AllowOnConstant: true @@ -3435,7 +3441,7 @@ Style/LambdaCall: Enabled: false AutoCorrect: contextual VersionAdded: '0.13' - VersionChanged: "<>" + VersionChanged: '1.81' EnforcedStyle: call SupportedStyles: - call @@ -3498,6 +3504,7 @@ Style/MethodCallWithArgsParentheses: - puts AllowedPatterns: [] IncludedMacros: [] + IncludedMacroPatterns: [] AllowParenthesesInMultilineCall: false AllowParenthesesInChaining: false AllowParenthesesInCamelCaseMethod: false @@ -3587,6 +3594,11 @@ Style/ModuleFunction: - forbidden Autocorrect: false SafeAutoCorrect: false +Style/ModuleMemberExistenceCheck: + Description: Checks for usage of `Module` methods returning arrays that can be replaced + with equivalent predicates. + Enabled: pending + VersionAdded: '1.82' Style/MultilineBlockChain: Description: Avoid multi-line chains of blocks. StyleGuide: "#single-line-blocks" @@ -3970,6 +3982,7 @@ Style/RedundantArgument: sum: 0 exit: true exit!: false + to_i: 10 split: " " chomp: "\n" chomp!: "\n" From d5d6c28228cb6cf750a3ce6d3bda7c92137ab57e Mon Sep 17 00:00:00 2001 From: Sam Bostock Date: Wed, 17 Dec 2025 11:41:19 -0500 Subject: [PATCH 3/4] Enable `Style/ModuleMemberExistenceCheck` --- rubocop.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rubocop.yml b/rubocop.yml index e9191270..0b31b65a 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -998,6 +998,11 @@ Style/ModuleFunction: Enabled: false EnforcedStyle: extend_self +<% if rubocop_version >= "1.82" %> +Style/ModuleMemberExistenceCheck: + Enabled: true +<% end %> + Style/MultilineBlockChain: Enabled: false From e47e23dbb431e16c52d9a5ff11ea26e4e6d06e0b Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 17 Dec 2025 16:41:41 +0000 Subject: [PATCH 4/4] Dump full RuboCop config This automated commit dumps the contents of the full RuboCop config. [dependabot skip] --- test/fixtures/full_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures/full_config.yml b/test/fixtures/full_config.yml index ada45317..771a907f 100644 --- a/test/fixtures/full_config.yml +++ b/test/fixtures/full_config.yml @@ -3597,7 +3597,7 @@ Style/ModuleFunction: Style/ModuleMemberExistenceCheck: Description: Checks for usage of `Module` methods returning arrays that can be replaced with equivalent predicates. - Enabled: pending + Enabled: true VersionAdded: '1.82' Style/MultilineBlockChain: Description: Avoid multi-line chains of blocks.