From 9fe38b21ba233e4539dd194ffbebe9239a8600d1 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 9 Jan 2025 16:26:36 +0000
Subject: [PATCH 1/2] Bump rubocop from 1.63.4 to 1.69.2

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.63.4 to 1.69.2.
- [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.63.4...v1.69.2)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
---
 Gemfile.lock | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/Gemfile.lock b/Gemfile.lock
index 55e64bcd..f43739a6 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -12,12 +12,12 @@ GEM
     byebug (11.1.3)
     coderay (1.1.3)
     diffy (3.4.3)
-    json (2.7.2)
+    json (2.9.1)
     language_server-protocol (3.17.0.3)
     method_source (1.0.0)
     minitest (5.25.4)
-    parallel (1.24.0)
-    parser (3.3.1.0)
+    parallel (1.26.3)
+    parser (3.3.6.0)
       ast (~> 2.4.1)
       racc
     pry (0.14.2)
@@ -26,26 +26,26 @@ GEM
     pry-byebug (3.10.1)
       byebug (~> 11.0)
       pry (>= 0.13, < 0.15)
-    racc (1.7.3)
+    racc (1.8.1)
     rainbow (3.1.1)
     rake (13.2.1)
-    regexp_parser (2.9.0)
-    rexml (3.2.6)
-    rubocop (1.63.4)
+    regexp_parser (2.10.0)
+    rubocop (1.69.2)
       json (~> 2.3)
       language_server-protocol (>= 3.17.0)
       parallel (~> 1.10)
       parser (>= 3.3.0.2)
       rainbow (>= 2.2.2, < 4.0)
-      regexp_parser (>= 1.8, < 3.0)
-      rexml (>= 3.2.5, < 4.0)
-      rubocop-ast (>= 1.31.1, < 2.0)
+      regexp_parser (>= 2.9.3, < 3.0)
+      rubocop-ast (>= 1.36.2, < 2.0)
       ruby-progressbar (~> 1.7)
-      unicode-display_width (>= 2.4.0, < 3.0)
-    rubocop-ast (1.31.3)
+      unicode-display_width (>= 2.4.0, < 4.0)
+    rubocop-ast (1.37.0)
       parser (>= 3.3.1.0)
     ruby-progressbar (1.13.0)
-    unicode-display_width (2.5.0)
+    unicode-display_width (3.1.3)
+      unicode-emoji (~> 4.0, >= 4.0.4)
+    unicode-emoji (4.0.4)
 
 PLATFORMS
   ruby

From 53ba3ed5c419d2d121f622a785229b081a9b8e7a Mon Sep 17 00:00:00 2001
From: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Date: Thu, 9 Jan 2025 16:27:06 +0000
Subject: [PATCH 2/2] Dump full RuboCop config This automated commit dumps the
 contents of the full RuboCop config. [dependabot skip]

---
 test/fixtures/full_config.yml | 133 +++++++++++++++++++++++++++++++---
 1 file changed, 121 insertions(+), 12 deletions(-)

diff --git a/test/fixtures/full_config.yml b/test/fixtures/full_config.yml
index fef84296..5f9114e9 100644
--- a/test/fixtures/full_config.yml
+++ b/test/fixtures/full_config.yml
@@ -70,6 +70,7 @@ AllCops:
   DisplayStyleGuide: false
   StyleGuideBaseURL: https://shopify.github.io/ruby-style-guide/
   DocumentationBaseURL: https://docs.rubocop.org/rubocop
+  DocumentationExtension: ".html"
   ExtraDetails: false
   StyleGuideCopsOnly: false
   EnabledByDefault: false
@@ -86,6 +87,7 @@ AllCops:
     - rails
     rubocop-rspec:
     - rspec
+    - rspec-rails
     rubocop-minitest:
     - minitest
     rubocop-sequel:
@@ -102,6 +104,7 @@ AllCops:
     rubocop-rspec_rails:
     - rspec-rails
   ActiveSupportExtensionsEnabled: false
