From 3312a3053292625f4b879a4b4223eaf4ce6a6e01 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 6 Mar 2026 08:38:09 +0000 Subject: [PATCH 1/7] build(deps): bump the bundler group across 2 directories with 8 updates Bumps the bundler group with 3 updates in the /Library/Homebrew directory: [minitest](https://github.com/minitest/minitest), [rubocop](https://github.com/rubocop/rubocop) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). Bumps the bundler group with 2 updates in the /docs directory: [sorbet-runtime](https://github.com/sorbet/sorbet) and [google-protobuf](https://github.com/protocolbuffers/protobuf). Updates `minitest` from 6.0.1 to 6.0.2 - [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc) - [Commits](https://github.com/minitest/minitest/compare/v6.0.1...v6.0.2) Updates `rubocop` from 1.84.2 to 1.85.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.84.2...v1.85.0) Updates `sorbet-static-and-runtime` from 0.6.12956 to 0.6.12971 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.6.12956 to 0.6.12971 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `json` from 2.18.1 to 2.19.0 - [Release notes](https://github.com/ruby/json/releases) - [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md) - [Commits](https://github.com/ruby/json/compare/v2.18.1...v2.19.0) Updates `sorbet` from 0.6.12956 to 0.6.12971 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.6.12956 to 0.6.12971 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.6.12956 to 0.6.12993 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `google-protobuf` from 4.33.5 to 4.34.0 - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Commits](https://github.com/protocolbuffers/protobuf/commits) --- updated-dependencies: - dependency-name: minitest dependency-version: 6.0.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: bundler - dependency-name: rubocop dependency-version: 1.85.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: bundler - dependency-name: sorbet-static-and-runtime dependency-version: 0.6.12971 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: bundler - dependency-name: sorbet-runtime dependency-version: 0.6.12971 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: bundler - dependency-name: json dependency-version: 2.19.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: bundler - dependency-name: sorbet dependency-version: 0.6.12971 dependency-type: indirect update-type: version-update:semver-patch dependency-group: bundler - dependency-name: sorbet-static dependency-version: 0.6.12971 dependency-type: indirect update-type: version-update:semver-patch dependency-group: bundler - dependency-name: sorbet-runtime dependency-version: 0.6.12993 dependency-type: indirect update-type: version-update:semver-patch dependency-group: bundler - dependency-name: google-protobuf dependency-version: 4.34.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: bundler ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 32 +++++++++++++++--------- docs/Gemfile.lock | 46 +++++++++++++++++------------------ 2 files changed, 43 insertions(+), 35 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 753acb1b7ff43..9b42ec1dff059 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -13,12 +13,16 @@ GEM csv (3.3.5) diff-lcs (1.6.2) docile (1.4.1) + drb (2.2.3) elftools (1.3.1) bindata (~> 2) erubi (1.13.1) hana (1.3.7) io-console (0.8.2) - json (2.18.1) + json (2.19.0) + json-schema (6.1.0) + addressable (~> 2.8) + bigdecimal (>= 3.1, < 5) json_schemer (2.5.0) bigdecimal hana (~> 1.3) @@ -29,8 +33,11 @@ GEM language_server-protocol (3.17.0.5) lint_roller (1.1.0) logger (1.7.0) + mcp (0.8.0) + json-schema (>= 4.1) method_source (1.1.0) - minitest (6.0.1) + minitest (6.0.2) + drb (~> 2.0) prism (~> 1.5) netrc (0.11.0) ostruct (0.6.3) @@ -87,10 +94,11 @@ GEM rspec-support (3.13.7) rspec_junit_formatter (0.6.0) rspec-core (>= 2, < 4, != 2.12.0) - rubocop (1.84.2) + rubocop (1.85.0) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) + mcp (~> 0.6) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) @@ -133,15 +141,15 @@ GEM simplecov-html (0.13.2) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.6.12956) - sorbet-static (= 0.6.12956) - sorbet-runtime (0.6.12956) - sorbet-static (0.6.12956-aarch64-linux) - sorbet-static (0.6.12956-universal-darwin) - sorbet-static (0.6.12956-x86_64-linux) - sorbet-static-and-runtime (0.6.12956) - sorbet (= 0.6.12956) - sorbet-runtime (= 0.6.12956) + sorbet (0.6.12971) + sorbet-static (= 0.6.12971) + sorbet-runtime (0.6.12971) + sorbet-static (0.6.12971-aarch64-linux) + sorbet-static (0.6.12971-universal-darwin) + sorbet-static (0.6.12971-x86_64-linux) + sorbet-static-and-runtime (0.6.12971) + sorbet (= 0.6.12971) + sorbet-runtime (= 0.6.12971) spoom (1.7.11) erubi (>= 1.10.0) prism (>= 0.28.0) diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 7194fb5b18d54..e9264c0cbff7c 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -49,27 +49,27 @@ GEM fiber-storage fiber-storage (1.0.1) forwardable-extended (2.6.0) - google-protobuf (4.33.5) + google-protobuf (4.34.0) bigdecimal - rake (>= 13) - google-protobuf (4.33.5-aarch64-linux-gnu) + rake (~> 13.3) + google-protobuf (4.34.0-aarch64-linux-gnu) bigdecimal - rake (>= 13) - google-protobuf (4.33.5-aarch64-linux-musl) + rake (~> 13.3) + google-protobuf (4.34.0-aarch64-linux-musl) bigdecimal - rake (>= 13) - google-protobuf (4.33.5-arm64-darwin) + rake (~> 13.3) + google-protobuf (4.34.0-arm64-darwin) bigdecimal - rake (>= 13) - google-protobuf (4.33.5-x86_64-darwin) + rake (~> 13.3) + google-protobuf (4.34.0-x86_64-darwin) bigdecimal - rake (>= 13) - google-protobuf (4.33.5-x86_64-linux-gnu) + rake (~> 13.3) + google-protobuf (4.34.0-x86_64-linux-gnu) bigdecimal - rake (>= 13) - google-protobuf (4.33.5-x86_64-linux-musl) + rake (~> 13.3) + google-protobuf (4.34.0-x86_64-linux-musl) bigdecimal - rake (>= 13) + rake (~> 13.3) hashery (2.1.2) html-proofer (5.2.0) addressable (~> 2.3) @@ -202,7 +202,7 @@ GEM google-protobuf (~> 4.31) sass-embedded (1.97.3-x86_64-linux-musl) google-protobuf (~> 4.31) - sorbet-runtime (0.6.12956) + sorbet-runtime (0.6.12993) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) tomlrb (2.0.4) @@ -276,13 +276,13 @@ CHECKSUMS fiber-local (1.1.0) sha256=c885f94f210fb9b05737de65d511136ea602e00c5105953748aa0f8793489f06 fiber-storage (1.0.1) sha256=f48e5b6d8b0be96dac486332b55cee82240057065dc761c1ea692b2e719240e1 forwardable-extended (2.6.0) sha256=1bec948c469bbddfadeb3bd90eb8c85f6e627a412a3e852acfd7eaedbac3ec97 - google-protobuf (4.33.5) sha256=1b64fb774c101b23ac3f6923eca24be04fd971635d235c4cd4cfe0d752620da0 - google-protobuf (4.33.5-aarch64-linux-gnu) sha256=f70ca066e37a7ac60b4f34a836bb48ca3fc41a9371310052e484d8c9f925ff39 - google-protobuf (4.33.5-aarch64-linux-musl) sha256=d9ae90025f05db642e5603de5dbb2390cd1215bac7507fa575cc20b0db7e11a1 - google-protobuf (4.33.5-arm64-darwin) sha256=996d4e93c4232cc42f0facd821a92b4f4a926c3c9c1a768e7d768b33d9ef72f9 - google-protobuf (4.33.5-x86_64-darwin) sha256=173d1d6c9f0de93fd9ee25fde172d6fb6376099dca8844e19bc5782bbc7b93b0 - google-protobuf (4.33.5-x86_64-linux-gnu) sha256=a782adf86bfba207740b49d7bb9ccdc25c4fb8f800fe222af62bce951149338a - google-protobuf (4.33.5-x86_64-linux-musl) sha256=d14feec9118f44cfdc3ee4a1d1baa4e6dd77fa418967ccf22ecbe76b8c1bacbf + google-protobuf (4.34.0) sha256=bffaea30fbe2807c80667a78953b15645b3bef62b25c10ca187e4418119be531 + google-protobuf (4.34.0-aarch64-linux-gnu) sha256=0ab8a8a97976a2265d647e69b3ff1980c89184abdaf06d36091856c5ab37cc55 + google-protobuf (4.34.0-aarch64-linux-musl) sha256=0632a86df6d320eac3b335bd779499d43ad8ee6d1f8c8494b773ed5d3d5c6ab4 + google-protobuf (4.34.0-arm64-darwin) sha256=f83967a8095a9da676b79ba372c58fef2ca3878428bd40febfce65b3752c90d1 + google-protobuf (4.34.0-x86_64-darwin) sha256=4a5b67281993345adca54bb32947f25a289597eafaa240e5b714d0a740f99321 + google-protobuf (4.34.0-x86_64-linux-gnu) sha256=bbb333fbe79c16f35a2e2154cf29f3ce26f60390dba286b339861206d5435ef9 + google-protobuf (4.34.0-x86_64-linux-musl) sha256=0b75858a388b17e73aa4176df2e722762dbc92551b7075fdc562d33c1c6de0b0 hashery (2.1.2) sha256=d239cc2310401903f6b79d458c2bbef5bf74c46f3f974ae9c1061fb74a404862 html-proofer (5.2.0) sha256=9d137cc437628b4dfc1191a9f80c5329dfb0a66b895aef021bf10758d80ec69d http_parser.rb (0.8.1) sha256=9ae8df145b39aa5398b2f90090d651c67bd8e2ebfe4507c966579f641e11097a @@ -340,7 +340,7 @@ CHECKSUMS sass-embedded (1.97.3-x86_64-darwin) sha256=578f167907ee2a4d355a5a40bcf35d2e3eb90c87008dcd9ce31a2c4a877697f6 sass-embedded (1.97.3-x86_64-linux-gnu) sha256=173a4d0dbe2fffdf7482bd3e82fb597dfc658c18d1e8fd746aa7d5077ed4e850 sass-embedded (1.97.3-x86_64-linux-musl) sha256=fcc0dcb253ef174ea25283f8781ce9ce95a492663f4bdbb1d66bfae99267a9f7 - sorbet-runtime (0.6.12956) sha256=fee716a62d0b1d94ebc8e6ba23e76a7654eeac66c1f5cc1e1bef78b8e9ff87c7 + sorbet-runtime (0.6.12993) sha256=5720d6e70063ed39528ddb18248c13a8072cf6991cf7d6652dcc0b8e9bc6b4ac terminal-table (3.0.2) sha256=f951b6af5f3e00203fb290a669e0a85c5dd5b051b3b023392ccfd67ba5abae91 tomlrb (2.0.4) sha256=262f77947ac3ac9b3366a0a5940ecd238300c553e2e14f22009e2afcd2181b99 traces (0.18.2) sha256=80f1649cb4daace1d7174b81f3b3b7427af0b93047759ba349960cb8f315e214 From 4d038f01641559f4221607b4843a189f620d6b9c Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 6 Mar 2026 15:52:06 +0000 Subject: [PATCH 2/7] .gitignore: add more gems to ignore. --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 87a7172a8c84c..df9f83c9e05a2 100644 --- a/.gitignore +++ b/.gitignore @@ -83,6 +83,7 @@ **/vendor/bundle/ruby/*/gems/csv-*/ **/vendor/bundle/ruby/*/gems/diff-lcs-*/ **/vendor/bundle/ruby/*/gems/docile-*/ +**/vendor/bundle/ruby/*/gems/drb-*/ **/vendor/bundle/ruby/*/gems/ecma-re-validator-*/ **/vendor/bundle/ruby/*/gems/erubi-*/ **/vendor/bundle/ruby/*/gems/hana-*/ @@ -94,6 +95,7 @@ **/vendor/bundle/ruby/*/gems/kramdown-*/ **/vendor/bundle/ruby/*/gems/language_server-protocol-*/ **/vendor/bundle/ruby/*/gems/lint_roller-*/ +**/vendor/bundle/ruby/*/gems/mcp-*/ **/vendor/bundle/ruby/*/gems/method_source-*/ **/vendor/bundle/ruby/*/gems/mini_portile2-*/ **/vendor/bundle/ruby/*/gems/minitest-*/ From 45aff6aa11d6702487cac0d53426961e6f436770 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 6 Mar 2026 15:54:34 +0000 Subject: [PATCH 3/7] brew vendor-gems: commit updates. --- .../Homebrew/vendor/bundle/bundler/setup.rb | 19 +++++++++++-------- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../types/private/methods/call_validation.rb | 0 .../private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../types/props/generated_code_validation.rb | 0 .../props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../types/props/private/serde_transform.rb | 0 .../props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_module.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 87 files changed, 11 insertions(+), 8 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/typed_module.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/{sorbet-runtime-0.6.12956 => sorbet-runtime-0.6.12971}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index ff5e39e4589fd..9db19248453f7 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -47,13 +47,15 @@ def self.extension_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/csv-3.3.5/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/diff-lcs-1.6.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/docile-1.4.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/drb-2.2.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/erubi-1.13.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/hana-1.3.7/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/io-console-0.8.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/io-console-0.8.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.18.1") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.18.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.19.0") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.19.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-schema-6.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/regexp_parser-2.11.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simpleidn-0.2.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json_schemer-2.5.0/lib") @@ -62,10 +64,11 @@ def self.extension_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/language_server-protocol-3.17.0.5/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/lint_roller-1.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/logger-1.7.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/mcp-0.8.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/method_source-1.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/prism-1.9.0") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/prism-1.9.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-6.0.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-6.0.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/netrc-0.11.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ostruct-0.6.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel-1.27.0/lib") @@ -94,14 +97,14 @@ def self.extension_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-3.13.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-github-3.0.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-retry-0.6.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.6.12956/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.6.12971/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-sorbet-1.9.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec_junit_formatter-0.6.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-ast-1.49.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-progressbar-1.13.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-emoji-4.2.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-3.2.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.84.2/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.85.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-2.0.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.26.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.9.0/lib") @@ -114,9 +117,9 @@ def self.extension_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-3.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.6.12956-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.6.12956/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.6.12956/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.6.12971-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.6.12971/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.6.12971/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.5.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.7.11/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.28") diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_module.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_module.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_module.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_module.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12956/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/4.0.0/gems/sorbet-runtime-0.6.12971/lib/types/utils.rb From 926803e59a68a6d64cbfd3b92cb79756cd2bd02c Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 6 Mar 2026 15:54:58 +0000 Subject: [PATCH 4/7] Update RBI files for bundler. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../Homebrew/sorbet/rbi/gems/drb@2.2.3.rbi | 290 ++++++++ .../sorbet/rbi/gems/json-schema@6.1.0.rbi | 650 ++++++++++++++++++ .../Homebrew/sorbet/rbi/gems/mcp@0.8.0.rbi | 593 ++++++++++++++++ ...{minitest@6.0.1.rbi => minitest@6.0.2.rbi} | 0 ...{rubocop@1.84.2.rbi => rubocop@1.85.0.rbi} | 103 ++- 5 files changed, 1621 insertions(+), 15 deletions(-) create mode 100644 Library/Homebrew/sorbet/rbi/gems/drb@2.2.3.rbi create mode 100644 Library/Homebrew/sorbet/rbi/gems/json-schema@6.1.0.rbi create mode 100644 Library/Homebrew/sorbet/rbi/gems/mcp@0.8.0.rbi rename Library/Homebrew/sorbet/rbi/gems/{minitest@6.0.1.rbi => minitest@6.0.2.rbi} (100%) rename Library/Homebrew/sorbet/rbi/gems/{rubocop@1.84.2.rbi => rubocop@1.85.0.rbi} (97%) diff --git a/Library/Homebrew/sorbet/rbi/gems/drb@2.2.3.rbi b/Library/Homebrew/sorbet/rbi/gems/drb@2.2.3.rbi new file mode 100644 index 0000000000000..bc3bbc4ae3606 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/drb@2.2.3.rbi @@ -0,0 +1,290 @@ +# typed: false + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `drb` gem. +# Please instead update this file by running `bin/tapioca gem drb`. + + +module DRb + private + + def config; end + def current_server; end + def fetch_server(uri); end + def front; end + def here?(uri); end + def install_acl(acl); end + def install_id_conv(idconv); end + def mutex; end + def primary_server; end + def primary_server=(_arg0); end + def regist_server(server); end + def remove_server(server); end + def start_service(uri = T.unsafe(nil), front = T.unsafe(nil), config = T.unsafe(nil)); end + def stop_service; end + def thread; end + def to_id(obj); end + def to_obj(ref); end + def uri; end + + class << self + def config; end + def current_server; end + def fetch_server(uri); end + def front; end + def here?(uri); end + def install_acl(acl); end + def install_id_conv(idconv); end + def mutex; end + def primary_server; end + def primary_server=(_arg0); end + def regist_server(server); end + def remove_server(server); end + def start_service(uri = T.unsafe(nil), front = T.unsafe(nil), config = T.unsafe(nil)); end + def stop_service; end + def thread; end + def to_id(obj); end + def to_obj(ref); end + def uri; end + end +end + +DRb::DRB_OBJECT_SPACE = T.let(T.unsafe(nil), DRb::DRbObjectSpace) + +class DRb::DRbArray + def initialize(ary); end + + def _dump(lv); end + + class << self + def _load(s); end + end +end + +class DRb::DRbConn + def initialize(remote_uri); end + + def alive?; end + def close; end + def send_message(ref, msg_id, arg, block); end + def uri; end + + class << self + def make_pool; end + def open(remote_uri); end + def stop_pool; end + end +end + +class DRb::DRbIdConv + def to_id(obj); end + def to_obj(ref); end +end + +class DRb::DRbMessage + def initialize(config); end + + def dump(obj, error = T.unsafe(nil)); end + def load(soc); end + def recv_reply(stream); end + def recv_request(stream); end + def send_reply(stream, succ, result); end + def send_request(stream, ref, msg_id, arg, b); end + + private + + def make_proxy(obj, error = T.unsafe(nil)); end +end + +class DRb::DRbObject + def initialize(obj, uri = T.unsafe(nil)); end + + def ==(other); end + def __drbref; end + def __drburi; end + def _dump(lv); end + def eql?(other); end + def hash; end + def method_missing(msg_id, *a, **_arg2, &b); end + def pretty_print(q); end + def pretty_print_cycle(q); end + def respond_to?(msg_id, priv = T.unsafe(nil)); end + + class << self + def _load(s); end + def new_with(uri, ref); end + def new_with_uri(uri); end + def prepare_backtrace(uri, result); end + def with_friend(uri); end + end +end + +class DRb::DRbObjectSpace + include ::MonitorMixin + + def initialize; end + + def to_id(obj); end + def to_obj(ref); end +end + +module DRb::DRbProtocol + private + + def add_protocol(prot); end + def auto_load(uri); end + def open(uri, config, first = T.unsafe(nil)); end + def open_server(uri, config, first = T.unsafe(nil)); end + def uri_option(uri, config, first = T.unsafe(nil)); end + + class << self + def add_protocol(prot); end + def auto_load(uri); end + def open(uri, config, first = T.unsafe(nil)); end + def open_server(uri, config, first = T.unsafe(nil)); end + def uri_option(uri, config, first = T.unsafe(nil)); end + end +end + +class DRb::DRbRemoteError < ::DRb::DRbError + def initialize(error); end + + def reason; end +end + +class DRb::DRbServer + def initialize(uri = T.unsafe(nil), front = T.unsafe(nil), config_or_acl = T.unsafe(nil)); end + + def alive?; end + def check_insecure_method(obj, msg_id); end + def config; end + def front; end + def here?(uri); end + def stop_service; end + def thread; end + def to_id(obj); end + def to_obj(ref); end + def uri; end + def verbose; end + def verbose=(v); end + + private + + def any_to_s(obj); end + def error_print(exception); end + def insecure_method?(msg_id); end + def main_loop; end + def run; end + def shutdown; end + + class << self + def default_acl(acl); end + def default_argc_limit(argc); end + def default_id_conv(idconv); end + def default_load_limit(sz); end + def make_config(hash = T.unsafe(nil)); end + def verbose; end + def verbose=(on); end + end +end + +class DRb::DRbServer::InvokeMethod + def initialize(drb_server, client); end + + def perform; end + + private + + def block_yield(x); end + def check_insecure_method; end + def init_with_client; end + def perform_with_block; end + def perform_without_block; end + def setup_message; end +end + +class DRb::DRbTCPSocket + def initialize(uri, soc, config = T.unsafe(nil)); end + + def accept; end + def alive?; end + def close; end + def peeraddr; end + def recv_reply; end + def recv_request; end + def send_reply(succ, result); end + def send_request(ref, msg_id, arg, b); end + def set_sockopt(soc); end + def shutdown; end + def stream; end + def uri; end + + private + + def accept_or_shutdown; end + def close_shutdown_pipe; end + + class << self + def getservername; end + def open(uri, config); end + def open_server(uri, config); end + def open_server_inaddr_any(host, port); end + def parse_uri(uri); end + def uri_option(uri, config); end + end +end + +class DRb::DRbURIOption + def initialize(option); end + + def ==(other); end + def eql?(other); end + def hash; end + def option; end + def to_s; end +end + +module DRb::DRbUndumped + def _dump(dummy); end +end + +class DRb::DRbUnknown + def initialize(err, buf); end + + def _dump(lv); end + def buf; end + def exception; end + def name; end + def reload; end + + class << self + def _load(s); end + end +end + +class DRb::DRbUnknownError < ::DRb::DRbError + def initialize(unknown); end + + def _dump(lv); end + def unknown; end + + class << self + def _load(s); end + end +end + +class DRb::ThreadObject + include ::MonitorMixin + + def initialize(&blk); end + + def _execute; end + def alive?; end + def kill; end + def method_missing(msg, *arg, &blk); end +end + +DRb::VERSION = T.let(T.unsafe(nil), String) +DRbIdConv = DRb::DRbIdConv +DRbObject = DRb::DRbObject +DRbUndumped = DRb::DRbUndumped diff --git a/Library/Homebrew/sorbet/rbi/gems/json-schema@6.1.0.rbi b/Library/Homebrew/sorbet/rbi/gems/json-schema@6.1.0.rbi new file mode 100644 index 0000000000000..f12d6ae65ca17 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/json-schema@6.1.0.rbi @@ -0,0 +1,650 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `json-schema` gem. +# Please instead update this file by running `bin/tapioca gem json-schema`. + + +class ArraySet < ::Array + def include?(obj); end + + private + + def convert_to_float_if_numeric(value); end +end + +class JSON::Schema + def initialize(schema, uri, parent_validator = T.unsafe(nil)); end + + def schema; end + def schema=(_arg0); end + def to_array_schema; end + def to_s; end + def uri; end + def uri=(_arg0); end + def validate(data, fragments, processor, options = T.unsafe(nil)); end + def validator; end + def validator=(_arg0); end + + class << self + def stringify(schema); end + end +end + +class JSON::Schema::AdditionalItemsAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::AdditionalPropertiesAttribute < ::JSON::Schema::Attribute + class << self + def remove_valid_properties(extra_properties, current_schema, validator); end + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::AllOfAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::AnyOfAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::Attribute + class << self + def build_fragment(fragments); end + def data_valid_for_type?(data, type); end + def type_of_data(data); end + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + def validation_error(processor, message, fragments, current_schema, failed_attribute, record_errors, properties = T.unsafe(nil)); end + def validation_errors(validator); end + end +end + +JSON::Schema::Attribute::TYPE_CLASS_MAPPINGS = T.let(T.unsafe(nil), Hash) + +class JSON::Schema::ConstAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::CustomFormat < ::JSON::Schema::FormatAttribute + def initialize(validation_proc); end + + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end +end + +class JSON::Schema::CustomFormatError < ::StandardError; end + +class JSON::Schema::DateFormat < ::JSON::Schema::FormatAttribute + class << self + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + end +end + +JSON::Schema::DateFormat::REGEXP = T.let(T.unsafe(nil), Regexp) + +class JSON::Schema::DateTimeFormat < ::JSON::Schema::FormatAttribute + class << self + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + end +end + +JSON::Schema::DateTimeFormat::REGEXP = T.let(T.unsafe(nil), Regexp) + +class JSON::Schema::DateTimeV4Format < ::JSON::Schema::FormatAttribute + class << self + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::DependenciesAttribute < ::JSON::Schema::Attribute + class << self + def accept_value?(value); end + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + def validate_dependency(schema, data, property, value, fragments, processor, attribute, options); end + end +end + +class JSON::Schema::DependenciesV4Attribute < ::JSON::Schema::DependenciesAttribute + class << self + def accept_value?(value); end + end +end + +class JSON::Schema::DisallowAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::DivisibleByAttribute < ::JSON::Schema::Attribute + class << self + def keyword; end + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::Draft1 < ::JSON::Schema::Validator + def initialize; end +end + +class JSON::Schema::Draft2 < ::JSON::Schema::Validator + def initialize; end +end + +class JSON::Schema::Draft3 < ::JSON::Schema::Validator + def initialize; end +end + +class JSON::Schema::Draft4 < ::JSON::Schema::Validator + def initialize; end +end + +class JSON::Schema::Draft6 < ::JSON::Schema::Validator + def initialize; end +end + +class JSON::Schema::EnumAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::ExtendsAttribute < ::JSON::Schema::Attribute + class << self + def get_extended_uri_and_schema(s, current_schema, validator); end + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::FormatAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::HyperDraft1 < ::JSON::Schema::Draft1 + def initialize; end +end + +class JSON::Schema::HyperDraft2 < ::JSON::Schema::Draft2 + def initialize; end +end + +class JSON::Schema::HyperDraft3 < ::JSON::Schema::Draft3 + def initialize; end +end + +class JSON::Schema::HyperDraft4 < ::JSON::Schema::Draft4 + def initialize; end +end + +class JSON::Schema::HyperDraft6 < ::JSON::Schema::Draft6 + def initialize; end +end + +class JSON::Schema::IP4Format < ::JSON::Schema::IPFormat + class << self + def ip_version; end + end +end + +class JSON::Schema::IP6Format < ::JSON::Schema::IPFormat + class << self + def ip_version; end + end +end + +class JSON::Schema::IPFormat < ::JSON::Schema::FormatAttribute + class << self + def ip_version; end + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::ItemsAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::ItemsLimitAttribute < ::JSON::Schema::LimitAttribute + class << self + def acceptable_type; end + def value(data); end + end +end + +class JSON::Schema::JsonLoadError < ::StandardError; end +class JSON::Schema::JsonParseError < ::StandardError; end + +class JSON::Schema::LengthLimitAttribute < ::JSON::Schema::LimitAttribute + class << self + def acceptable_type; end + def value(data); end + end +end + +class JSON::Schema::LimitAttribute < ::JSON::Schema::Attribute + class << self + def acceptable_type; end + def error_message(schema); end + def exclusive?(_schema); end + def invalid?(schema, data); end + def limit(schema); end + def limit_name; end + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + def value(data); end + end +end + +class JSON::Schema::MaxDecimalAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::MaxItemsAttribute < ::JSON::Schema::ItemsLimitAttribute + class << self + def error_message(schema); end + def limit_name; end + end +end + +class JSON::Schema::MaxLengthAttribute < ::JSON::Schema::LengthLimitAttribute + class << self + def error_message(schema); end + def limit_name; end + end +end + +class JSON::Schema::MaxPropertiesAttribute < ::JSON::Schema::PropertiesLimitAttribute + class << self + def error_message(schema); end + def limit_name; end + end +end + +class JSON::Schema::MaximumAttribute < ::JSON::Schema::NumericLimitAttribute + class << self + def exclusive?(schema); end + def limit_name; end + end +end + +class JSON::Schema::MaximumInclusiveAttribute < ::JSON::Schema::MaximumAttribute + class << self + def exclusive?(schema); end + end +end + +class JSON::Schema::MinItemsAttribute < ::JSON::Schema::ItemsLimitAttribute + class << self + def error_message(schema); end + def limit_name; end + end +end + +class JSON::Schema::MinLengthAttribute < ::JSON::Schema::LengthLimitAttribute + class << self + def error_message(schema); end + def limit_name; end + end +end + +class JSON::Schema::MinPropertiesAttribute < ::JSON::Schema::PropertiesLimitAttribute + class << self + def error_message(schema); end + def limit_name; end + end +end + +class JSON::Schema::MinimumAttribute < ::JSON::Schema::NumericLimitAttribute + class << self + def exclusive?(schema); end + def limit_name; end + end +end + +class JSON::Schema::MinimumInclusiveAttribute < ::JSON::Schema::MinimumAttribute + class << self + def exclusive?(schema); end + end +end + +class JSON::Schema::MultipleOfAttribute < ::JSON::Schema::DivisibleByAttribute + class << self + def keyword; end + end +end + +class JSON::Schema::NotAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::NumericLimitAttribute < ::JSON::Schema::LimitAttribute + class << self + def acceptable_type; end + def error_message(schema); end + end +end + +class JSON::Schema::OneOfAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::PatternAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::PatternPropertiesAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::PropertiesAttribute < ::JSON::Schema::Attribute + class << self + def required?(schema, options); end + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::PropertiesLimitAttribute < ::JSON::Schema::LimitAttribute + class << self + def acceptable_type; end + def value(data); end + end +end + +class JSON::Schema::PropertiesOptionalAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::PropertiesV4Attribute < ::JSON::Schema::PropertiesAttribute + class << self + def required?(_schema, options); end + end +end + +class JSON::Schema::PropertyNames < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::ReadError < ::StandardError + def initialize(location, type); end + + def location; end + def type; end + + private + + def type_string; end +end + +class JSON::Schema::ReadFailed < ::JSON::Schema::ReadError + private + + def error_message; end +end + +class JSON::Schema::ReadRefused < ::JSON::Schema::ReadError + private + + def error_message; end +end + +class JSON::Schema::Reader + def initialize(options = T.unsafe(nil)); end + + def accept_file?(pathname); end + def accept_uri?(uri); end + def read(location); end + + private + + def read_file(pathname); end + def read_uri(uri); end +end + +class JSON::Schema::RefAttribute < ::JSON::Schema::Attribute + class << self + def get_referenced_uri_and_schema(s, current_schema, validator); end + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::RequiredAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::SchemaError < ::StandardError; end +class JSON::Schema::SchemaParseError < ::JSON::ParserError; end + +class JSON::Schema::TimeFormat < ::JSON::Schema::FormatAttribute + class << self + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + end +end + +JSON::Schema::TimeFormat::REGEXP = T.let(T.unsafe(nil), Regexp) + +class JSON::Schema::TypeAttribute < ::JSON::Schema::Attribute + class << self + def list_types(types); end + def validate(current_schema, data, fragments, processor, validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::TypeV4Attribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::UniqueItemsAttribute < ::JSON::Schema::Attribute + class << self + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::UriError < ::StandardError; end + +class JSON::Schema::UriFormat < ::JSON::Schema::FormatAttribute + class << self + def validate(current_schema, data, fragments, processor, _validator, options = T.unsafe(nil)); end + end +end + +class JSON::Schema::ValidationError < ::StandardError + def initialize(message, fragments, failed_attribute, schema, properties = T.unsafe(nil)); end + + def failed_attribute; end + def failed_attribute=(_arg0); end + def fragments; end + def fragments=(_arg0); end + def message; end + def message=(_arg0); end + def message_with_schema; end + def properties; end + def properties=(_arg0); end + def schema; end + def schema=(_arg0); end + def sub_errors; end + def sub_errors=(_arg0); end + def to_hash; end + def to_string(subschema_level = T.unsafe(nil)); end +end + +JSON::Schema::ValidationError::INDENT = T.let(T.unsafe(nil), String) + +class JSON::Schema::Validator + def initialize; end + + def attributes; end + def attributes=(_arg0); end + def default_formats; end + def extend_schema_definition(schema_uri); end + def formats; end + def formats=(_arg0); end + def metaschema; end + def names; end + def names=(_arg0); end + def uri; end + def uri=(_arg0); end + def validate(current_schema, data, fragments, processor, options = T.unsafe(nil)); end +end + +module JSON::Util; end + +class JSON::Util::URI < ::Addressable::URI + def absolutize_ref(base); end + def normalize_ref(base); end + def normalized_uri(base_path = T.unsafe(nil)); end + def strip_fragment; end + def unescaped_path; end + + class << self + def absolutize_ref(ref, base); end + def file_uri(uri); end + def normalize_ref(ref, base); end + def normalized_uri(uri, base_path = T.unsafe(nil)); end + def parse(uri); end + def strip_fragment(uri); end + def unescape_uri(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end + def unescaped_path(uri); end + end +end + +JSON::Util::URI::SUPPORTED_PROTOCOLS = T.let(T.unsafe(nil), Array) + +class JSON::Util::UUID < ::Struct + include ::Comparable + + def <=>(other); end + def ==(other); end + def guid; end + def raw_bytes; end + def raw_bytes=(_); end + def to_i; end + def to_int; end + def to_s; end + def to_uri; end + def unpack; end + def urn; end + def version; end + + class << self + def [](*_arg0); end + def create(clock = T.unsafe(nil), time = T.unsafe(nil), mac_addr = T.unsafe(nil)); end + def create_md5(str, namespace); end + def create_random; end + def create_sha1(str, namespace); end + def create_v1(clock = T.unsafe(nil), time = T.unsafe(nil), mac_addr = T.unsafe(nil)); end + def create_v3(str, namespace); end + def create_v4; end + def create_v5(str, namespace); end + def inspect; end + def keyword_init?; end + def members; end + def pack(tl, tm, th, ch, cl, n); end + def parse(obj); end + + private + + def mask(v, str); end + def new(*_arg0); end + def read_state(fp); end + def write_state(fp, c, m); end + end +end + +JSON::Util::UUID::NameSpace_DNS = T.let(T.unsafe(nil), JSON::Util::UUID) +JSON::Util::UUID::NameSpace_OID = T.let(T.unsafe(nil), JSON::Util::UUID) +JSON::Util::UUID::NameSpace_URL = T.let(T.unsafe(nil), JSON::Util::UUID) +JSON::Util::UUID::NameSpace_X500 = T.let(T.unsafe(nil), JSON::Util::UUID) +JSON::Util::UUID::Nil = T.let(T.unsafe(nil), JSON::Util::UUID) + +class JSON::Validator + def initialize(schema_data, opts = T.unsafe(nil)); end + + def build_schemas(parent_schema); end + def handle_schema(parent_schema, obj); end + def load_ref_schema(parent_schema, ref); end + def schema_from_fragment(base_schema, fragment); end + def validate(data); end + def with_errors; end + + private + + def custom_open(uri); end + def fake_uuid(schema); end + def initialize_data(data); end + def initialize_schema(schema, default_validator); end + def serialize(schema); end + + class << self + def add_schema(schema); end + def cache_schemas=(val); end + def clear_cache; end + def default_validator; end + def deregister_format_validator(format, versions = T.unsafe(nil)); end + def fully_validate(schema, data, opts = T.unsafe(nil)); end + def fully_validate_json(schema, data, opts = T.unsafe(nil)); end + def fully_validate_schema(schema, opts = T.unsafe(nil)); end + def fully_validate_uri(schema, data, opts = T.unsafe(nil)); end + def json_backend; end + def json_backend=(backend); end + def merge_missing_values(source, destination); end + def parse(s); end + def register_default_validator(v); end + def register_format_validator(format, validation_proc, versions = T.unsafe(nil)); end + def register_validator(v); end + def restore_default_formats(versions = T.unsafe(nil)); end + def schema_for_uri(uri); end + def schema_key_for(uri); end + def schema_loaded?(schema_uri); end + def schema_reader; end + def schema_reader=(reader); end + def schemas; end + def validate(schema, data, opts = T.unsafe(nil)); end + def validate!(schema, data, opts = T.unsafe(nil)); end + def validate2(schema, data, opts = T.unsafe(nil)); end + def validate_json(schema, data, opts = T.unsafe(nil)); end + def validate_json!(schema, data, opts = T.unsafe(nil)); end + def validate_uri(schema, data, opts = T.unsafe(nil)); end + def validate_uri!(schema, data, opts = T.unsafe(nil)); end + def validator_for(schema_uri); end + def validator_for_name(schema_name, raise_not_found = T.unsafe(nil)); end + def validator_for_uri(schema_uri, raise_not_found = T.unsafe(nil)); end + def validators; end + end +end + +class JSON::Validator::ErrorRecorder < ::SimpleDelegator + def initialize(sub); end + + def validation_error(error); end + def validation_errors; end + def with_errors; end +end diff --git a/Library/Homebrew/sorbet/rbi/gems/mcp@0.8.0.rbi b/Library/Homebrew/sorbet/rbi/gems/mcp@0.8.0.rbi new file mode 100644 index 0000000000000..1a0d8cafcf158 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/mcp@0.8.0.rbi @@ -0,0 +1,593 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `mcp` gem. +# Please instead update this file by running `bin/tapioca gem mcp`. + + +module JsonRpcHandler + extend ::JsonRpcHandler + + def error_response(id:, id_validation_pattern:, error:); end + def handle(request, id_validation_pattern: T.unsafe(nil), &method_finder); end + def handle_json(request_json, id_validation_pattern: T.unsafe(nil), &method_finder); end + def handle_request_error(error, id, id_validation_pattern); end + def process_request(request, id_validation_pattern:, &method_finder); end + def success_response(id:, result:); end + def valid_id?(id, pattern = T.unsafe(nil)); end + def valid_method_name?(method); end + def valid_params?(params); end + def valid_version?(version); end +end + +JsonRpcHandler::DEFAULT_ALLOWED_ID_CHARACTERS = T.let(T.unsafe(nil), Regexp) +class JsonRpcHandler::ErrorCode; end +JsonRpcHandler::ErrorCode::INTERNAL_ERROR = T.let(T.unsafe(nil), Integer) +JsonRpcHandler::ErrorCode::INVALID_PARAMS = T.let(T.unsafe(nil), Integer) +JsonRpcHandler::ErrorCode::INVALID_REQUEST = T.let(T.unsafe(nil), Integer) +JsonRpcHandler::ErrorCode::METHOD_NOT_FOUND = T.let(T.unsafe(nil), Integer) +JsonRpcHandler::ErrorCode::PARSE_ERROR = T.let(T.unsafe(nil), Integer) +class JsonRpcHandler::Version; end +JsonRpcHandler::Version::V1_0 = T.let(T.unsafe(nil), String) +JsonRpcHandler::Version::V2_0 = T.let(T.unsafe(nil), String) + +module MCP + class << self + def configuration; end + def configure; end + end +end + +class MCP::Annotations + def initialize(audience: T.unsafe(nil), priority: T.unsafe(nil), last_modified: T.unsafe(nil)); end + + def audience; end + def last_modified; end + def priority; end + def to_h; end +end + +class MCP::Client + def initialize(transport:); end + + def call_tool(tool:, arguments: T.unsafe(nil)); end + def get_prompt(name:); end + def prompts; end + def read_resource(uri:); end + def resource_templates; end + def resources; end + def tools; end + def transport; end + + private + + def request_id; end +end + +class MCP::Client::HTTP + def initialize(url:, headers: T.unsafe(nil)); end + + def send_request(request:); end + def url; end + + private + + def client; end + def headers; end + def require_faraday!; end + def validate_response_content_type!(response, method, params); end +end + +MCP::Client::HTTP::ACCEPT_HEADER = T.let(T.unsafe(nil), String) + +class MCP::Client::RequestHandlerError < ::StandardError + def initialize(message, request, error_type: T.unsafe(nil), original_error: T.unsafe(nil)); end + + def error_type; end + def original_error; end + def request; end +end + +class MCP::Client::Tool + def initialize(name:, description:, input_schema:, output_schema: T.unsafe(nil)); end + + def description; end + def input_schema; end + def name; end + def output_schema; end +end + +class MCP::Configuration + def initialize(exception_reporter: T.unsafe(nil), instrumentation_callback: T.unsafe(nil), protocol_version: T.unsafe(nil), validate_tool_call_arguments: T.unsafe(nil)); end + + def exception_reporter; end + def exception_reporter=(_arg0); end + def exception_reporter?; end + def instrumentation_callback; end + def instrumentation_callback=(_arg0); end + def instrumentation_callback?; end + def merge(other); end + def protocol_version; end + def protocol_version=(protocol_version); end + def protocol_version?; end + def validate_tool_call_arguments; end + def validate_tool_call_arguments=(validate_tool_call_arguments); end + def validate_tool_call_arguments?; end + + private + + def default_exception_reporter; end + def default_instrumentation_callback; end + def validate_protocol_version!(protocol_version); end + def validate_value_of_validate_tool_call_arguments!(validate_tool_call_arguments); end +end + +MCP::Configuration::LATEST_STABLE_PROTOCOL_VERSION = T.let(T.unsafe(nil), String) +MCP::Configuration::SUPPORTED_STABLE_PROTOCOL_VERSIONS = T.let(T.unsafe(nil), Array) +module MCP::Content; end + +class MCP::Content::Audio + def initialize(data, mime_type, annotations: T.unsafe(nil)); end + + def annotations; end + def data; end + def mime_type; end + def to_h; end +end + +class MCP::Content::EmbeddedResource + def initialize(resource, annotations: T.unsafe(nil)); end + + def annotations; end + def resource; end + def to_h; end +end + +class MCP::Content::Image + def initialize(data, mime_type, annotations: T.unsafe(nil)); end + + def annotations; end + def data; end + def mime_type; end + def to_h; end +end + +class MCP::Content::Text + def initialize(text, annotations: T.unsafe(nil)); end + + def annotations; end + def text; end + def to_h; end +end + +class MCP::Icon + def initialize(mime_type: T.unsafe(nil), sizes: T.unsafe(nil), src: T.unsafe(nil), theme: T.unsafe(nil)); end + + def mime_type; end + def sizes; end + def src; end + def theme; end + def to_h; end +end + +MCP::Icon::SUPPORTED_THEMES = T.let(T.unsafe(nil), Array) + +module MCP::Instrumentation + def add_instrumentation_data(**kwargs); end + def instrument_call(method, &block); end +end + +class MCP::LoggingMessageNotification + def initialize(level:); end + + def should_notify?(log_level); end + def valid_level?; end +end + +MCP::LoggingMessageNotification::LOG_LEVEL_SEVERITY = T.let(T.unsafe(nil), Hash) + +module MCP::Methods + class << self + def ensure_capability!(method, capabilities); end + + private + + def require_capability!(method, capabilities, *keys); end + end +end + +MCP::Methods::COMPLETION_COMPLETE = T.let(T.unsafe(nil), String) +MCP::Methods::ELICITATION_CREATE = T.let(T.unsafe(nil), String) +MCP::Methods::INITIALIZE = T.let(T.unsafe(nil), String) +MCP::Methods::LOGGING_SET_LEVEL = T.let(T.unsafe(nil), String) + +class MCP::Methods::MissingRequiredCapabilityError < ::StandardError + def initialize(method, capability); end + + def capability; end + def method; end +end + +MCP::Methods::NOTIFICATIONS_CANCELLED = T.let(T.unsafe(nil), String) +MCP::Methods::NOTIFICATIONS_INITIALIZED = T.let(T.unsafe(nil), String) +MCP::Methods::NOTIFICATIONS_MESSAGE = T.let(T.unsafe(nil), String) +MCP::Methods::NOTIFICATIONS_PROGRESS = T.let(T.unsafe(nil), String) +MCP::Methods::NOTIFICATIONS_PROMPTS_LIST_CHANGED = T.let(T.unsafe(nil), String) +MCP::Methods::NOTIFICATIONS_RESOURCES_LIST_CHANGED = T.let(T.unsafe(nil), String) +MCP::Methods::NOTIFICATIONS_RESOURCES_UPDATED = T.let(T.unsafe(nil), String) +MCP::Methods::NOTIFICATIONS_ROOTS_LIST_CHANGED = T.let(T.unsafe(nil), String) +MCP::Methods::NOTIFICATIONS_TOOLS_LIST_CHANGED = T.let(T.unsafe(nil), String) +MCP::Methods::PING = T.let(T.unsafe(nil), String) +MCP::Methods::PROMPTS_GET = T.let(T.unsafe(nil), String) +MCP::Methods::PROMPTS_LIST = T.let(T.unsafe(nil), String) +MCP::Methods::RESOURCES_LIST = T.let(T.unsafe(nil), String) +MCP::Methods::RESOURCES_READ = T.let(T.unsafe(nil), String) +MCP::Methods::RESOURCES_SUBSCRIBE = T.let(T.unsafe(nil), String) +MCP::Methods::RESOURCES_TEMPLATES_LIST = T.let(T.unsafe(nil), String) +MCP::Methods::RESOURCES_UNSUBSCRIBE = T.let(T.unsafe(nil), String) +MCP::Methods::ROOTS_LIST = T.let(T.unsafe(nil), String) +MCP::Methods::SAMPLING_CREATE_MESSAGE = T.let(T.unsafe(nil), String) +MCP::Methods::TOOLS_CALL = T.let(T.unsafe(nil), String) +MCP::Methods::TOOLS_LIST = T.let(T.unsafe(nil), String) + +class MCP::Prompt + class << self + def arguments(value = T.unsafe(nil)); end + def arguments_value; end + def define(name: T.unsafe(nil), title: T.unsafe(nil), description: T.unsafe(nil), icons: T.unsafe(nil), arguments: T.unsafe(nil), meta: T.unsafe(nil), &block); end + def description(value = T.unsafe(nil)); end + def description_value; end + def icons(value = T.unsafe(nil)); end + def icons_value; end + def inherited(subclass); end + def meta(value = T.unsafe(nil)); end + def meta_value; end + def name_value; end + def prompt_name(value = T.unsafe(nil)); end + def template(args, server_context: T.unsafe(nil)); end + def title(value = T.unsafe(nil)); end + def title_value; end + def to_h; end + def validate_arguments!(args); end + + private + + def required_args; end + end +end + +class MCP::Prompt::Argument + def initialize(name:, title: T.unsafe(nil), description: T.unsafe(nil), required: T.unsafe(nil)); end + + def description; end + def name; end + def required; end + def title; end + def to_h; end +end + +class MCP::Prompt::Message + def initialize(role:, content:); end + + def content; end + def role; end + def to_h; end +end + +class MCP::Prompt::Result + def initialize(description: T.unsafe(nil), messages: T.unsafe(nil)); end + + def description; end + def messages; end + def to_h; end +end + +class MCP::Resource + def initialize(uri:, name:, title: T.unsafe(nil), description: T.unsafe(nil), icons: T.unsafe(nil), mime_type: T.unsafe(nil)); end + + def description; end + def icons; end + def mime_type; end + def name; end + def title; end + def to_h; end + def uri; end +end + +class MCP::Resource::BlobContents < ::MCP::Resource::Contents + def initialize(data:, uri:, mime_type:); end + + def data; end + def to_h; end +end + +class MCP::Resource::Contents + def initialize(uri:, mime_type: T.unsafe(nil)); end + + def mime_type; end + def to_h; end + def uri; end +end + +class MCP::Resource::Embedded + def initialize(resource:, annotations: T.unsafe(nil)); end + + def annotations; end + def resource; end + def to_h; end +end + +class MCP::Resource::TextContents < ::MCP::Resource::Contents + def initialize(text:, uri:, mime_type:); end + + def text; end + def to_h; end +end + +class MCP::ResourceTemplate + def initialize(uri_template:, name:, title: T.unsafe(nil), description: T.unsafe(nil), icons: T.unsafe(nil), mime_type: T.unsafe(nil)); end + + def description; end + def icons; end + def mime_type; end + def name; end + def title; end + def to_h; end + def uri_template; end +end + +class MCP::Server + include ::MCP::Instrumentation + + def initialize(description: T.unsafe(nil), icons: T.unsafe(nil), name: T.unsafe(nil), title: T.unsafe(nil), version: T.unsafe(nil), website_url: T.unsafe(nil), instructions: T.unsafe(nil), tools: T.unsafe(nil), prompts: T.unsafe(nil), resources: T.unsafe(nil), resource_templates: T.unsafe(nil), server_context: T.unsafe(nil), configuration: T.unsafe(nil), capabilities: T.unsafe(nil), transport: T.unsafe(nil)); end + + def capabilities; end + def capabilities=(_arg0); end + def configuration; end + def configuration=(_arg0); end + def define_custom_method(method_name:, &block); end + def define_prompt(name: T.unsafe(nil), title: T.unsafe(nil), description: T.unsafe(nil), arguments: T.unsafe(nil), &block); end + def define_tool(name: T.unsafe(nil), title: T.unsafe(nil), description: T.unsafe(nil), input_schema: T.unsafe(nil), annotations: T.unsafe(nil), meta: T.unsafe(nil), &block); end + def description; end + def description=(_arg0); end + def handle(request); end + def handle_json(request); end + def icons; end + def icons=(_arg0); end + def instructions; end + def instructions=(_arg0); end + def logging_message_notification; end + def logging_message_notification=(_arg0); end + def name; end + def name=(_arg0); end + def notify_log_message(data:, level:, logger: T.unsafe(nil)); end + def notify_prompts_list_changed; end + def notify_resources_list_changed; end + def notify_tools_list_changed; end + def prompts; end + def prompts=(_arg0); end + def prompts_get_handler(&block); end + def prompts_list_handler(&block); end + def resources; end + def resources=(_arg0); end + def resources_list_handler(&block); end + def resources_read_handler(&block); end + def resources_templates_list_handler(&block); end + def server_context; end + def server_context=(_arg0); end + def title; end + def title=(_arg0); end + def tools; end + def tools=(_arg0); end + def tools_call_handler(&block); end + def tools_list_handler(&block); end + def transport; end + def transport=(_arg0); end + def version; end + def version=(_arg0); end + def website_url; end + def website_url=(_arg0); end + + private + + def accepts_server_context?(method_object); end + def call_prompt_template_with_args(prompt, args); end + def call_tool(request); end + def call_tool_with_args(tool, arguments); end + def configure_logging_level(request); end + def default_capabilities; end + def error_tool_response(text); end + def get_prompt(request); end + def handle_request(request, method); end + def index_resources_by_uri(resources); end + def init(params); end + def list_prompts(request); end + def list_resource_templates(request); end + def list_resources(request); end + def list_tools(request); end + def read_resource_no_content(request); end + def report_exception(exception, server_context = T.unsafe(nil)); end + def schema_contains_ref?(schema); end + def server_info; end + def validate!; end + def validate_tool_name!; end +end + +MCP::Server::DEFAULT_VERSION = T.let(T.unsafe(nil), String) + +class MCP::Server::MethodAlreadyDefinedError < ::StandardError + def initialize(method_name); end + + def method_name; end +end + +class MCP::Server::RequestHandlerError < ::StandardError + def initialize(message, request, error_type: T.unsafe(nil), original_error: T.unsafe(nil)); end + + def error_type; end + def original_error; end +end + +module MCP::Server::Transports; end + +class MCP::Server::Transports::StdioTransport < ::MCP::Transport + def initialize(server); end + + def close; end + def open; end + def send_notification(method, params = T.unsafe(nil)); end + def send_response(message); end +end + +MCP::Server::Transports::StdioTransport::STATUS_INTERRUPTED = T.let(T.unsafe(nil), Integer) + +class MCP::Server::Transports::StreamableHTTPTransport < ::MCP::Transport + def initialize(server, stateless: T.unsafe(nil)); end + + def close; end + def handle_request(request); end + def send_notification(method, params = T.unsafe(nil), session_id: T.unsafe(nil)); end + + private + + def cleanup_session(session_id); end + def cleanup_session_unsafe(session_id); end + def create_sse_body(session_id); end + def extract_session_id(request); end + def get_session_stream(session_id); end + def handle_accepted; end + def handle_delete(request); end + def handle_get(request); end + def handle_initialization(body_string, body); end + def handle_post(request); end + def handle_regular_request(body_string, session_id); end + def method_not_allowed_response; end + def missing_session_id_response; end + def not_acceptable_response(required_types); end + def notification?(body); end + def notification_request?(body_string); end + def parse_accept_header(header); end + def parse_request_body(body_string); end + def response?(body); end + def send_keepalive_ping(session_id); end + def send_ping_to_stream(stream); end + def send_response_to_stream(stream, response, session_id); end + def send_to_stream(stream, data); end + def session_active_with_stream?(session_id); end + def session_exists?(session_id); end + def session_not_found_response; end + def setup_sse_stream(session_id); end + def start_keepalive_thread(session_id); end + def store_stream_for_session(session_id, stream); end + def validate_accept_header(request, required_types); end +end + +MCP::Server::Transports::StreamableHTTPTransport::REQUIRED_GET_ACCEPT_TYPES = T.let(T.unsafe(nil), Array) +MCP::Server::Transports::StreamableHTTPTransport::REQUIRED_POST_ACCEPT_TYPES = T.let(T.unsafe(nil), Array) +MCP::Server::Transports::StreamableHTTPTransport::STREAM_WRITE_ERRORS = T.let(T.unsafe(nil), Array) +MCP::Server::UNSUPPORTED_PROPERTIES_UNTIL_2025_03_26 = T.let(T.unsafe(nil), Array) +MCP::Server::UNSUPPORTED_PROPERTIES_UNTIL_2025_06_18 = T.let(T.unsafe(nil), Array) + +module MCP::StringUtils + extend ::MCP::StringUtils + + def handle_from_class_name(class_name); end + + private + + def demodulize(path); end + def underscore(camel_cased_word); end +end + +class MCP::Tool + class << self + def annotations(hash = T.unsafe(nil)); end + def annotations_value; end + def call(*args, server_context: T.unsafe(nil)); end + def define(name: T.unsafe(nil), title: T.unsafe(nil), description: T.unsafe(nil), icons: T.unsafe(nil), input_schema: T.unsafe(nil), output_schema: T.unsafe(nil), meta: T.unsafe(nil), annotations: T.unsafe(nil), &block); end + def description(value = T.unsafe(nil)); end + def description_value; end + def icons(value = T.unsafe(nil)); end + def icons_value; end + def inherited(subclass); end + def input_schema(value = T.unsafe(nil)); end + def input_schema_value; end + def meta(value = T.unsafe(nil)); end + def meta_value; end + def name_value; end + def output_schema(value = T.unsafe(nil)); end + def output_schema_value; end + def title(value = T.unsafe(nil)); end + def title_value; end + def to_h; end + def tool_name(value = T.unsafe(nil)); end + def validate!; end + end +end + +class MCP::Tool::Annotations + def initialize(destructive_hint: T.unsafe(nil), idempotent_hint: T.unsafe(nil), open_world_hint: T.unsafe(nil), read_only_hint: T.unsafe(nil), title: T.unsafe(nil)); end + + def destructive_hint; end + def idempotent_hint; end + def open_world_hint; end + def read_only_hint; end + def title; end + def to_h; end +end + +class MCP::Tool::InputSchema < ::MCP::Tool::Schema + def missing_required_arguments(arguments); end + def missing_required_arguments?(arguments); end + def validate_arguments(arguments); end +end + +class MCP::Tool::InputSchema::ValidationError < ::StandardError; end + +class MCP::Tool::OutputSchema < ::MCP::Tool::Schema + def validate_result(result); end +end + +class MCP::Tool::OutputSchema::ValidationError < ::StandardError; end + +class MCP::Tool::Response + def initialize(content = T.unsafe(nil), deprecated_error = T.unsafe(nil), error: T.unsafe(nil), structured_content: T.unsafe(nil)); end + + def content; end + def error?; end + def structured_content; end + def to_h; end +end + +MCP::Tool::Response::NOT_GIVEN = T.let(T.unsafe(nil), Object) + +class MCP::Tool::Schema + def initialize(schema = T.unsafe(nil)); end + + def ==(other); end + def schema; end + def to_h; end + + private + + def deep_transform_keys(schema, &block); end + def fully_validate(data); end + def validate_schema!; end +end + +class MCP::ToolNotUnique < ::StandardError + def initialize(duplicated_tool_names); end +end + +class MCP::Transport + def initialize(server); end + + def close; end + def handle_json_request(request); end + def handle_request(request); end + def open; end + def send_notification(method, params = T.unsafe(nil)); end + def send_response(response); end +end + +MCP::VERSION = T.let(T.unsafe(nil), String) diff --git a/Library/Homebrew/sorbet/rbi/gems/minitest@6.0.1.rbi b/Library/Homebrew/sorbet/rbi/gems/minitest@6.0.2.rbi similarity index 100% rename from Library/Homebrew/sorbet/rbi/gems/minitest@6.0.1.rbi rename to Library/Homebrew/sorbet/rbi/gems/minitest@6.0.2.rbi diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.84.2.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.85.0.rbi similarity index 97% rename from Library/Homebrew/sorbet/rbi/gems/rubocop@1.84.2.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop@1.85.0.rbi index 2d20ba1dca581..6a7b979c621ea 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.84.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.85.0.rbi @@ -136,6 +136,10 @@ class RuboCop::CLI::Command::LSP < ::RuboCop::CLI::Command::Base def run; end end +class RuboCop::CLI::Command::MCP < ::RuboCop::CLI::Command::Base + def run; end +end + class RuboCop::CLI::Command::ShowCops < ::RuboCop::CLI::Command::Base def initialize(env); end @@ -1227,6 +1231,8 @@ RuboCop::Cop::Layout::MultilineArrayBraceLayout::SAME_LINE_MESSAGE = T.let(T.uns RuboCop::Cop::Layout::MultilineArrayLineBreaks::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Layout::MultilineAssignmentLayout::BLOCK_TYPES = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Layout::MultilineAssignmentLayout::NEW_LINE_OFFENSE = T.let(T.unsafe(nil), String) RuboCop::Cop::Layout::MultilineAssignmentLayout::SAME_LINE_OFFENSE = T.let(T.unsafe(nil), String) @@ -1433,6 +1439,14 @@ RuboCop::Cop::Lint::CopDirectiveSyntax::MISSING_COP_NAME_MSG = T.let(T.unsafe(ni RuboCop::Cop::Lint::CopDirectiveSyntax::MISSING_MODE_NAME_MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Lint::DataDefineOverride::DATA_METHOD_NAMES = T.let(T.unsafe(nil), Array) + +RuboCop::Cop::Lint::DataDefineOverride::MEMBER_NAME_TYPES = T.let(T.unsafe(nil), Array) + +RuboCop::Cop::Lint::DataDefineOverride::MSG = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Lint::DataDefineOverride::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Lint::Debugger::BLOCK_TYPES = T.let(T.unsafe(nil), Array) RuboCop::Cop::Lint::Debugger::MSG = T.let(T.unsafe(nil), String) @@ -1755,7 +1769,7 @@ RuboCop::Cop::Lint::RedundantSafeNavigation::MSG_LITERAL = T.let(T.unsafe(nil), RuboCop::Cop::Lint::RedundantSafeNavigation::MSG_NON_NIL = T.let(T.unsafe(nil), String) -RuboCop::Cop::Lint::RedundantSafeNavigation::NIL_SPECIFIC_METHODS = T.let(T.unsafe(nil), Set) +RuboCop::Cop::Lint::RedundantSafeNavigation::NIL_METHODS = T.let(T.unsafe(nil), Set) RuboCop::Cop::Lint::RedundantSafeNavigation::SNAKE_CASE = T.let(T.unsafe(nil), Regexp) @@ -1913,6 +1927,10 @@ RuboCop::Cop::Lint::UnreachableLoop::CONTINUE_KEYWORDS = T.let(T.unsafe(nil), Ar RuboCop::Cop::Lint::UnreachableLoop::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Lint::UnreachablePatternBranch::MSG = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Lint::UnreachablePatternBranch::MSG_ELSE = T.let(T.unsafe(nil), String) + RuboCop::Cop::Lint::UriEscapeUnescape::ALTERNATE_METHODS_OF_URI_ESCAPE = T.let(T.unsafe(nil), Array) RuboCop::Cop::Lint::UriEscapeUnescape::ALTERNATE_METHODS_OF_URI_UNESCAPE = T.let(T.unsafe(nil), Array) @@ -2588,7 +2606,7 @@ RuboCop::Cop::Style::EmptyCaseCondition::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::EmptyCaseCondition::NOT_SUPPORTED_PARENT_TYPES = T.let(T.unsafe(nil), Array) -RuboCop::Cop::Style::EmptyClassDefinition::MSG_CLASS_DEFINITION = T.let(T.unsafe(nil), String) +RuboCop::Cop::Style::EmptyClassDefinition::MSG_CLASS_KEYWORD = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::EmptyClassDefinition::MSG_CLASS_NEW = T.let(T.unsafe(nil), String) @@ -2684,6 +2702,10 @@ RuboCop::Cop::Style::FileNull::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::FileNull::REGEXP = T.let(T.unsafe(nil), Regexp) +RuboCop::Cop::Style::FileOpen::MSG = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Style::FileOpen::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Style::FileRead::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::FileRead::READ_FILE_START_TO_FINISH_MODES = T.let(T.unsafe(nil), Set) @@ -2880,6 +2902,10 @@ RuboCop::Cop::Style::MapCompactWithConditionalBlock::RESTRICT_ON_SEND = T.let(T. RuboCop::Cop::Style::MapIntoArray::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Style::MapJoin::MSG = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Style::MapJoin::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Style::MapToHash::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::MapToHash::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) @@ -3062,6 +3088,8 @@ RuboCop::Cop::Style::ObjectThen::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::ObjectThen::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) +RuboCop::Cop::Style::OneClassPerFile::MSG = T.let(T.unsafe(nil), String) + RuboCop::Cop::Style::OneLineConditional::MSG_MULTILINE = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::OneLineConditional::MSG_SUFFIX = T.let(T.unsafe(nil), String) @@ -3086,12 +3114,26 @@ RuboCop::Cop::Style::OrAssignment::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::ParallelAssignment::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Style::PartitionInsteadOfDoubleSelect::CANDIDATE_METHODS = T.let(T.unsafe(nil), Set) + +RuboCop::Cop::Style::PartitionInsteadOfDoubleSelect::MSG = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Style::PartitionInsteadOfDoubleSelect::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + +RuboCop::Cop::Style::PartitionInsteadOfDoubleSelect::SELECT_METHODS = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Style::PercentQLiterals::LOWER_CASE_Q_MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::PercentQLiterals::UPPER_CASE_Q_MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::PerlBackrefs::MESSAGE_FORMAT = T.let(T.unsafe(nil), String) +RuboCop::Cop::Style::PredicateWithKind::KIND_METHODS = T.let(T.unsafe(nil), Set) + +RuboCop::Cop::Style::PredicateWithKind::MSG = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Style::PredicateWithKind::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Style::PreferredHashMethods::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::PreferredHashMethods::OFFENDING_SELECTORS = T.let(T.unsafe(nil), Hash) @@ -3116,6 +3158,10 @@ RuboCop::Cop::Style::RandomWithOffset::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::RandomWithOffset::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) +RuboCop::Cop::Style::ReduceToHash::MSG = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Style::ReduceToHash::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Style::RedundantArgument::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::RedundantArgument::NO_RECEIVER_METHODS = T.let(T.unsafe(nil), Array) @@ -3208,8 +3254,6 @@ RuboCop::Cop::Style::RedundantInterpolation::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::RedundantInterpolationUnfreeze::MSG = T.let(T.unsafe(nil), String) -RuboCop::Cop::Style::RedundantInterpolationUnfreeze::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) - RuboCop::Cop::Style::RedundantLineContinuation::ALLOWED_STRING_TOKENS = T.let(T.unsafe(nil), Array) RuboCop::Cop::Style::RedundantLineContinuation::ARGUMENT_TAKING_FLOW_TOKEN_TYPES = T.let(T.unsafe(nil), Array) @@ -3224,6 +3268,14 @@ RuboCop::Cop::Style::RedundantLineContinuation::LINE_CONTINUATION_PATTERN = T.le RuboCop::Cop::Style::RedundantLineContinuation::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Style::RedundantMinMaxBy::MSG_BLOCK = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Style::RedundantMinMaxBy::MSG_ITBLOCK = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Style::RedundantMinMaxBy::MSG_NUMBLOCK = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Style::RedundantMinMaxBy::REPLACEMENTS = T.let(T.unsafe(nil), Hash) + RuboCop::Cop::Style::RedundantParentheses::ALLOWED_NODE_TYPES = T.let(T.unsafe(nil), Array) RuboCop::Cop::Style::RedundantPercentQ::DYNAMIC_MSG = T.let(T.unsafe(nil), String) @@ -3302,6 +3354,10 @@ RuboCop::Cop::Style::RedundantSortBy::MSG_NUMBLOCK = T.let(T.unsafe(nil), String RuboCop::Cop::Style::RedundantStringEscape::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Style::RedundantStructKeywordInit::MSG = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Style::RedundantStructKeywordInit::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Style::RegexpLiteral::MSG_USE_PERCENT_R = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::RegexpLiteral::MSG_USE_SLASHES = T.let(T.unsafe(nil), String) @@ -3336,16 +3392,32 @@ RuboCop::Cop::Style::Sample::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::Sample::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -RuboCop::Cop::Style::SelectByRegexp::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Style::SelectByKind::CLASS_CHECK_METHODS = T.let(T.unsafe(nil), Set) + +RuboCop::Cop::Style::SelectByKind::MSG = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Style::SelectByKind::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + +RuboCop::Cop::Style::SelectByKind::SELECT_METHODS = T.let(T.unsafe(nil), Array) + +RuboCop::Cop::Style::SelectByRange::FIND_METHODS = T.let(T.unsafe(nil), Array) + +RuboCop::Cop::Style::SelectByRange::MSG = T.let(T.unsafe(nil), String) -RuboCop::Cop::Style::SelectByRegexp::OPPOSITE_REPLACEMENTS = T.let(T.unsafe(nil), Hash) +RuboCop::Cop::Style::SelectByRange::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + +RuboCop::Cop::Style::SelectByRange::SELECT_METHODS = T.let(T.unsafe(nil), Array) + +RuboCop::Cop::Style::SelectByRegexp::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::SelectByRegexp::REGEXP_METHODS = T.let(T.unsafe(nil), Set) -RuboCop::Cop::Style::SelectByRegexp::REPLACEMENTS = T.let(T.unsafe(nil), Hash) +RuboCop::Cop::Style::SelectByRegexp::REGEXP_METHODS_NEGATED = T.let(T.unsafe(nil), Set) RuboCop::Cop::Style::SelectByRegexp::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) +RuboCop::Cop::Style::SelectByRegexp::SELECT_METHODS = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Style::SelfAssignment::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::SelfAssignment::OPS = T.let(T.unsafe(nil), Array) @@ -3474,6 +3546,14 @@ RuboCop::Cop::Style::SymbolProc::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::SymbolProc::SUPER_TYPES = T.let(T.unsafe(nil), Array) +RuboCop::Cop::Style::TallyMethod::COUNTING_METHODS = T.let(T.unsafe(nil), Set) + +RuboCop::Cop::Style::TallyMethod::MSG_EACH_WITH_OBJECT = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Style::TallyMethod::MSG_GROUP_BY = T.let(T.unsafe(nil), String) + +RuboCop::Cop::Style::TallyMethod::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Style::TernaryParentheses::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Style::TernaryParentheses::MSG_COMPLEX = T.let(T.unsafe(nil), String) @@ -3965,6 +4045,7 @@ class RuboCop::Options def add_cop_selection_csv_option(option, opts); end def add_general_options(opts); end def add_lsp_option(opts); end + def add_mcp_option(opts); end def add_output_options(opts); end def add_profile_options(opts); end def add_server_options(opts); end @@ -4198,16 +4279,8 @@ RuboCop::TargetRuby::KNOWN_RUBIES = T.let(T.unsafe(nil), Array) RuboCop::TargetRuby::OBSOLETE_RUBIES = T.let(T.unsafe(nil), Hash) -RuboCop::TargetRuby::RubyVersionFile::RUBY_VERSION_FILENAME = T.let(T.unsafe(nil), String) - -RuboCop::TargetRuby::RubyVersionFile::RUBY_VERSION_PATTERN = T.let(T.unsafe(nil), Regexp) - RuboCop::TargetRuby::SOURCES = T.let(T.unsafe(nil), Array) -RuboCop::TargetRuby::ToolVersionsFile::TOOL_VERSIONS_FILENAME = T.let(T.unsafe(nil), String) - -RuboCop::TargetRuby::ToolVersionsFile::TOOL_VERSIONS_PATTERN = T.let(T.unsafe(nil), Regexp) - RuboCop::Token = RuboCop::AST::Token module RuboCop::Version From 11aa9bae411f0e6b0f371840388d5ee26aed3c8b Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 6 Mar 2026 13:41:07 +0000 Subject: [PATCH 5/7] `brew style --fix` --- .../cask/artifact/abstract_flight_block.rb | 2 +- Library/Homebrew/cask/audit.rb | 2 +- Library/Homebrew/cask/exceptions.rb | 2 +- Library/Homebrew/cask/installer.rb | 6 +++--- Library/Homebrew/completions.rb | 1 - Library/Homebrew/descriptions.rb | 4 +--- Library/Homebrew/dev-cmd/bump.rb | 2 +- Library/Homebrew/formula_installer.rb | 4 ++-- Library/Homebrew/livecheck/livecheck.rb | 2 +- Library/Homebrew/livecheck/strategy.rb | 2 +- .../Homebrew/livecheck/strategy/extract_plist.rb | 1 - Library/Homebrew/livecheck/strategy/sparkle.rb | 1 - Library/Homebrew/manpages.rb | 1 - Library/Homebrew/options.rb | 2 +- Library/Homebrew/tap.rb | 6 +++--- .../test/cask/artifact/alt_target_spec.rb | 2 +- .../test/cask/artifact/bashcompletion_spec.rb | 2 +- .../Homebrew/test/cask/artifact/binary_spec.rb | 4 ++-- .../test/cask/artifact/fishlcompletion_spec.rb | 2 +- .../test/cask/artifact/generic_artifact_spec.rb | 2 +- .../Homebrew/test/cask/artifact/manpage_spec.rb | 2 +- .../test/cask/artifact/postflight_block_spec.rb | 4 ++-- .../test/cask/artifact/preflight_block_spec.rb | 4 ++-- .../Homebrew/test/cask/artifact/suite_spec.rb | 2 +- .../test/cask/artifact/two_apps_correct_spec.rb | 2 +- .../test/cask/artifact/zshcompletion_spec.rb | 2 +- Library/Homebrew/test/cask/list_spec.rb | 2 +- Library/Homebrew/test/cleanup_spec.rb | 16 ++++++++-------- Library/Homebrew/test/formula_spec.rb | 14 +++++++------- 29 files changed, 46 insertions(+), 52 deletions(-) diff --git a/Library/Homebrew/cask/artifact/abstract_flight_block.rb b/Library/Homebrew/cask/artifact/abstract_flight_block.rb index 427a47c5cbf60..5a319e6c0fae8 100644 --- a/Library/Homebrew/cask/artifact/abstract_flight_block.rb +++ b/Library/Homebrew/cask/artifact/abstract_flight_block.rb @@ -38,7 +38,7 @@ def uninstall_phase(**_options) sig { override.returns(String) } def summarize - directives.keys.map(&:to_s).join(", ") + directives.keys.join(", ") end private diff --git a/Library/Homebrew/cask/audit.rb b/Library/Homebrew/cask/audit.rb index eaff9b0ad1613..503cd0e873f8a 100644 --- a/Library/Homebrew/cask/audit.rb +++ b/Library/Homebrew/cask/audit.rb @@ -409,7 +409,7 @@ def audit_no_match sig { void } def audit_generic_artifacts - cask.artifacts.select { |a| a.is_a?(Artifact::Artifact) }.each do |artifact| + cask.artifacts.grep(Artifact::Artifact).each do |artifact| unless artifact.target.absolute? add_error "target must be absolute path for #{artifact.class.english_name} #{artifact.source}" end diff --git a/Library/Homebrew/cask/exceptions.rb b/Library/Homebrew/cask/exceptions.rb index 7b681704fc7d4..20b40560cc368 100644 --- a/Library/Homebrew/cask/exceptions.rb +++ b/Library/Homebrew/cask/exceptions.rb @@ -17,7 +17,7 @@ def initialize(errors) def to_s <<~EOS Problems with multiple casks: - #{@errors.map(&:to_s).join("\n")} + #{@errors.join("\n")} EOS end end diff --git a/Library/Homebrew/cask/installer.rb b/Library/Homebrew/cask/installer.rb index 0ec081cd1dedc..0ed202715e30c 100644 --- a/Library/Homebrew/cask/installer.rb +++ b/Library/Homebrew/cask/installer.rb @@ -402,7 +402,7 @@ def check_arch_requirements raise CaskError, "Cask #{@cask} depends on hardware architecture being one of " \ - "[#{@cask.depends_on.arch.map(&:to_s).join(", ")}], " \ + "[#{@cask.depends_on.arch.join(", ")}], " \ "but you are running #{@current_arch}." end @@ -450,7 +450,7 @@ def satisfy_cask_and_formula_dependencies return end - ohai "Installing dependencies: #{missing_formulae_and_casks.map(&:to_s).join(", ")}" + ohai "Installing dependencies: #{missing_formulae_and_casks.join(", ")}" cask_installers = T.let([], T::Array[Installer]) formula_installers = T.let([], T::Array[FormulaInstaller]) @@ -638,7 +638,7 @@ def uninstall_artifacts(clear: false, successor: nil) def zap load_installed_caskfile! uninstall_artifacts - if (zap_stanzas = @cask.artifacts.select { |a| a.is_a?(Artifact::Zap) }).empty? + if (zap_stanzas = @cask.artifacts.grep(Artifact::Zap)).empty? opoo "No zap stanza present for Cask '#{@cask}'" else ohai "Dispatching zap stanza" diff --git a/Library/Homebrew/completions.rb b/Library/Homebrew/completions.rb index 0db67f8b35065..6964eeb266450 100644 --- a/Library/Homebrew/completions.rb +++ b/Library/Homebrew/completions.rb @@ -15,7 +15,6 @@ module Completions :builtin_command_descriptions, :completion_functions, :function_mappings, - keyword_init: true, ) COMPLETIONS_DIR = T.let((HOMEBREW_REPOSITORY/"completions").freeze, Pathname) diff --git a/Library/Homebrew/descriptions.rb b/Library/Homebrew/descriptions.rb index 100e932f975e7..848a660eb35e7 100644 --- a/Library/Homebrew/descriptions.rb +++ b/Library/Homebrew/descriptions.rb @@ -88,9 +88,7 @@ def short_names def short_name_counts @short_name_counts ||= T.let( short_names.values - .each_with_object(Hash.new(0)) do |name, counts| - counts[name] += 1 - end, + .tally, T.nilable(T::Hash[String, Integer]), ) end diff --git a/Library/Homebrew/dev-cmd/bump.rb b/Library/Homebrew/dev-cmd/bump.rb index 7c0b33f1b6b19..f59c08ade660f 100644 --- a/Library/Homebrew/dev-cmd/bump.rb +++ b/Library/Homebrew/dev-cmd/bump.rb @@ -186,7 +186,7 @@ def handle_formulae_and_casks(formulae_and_casks) .values .select { |items| items.length > 1 } .flatten - .select { |item| item.is_a?(Cask::Cask) } + .grep(Cask::Cask) end ambiguous_names = [] diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index b38a52748aa0d..358ecbf3c1465 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -346,7 +346,7 @@ def prelude begin bottle_tab_attributes = formula.bottle_tab_attributes raw_deps = bottle_tab_attributes.fetch("runtime_dependencies", []).then { |deps| deps || [] } - @bottle_tab_runtime_dependencies = raw_deps.each_with_object({}) { |dep, h| h[dep["full_name"]] = dep }.freeze + @bottle_tab_runtime_dependencies = raw_deps.to_h { |dep| [dep["full_name"], dep] }.freeze if (bottle_tag = formula.bottle_for_tag(Utils::Bottles.tag)&.tag) && bottle_tag.system != :all @@ -726,7 +726,7 @@ def expand_requirements unsatisfied_reqs = Hash.new { |h, k| h[k] = [] } formulae = [formula] formula_deps_map = formula.recursive_dependencies - .each_with_object({}) { |dep, h| h[dep.name] = dep } + .to_h { |dep| [dep.name, dep] } while (f = formulae.pop) runtime_requirements = runtime_requirements(f) diff --git a/Library/Homebrew/livecheck/livecheck.rb b/Library/Homebrew/livecheck/livecheck.rb index b2e696111fb75..cdbc7ad4f98db 100644 --- a/Library/Homebrew/livecheck/livecheck.rb +++ b/Library/Homebrew/livecheck/livecheck.rb @@ -165,7 +165,7 @@ def self.run_checks( .values .select { |items| items.length > 1 } .flatten - .select { |item| item.is_a?(Cask::Cask) } + .grep(Cask::Cask) end ambiguous_names = [] diff --git a/Library/Homebrew/livecheck/strategy.rb b/Library/Homebrew/livecheck/strategy.rb index 139fff41a3db3..3d9001e9167fd 100644 --- a/Library/Homebrew/livecheck/strategy.rb +++ b/Library/Homebrew/livecheck/strategy.rb @@ -161,7 +161,7 @@ def self.from_url(url, livecheck_strategy: nil, regex_provided: false, block_pro # Sort usable strategies in descending order by priority, using the # DEFAULT_PRIORITY when a strategy doesn't contain a PRIORITY constant usable_strategies.sort_by do |strategy| - (strategy.const_defined?(:PRIORITY) ? -strategy.const_get(:PRIORITY) : -DEFAULT_PRIORITY) + strategy.const_defined?(:PRIORITY) ? -strategy.const_get(:PRIORITY) : -DEFAULT_PRIORITY end end diff --git a/Library/Homebrew/livecheck/strategy/extract_plist.rb b/Library/Homebrew/livecheck/strategy/extract_plist.rb index a1a5d7a03be19..b244250c02720 100644 --- a/Library/Homebrew/livecheck/strategy/extract_plist.rb +++ b/Library/Homebrew/livecheck/strategy/extract_plist.rb @@ -29,7 +29,6 @@ class ExtractPlist Item = Struct.new( :bundle_version, - keyword_init: true, ) do extend Forwardable diff --git a/Library/Homebrew/livecheck/strategy/sparkle.rb b/Library/Homebrew/livecheck/strategy/sparkle.rb index af422890c42ea..2a1944de95fba 100644 --- a/Library/Homebrew/livecheck/strategy/sparkle.rb +++ b/Library/Homebrew/livecheck/strategy/sparkle.rb @@ -53,7 +53,6 @@ def self.match?(url) :bundle_version, # @api public :minimum_system_version, - keyword_init: true, ) do extend Forwardable diff --git a/Library/Homebrew/manpages.rb b/Library/Homebrew/manpages.rb index 88487396196f4..6aad483e28c6c 100644 --- a/Library/Homebrew/manpages.rb +++ b/Library/Homebrew/manpages.rb @@ -17,7 +17,6 @@ module Manpages :project_leader, :lead_maintainers, :maintainers, - keyword_init: true, ) SOURCE_PATH = T.let((HOMEBREW_LIBRARY_PATH/"manpages").freeze, Pathname) diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb index 7302b5b3cb769..a9ea234a9e84b 100644 --- a/Library/Homebrew/options.rb +++ b/Library/Homebrew/options.rb @@ -179,7 +179,7 @@ def include?(option) sig { returns(String) } def to_s - @options.map(&:to_s).join(" ") + @options.join(" ") end sig { returns(String) } diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb index 5b584b8abf44b..b928a4387ce20 100644 --- a/Library/Homebrew/tap.rb +++ b/Library/Homebrew/tap.rb @@ -876,9 +876,9 @@ def aliases # Mapping from aliases to formula names. sig { overridable.returns(T::Hash[String, String]) } def alias_table - @alias_table ||= T.let(alias_files.each_with_object({}) do |alias_file, alias_table| - alias_table[alias_file_to_name(alias_file)] = formula_file_to_name(alias_file.resolved_path) - end, T.nilable(T::Hash[String, String])) + @alias_table ||= T.let(alias_files.to_h do |alias_file| + [alias_file_to_name(alias_file), formula_file_to_name(alias_file.resolved_path)] + end, T.nilable(T::Hash[String, String])) end # Mapping from formula names to aliases. diff --git a/Library/Homebrew/test/cask/artifact/alt_target_spec.rb b/Library/Homebrew/test/cask/artifact/alt_target_spec.rb index 9bd396a9d47e0..0953c4aab6582 100644 --- a/Library/Homebrew/test/cask/artifact/alt_target_spec.rb +++ b/Library/Homebrew/test/cask/artifact/alt_target_spec.rb @@ -5,7 +5,7 @@ let(:cask) { Cask::CaskLoader.load(cask_path("with-alt-target")) } let(:install_phase) do - cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + cask.artifacts.grep(described_class).each do |artifact| artifact.install_phase(command: NeverSudoSystemCommand, force: false) end end diff --git a/Library/Homebrew/test/cask/artifact/bashcompletion_spec.rb b/Library/Homebrew/test/cask/artifact/bashcompletion_spec.rb index 3bdfec62f44bf..b38ab728c3849 100644 --- a/Library/Homebrew/test/cask/artifact/bashcompletion_spec.rb +++ b/Library/Homebrew/test/cask/artifact/bashcompletion_spec.rb @@ -6,7 +6,7 @@ context "with install" do let(:install_phase) do lambda do - cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + cask.artifacts.grep(described_class).each do |artifact| artifact.install_phase(command: NeverSudoSystemCommand, force: false) end end diff --git a/Library/Homebrew/test/cask/artifact/binary_spec.rb b/Library/Homebrew/test/cask/artifact/binary_spec.rb index 74afda456a7ca..ea8ab47e2c231 100644 --- a/Library/Homebrew/test/cask/artifact/binary_spec.rb +++ b/Library/Homebrew/test/cask/artifact/binary_spec.rb @@ -6,7 +6,7 @@ InstallHelper.install_without_artifacts(cask) end end - let(:artifacts) { cask.artifacts.select { |a| a.is_a?(described_class) } } + let(:artifacts) { cask.artifacts.grep(described_class) } let(:binarydir) { cask.config.binarydir } let(:expected_path) { binarydir.join("binary") } @@ -103,7 +103,7 @@ end it "links the binary to the proper directory" do - cask.artifacts.select { |a| a.is_a?(Cask::Artifact::App) }.each do |artifact| + cask.artifacts.grep(Cask::Artifact::App).each do |artifact| artifact.install_phase(command: NeverSudoSystemCommand, force: false) end artifacts.each do |artifact| diff --git a/Library/Homebrew/test/cask/artifact/fishlcompletion_spec.rb b/Library/Homebrew/test/cask/artifact/fishlcompletion_spec.rb index f5e166ff45472..72f97ecb30402 100644 --- a/Library/Homebrew/test/cask/artifact/fishlcompletion_spec.rb +++ b/Library/Homebrew/test/cask/artifact/fishlcompletion_spec.rb @@ -6,7 +6,7 @@ context "with install" do let(:install_phase) do lambda do - cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + cask.artifacts.grep(described_class).each do |artifact| artifact.install_phase(command: NeverSudoSystemCommand, force: false) end end diff --git a/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb b/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb index 0ba85761da360..d625a1693d777 100644 --- a/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb +++ b/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb @@ -5,7 +5,7 @@ let(:install_phase) do lambda do - cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + cask.artifacts.grep(described_class).each do |artifact| artifact.install_phase(command: NeverSudoSystemCommand, force: false) end end diff --git a/Library/Homebrew/test/cask/artifact/manpage_spec.rb b/Library/Homebrew/test/cask/artifact/manpage_spec.rb index 022aee7519171..dc5e30a9ff218 100644 --- a/Library/Homebrew/test/cask/artifact/manpage_spec.rb +++ b/Library/Homebrew/test/cask/artifact/manpage_spec.rb @@ -14,7 +14,7 @@ context "with install" do let(:install_phase) do lambda do - cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + cask.artifacts.grep(described_class).each do |artifact| artifact.install_phase(command: NeverSudoSystemCommand, force: false) end end diff --git a/Library/Homebrew/test/cask/artifact/postflight_block_spec.rb b/Library/Homebrew/test/cask/artifact/postflight_block_spec.rb index b47d0cb052c32..eb71b3a520028 100644 --- a/Library/Homebrew/test/cask/artifact/postflight_block_spec.rb +++ b/Library/Homebrew/test/cask/artifact/postflight_block_spec.rb @@ -13,7 +13,7 @@ end end - cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + cask.artifacts.grep(described_class).each do |artifact| artifact.install_phase(command: NeverSudoSystemCommand, force: false) end @@ -34,7 +34,7 @@ end end - cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + cask.artifacts.grep(described_class).each do |artifact| artifact.uninstall_phase(command: NeverSudoSystemCommand, force: false) end diff --git a/Library/Homebrew/test/cask/artifact/preflight_block_spec.rb b/Library/Homebrew/test/cask/artifact/preflight_block_spec.rb index 923f40ac0745f..3c97212298268 100644 --- a/Library/Homebrew/test/cask/artifact/preflight_block_spec.rb +++ b/Library/Homebrew/test/cask/artifact/preflight_block_spec.rb @@ -13,7 +13,7 @@ end end - cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + cask.artifacts.grep(described_class).each do |artifact| artifact.install_phase(command: NeverSudoSystemCommand, force: false) end @@ -34,7 +34,7 @@ end end - cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + cask.artifacts.grep(described_class).each do |artifact| artifact.uninstall_phase(command: NeverSudoSystemCommand, force: false) end diff --git a/Library/Homebrew/test/cask/artifact/suite_spec.rb b/Library/Homebrew/test/cask/artifact/suite_spec.rb index 869508d45427e..63448dfd058a1 100644 --- a/Library/Homebrew/test/cask/artifact/suite_spec.rb +++ b/Library/Homebrew/test/cask/artifact/suite_spec.rb @@ -5,7 +5,7 @@ let(:install_phase) do lambda do - cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + cask.artifacts.grep(described_class).each do |artifact| artifact.install_phase(command: NeverSudoSystemCommand, force: false) end end diff --git a/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb b/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb index 5a1e119bff0f2..86636bf191e3c 100644 --- a/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb +++ b/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb @@ -5,7 +5,7 @@ let(:cask) { Cask::CaskLoader.load(cask_path("with-two-apps-correct")) } let(:install_phase) do - cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + cask.artifacts.grep(described_class).each do |artifact| artifact.install_phase(command: NeverSudoSystemCommand, force: false) end end diff --git a/Library/Homebrew/test/cask/artifact/zshcompletion_spec.rb b/Library/Homebrew/test/cask/artifact/zshcompletion_spec.rb index 8a46f84f5ef20..a6250c7bc9aa4 100644 --- a/Library/Homebrew/test/cask/artifact/zshcompletion_spec.rb +++ b/Library/Homebrew/test/cask/artifact/zshcompletion_spec.rb @@ -6,7 +6,7 @@ context "with install" do let(:install_phase) do lambda do - cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + cask.artifacts.grep(described_class).each do |artifact| artifact.install_phase(command: NeverSudoSystemCommand, force: false) end end diff --git a/Library/Homebrew/test/cask/list_spec.rb b/Library/Homebrew/test/cask/list_spec.rb index 436e4f99a16be..4214baab028b7 100644 --- a/Library/Homebrew/test/cask/list_spec.rb +++ b/Library/Homebrew/test/cask/list_spec.rb @@ -99,7 +99,7 @@ it "lists the installed files for those Casks" do casks.each { InstallHelper.install_without_artifacts_with_caskfile(it) } - transmission.artifacts.select { |a| a.is_a?(Cask::Artifact::App) }.each do |artifact| + transmission.artifacts.grep(Cask::Artifact::App).each do |artifact| artifact.install_phase(command: NeverSudoSystemCommand, force: false) end diff --git a/Library/Homebrew/test/cleanup_spec.rb b/Library/Homebrew/test/cleanup_spec.rb index 573f67a1ecdab..f31e262670d17 100644 --- a/Library/Homebrew/test/cleanup_spec.rb +++ b/Library/Homebrew/test/cleanup_spec.rb @@ -276,7 +276,7 @@ end describe "::cleanup_logs" do - let(:path) { (HOMEBREW_LOGS/"delete_me") } + let(:path) { HOMEBREW_LOGS/"delete_me" } before do path.mkpath @@ -408,9 +408,9 @@ end context "when cleaning old files in HOMEBREW_CACHE" do - let(:bottle) { (HOMEBREW_CACHE/"testball--0.0.1.tag.bottle.tar.gz") } - let(:testball) { (HOMEBREW_CACHE/"testball--0.0.1") } - let(:testball_resource) { (HOMEBREW_CACHE/"testball--rsrc--0.0.1.txt") } + let(:bottle) { HOMEBREW_CACHE/"testball--0.0.1.tag.bottle.tar.gz" } + let(:testball) { HOMEBREW_CACHE/"testball--0.0.1" } + let(:testball_resource) { HOMEBREW_CACHE/"testball--rsrc--0.0.1.txt" } before do FileUtils.touch bottle @@ -446,7 +446,7 @@ end context "when the cache path is a bottle manifest file" do - let(:bottle_manifest_path) { (HOMEBREW_CACHE/"testball_bottle_manifest--1.0.bottle_manifest.json") } + let(:bottle_manifest_path) { HOMEBREW_CACHE/"testball_bottle_manifest--1.0.bottle_manifest.json" } before do HOMEBREW_CACHE.mkpath @@ -495,9 +495,9 @@ describe "::cleanup_python_site_packages" do context "when cleaning up Python modules" do - let(:foo_module) { (HOMEBREW_PREFIX/"lib/python3.99/site-packages/foo") } - let(:foo_pycache) { (foo_module/"__pycache__") } - let(:foo_pyc) { (foo_pycache/"foo.cypthon-399.pyc") } + let(:foo_module) { HOMEBREW_PREFIX/"lib/python3.99/site-packages/foo" } + let(:foo_pycache) { foo_module/"__pycache__" } + let(:foo_pyc) { foo_pycache/"foo.cypthon-399.pyc" } before do foo_pycache.mkpath diff --git a/Library/Homebrew/test/formula_spec.rb b/Library/Homebrew/test/formula_spec.rb index f272b1732f767..1e7249ef40cac 100644 --- a/Library/Homebrew/test/formula_spec.rb +++ b/Library/Homebrew/test/formula_spec.rb @@ -69,7 +69,7 @@ context "when in a Tap" do let(:tap) { Tap.fetch("foo", "bar") } - let(:path) { (tap.path/"Formula/#{name}.rb") } + let(:path) { tap.path/"Formula/#{name}.rb" } let(:full_name) { "#{tap.user}/#{tap.repository}/#{name}" } let(:full_alias_name) { "#{tap.user}/#{tap.repository}/#{alias_name}" } @@ -1185,7 +1185,7 @@ def pour_bottle? pour_bottle? do reason "false reason" - satisfy { (var == etc) } + satisfy { var == etc } end end @@ -1349,11 +1349,11 @@ def pour_bottle? end describe "#outdated_kegs" do - let(:outdated_prefix) { (HOMEBREW_CELLAR/"#{f.name}/1.11") } - let(:same_prefix) { (HOMEBREW_CELLAR/"#{f.name}/1.20") } - let(:greater_prefix) { (HOMEBREW_CELLAR/"#{f.name}/1.21") } - let(:head_prefix) { (HOMEBREW_CELLAR/"#{f.name}/HEAD") } - let(:old_alias_target_prefix) { (HOMEBREW_CELLAR/"#{old_formula.name}/1.0") } + let(:outdated_prefix) { HOMEBREW_CELLAR/"#{f.name}/1.11" } + let(:same_prefix) { HOMEBREW_CELLAR/"#{f.name}/1.20" } + let(:greater_prefix) { HOMEBREW_CELLAR/"#{f.name}/1.21" } + let(:head_prefix) { HOMEBREW_CELLAR/"#{f.name}/HEAD" } + let(:old_alias_target_prefix) { HOMEBREW_CELLAR/"#{old_formula.name}/1.0" } let(:f) do formula do From f9d41141eacb9763cac5e9f7988c15ae94efde94 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 6 Mar 2026 16:02:29 +0000 Subject: [PATCH 6/7] `brew style --fix --todo` --- Library/Homebrew/brew_irb_helpers.rb | 2 +- Library/Homebrew/cache_store.rb | 2 +- Library/Homebrew/cmd/update-report.rb | 4 +-- Library/Homebrew/compilers.rb | 4 +-- Library/Homebrew/dependencies.rb | 2 +- Library/Homebrew/dependencies.rbi | 2 +- Library/Homebrew/dependency.rb | 2 +- Library/Homebrew/description_cache_store.rb | 2 +- Library/Homebrew/download_strategy.rb | 36 +++++++++---------- Library/Homebrew/download_strategy.rbi | 2 +- Library/Homebrew/exceptions.rb | 5 +++ Library/Homebrew/extend/ENV.rbi | 2 +- Library/Homebrew/extend/blank.rb | 18 +++++----- Library/Homebrew/extend/enumerable.rb | 2 +- Library/Homebrew/extend/object/deep_dup.rb | 6 ++-- Library/Homebrew/extend/object/duplicable.rb | 6 ++-- .../extend/os/linux/extend/pathname.rb | 2 +- .../Homebrew/extend/os/mac/extend/pathname.rb | 2 +- .../Homebrew/extend/os/mac/hardware/cpu.rb | 2 +- Library/Homebrew/extend/pathname.rb | 6 ++-- .../formula-analytics/pycall-setup.rbi | 2 +- Library/Homebrew/lock_file.rb | 9 +++-- Library/Homebrew/on_system.rbi | 2 +- Library/Homebrew/options.rb | 4 +-- Library/Homebrew/os/linux/elf.rb | 2 +- Library/Homebrew/patch.rb | 8 ++--- Library/Homebrew/reinstall.rb | 2 +- Library/Homebrew/resource.rb | 2 +- Library/Homebrew/sandbox.rb | 5 +++ Library/Homebrew/sorbet/rbi/upstream.rbi | 2 +- Library/Homebrew/startup/bootsnap.rbi | 2 +- Library/Homebrew/tab.rb | 2 +- Library/Homebrew/tap.rb | 8 ++--- .../Homebrew/test/abstract_command_spec.rbi | 2 +- .../dev-cmd/determine-test-runners_spec.rb | 2 +- .../test/support/fixtures/rubocop@x.x.x.rbi | 14 ++++---- Library/Homebrew/utils/github/artifacts.rb | 2 +- docs/.rubocop.yml | 4 +++ 38 files changed, 100 insertions(+), 83 deletions(-) diff --git a/Library/Homebrew/brew_irb_helpers.rb b/Library/Homebrew/brew_irb_helpers.rb index cc50320697a65..865ed1a0ffc56 100644 --- a/Library/Homebrew/brew_irb_helpers.rb +++ b/Library/Homebrew/brew_irb_helpers.rb @@ -21,7 +21,7 @@ def c(config: nil) end end -class Symbol +class Symbol # rubocop:todo Style/OneClassPerFile # @!visibility private sig { params(args: Integer).returns(Formula) } def f(*args) diff --git a/Library/Homebrew/cache_store.rb b/Library/Homebrew/cache_store.rb index 0393b5aeb73ac..f862dc472e9ae 100644 --- a/Library/Homebrew/cache_store.rb +++ b/Library/Homebrew/cache_store.rb @@ -189,7 +189,7 @@ def dirty? # {CacheStore} provides methods to mutate and fetch data from a persistent # storage mechanism. # -class CacheStore +class CacheStore # rubocop:todo Style/OneClassPerFile extend T::Helpers abstract! diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb index 2109f8a2483dd..a5ea8d0385609 100644 --- a/Library/Homebrew/cmd/update-report.rb +++ b/Library/Homebrew/cmd/update-report.rb @@ -370,7 +370,7 @@ def install_from_api_message require "extend/os/cmd/update-report" -class Reporter +class Reporter # rubocop:todo Style/OneClassPerFile include Utils::Output::Mixin Report = T.type_alias do @@ -774,7 +774,7 @@ def diff end end -class ReporterHub +class ReporterHub # rubocop:todo Style/OneClassPerFile include Utils::Output::Mixin sig { returns(T::Array[Reporter]) } diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index c85dfa45dc760..bc47bb778fd41 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -17,7 +17,7 @@ module CompilerConstants end # Class for checking compiler compatibility for a formula. -class CompilerFailure +class CompilerFailure # rubocop:todo Style/OneClassPerFile sig { returns(Symbol) } attr_reader :type @@ -97,7 +97,7 @@ def gcc_major(version) end # Class for selecting a compiler for a formula. -class CompilerSelector +class CompilerSelector # rubocop:todo Style/OneClassPerFile include CompilerConstants class Compiler < T::Struct diff --git a/Library/Homebrew/dependencies.rb b/Library/Homebrew/dependencies.rb index 3e8bd125e83d6..fc1a592700886 100644 --- a/Library/Homebrew/dependencies.rb +++ b/Library/Homebrew/dependencies.rb @@ -42,7 +42,7 @@ def inspect end # A collection of requirements. -class Requirements < SimpleDelegator +class Requirements < SimpleDelegator # rubocop:todo Style/OneClassPerFile def initialize(*args) super(Set.new(args)) end diff --git a/Library/Homebrew/dependencies.rbi b/Library/Homebrew/dependencies.rbi index 5cdc3fcad4912..b481b165d6c7d 100644 --- a/Library/Homebrew/dependencies.rbi +++ b/Library/Homebrew/dependencies.rbi @@ -18,7 +18,7 @@ class Dependencies < SimpleDelegator def select(&blk); end end -class Requirements < SimpleDelegator +class Requirements < SimpleDelegator # rubocop:todo Style/OneClassPerFile include Enumerable include Kernel diff --git a/Library/Homebrew/dependency.rb b/Library/Homebrew/dependency.rb index eacd9e8e68876..3dc6d0896002f 100644 --- a/Library/Homebrew/dependency.rb +++ b/Library/Homebrew/dependency.rb @@ -297,7 +297,7 @@ def merge_temporality(deps) end # A dependency that's marked as "installed" on macOS -class UsesFromMacOSDependency < Dependency +class UsesFromMacOSDependency < Dependency # rubocop:todo Style/OneClassPerFile attr_reader :bounds sig { params(name: String, tags: T::Array[Symbol], bounds: T::Hash[Symbol, Symbol]).void } diff --git a/Library/Homebrew/description_cache_store.rb b/Library/Homebrew/description_cache_store.rb index 756b3c1cc3e04..c3fb7a1742da9 100644 --- a/Library/Homebrew/description_cache_store.rb +++ b/Library/Homebrew/description_cache_store.rb @@ -97,7 +97,7 @@ def select(&block) # {CaskDescriptionCacheStore} provides methods to fetch and mutate cask descriptions used # by the `brew desc` and `brew search` commands. # -class CaskDescriptionCacheStore < DescriptionCacheStore +class CaskDescriptionCacheStore < DescriptionCacheStore # rubocop:todo Style/OneClassPerFile # If the database is empty `update!` it with all known casks. # # @return [nil] diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 6760a5d7d269f..18b6e0a1f86a1 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -23,7 +23,7 @@ class Mechanize; end require "github_packages" # @abstract Abstract superclass for all download strategies. -class AbstractDownloadStrategy +class AbstractDownloadStrategy # rubocop:todo Style/OneClassPerFile extend T::Helpers include FileUtils include Context @@ -203,7 +203,7 @@ def env end # @abstract Abstract superclass for all download strategies downloading from a version control system. -class VCSDownloadStrategy < AbstractDownloadStrategy +class VCSDownloadStrategy < AbstractDownloadStrategy # rubocop:todo Style/OneClassPerFile abstract! sig { override.returns(Pathname) } @@ -303,7 +303,7 @@ def extract_ref(specs) end # @abstract Abstract superclass for all download strategies downloading a single file. -class AbstractFileDownloadStrategy < AbstractDownloadStrategy +class AbstractFileDownloadStrategy < AbstractDownloadStrategy # rubocop:todo Style/OneClassPerFile abstract! # Path for storing an incomplete download while the download is still in progress. @@ -431,7 +431,7 @@ def parse_basename(url, search_query: true) # Strategy for downloading files using `curl`. # # @api public -class CurlDownloadStrategy < AbstractFileDownloadStrategy +class CurlDownloadStrategy < AbstractFileDownloadStrategy # rubocop:todo Style/OneClassPerFile include Utils::Curl # url, basename, time, file_size, content_type, is_redirection @@ -701,7 +701,7 @@ def curl(*args, print_stdout: true, **options) # Strategy for downloading a file using Homebrew's `curl`. # # @api public -class HomebrewCurlDownloadStrategy < CurlDownloadStrategy +class HomebrewCurlDownloadStrategy < CurlDownloadStrategy # rubocop:todo Style/OneClassPerFile private sig { @@ -726,7 +726,7 @@ def curl_output(*args, **options) # Strategy for downloading a file from an GitHub Packages URL. # # @api public -class CurlGitHubPackagesDownloadStrategy < CurlDownloadStrategy +class CurlGitHubPackagesDownloadStrategy < CurlDownloadStrategy # rubocop:todo Style/OneClassPerFile sig { params(resolved_basename: String).returns(T.nilable(String)) } attr_writer :resolved_basename @@ -760,7 +760,7 @@ def resolve_url_basename_time_file_size(url, timeout: nil) # Strategy for downloading a file from an Apache Mirror URL. # # @api public -class CurlApacheMirrorDownloadStrategy < CurlDownloadStrategy +class CurlApacheMirrorDownloadStrategy < CurlDownloadStrategy # rubocop:todo Style/OneClassPerFile sig { returns(T::Array[String]) } def mirrors combined_mirrors @@ -809,7 +809,7 @@ def apache_mirrors # Query parameters on the URL are converted into POST parameters. # # @api public -class CurlPostDownloadStrategy < CurlDownloadStrategy +class CurlPostDownloadStrategy < CurlDownloadStrategy # rubocop:todo Style/OneClassPerFile private sig { @@ -833,7 +833,7 @@ def _fetch(url:, resolved_url:, timeout:) # (Useful for downloading `.jar` files.) # # @api public -class NoUnzipCurlDownloadStrategy < CurlDownloadStrategy +class NoUnzipCurlDownloadStrategy < CurlDownloadStrategy # rubocop:todo Style/OneClassPerFile sig { override.params(_block: T.nilable(T.proc.void)).void } def stage(&_block) UnpackStrategy::Uncompressed.new(cached_location) @@ -844,7 +844,7 @@ def stage(&_block) end # Strategy for extracting local binary packages. -class LocalBottleDownloadStrategy < AbstractFileDownloadStrategy +class LocalBottleDownloadStrategy < AbstractFileDownloadStrategy # rubocop:todo Style/OneClassPerFile # TODO: Call `super` here # rubocop:disable Lint/MissingSuper sig { params(path: Pathname).void } @@ -862,7 +862,7 @@ def clear_cache # Strategy for downloading a Subversion repository. # # @api public -class SubversionDownloadStrategy < VCSDownloadStrategy +class SubversionDownloadStrategy < VCSDownloadStrategy # rubocop:todo Style/OneClassPerFile sig { params(url: String, name: String, version: T.nilable(T.any(String, Version)), meta: T.untyped).void } def initialize(url, name, version, **meta) super @@ -981,7 +981,7 @@ def clone_repo(timeout: nil) # Strategy for downloading a Git repository. # # @api public -class GitDownloadStrategy < VCSDownloadStrategy +class GitDownloadStrategy < VCSDownloadStrategy # rubocop:todo Style/OneClassPerFile MINIMUM_COMMIT_HASH_LENGTH = 7 sig { params(url: String, name: String, version: T.nilable(T.any(String, Version)), meta: T.untyped).void } @@ -1268,7 +1268,7 @@ def configure_sparse_checkout # Strategy for downloading a Git repository from GitHub. # # @api public -class GitHubGitDownloadStrategy < GitDownloadStrategy +class GitHubGitDownloadStrategy < GitDownloadStrategy # rubocop:todo Style/OneClassPerFile sig { params(url: String, name: String, version: T.nilable(Version), meta: T.untyped).void } def initialize(url, name, version, **meta) super @@ -1329,7 +1329,7 @@ def default_branch # Strategy for downloading a CVS repository. # # @api public -class CVSDownloadStrategy < VCSDownloadStrategy +class CVSDownloadStrategy < VCSDownloadStrategy # rubocop:todo Style/OneClassPerFile sig { params(url: String, name: String, version: T.nilable(T.any(String, Version)), meta: T.untyped).void } def initialize(url, name, version, **meta) super @@ -1422,7 +1422,7 @@ def split_url(in_url) # Strategy for downloading a Mercurial repository. # # @api public -class MercurialDownloadStrategy < VCSDownloadStrategy +class MercurialDownloadStrategy < VCSDownloadStrategy # rubocop:todo Style/OneClassPerFile sig { params(url: String, name: String, version: T.nilable(T.any(String, Version)), meta: T.untyped).void } def initialize(url, name, version, **meta) super @@ -1510,7 +1510,7 @@ def current_revision # Strategy for downloading a Bazaar repository. # # @api public -class BazaarDownloadStrategy < VCSDownloadStrategy +class BazaarDownloadStrategy < VCSDownloadStrategy # rubocop:todo Style/OneClassPerFile sig { params(url: String, name: String, version: T.nilable(T.any(String, Version)), meta: T.untyped).void } def initialize(url, name, version, **meta) super @@ -1576,7 +1576,7 @@ def update(timeout: nil) # Strategy for downloading a Fossil repository. # # @api public -class FossilDownloadStrategy < VCSDownloadStrategy +class FossilDownloadStrategy < VCSDownloadStrategy # rubocop:todo Style/OneClassPerFile sig { params(url: String, name: String, version: T.nilable(T.any(String, Version)), meta: T.untyped).void } def initialize(url, name, version, **meta) super @@ -1630,7 +1630,7 @@ def update(timeout: nil) end # Helper class for detecting a download strategy from a URL. -class DownloadStrategyDetector +class DownloadStrategyDetector # rubocop:todo Style/OneClassPerFile sig { params(url: String, using: T.nilable(T.any(Symbol, T::Class[AbstractDownloadStrategy]))) .returns(T::Class[AbstractDownloadStrategy]) diff --git a/Library/Homebrew/download_strategy.rbi b/Library/Homebrew/download_strategy.rbi index 656649cb3438c..1a0acbb7ee1fa 100644 --- a/Library/Homebrew/download_strategy.rbi +++ b/Library/Homebrew/download_strategy.rbi @@ -10,7 +10,7 @@ end # This is a third-party implementation. # rubocop:disable Style/OptionalBooleanParameter -class Mechanize::HTTP::ContentDispositionParser +class Mechanize::HTTP::ContentDispositionParser # rubocop:todo Style/OneClassPerFile sig { params(content_disposition: String, header: T::Boolean) .returns(T.nilable(Mechanize::HTTP::ContentDisposition)) diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 0a22b57ddb0ad..72b6ecee1b054 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -1,6 +1,9 @@ # typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true +# We intentionally want to have many exceptions in this file. +# rubocop:disable Style/OneClassPerFile + require "utils/output" # Raised when a command is used wrong. @@ -812,3 +815,5 @@ def initialize(strongly_connected_components) EOS end end + +# rubocop:enable Style/OneClassPerFile diff --git a/Library/Homebrew/extend/ENV.rbi b/Library/Homebrew/extend/ENV.rbi index b7727c58c9e8d..d1dd104f6deea 100644 --- a/Library/Homebrew/extend/ENV.rbi +++ b/Library/Homebrew/extend/ENV.rbi @@ -5,7 +5,7 @@ module EnvActivation end # @!visibility private -class Sorbet +class Sorbet # rubocop:todo Style/OneClassPerFile module Private module Static class ENVClass diff --git a/Library/Homebrew/extend/blank.rb b/Library/Homebrew/extend/blank.rb index 85c5ea55b4761..ac647e4c19e87 100644 --- a/Library/Homebrew/extend/blank.rb +++ b/Library/Homebrew/extend/blank.rb @@ -49,7 +49,7 @@ def presence end end -class NilClass +class NilClass # rubocop:todo Style/OneClassPerFile # `nil` is blank: # # ```ruby @@ -62,7 +62,7 @@ def blank? = true def present? = false # :nodoc: end -class FalseClass +class FalseClass # rubocop:todo Style/OneClassPerFile # `false` is blank: # # ```ruby @@ -75,7 +75,7 @@ def blank? = true def present? = false # :nodoc: end -class TrueClass +class TrueClass # rubocop:todo Style/OneClassPerFile # `true` is not blank: # # ```ruby @@ -88,7 +88,7 @@ def blank? = false def present? = true # :nodoc: end -class Array +class Array # rubocop:todo Style/OneClassPerFile # An array is blank if it's empty: # # ```ruby @@ -102,7 +102,7 @@ def blank? = empty? def present? = !empty? # :nodoc: end -class Hash +class Hash # rubocop:todo Style/OneClassPerFile # A hash is blank if it's empty: # # @@ -117,7 +117,7 @@ def blank? = empty? def present? = !empty? # :nodoc: end -class Symbol +class Symbol # rubocop:todo Style/OneClassPerFile # A Symbol is blank if it's empty: # # ```ruby @@ -131,7 +131,7 @@ def blank? = empty? def present? = !empty? # :nodoc: end -class String +class String # rubocop:todo Style/OneClassPerFile BLANK_RE = /\A[[:space:]]*\z/ # This is a cache that is intentionally mutable # rubocop:disable Style/MutableConstant @@ -171,7 +171,7 @@ def blank? def present? = !blank? # :nodoc: end -class Numeric # :nodoc: +class Numeric # :nodoc: # rubocop:todo Style/OneClassPerFile # No number is blank: # # ```ruby @@ -185,7 +185,7 @@ def blank? = false def present? = true end -class Time # :nodoc: +class Time # :nodoc: # rubocop:todo Style/OneClassPerFile # No Time is blank: # # ```ruby diff --git a/Library/Homebrew/extend/enumerable.rb b/Library/Homebrew/extend/enumerable.rb index 5f8ca22f17e09..ffc4934d37a93 100644 --- a/Library/Homebrew/extend/enumerable.rb +++ b/Library/Homebrew/extend/enumerable.rb @@ -32,7 +32,7 @@ def exclude?(object) = !include?(object) def compact_blank = T.unsafe(self).reject(&:blank?) end -class Hash +class Hash # rubocop:todo Style/OneClassPerFile # {Hash#reject} has its own definition, so this needs one too. def compact_blank = reject { |_k, v| T.unsafe(v).blank? } end diff --git a/Library/Homebrew/extend/object/deep_dup.rb b/Library/Homebrew/extend/object/deep_dup.rb index 24262d1a5a155..4675a646c531d 100644 --- a/Library/Homebrew/extend/object/deep_dup.rb +++ b/Library/Homebrew/extend/object/deep_dup.rb @@ -19,7 +19,7 @@ def deep_dup end end -class Array +class Array # rubocop:todo Style/OneClassPerFile # Returns a deep copy of array. # # array = [1, [2, 3]] @@ -34,7 +34,7 @@ def deep_dup end end -class Hash +class Hash # rubocop:todo Style/OneClassPerFile # Returns a deep copy of hash. # # hash = { a: { b: 'b' } } @@ -59,7 +59,7 @@ def deep_dup end end -class Module +class Module # rubocop:todo Style/OneClassPerFile # Returns a copy of module or class if it's anonymous. If it's # named, returns +self+. # diff --git a/Library/Homebrew/extend/object/duplicable.rb b/Library/Homebrew/extend/object/duplicable.rb index a0f0462084ce5..e4cce1d7ba016 100644 --- a/Library/Homebrew/extend/object/duplicable.rb +++ b/Library/Homebrew/extend/object/duplicable.rb @@ -34,7 +34,7 @@ class Object def duplicable? = true end -class Method +class Method # rubocop:todo Style/OneClassPerFile # Methods are not duplicable: # # ```ruby @@ -45,7 +45,7 @@ class Method def duplicable? = false end -class UnboundMethod +class UnboundMethod # rubocop:todo Style/OneClassPerFile # Unbound methods are not duplicable: # # ```ruby @@ -58,7 +58,7 @@ def duplicable? = false require "singleton" -module Singleton +module Singleton # rubocop:todo Style/OneClassPerFile # Singleton instances are not duplicable: # # ```ruby diff --git a/Library/Homebrew/extend/os/linux/extend/pathname.rb b/Library/Homebrew/extend/os/linux/extend/pathname.rb index fd431c3eacdbe..8c223f8063311 100644 --- a/Library/Homebrew/extend/os/linux/extend/pathname.rb +++ b/Library/Homebrew/extend/os/linux/extend/pathname.rb @@ -20,7 +20,7 @@ def wrap(path) BinaryPathname.singleton_class.prepend(ELFPathname::ClassMethods) -module OS +module OS # rubocop:todo Style/OneClassPerFile module Linux module Pathname module ClassMethods diff --git a/Library/Homebrew/extend/os/mac/extend/pathname.rb b/Library/Homebrew/extend/os/mac/extend/pathname.rb index 171c73c72642f..c31583b5fc964 100644 --- a/Library/Homebrew/extend/os/mac/extend/pathname.rb +++ b/Library/Homebrew/extend/os/mac/extend/pathname.rb @@ -20,7 +20,7 @@ def wrap(path) BinaryPathname.singleton_class.prepend(MachOPathname::ClassMethods) -module OS +module OS # rubocop:todo Style/OneClassPerFile module Mac module Pathname module ClassMethods diff --git a/Library/Homebrew/extend/os/mac/hardware/cpu.rb b/Library/Homebrew/extend/os/mac/hardware/cpu.rb index e008e8e7ea582..df126c46761ed 100644 --- a/Library/Homebrew/extend/os/mac/hardware/cpu.rb +++ b/Library/Homebrew/extend/os/mac/hardware/cpu.rb @@ -65,7 +65,7 @@ def sse4? Hardware::CPU.singleton_class.prepend(OS::Mac::Hardware::CPU::ClassMethods) -module Hardware +module Hardware # rubocop:todo Style/OneClassPerFile class CPU class << self sig { returns(Integer) } diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index f05b1ee97125e..c8d79e7e04e82 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -9,17 +9,17 @@ # Stubs needed to keep Sorbet happy. module MachOShim; end -module ELFShim; end +module ELFShim; end # rubocop:todo Style/OneClassPerFile # @api private -module BinaryPathname +module BinaryPathname # rubocop:todo Style/OneClassPerFile sig { params(path: T.any(Pathname, String, MachOShim, ELFShim)).returns(T.any(MachOShim, ELFShim)) } def self.wrap(path) = raise NotImplementedError end # Homebrew extends Ruby's `Pathname` to make our code more readable. # @see https://ruby-doc.org/stdlib-2.6.3/libdoc/pathname/rdoc/Pathname.html Ruby's Pathname API -class Pathname +class Pathname # rubocop:todo Style/OneClassPerFile include SystemCommand::Mixin include DiskUsageExtension include Utils::Output::Mixin diff --git a/Library/Homebrew/formula-analytics/pycall-setup.rbi b/Library/Homebrew/formula-analytics/pycall-setup.rbi index f40fa2c961273..480c5f194184b 100644 --- a/Library/Homebrew/formula-analytics/pycall-setup.rbi +++ b/Library/Homebrew/formula-analytics/pycall-setup.rbi @@ -6,7 +6,7 @@ class InfluxDBClient3 def query(*args); end end -module PyCall +module PyCall # rubocop:todo Style/OneClassPerFile def self.init(*args); end module Import diff --git a/Library/Homebrew/lock_file.rb b/Library/Homebrew/lock_file.rb index adcad80a148a0..6d5bc9d8fbb0c 100644 --- a/Library/Homebrew/lock_file.rb +++ b/Library/Homebrew/lock_file.rb @@ -29,6 +29,8 @@ def lock path.dirname.mkpath + # We are opening and closing the file appropriately so this is safe. + # rubocop:disable Style/FileOpen begin lockfile = begin File.open(path, File::RDWR | File::CREAT) @@ -65,6 +67,7 @@ def lock lockfile.close raise OperationInProgressError, @locked_path end + # rubocop:enable Style/FileOpen end sig { params(unlink: T::Boolean).void } @@ -89,7 +92,7 @@ def with_lock(&_block) end # A lock file for a formula. -class FormulaLock < LockFile +class FormulaLock < LockFile # rubocop:todo Style/OneClassPerFile sig { params(rack_name: String).void } def initialize(rack_name) super(:formula, HOMEBREW_CELLAR/rack_name) @@ -97,7 +100,7 @@ def initialize(rack_name) end # A lock file for a cask. -class CaskLock < LockFile +class CaskLock < LockFile # rubocop:todo Style/OneClassPerFile sig { params(cask_token: String).void } def initialize(cask_token) super(:cask, HOMEBREW_PREFIX/"Caskroom/#{cask_token}") @@ -105,7 +108,7 @@ def initialize(cask_token) end # A lock file for a download. -class DownloadLock < LockFile +class DownloadLock < LockFile # rubocop:todo Style/OneClassPerFile sig { params(download_path: Pathname).void } def initialize(download_path) super(:download, download_path) diff --git a/Library/Homebrew/on_system.rbi b/Library/Homebrew/on_system.rbi index dd0b1783478a1..1acca4e7314de 100644 --- a/Library/Homebrew/on_system.rbi +++ b/Library/Homebrew/on_system.rbi @@ -5,7 +5,7 @@ module OnSystem::MacOSOnly def on_arch_conditional(arm: nil, intel: nil); end end -module OnSystem::MacOSAndLinux +module OnSystem::MacOSAndLinux # rubocop:todo Style/OneClassPerFile sig { params( macos: T.nilable(T.any(T::Array[T.any(String, Pathname)], String, Pathname)), diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb index a9ea234a9e84b..69e02930bb34f 100644 --- a/Library/Homebrew/options.rb +++ b/Library/Homebrew/options.rb @@ -50,7 +50,7 @@ def inspect end # A deprecated formula option. -class DeprecatedOption +class DeprecatedOption # rubocop:todo Style/OneClassPerFile sig { returns(String) } attr_reader :old, :current @@ -83,7 +83,7 @@ def ==(other) end # A collection of formula options. -class Options +class Options # rubocop:todo Style/OneClassPerFile include Enumerable extend T::Generic diff --git a/Library/Homebrew/os/linux/elf.rb b/Library/Homebrew/os/linux/elf.rb index 4cde0bbd0ae94..d10656c2b447e 100644 --- a/Library/Homebrew/os/linux/elf.rb +++ b/Library/Homebrew/os/linux/elf.rb @@ -301,7 +301,7 @@ def dynamically_linked_libraries(except: :none, resolve_variable_references: tru end end -module OS +module OS # rubocop:todo Style/OneClassPerFile module Linux # Helper functions for working with ELF objects. # diff --git a/Library/Homebrew/patch.rb b/Library/Homebrew/patch.rb index 956df31855d80..47587651421bd 100644 --- a/Library/Homebrew/patch.rb +++ b/Library/Homebrew/patch.rb @@ -36,7 +36,7 @@ def self.create(strip, src, &block) end # An abstract class representing a patch embedded into a formula. -class EmbeddedPatch +class EmbeddedPatch # rubocop:todo Style/OneClassPerFile include Utils::Output::Mixin extend T::Helpers @@ -80,7 +80,7 @@ def inspect end # A patch at the `__END__` of a formula file. -class DATAPatch < EmbeddedPatch +class DATAPatch < EmbeddedPatch # rubocop:todo Style/OneClassPerFile sig { returns(T.nilable(Pathname)) } attr_accessor :path @@ -110,7 +110,7 @@ def contents end # A string containing a patch. -class StringPatch < EmbeddedPatch +class StringPatch < EmbeddedPatch # rubocop:todo Style/OneClassPerFile sig { params(strip: T.any(String, Symbol), str: String).void } def initialize(strip, str) super(strip) @@ -124,7 +124,7 @@ def contents end # A file containing a patch. -class ExternalPatch +class ExternalPatch # rubocop:todo Style/OneClassPerFile include Utils::Output::Mixin extend Forwardable diff --git a/Library/Homebrew/reinstall.rb b/Library/Homebrew/reinstall.rb index 3e069f3c16bb8..af3f413d0a967 100644 --- a/Library/Homebrew/reinstall.rb +++ b/Library/Homebrew/reinstall.rb @@ -10,7 +10,7 @@ class FormulaInstaller; end # rubocop:enable Lint/EmptyClass -module Homebrew +module Homebrew # rubocop:todo Style/OneClassPerFile module Reinstall extend Utils::Output::Mixin diff --git a/Library/Homebrew/resource.rb b/Library/Homebrew/resource.rb index a8cb5c8a89646..d1462e4cd61b1 100644 --- a/Library/Homebrew/resource.rb +++ b/Library/Homebrew/resource.rb @@ -405,7 +405,7 @@ def download_queue_name # The context in which a {Resource#stage} occurs. Supports access to both # the {Resource} and associated {Mktemp} in a single block argument. The interface # is back-compatible with {Resource} itself as used in that context. -class ResourceStageContext +class ResourceStageContext # rubocop:todo Style/OneClassPerFile extend Forwardable # The {Resource} that is being staged. diff --git a/Library/Homebrew/sandbox.rb b/Library/Homebrew/sandbox.rb index 375588421f8f7..cb3ad490d969d 100644 --- a/Library/Homebrew/sandbox.rb +++ b/Library/Homebrew/sandbox.rb @@ -185,7 +185,12 @@ def run(*args) Process.setsid controller.close worker.ioctl(TIOCSCTTY, 0) # Make this the controlling terminal. + + # We're opening and immediately closing so this is safe. + # rubocop:disable Style/FileOpen File.open("/dev/tty", Fcntl::O_WRONLY).close # Workaround for https://developer.apple.com/forums/thread/663632 + # rubocop:enable Style/FileOpen + worker.close_on_exec = true exec(*command, in: worker, out: worker, err: worker) # And map everything to the PTY. else diff --git a/Library/Homebrew/sorbet/rbi/upstream.rbi b/Library/Homebrew/sorbet/rbi/upstream.rbi index 3ea4c2ebfbd7c..a8647479927ed 100644 --- a/Library/Homebrew/sorbet/rbi/upstream.rbi +++ b/Library/Homebrew/sorbet/rbi/upstream.rbi @@ -16,7 +16,7 @@ class Integer end # https://github.com/sorbet/sorbet/pull/9847 -class IO +class IO # rubocop:todo Style/OneClassPerFile # Waits until IO is readable and returns a truthy value, or a falsy value when # times out. Returns a truthy value immediately when buffered data is available. # diff --git a/Library/Homebrew/startup/bootsnap.rbi b/Library/Homebrew/startup/bootsnap.rbi index d71df2d278bb6..fb77af46b7ddf 100644 --- a/Library/Homebrew/startup/bootsnap.rbi +++ b/Library/Homebrew/startup/bootsnap.rbi @@ -22,7 +22,7 @@ module Homebrew end end -module Bootsnap +module Bootsnap # rubocop:todo Style/OneClassPerFile sig { params( cache_dir: String, diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index a0213080fc74f..a2d775adf633b 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -177,7 +177,7 @@ def write end end -class Tab < AbstractTab +class Tab < AbstractTab # rubocop:todo Style/OneClassPerFile # Check whether the formula was poured from a bottle. # # @api internal diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb index b928a4387ce20..0f3c522b20327 100644 --- a/Library/Homebrew/tap.rb +++ b/Library/Homebrew/tap.rb @@ -1238,7 +1238,7 @@ def read_formula_list_directory(directory) end end -class AbstractCoreTap < Tap +class AbstractCoreTap < Tap # rubocop:todo Style/OneClassPerFile extend T::Helpers abstract! @@ -1279,7 +1279,7 @@ def should_report_analytics? end # A specialized {Tap} class for the core formulae. -class CoreTap < AbstractCoreTap +class CoreTap < AbstractCoreTap # rubocop:todo Style/OneClassPerFile class << self Elem = type_member(:out) { { fixed: Tap } } end @@ -1484,7 +1484,7 @@ def formula_files_by_name end # A specialized {Tap} class for homebrew-cask. -class CoreCaskTap < AbstractCoreTap +class CoreCaskTap < AbstractCoreTap # rubocop:todo Style/OneClassPerFile class << self Elem = type_member(:out) { { fixed: Tap } } end @@ -1572,7 +1572,7 @@ def tap_migrations end # Permanent configuration per {Tap} using `git-config(1)`. -class TapConfig +class TapConfig # rubocop:todo Style/OneClassPerFile sig { returns(Tap) } attr_reader :tap diff --git a/Library/Homebrew/test/abstract_command_spec.rbi b/Library/Homebrew/test/abstract_command_spec.rbi index 67822934d53fc..5cdf623b94e28 100644 --- a/Library/Homebrew/test/abstract_command_spec.rbi +++ b/Library/Homebrew/test/abstract_command_spec.rbi @@ -1,4 +1,4 @@ # typed: strict class TestCat < Homebrew::AbstractCommand; end -class Tac < Homebrew::AbstractCommand; end +class Tac < Homebrew::AbstractCommand; end # rubocop:todo Style/OneClassPerFile diff --git a/Library/Homebrew/test/dev-cmd/determine-test-runners_spec.rb b/Library/Homebrew/test/dev-cmd/determine-test-runners_spec.rb index b097fdd184233..498ad3a79d8f4 100644 --- a/Library/Homebrew/test/dev-cmd/determine-test-runners_spec.rb +++ b/Library/Homebrew/test/dev-cmd/determine-test-runners_spec.rb @@ -5,7 +5,7 @@ RSpec.describe Homebrew::DevCmd::DetermineTestRunners do def get_runners(file) - runner_line = File.open(file).first + runner_line = File.open(file, &:first) json_text = runner_line[/runners=(.*)/, 1] runner_hash = JSON.parse(json_text) runner_hash.map { |item| item["runner"].delete_suffix(ephemeral_suffix) } diff --git a/Library/Homebrew/test/support/fixtures/rubocop@x.x.x.rbi b/Library/Homebrew/test/support/fixtures/rubocop@x.x.x.rbi index f47a61a9be5a1..192c1a10d6626 100644 --- a/Library/Homebrew/test/support/fixtures/rubocop@x.x.x.rbi +++ b/Library/Homebrew/test/support/fixtures/rubocop@x.x.x.rbi @@ -7,7 +7,7 @@ class Parser::Source::Comment include ::RuboCop::Ext::Comment end -class Parser::Source::Range +class Parser::Source::Range # rubocop:todo Style/OneClassPerFile include ::RuboCop::Ext::Range end @@ -17,7 +17,7 @@ RuboCop::CLI::STATUS_SUCCESS = T.let(T.unsafe(nil).freeze, Integer) RuboCop::CommentConfig::CONFIG_DISABLED_LINE_RANGE_MIN = T.let(T.unsafe(nil).freeze, Float) -class RuboCop::Config +class RuboCop::Config # rubocop:todo Style/OneClassPerFile include ::RuboCop::PathUtil include ::RuboCop::FileFinder extend ::RuboCop::SimpleForwardable @@ -33,7 +33,7 @@ end RuboCop::Token = RuboCop::AST::Token -class RuboCop::Cop::Base +class RuboCop::Cop::Base # rubocop:todo Style/OneClassPerFile include ::RuboCop::AST::Sexp include ::RuboCop::PathUtil include ::RuboCop::Cop::Util @@ -49,17 +49,17 @@ class RuboCop::Cop::Base def initialize(config = T.unsafe(nil), options = T.unsafe(nil)); end end -class RuboCop::Cop::SomeUnusedCop < RuboCop::Cop::Base +class RuboCop::Cop::SomeUnusedCop < RuboCop::Cop::Base # rubocop:todo Style/OneClassPerFile def on_send(_node); end end -module RuboCop::Cop::UnusedModule; end +module RuboCop::Cop::UnusedModule; end # rubocop:todo Style/OneClassPerFile -class CompletelyUnrelated +class CompletelyUnrelated # rubocop:todo Style/OneClassPerFile def bananas; end end -module RuboCop::Version +module RuboCop::Version # rubocop:todo Style/OneClassPerFile class << self # @api private # diff --git a/Library/Homebrew/utils/github/artifacts.rb b/Library/Homebrew/utils/github/artifacts.rb index 6a21f408381bb..94f90f1e13ee4 100644 --- a/Library/Homebrew/utils/github/artifacts.rb +++ b/Library/Homebrew/utils/github/artifacts.rb @@ -23,7 +23,7 @@ def self.download_artifact(url, artifact_id) end # Strategy for downloading an artifact from GitHub Actions. -class GitHubArtifactDownloadStrategy < AbstractFileDownloadStrategy +class GitHubArtifactDownloadStrategy < AbstractFileDownloadStrategy # rubocop:todo Style/OneClassPerFile sig { params(url: String, artifact_id: String, token: String).void } def initialize(url, artifact_id, token:) super(url, "artifact", artifact_id) diff --git a/docs/.rubocop.yml b/docs/.rubocop.yml index 14a4d702317a9..a6631bf137f75 100644 --- a/docs/.rubocop.yml +++ b/docs/.rubocop.yml @@ -42,3 +42,7 @@ Sorbet/StrictSigil: Enabled: false Sorbet/BlockMethodDefinition: Enabled: false + +# This is expected in documentation files. +Style/OneClassPerFile: + Enabled: false From 287f2e8908733751f9651df626213c36859ccc13 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 6 Mar 2026 18:49:32 +0000 Subject: [PATCH 7/7] rubocop.yml: loosen for taps. --- Library/.rubocop.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 626ae470650c8..f78564a20fa7d 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -381,6 +381,18 @@ Style/FetchEnvVar: - "/**/Formula/**/*.rb" - "**/Formula/**/*.rb" +# Doesn't make sense for formulae with e.g. requirements. +Style/OneClassPerFile: + Exclude: + - "**/*.rbi" + - "Taps/*/*/*.rb" + - "/**/Abstract/**/*.rb" + - "**/Abstract/**/*.rb" + - "/**/Formula/**/*.rb" + - "**/Formula/**/*.rb" + - "/**/developer/bin/*" + - "**/developer/bin/*" + # Not used for casks and formulae. Style/FrozenStringLiteralComment: EnforcedStyle: always