+  StringLiteralsFrozenByDefault:
 Bundler/DuplicatedGem:
   Description: Checks for duplicate gem entries in Gemfile.
   Enabled: true
@@ -182,6 +185,14 @@ Bundler/OrderedGems:
   - "**/*.gemfile"
   - "**/Gemfile"
   - "**/gems.rb"
+Gemspec/AddRuntimeDependency:
+  Description: Prefer `add_dependency` over `add_runtime_dependency`.
+  StyleGuide: "#add_dependency_vs_add_runtime_dependency"
+  Reference: https://github.com/rubygems/rubygems/issues/7799#issuecomment-2192720316
+  Enabled: pending
+  VersionAdded: '1.65'
+  Include:
+  - "**/*.gemspec"
 Gemspec/DependencyVersion:
   Description: Requires or forbids specifying gem dependency versions.
   Enabled: false
@@ -593,6 +604,7 @@ Layout/FirstMethodArgumentLineBreak:
   Enabled: true
   VersionAdded: '0.49'
   AllowMultilineFinalElement: true
+  AllowedMethods: []
 Layout/FirstMethodParameterLineBreak:
   Description: Checks for a line break before the first parameter in a multi-line
     method parameter definition.
@@ -685,6 +697,8 @@ Layout/LeadingCommentSpace:
   VersionChanged: '0.73'
   AllowDoxygenCommentStyle: false
   AllowGemfileRubyComment: false
+  AllowRBSInlineAnnotation: false
+  AllowSteepAnnotation: false
 Layout/LeadingEmptyLines:
   Description: Check for unnecessary blank lines at the beginning of a file.
   Enabled: true
@@ -723,7 +737,7 @@ Layout/LineLength:
   StyleGuide: "#max-line-length"
   Enabled: true
   VersionAdded: '0.25'
-  VersionChanged: '1.4'
+  VersionChanged: '1.69'
   Max: 120
   AllowHeredoc: true
   AllowURI: true
@@ -734,6 +748,7 @@ Layout/LineLength:
   AllowedPatterns:
   - "\\A\\s*(remote_)?test(_\\w+)?\\s.*(do|->)(\\s|\\Z)"
   - "\\A\\s*def test_\\w+\\s*\\Z"
+  SplitStrings: false
 Layout/MultilineArrayBraceLayout:
   Description: Checks that the closing brace in an array literal is either on the
     same line as the last array element, or a new line.
@@ -1132,7 +1147,7 @@ Lint/BinaryOperatorWithIdenticalOperands:
   Enabled: true
   Safe: false
   VersionAdded: '0.89'
-  VersionChanged: '1.7'
+  VersionChanged: '1.69'
 Lint/BooleanSymbol:
   Description: Check for `:true` and `:false` symbols.
   Enabled: false
@@ -1260,6 +1275,7 @@ Lint/DuplicateBranch:
   VersionChanged: '1.7'
   IgnoreLiteralBranches: false
   IgnoreConstantBranches: false
+  IgnoreDuplicateElseBranch: false
 Lint/DuplicateCaseCondition:
   Description: Do not repeat values in case conditionals.
   Enabled: false
@@ -1299,6 +1315,10 @@ Lint/DuplicateRescueException:
   Description: Checks that there are no repeated exceptions used in `rescue` expressions.
   Enabled: false
   VersionAdded: '0.89'
+Lint/DuplicateSetElement:
+  Description: Checks for duplicate elements in Set.
+  Enabled: pending
+  VersionAdded: '1.67'
 Lint/EachWithObjectArgument:
   Description: Check for immutable argument given to each_with_object.
   Enabled: true
@@ -1396,6 +1416,11 @@ Lint/HashCompareByIdentity:
   Enabled: false
   Safe: false
   VersionAdded: '0.93'
+Lint/HashNewWithKeywordArgumentsAsDefault:
+  Description: Checks for the deprecated use of keyword arguments for hash default
+    in `Hash.new`.
+  Enabled: pending
+  VersionAdded: '1.69'
 Lint/HeredocMethodCallPosition:
   Description: Checks for the ordering of a method call where the receiver of the
     call is a HEREDOC.
@@ -1546,6 +1571,10 @@ Lint/NumberedParameterAssignment:
   Description: Checks for uses of numbered parameter assignment.
   Enabled: false
   VersionAdded: '1.9'
+Lint/NumericOperationWithConstantResult:
+  Description: Checks for numeric operations with constant results.
+  Enabled: pending
+  VersionAdded: '1.69'
 Lint/OrAssignmentToConstant:
   Description: Checks unintended or-assignment to constant.
   Enabled: false
@@ -1703,9 +1732,9 @@ Lint/SafeNavigationChain:
   - try!
   - in?
 Lint/SafeNavigationConsistency:
-  Description: Check to make sure that if safe navigation is used for a method call
-    in an `&&` or `||` condition that safe navigation is used for all method calls
-    on that same object.
+  Description: Check to make sure that if safe navigation is used in an `&&` or `||`
+    condition, consistent and appropriate safe navigation, without excess or deficiency,
+    is used for all method calls on the same object.
   Enabled: false
   VersionAdded: '0.55'
   VersionChanged: '0.77'
@@ -1802,6 +1831,10 @@ Lint/UnderscorePrefixedVariableName:
   Enabled: true
   VersionAdded: '0.21'
   AllowKeywordBlockArguments: false
+Lint/UnescapedBracketInRegexp:
+  Description: Checks for unescaped literal `]` in Regexp.
+  Enabled: pending
+  VersionAdded: '1.68'
 Lint/UnexpectedBlockArity:
   Description: Looks for blocks that have fewer arguments that the calling method
     expects.
@@ -1855,10 +1888,12 @@ Lint/UnusedMethodArgument:
   Enabled: false
   AutoCorrect: contextual
   VersionAdded: '0.21'
-  VersionChanged: '1.61'
+  VersionChanged: '1.69'
   AllowUnusedKeywordArguments: false
   IgnoreEmptyMethods: true
   IgnoreNotImplementedMethods: true
+  NotImplementedExceptions:
+  - NotImplementedError
 Lint/UriEscapeUnescape:
   Description: "`URI.escape` method is obsolete and should not be used. Instead, use
     `CGI.escape`, `URI.encode_www_form` or `URI.encode_www_form_component` depending
@@ -1885,8 +1920,12 @@ Lint/UselessAssignment:
   Enabled: true
   AutoCorrect: contextual
   VersionAdded: '0.11'
-  VersionChanged: '1.61'
-  SafeAutoCorrect: false
+  VersionChanged: '1.66'
+Lint/UselessDefined:
+  Description: Checks for calls to `defined?` with strings and symbols. The result
+    of such a call will always be truthy.
+  Enabled: pending
+  VersionAdded: '1.69'
 Lint/UselessElseWithoutRescue:
   Description: Checks for useless `else` in `begin..end` without `rescue`.
   Enabled: true
@@ -1899,6 +1938,10 @@ Lint/UselessMethodDefinition:
   VersionAdded: '0.90'
   VersionChanged: '1.61'
   Safe: false
+Lint/UselessNumericOperation:
+  Description: Checks for useless numeric operations.
+  Enabled: pending
+  VersionAdded: '1.66'
 Lint/UselessRescue:
   Description: Checks for useless `rescue`s.
   Enabled: true
@@ -1958,8 +2001,9 @@ Metrics/BlockNesting:
   StyleGuide: "#three-is-the-number-thou-shalt-count"
   Enabled: true
   VersionAdded: '0.25'
-  VersionChanged: '0.47'
+  VersionChanged: '1.65'
   CountBlocks: false
+  CountModifierForms: false
   Max: 3
 Metrics/ClassLength:
   Description: Avoid classes longer than 100 lines of code.
@@ -2339,6 +2383,7 @@ Style/AccessModifierDeclarations:
   - inline
   - group
   AllowModifiersOnSymbols: true
+  AllowModifiersOnAttrs: true
   SafeAutoCorrect: false
 Style/AccessorGrouping:
   Description: Checks for grouping of accessors in `class` and `module` bodies.
@@ -2358,6 +2403,11 @@ Style/Alias:
   SupportedStyles:
   - prefer_alias
   - prefer_alias_method
+Style/AmbiguousEndlessMethodDefinition:
+  Description: Checks for endless methods inside operators of lower precedence.
+  StyleGuide: "#ambiguous-endless-method-defintions"
+  Enabled: pending
+  VersionAdded: '1.68'
 Style/AndOr:
   Description: Use &&/|| instead of and/or.
   StyleGuide: "#no-and-or-or"
@@ -2451,6 +2501,12 @@ Style/BisectedAttrAccessor:
     method can be combined into single `attr_accessor`.
   Enabled: false
   VersionAdded: '0.87'
+Style/BitwisePredicate:
+  Description: Prefer bitwise predicate methods over direct comparison operations.
+  StyleGuide: "#bitwise-predicate-methods"
+  Enabled: pending
+  Safe: false
+  VersionAdded: '1.68'
 Style/BlockComments:
   Description: Do not use block comments.
   StyleGuide: "#no-block-comments"
@@ -2604,6 +2660,11 @@ Style/ColonMethodDefinition:
   StyleGuide: "#colon-method-definition"
   Enabled: false
   VersionAdded: '0.52'
+Style/CombinableDefined:
+  Description: Checks successive `defined?` calls that can be combined into a single
+    call.
+  Enabled: pending
+  VersionAdded: '1.68'
 Style/CombinableLoops:
   Description: Checks for places where multiple consecutive loops over the same data
     can be combined into a single loop.
@@ -2699,6 +2760,11 @@ Style/DefWithParentheses:
   Enabled: true
   VersionAdded: '0.9'
   VersionChanged: '0.12'
+Style/DigChain:
+  Description: Use `dig` with multiple parameters instead of chaining multiple calls.
+  Enabled: pending
+  Safe: false
+  VersionAdded: '1.69'
 Style/Dir:
   Description: Use the `__dir__` method to retrieve the canonicalized absolute path
     to the current file.
@@ -2734,6 +2800,7 @@ Style/DocumentationMethod:
   Description: Checks for missing documentation comment for public methods.
   Enabled: false
   VersionAdded: '0.43'
+  AllowedMethods: []
   Exclude:
   - "/spec/**/*"
   - "/test/**/*"
@@ -2887,11 +2954,21 @@ Style/FileEmpty:
   Enabled: true
   Safe: false
   VersionAdded: '1.48'
+Style/FileNull:
+  Description: Use `File::NULL` instead of hardcoding "dev/null".
+  Enabled: pending
+  SafeAutoCorrect: false
+  VersionAdded: '1.69'
 Style/FileRead:
   Description: Favor `File.(bin)read` convenience methods.
   StyleGuide: "#file-read"
   Enabled: false
   VersionAdded: '1.24'
+Style/FileTouch:
+  Description: Favor `FileUtils.touch` for touching files.
+  Enabled: pending
+  VersionAdded: '1.69'
+  SafeAutoCorrect: false
 Style/FileWrite:
   Description: Favor `File.(bin)write` convenience methods.
   StyleGuide: "#file-write"
@@ -3028,7 +3105,7 @@ Style/HashSyntax:
   StyleGuide: "#hash-literals"
   Enabled: true
   VersionAdded: '0.9'
-  VersionChanged: '1.24'
+  VersionChanged: '1.67'
   EnforcedStyle: ruby19
   SupportedStyles:
   - ruby19
@@ -3041,6 +3118,7 @@ Style/HashSyntax:
   - never
   - either
   - consistent
+  - either_consistent
   UseHashRocketsWithSymbolValues: false
   PreferHashRocketsForNonAlnumEndingSymbols: false
 Style/HashTransformKeys:
@@ -3161,6 +3239,12 @@ Style/IpAddresses:
   - "/**/Gemfile"
   - "/**/gems.rb"
   - "/**/*.gemspec"
+Style/KeywordArgumentsMerging:
+  Description: When passing an existing hash as keyword arguments, provide additional
+    arguments directly rather than using `merge`.
+  StyleGuide: "#merging-keyword-arguments"
+  Enabled: pending
+  VersionAdded: '1.68'
 Style/KeywordParametersOrder:
   Description: Enforces that optional keyword parameters are placed at the end of
     the parameters list.
@@ -3219,6 +3303,7 @@ Style/MapIntoArray:
   StyleGuide: "#functional-code"
   Enabled: false
   VersionAdded: '1.63'
+  VersionChanged: '1.67'
   Safe: false
 Style/MapToHash:
   Description: Prefer `to_h` with a block over `map.to_h`.
@@ -3815,6 +3900,10 @@ Style/RedundantInterpolation:
   SafeAutoCorrect: false
   VersionAdded: '0.76'
   VersionChanged: '1.30'
+Style/RedundantInterpolationUnfreeze:
+  Description: Checks for redundant unfreezing of interpolated strings.
+  Enabled: pending
+  VersionAdded: '1.66'
 Style/RedundantLineContinuation:
   Description: Check for redundant line continuation.
   Enabled: true
@@ -3931,13 +4020,14 @@ Style/ReturnNilInPredicateMethodDefinition:
   AllowedMethods: []
   AllowedPatterns: []
   VersionAdded: '1.53'
+  VersionChanged: '1.67'
 Style/SafeNavigation:
   Description: Transforms usages of a method call safeguarded by a check for the existence
     of the object to safe navigation (`&.`). Autocorrection is unsafe as it assumes
     the object will be `nil` or truthy, but never `false`.
   Enabled: true
   VersionAdded: '0.43'
-  VersionChanged: '1.27'
+  VersionChanged: '1.67'
   ConvertCodeThatCanStartToReturnNil: false
   AllowedMethods:
   - present?
@@ -3947,6 +4037,13 @@ Style/SafeNavigation:
   - try!
   SafeAutoCorrect: false
   MaxChainLength: 2
+Style/SafeNavigationChainLength:
+  Description: Enforces safe navigation chains length to not exceed the configured
+    maximum.
+  StyleGuide: "#safe-navigation"
+  Enabled: pending
+  VersionAdded: '1.68'
+  Max: 2
 Style/Sample:
   Description: Use `sample` instead of `shuffle.first`, `shuffle.last`, and `shuffle[Integer]`.
   Reference: https://github.com/fastruby/fast-ruby#arrayshufflefirst-vs-arraysample-code
@@ -3977,6 +4074,13 @@ Style/Send:
   StyleGuide: "#prefer-public-send"
   Enabled: false
   VersionAdded: '0.33'
+Style/SendWithLiteralMethodName:
+  Description: Detects the use of the `public_send` method with a static method name
+    argument.
+  Enabled: pending
+  Safe: false
+  AllowSend: true
+  VersionAdded: '1.64'
 Style/SignalException:
   Description: Checks for proper usage of fail and raise.
   StyleGuide: "#prefer-raise-over-fail"
@@ -4125,6 +4229,11 @@ Style/StructInheritance:
   SafeAutoCorrect: false
   VersionAdded: '0.29'
   VersionChanged: '1.20'
+Style/SuperArguments:
+  Description: Call `super` without arguments and parentheses when the signature is
+    identical.
+  Enabled: pending
+  VersionAdded: '1.64'
 Style/SuperWithArgsParentheses:
   Description: Use parentheses for `super` with arguments.
   StyleGuide: "#super-with-args"
@@ -4156,7 +4265,7 @@ Style/SymbolProc:
   Enabled: true
   Safe: false
   VersionAdded: '0.26'
-  VersionChanged: '1.40'
+  VersionChanged: '1.64'
   AllowMethodsWithArguments: false
   AllowedMethods:
   - define_method