diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 026a2aaa21ed8..7f476ded6eb4e 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -92,7 +92,7 @@ jobs: path: results.sarif - name: Upload SARIF file - uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2 + uses: github/codeql-action/upload-sarif@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3 with: sarif_file: results.sarif category: zizmor diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a7120e641c571..2bedc6625c1d8 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -27,7 +27,7 @@ jobs: persist-credentials: false - name: Initialize CodeQL - uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2 + uses: github/codeql-action/init@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3 with: languages: ruby config: | @@ -35,4 +35,4 @@ jobs: - Library/Homebrew/vendor - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2 + uses: github/codeql-action/analyze@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3 diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index a2fd11d9b5e9a..5e9708c52ac52 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -17,7 +17,7 @@ GEM bindata (~> 2) erubi (1.13.1) hana (1.3.7) - json (2.15.2) + json (2.16.0) json_schemer (2.4.0) bigdecimal hana (~> 1.3) @@ -29,7 +29,7 @@ GEM lint_roller (1.1.0) logger (1.7.0) method_source (1.1.0) - minitest (5.26.0) + minitest (5.26.1) netrc (0.11.0) parallel (1.27.0) parallel_tests (5.5.0) @@ -91,7 +91,7 @@ GEM rubocop-ast (>= 1.47.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.47.1) + rubocop-ast (1.48.0) parser (>= 3.3.7.2) prism (~> 1.4) rubocop-md (2.0.3) @@ -101,13 +101,13 @@ GEM lint_roller (~> 1.1) rubocop (>= 1.75.0, < 2.0) rubocop-ast (>= 1.47.1, < 2.0) - rubocop-rspec (3.7.0) + rubocop-rspec (3.8.0) lint_roller (~> 1.1) - rubocop (~> 1.72, >= 1.72.1) + rubocop (~> 1.81) rubocop-sorbet (0.11.0) lint_roller rubocop (>= 1.75.2) - ruby-lsp (0.26.2) + ruby-lsp (0.26.3) language_server-protocol (~> 3.17.0) prism (>= 1.2, < 2.0) rbs (>= 3, < 5) @@ -125,15 +125,15 @@ GEM simplecov-html (0.13.2) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.6.12722) - sorbet-static (= 0.6.12722) - sorbet-runtime (0.6.12722) - sorbet-static (0.6.12722-aarch64-linux) - sorbet-static (0.6.12722-universal-darwin) - sorbet-static (0.6.12722-x86_64-linux) - sorbet-static-and-runtime (0.6.12722) - sorbet (= 0.6.12722) - sorbet-runtime (= 0.6.12722) + sorbet (0.6.12765) + sorbet-static (= 0.6.12765) + sorbet-runtime (0.6.12765) + sorbet-static (0.6.12765-aarch64-linux) + sorbet-static (0.6.12765-universal-darwin) + sorbet-static (0.6.12765-x86_64-linux) + sorbet-static-and-runtime (0.6.12765) + sorbet (= 0.6.12765) + sorbet-runtime (= 0.6.12765) spoom (1.7.9) erubi (>= 1.10.0) prism (>= 0.28.0) diff --git a/Library/Homebrew/formula-analytics/requirements.txt b/Library/Homebrew/formula-analytics/requirements.txt index 501517030da24..687c00c977295 100644 --- a/Library/Homebrew/formula-analytics/requirements.txt +++ b/Library/Homebrew/formula-analytics/requirements.txt @@ -4,9 +4,9 @@ # # pip-compile --allow-unsafe --generate-hashes --strip-extras requirements.in # -certifi==2025.10.5 \ - --hash=sha256:0f212c2744a9bb6de0c56639a6f68afe01ecd92d91f14ae897c4fe7bbeeef0de \ - --hash=sha256:47c09d31ccf2acf0be3f701ea53595ee7e0b8fa08801c6624be771df09ae7b43 +certifi==2025.11.12 \ + --hash=sha256:97de8790030bbd5c2d96b7ec782fc2f7820ef8dba6db909ccf95449f2d062d4b \ + --hash=sha256:d8ab5478f2ecd78af242878415affce761ca6bc54a22a27e026d7c25357c3316 # via influxdb3-python influxdb3-python==0.16.0 \ --hash=sha256:2f6d8caf671b25e0a19aeba5ed13eca6adc5bf141ef615b7e3d0f9f419a7711d \ diff --git a/Library/Homebrew/sorbet/rbi/gems/minitest@5.26.0.rbi b/Library/Homebrew/sorbet/rbi/gems/minitest@5.26.1.rbi similarity index 100% rename from Library/Homebrew/sorbet/rbi/gems/minitest@5.26.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/minitest@5.26.1.rbi diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.47.1.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.48.0.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.47.1.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.48.0.rbi index 17e0b1969aaa6..dc952a364affd 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.47.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.48.0.rbi @@ -1507,6 +1507,7 @@ RuboCop::AST::NodePattern::Sets::SET_ESCAPE_ENCODE_UNESCAPE_DECODE = T.let(T.uns RuboCop::AST::NodePattern::Sets::SET_EXACTLY_AT_LEAST_AT_MOST = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_EXIST_EXISTS = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_EXPECT_ALLOW = T.let(T.unsafe(nil), Set) +RuboCop::AST::NodePattern::Sets::SET_EXPECT_EXPECT_ANY_INSTANCE_OF = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_EXTEND_INCLUDE = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_FILETEST_FILE_DIR_SHELL = T.let(T.unsafe(nil), Set) RuboCop::AST::NodePattern::Sets::SET_FILE_DIR = T.let(T.unsafe(nil), Set) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@3.7.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@3.8.0.rbi similarity index 97% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@3.7.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@3.8.0.rbi index 585395265211a..9149805399d9e 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@3.7.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@3.8.0.rbi @@ -969,6 +969,27 @@ RuboCop::Cop::RSpec::LeakyConstantDeclaration::MSG_CLASS = T.let(T.unsafe(nil), RuboCop::Cop::RSpec::LeakyConstantDeclaration::MSG_CONST = T.let(T.unsafe(nil), String) RuboCop::Cop::RSpec::LeakyConstantDeclaration::MSG_MODULE = T.let(T.unsafe(nil), String) +class RuboCop::Cop::RSpec::LeakyLocalVariable < ::RuboCop::Cop::RSpec::Base + def after_leaving_scope(scope, _variable_table); end + def example_method?(param0 = T.unsafe(nil)); end + def includes_method?(param0 = T.unsafe(nil)); end + + private + + def allowed_includes_arguments?(node, argument); end + def allowed_reference?(node); end + def check_references(variable); end + def example_scope?(node); end + def inside_describe_block?(node); end + def part_of_example_scope?(node); end + + class << self + def joining_forces; end + end +end + +RuboCop::Cop::RSpec::LeakyLocalVariable::MSG = T.let(T.unsafe(nil), String) + class RuboCop::Cop::RSpec::LetBeforeExamples < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector @@ -1000,6 +1021,8 @@ class RuboCop::Cop::RSpec::LetSetup < ::RuboCop::Cop::RSpec::Base private def child_let_bang(node, &block); end + def outer_let_bang?(ancestor_node, method_name); end + def overrides_outer_let_bang?(node, method_name); end def unused_let_bang(node); end end @@ -1385,12 +1408,14 @@ RuboCop::Cop::RSpec::ReceiveMessages::MSG = T.let(T.unsafe(nil), String) class RuboCop::Cop::RSpec::ReceiveNever < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector + def expect_to_receive?(param0 = T.unsafe(nil)); end def method_on_stub?(param0); end def on_send(node); end private def autocorrect(corrector, node); end + def used_with_expect?(node); end end RuboCop::Cop::RSpec::ReceiveNever::MSG = T.let(T.unsafe(nil), String) @@ -1454,8 +1479,11 @@ class RuboCop::Cop::RSpec::RepeatedExample < ::RuboCop::Cop::RSpec::Base private - def example_signature(example); end - def repeated_examples(node); end + def add_offenses_for_repeated_group(repeated_examples); end + def build_example_signature(example); end + def extract_other_lines(examples_group, current_example); end + def find_repeated_examples(node); end + def message(other_lines); end end RuboCop::Cop::RSpec::RepeatedExample::MSG = T.let(T.unsafe(nil), String) @@ -1743,9 +1771,23 @@ class RuboCop::Cop::RSpec::SpecFilePathFormat < ::RuboCop::Cop::RSpec::Base def ignore_metadata; end def ignore_metadata?(arguments); end def ignore_methods?; end + def inflector; end def name_pattern(method_name); end end +module RuboCop::Cop::RSpec::SpecFilePathFormat::ActiveSupportInflector + class << self + def call(string); end + def prepare_availability(config); end + end +end + +module RuboCop::Cop::RSpec::SpecFilePathFormat::DefaultInflector + class << self + def call(string); end + end +end + RuboCop::Cop::RSpec::SpecFilePathFormat::MSG = T.let(T.unsafe(nil), String) class RuboCop::Cop::RSpec::SpecFilePathSuffix < ::RuboCop::Cop::RSpec::Base @@ -1871,9 +1913,7 @@ class RuboCop::Cop::RSpec::VariableDefinition < ::RuboCop::Cop::RSpec::Base private def correct_variable(variable); end - def string?(node); end def style_offense?(variable); end - def symbol?(node); end end RuboCop::Cop::RSpec::VariableDefinition::MSG = T.let(T.unsafe(nil), String) @@ -1912,6 +1952,7 @@ class RuboCop::Cop::RSpec::VerifiedDoubles < ::RuboCop::Cop::RSpec::Base private + def hash?(arg); end def symbol?(name); end end diff --git a/Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.26.2.rbi b/Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.26.3.rbi similarity index 100% rename from Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.26.2.rbi rename to Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.26.3.rbi diff --git a/Library/Homebrew/sorbet/tapioca/compilers/cask/config.rb b/Library/Homebrew/sorbet/tapioca/compilers/cask/config.rb index 24984b31143b4..8886c150c5baf 100644 --- a/Library/Homebrew/sorbet/tapioca/compilers/cask/config.rb +++ b/Library/Homebrew/sorbet/tapioca/compilers/cask/config.rb @@ -7,9 +7,9 @@ module Tapioca module Compilers class CaskConfig < Tapioca::Dsl::Compiler - ConstantType = type_member { { fixed: Module } } + ConstantType = type_member { { fixed: T::Module[T.anything] } } - sig { override.returns(T::Enumerable[Module]) } + sig { override.returns(T::Enumerable[T::Module[T.anything]]) } def self.gather_constants = [Cask::Config] sig { override.void } diff --git a/Library/Homebrew/sorbet/tapioca/compilers/env_config.rb b/Library/Homebrew/sorbet/tapioca/compilers/env_config.rb index 4012ca9928df7..2f17280f9a8cc 100644 --- a/Library/Homebrew/sorbet/tapioca/compilers/env_config.rb +++ b/Library/Homebrew/sorbet/tapioca/compilers/env_config.rb @@ -7,9 +7,9 @@ module Tapioca module Compilers class EnvConfig < Tapioca::Dsl::Compiler - ConstantType = type_member { { fixed: Module } } + ConstantType = type_member { { fixed: T::Module[T.anything] } } - sig { override.returns(T::Enumerable[Module]) } + sig { override.returns(T::Enumerable[T::Module[T.anything]]) } def self.gather_constants = [Homebrew::EnvConfig] sig { override.void } diff --git a/Library/Homebrew/sorbet/tapioca/compilers/forwardables.rb b/Library/Homebrew/sorbet/tapioca/compilers/forwardables.rb index f0185cb522f46..736eff413c423 100644 --- a/Library/Homebrew/sorbet/tapioca/compilers/forwardables.rb +++ b/Library/Homebrew/sorbet/tapioca/compilers/forwardables.rb @@ -20,9 +20,9 @@ class Forwardables < Tapioca::Dsl::Compiler }, }.freeze, T::Hash[String, T::Hash[String, String]]) - ConstantType = type_member { { fixed: Module } } + ConstantType = type_member { { fixed: T::Module[T.anything] } } - sig { override.returns(T::Enumerable[Module]) } + sig { override.returns(T::Enumerable[T::Module[T.anything]]) } def self.gather_constants Homebrew::Tapioca::Utils.named_objects_with_module(Forwardable).reject do |obj| # Avoid duplicate stubs for forwardables that are defined in vendored gems diff --git a/Library/Homebrew/sorbet/tapioca/compilers/rubocop.rb b/Library/Homebrew/sorbet/tapioca/compilers/rubocop.rb index 4708f0ea0fccb..11e43e027d066 100644 --- a/Library/Homebrew/sorbet/tapioca/compilers/rubocop.rb +++ b/Library/Homebrew/sorbet/tapioca/compilers/rubocop.rb @@ -10,8 +10,8 @@ module Compilers class RuboCop < Tapioca::Dsl::Compiler # This should be a module whose singleton class contains RuboCop::AST::NodePattern::Macros, # but I don't know how to express that in Sorbet. - ConstantType = type_member { { fixed: Module } } - sig { override.returns(T::Enumerable[Module]) } + ConstantType = type_member { { fixed: T::Module[T.anything] } } + sig { override.returns(T::Enumerable[T::Module[T.anything]]) } def self.gather_constants all_modules.select do |klass| next unless klass.singleton_class < ::RuboCop::AST::NodePattern::Macros diff --git a/Library/Homebrew/sorbet/tapioca/compilers/rubocop_cask_ast_stanza.rb b/Library/Homebrew/sorbet/tapioca/compilers/rubocop_cask_ast_stanza.rb index f2ea9aa0e3d07..1befecf98cc4d 100644 --- a/Library/Homebrew/sorbet/tapioca/compilers/rubocop_cask_ast_stanza.rb +++ b/Library/Homebrew/sorbet/tapioca/compilers/rubocop_cask_ast_stanza.rb @@ -8,9 +8,9 @@ module Tapioca module Compilers class Stanza < Tapioca::Dsl::Compiler - ConstantType = type_member { { fixed: Module } } + ConstantType = type_member { { fixed: T::Module[T.anything] } } - sig { override.returns(T::Enumerable[Module]) } + sig { override.returns(T::Enumerable[T::Module[T.anything]]) } def self.gather_constants = [::RuboCop::Cask::AST::Stanza] sig { override.void } diff --git a/Library/Homebrew/sorbet/tapioca/compilers/tty.rb b/Library/Homebrew/sorbet/tapioca/compilers/tty.rb index 22a20f0aa219a..88fcaf476d9bf 100644 --- a/Library/Homebrew/sorbet/tapioca/compilers/tty.rb +++ b/Library/Homebrew/sorbet/tapioca/compilers/tty.rb @@ -7,9 +7,9 @@ module Tapioca module Compilers class Tty < Tapioca::Dsl::Compiler - ConstantType = type_member { { fixed: Module } } + ConstantType = type_member { { fixed: T::Module[T.anything] } } - sig { override.returns(T::Enumerable[Module]) } + sig { override.returns(T::Enumerable[T::Module[T.anything]]) } def self.gather_constants = [::Tty] sig { override.void } diff --git a/Library/Homebrew/sorbet/tapioca/utils.rb b/Library/Homebrew/sorbet/tapioca/utils.rb index 23369c1019355..cc96804dde283 100644 --- a/Library/Homebrew/sorbet/tapioca/utils.rb +++ b/Library/Homebrew/sorbet/tapioca/utils.rb @@ -4,7 +4,7 @@ module Homebrew module Tapioca module Utils - sig { params(klass: T::Class[T.anything]).returns(Module) } + sig { params(klass: T::Class[T.anything]).returns(T::Module[T.anything]) } def self.named_object_for(klass) return klass if klass.name @@ -18,7 +18,7 @@ def self.named_object_for(klass) # @param class_methods [Boolean] whether to get class methods or instance methods # @return the `module` methods that are defined in the given file sig { - params(mod: Module, file_name: String, + params(mod: T::Module[T.anything], file_name: String, class_methods: T::Boolean).returns(T::Array[T.any(Method, UnboundMethod)]) } def self.methods_from_file(mod, file_name, class_methods: false) @@ -30,7 +30,7 @@ def self.methods_from_file(mod, file_name, class_methods: false) methods.select { _1.source_location&.first&.end_with?(file_name) } end - sig { params(mod: Module).returns(T::Array[Module]) } + sig { params(mod: T::Module[T.anything]).returns(T::Array[T::Module[T.anything]]) } def self.named_objects_with_module(mod) ObjectSpace.each_object(mod).map do |obj| case obj diff --git a/Library/Homebrew/test/bundle/commands/list_spec.rb b/Library/Homebrew/test/bundle/commands/list_spec.rb index 5e6e662c8d49e..c0f1ae4858265 100644 --- a/Library/Homebrew/test/bundle/commands/list_spec.rb +++ b/Library/Homebrew/test/bundle/commands/list_spec.rb @@ -3,17 +3,42 @@ require "bundle" require "bundle/commands/list" +TYPES_AND_DEPS = { + taps: "phinze/cask", + formulae: "mysql", + casks: "google-chrome", + mas: "1Password", + vscode: "shopify.ruby-lsp", + go: "github.com/charmbracelet/crush", +}.freeze + +COMBINATIONS = begin + keys = TYPES_AND_DEPS.keys + 1.upto(keys.length).flat_map do |i| + keys.combination(i).take((1..keys.length).reduce(:*) || 1) + end.sort +end.freeze + RSpec.describe Homebrew::Bundle::Commands::List do subject(:list) do - described_class.run(global: false, file: nil, formulae:, casks:, taps:, mas:, vscode:, go:) + described_class.run( + global: false, + file: nil, + formulae: formulae, + casks: casks, + taps: taps, + mas: mas, + vscode: vscode, + go: go, + ) end let(:formulae) { true } - let(:casks) { false } - let(:taps) { false } - let(:mas) { false } - let(:vscode) { false } - let(:go) { false } + let(:casks) { false } + let(:taps) { false } + let(:mas) { false } + let(:vscode) { false } + let(:go) { false } before do allow_any_instance_of(IO).to receive(:puts) @@ -38,35 +63,21 @@ end describe "limiting when certain options are passed" do - types_and_deps = { - taps: "phinze/cask", - formulae: "mysql", - casks: "google-chrome", - mas: "1Password", - vscode: "shopify.ruby-lsp", - go: "github.com/charmbracelet/crush", - } - - combinations = 1.upto(types_and_deps.length).flat_map do |i| - types_and_deps.keys.combination(i).take((1..types_and_deps.length).reduce(:*) || 1) - end.sort - - combinations.each do |options_list| - args_hash = options_list.to_h { |arg| [arg, true] } + COMBINATIONS.each do |options_list| + opts_string = options_list.map { |o| "`#{o}`" }.join(" and ") + verb = (options_list.length == 1) ? "is" : "are" words = options_list.join(" and ") - opts = options_list.map { |o| "`#{o}`" }.join(" and ") - verb = (options_list.length == 1 && "is") || "are" - context "when #{opts} #{verb} passed" do - let(:formulae) { args_hash.fetch(:formulae, false) } - let(:casks) { args_hash.fetch(:casks, false) } - let(:taps) { args_hash.fetch(:taps, false) } - let(:mas) { args_hash.fetch(:mas, false) } - let(:vscode) { args_hash.fetch(:vscode, false) } - let(:go) { args_hash.fetch(:go, false) } + context "when #{opts_string} #{verb} passed" do + let(:formulae) { options_list.include?(:formulae) } + let(:casks) { options_list.include?(:casks) } + let(:taps) { options_list.include?(:taps) } + let(:mas) { options_list.include?(:mas) } + let(:vscode) { options_list.include?(:vscode) } + let(:go) { options_list.include?(:go) } it "shows only #{words}" do - expected = options_list.map { |opt| types_and_deps[opt] }.join("\n") + expected = options_list.map { |opt| TYPES_AND_DEPS[opt] }.join("\n") expect { list }.to output("#{expected}\n").to_stdout end end diff --git a/Library/Homebrew/test/cask/upgrade_spec.rb b/Library/Homebrew/test/cask/upgrade_spec.rb index ffcf94e0b2979..af3b773ccd839 100644 --- a/Library/Homebrew/test/cask/upgrade_spec.rb +++ b/Library/Homebrew/test/cask/upgrade_spec.rb @@ -221,9 +221,11 @@ ] end - output_reverted = Regexp.new <<~EOS - Warning: Reverting upgrade for Cask .* - EOS + let(:output_reverted) do + Regexp.new <<~EOS + Warning: Reverting upgrade for Cask .* + EOS + end it "restores the old Cask if the upgrade failed" do will_fail_if_upgraded = Cask::CaskLoader.load("will-fail-if-upgraded") diff --git a/Library/Homebrew/test/formula_spec.rb b/Library/Homebrew/test/formula_spec.rb index 9be90885fd3fb..403eadf2e0b2b 100644 --- a/Library/Homebrew/test/formula_spec.rb +++ b/Library/Homebrew/test/formula_spec.rb @@ -3,6 +3,8 @@ require "test/support/fixtures/testball" require "formula" +PHASES = [:build, :postinstall, :test].freeze + RSpec.describe Formula do alias_matcher :follow_installed_alias, :be_follow_installed_alias alias_matcher :have_any_version_installed, :be_any_version_installed @@ -1953,9 +1955,8 @@ def install end describe "{allow,deny}_network_access" do - phases = [:build, :postinstall, :test].freeze actions = %w[allow deny].freeze - phases.each do |phase| + PHASES.each do |phase| actions.each do |action| it "can #{action} network access for #{phase}" do f = Class.new(Testball) do @@ -1973,7 +1974,7 @@ def install send(:"#{action}_network_access!") end - phases.each do |phase| + PHASES.each do |phase| expect(f.network_access_allowed?(phase)).to be(action == "allow") end end diff --git a/Library/Homebrew/test/language/node_spec.rb b/Library/Homebrew/test/language/node_spec.rb index be7a434671352..7ab96f87458bc 100644 --- a/Library/Homebrew/test/language/node_spec.rb +++ b/Library/Homebrew/test/language/node_spec.rb @@ -47,7 +47,7 @@ end describe "#std_npm_install_args" do - npm_install_arg = Pathname("libexec") + let(:npm_install_arg) { Pathname("libexec") } it "raises error with non zero exitstatus" do allow(Utils).to receive(:popen_read).with(*npm_pack_cmd).and_return(`false`) diff --git a/Library/Homebrew/test/livecheck_spec.rb b/Library/Homebrew/test/livecheck_spec.rb index 6813ddcd25a8a..496d1fc86af18 100644 --- a/Library/Homebrew/test/livecheck_spec.rb +++ b/Library/Homebrew/test/livecheck_spec.rb @@ -99,7 +99,9 @@ end describe "#strategy" do - block = proc { |page, regex| page.scan(regex).map { |match| match[0].tr("_", ".") } } + let(:block) do + proc { |page, regex| page.scan(regex).map { |match| match[0].tr("_", ".") } } + end it "returns nil if not set" do expect(livecheck_f.strategy).to be_nil @@ -200,10 +202,12 @@ end end - [:needs_arm, :needs_intel].each do |needs_arch| - arch_value = needs_arch.to_s.delete_prefix("needs_") - it "delegates `arch` in `livecheck` block to `package_or_resource`", needs_arch do - expect(c_arch.livecheck.url).to eq("https://brew.sh/#{arch_value}") + { + needs_arm: "arm", + needs_intel: "intel", + }.each do |metadata, expected_arch| + it "delegates `arch` in `livecheck` block to `package_or_resource`", metadata do + expect(c_arch.livecheck.url).to eq("https://brew.sh/#{expected_arch}") end end end @@ -226,10 +230,12 @@ end end - [:needs_macos, :needs_linux].each do |needs_os| - os_value = needs_os.to_s.delete_prefix("needs_") - it "delegates `os` in `livecheck` block to `package_or_resource`", needs_os do - expect(c_os.livecheck.url).to eq("https://brew.sh/#{os_value}") + { + needs_macos: "macos", + needs_linux: "linux", + }.each do |metadata, expected_os| + it "delegates `os` in `livecheck` block to `package_or_resource`", metadata do + expect(c_os.livecheck.url).to eq("https://brew.sh/#{expected_os}") end end end diff --git a/Library/Homebrew/test/os/linux/dependency_collector_spec.rb b/Library/Homebrew/test/os/linux/dependency_collector_spec.rb index 5df6690988a13..ed609833e6144 100644 --- a/Library/Homebrew/test/os/linux/dependency_collector_spec.rb +++ b/Library/Homebrew/test/os/linux/dependency_collector_spec.rb @@ -8,7 +8,7 @@ subject(:collector) { described_class.new } describe "#add" do - resource = Resource.new + let(:resource) { Resource.new } context "when xz, unzip and bzip2 are not available" do it "creates a resource dependency from a '.xz' URL" do diff --git a/Library/Homebrew/test/rubocops/class/class_name_spec.rb b/Library/Homebrew/test/rubocops/class/class_name_spec.rb index 49fbc0812f752..7bef8957f991f 100644 --- a/Library/Homebrew/test/rubocops/class/class_name_spec.rb +++ b/Library/Homebrew/test/rubocops/class/class_name_spec.rb @@ -5,11 +5,13 @@ RSpec.describe RuboCop::Cop::FormulaAudit::ClassName do subject(:cop) { described_class.new } - corrected_source = <<~RUBY - class Foo < Formula - url 'https://brew.sh/foo-1.0.tgz' - end - RUBY + let(:corrected_source) do + <<~RUBY + class Foo < Formula + url 'https://brew.sh/foo-1.0.tgz' + end + RUBY + end it "reports and corrects an offense when using ScriptFileFormula" do expect_offense(<<~RUBY) diff --git a/Library/Homebrew/test/rubocops/homepage_spec.rb b/Library/Homebrew/test/rubocops/homepage_spec.rb index 3857ee4bc8587..76998a17fbf36 100644 --- a/Library/Homebrew/test/rubocops/homepage_spec.rb +++ b/Library/Homebrew/test/rubocops/homepage_spec.rb @@ -80,12 +80,14 @@ class Foo < Formula end describe "for SourceForge" do - correct_formula = <<~RUBY - class Foo < Formula - homepage "https://foo.sourceforge.io/" - url "https://brew.sh/foo-1.0.tgz" - end - RUBY + let(:correct_formula) do + <<~RUBY + class Foo < Formula + homepage "https://foo.sourceforge.io/" + url "https://brew.sh/foo-1.0.tgz" + end + RUBY + end it "reports and corrects [1]" do expect_offense(<<~RUBY) @@ -159,11 +161,13 @@ class #{name.capitalize} < Formula end RUBY - expected_offenses = [{ message: "FormulaAudit/Homepage: Please use https:// for #{homepage}", - severity: :convention, - line: 2, - column: 11, - source: }] + expected_offenses = [{ + message: "FormulaAudit/Homepage: Please use https:// for #{homepage}", + severity: :convention, + line: 2, + column: 11, + source:, + }] expected_offenses.zip([inspect_source(source).last]).each do |expected, actual| expect(actual.message).to eq(expected[:message]) diff --git a/Library/Homebrew/test/utils/github_spec.rb b/Library/Homebrew/test/utils/github_spec.rb index 59c63b0218dff..4f401bf5814e5 100644 --- a/Library/Homebrew/test/utils/github_spec.rb +++ b/Library/Homebrew/test/utils/github_spec.rb @@ -74,7 +74,12 @@ end describe "::pull_request_commits", :needs_network do - hashes = %w[188606a4a9587365d930b02c98ad6857b1d00150 25a71fe1ea1558415d6496d23834dc70778ddee5] + let(:hashes) do + %w[ + 188606a4a9587365d930b02c98ad6857b1d00150 + 25a71fe1ea1558415d6496d23834dc70778ddee5 + ] + end it "gets commit hashes for a pull request" do expect(described_class.pull_request_commits("Homebrew", "legacy-homebrew", 50678)).to eq(hashes) diff --git a/Library/Homebrew/test/utils/linkage_spec.rb b/Library/Homebrew/test/utils/linkage_spec.rb index ef1eb6bda62e5..8f3eda8a6ac9d 100644 --- a/Library/Homebrew/test/utils/linkage_spec.rb +++ b/Library/Homebrew/test/utils/linkage_spec.rb @@ -5,7 +5,7 @@ RSpec.describe Utils do [:needs_macos, :needs_linux].each do |needs_os| describe "::binary_linked_to_library?", needs_os do - suffix = OS.mac? ? ".dylib" : ".so" + let(:suffix) { OS.mac? ? ".dylib" : ".so" } before do mktmpdir do |dir| diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 71690a1d111f4..94acc69acbbd2 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -76,9 +76,9 @@ def self.system(cmd, argv0 = nil, *args, **options) # `Module` and `Regexp` are global variables used as types here so they don't need to be imported # rubocop:disable Style/GlobalVars - sig { params(the_module: Module, pattern: Regexp).void } + sig { params(the_module: T::Module[T.anything], pattern: Regexp).void } def self.inject_dump_stats!(the_module, pattern) - @injected_dump_stat_modules ||= T.let({}, T.nilable(T::Hash[Module, T::Array[String]])) + @injected_dump_stat_modules ||= T.let({}, T.nilable(T::Hash[T::Module[T.anything], T::Array[String]])) @injected_dump_stat_modules[the_module] ||= [] injected_methods = @injected_dump_stat_modules.fetch(the_module) the_module.module_eval do diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 511ef3415d054..1e29209e11991 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -50,8 +50,8 @@ def self.extension_api_version $:.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}/json-2.15.2") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.15.2/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.16.0") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.16.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.4.0/lib") @@ -61,7 +61,7 @@ def self.extension_api_version $:.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/method_source-1.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-5.26.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-5.26.1/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/parallel-1.27.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-5.5.0/lib") @@ -89,19 +89,19 @@ 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.12722/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.6.12765/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.47.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-ast-1.48.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.1.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.81.7/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-2.0.3/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.7.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.8.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.11.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.26.2/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.26.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/ruby-prof-1.7.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-prof-1.7.2/lib") @@ -109,9 +109,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.12722-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.6.12722/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.6.12722/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.6.12765-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.6.12765/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.6.12765/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.4.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.7.9/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/enum.rb similarity index 99% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/enum.rb index a2e43d2eca025..4b74074cb81f8 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/enum.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/enum.rb @@ -273,7 +273,7 @@ def ===(other) ### Private implementation ### - UNSET = T.let(Module.new.freeze, Module) + UNSET = T.let(Module.new.freeze, T::Module[T.anything]) private_constant :UNSET sig { params(serialized_val: SerializedVal).void } diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/custom_type.rb similarity index 97% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/custom_type.rb index eb477dfdfb950..d680af98e71ee 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/custom_type.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/custom_type.rb @@ -50,7 +50,7 @@ def serialize(instance); end sig { abstract.params(scalar: T.untyped).returns(T.untyped).checked(:never) } def deserialize(scalar); end - sig { override.params(_base: Module).void } + sig { override.params(_base: T::Module[T.anything]).void } def self.included(_base) super diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/decorator.rb similarity index 96% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/decorator.rb index a50946f773bd1..4e82dc9a19286 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/decorator.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/decorator.rb @@ -13,8 +13,10 @@ class T::Props::Decorator Rules = T.type_alias { T::Hash[Symbol, T.untyped] } DecoratedInstance = T.type_alias { Object } # Would be T::Props, but that produces circular reference errors in some circumstances PropType = T.type_alias { T::Types::Base } - PropTypeOrClass = T.type_alias { T.any(PropType, Module) } + PropTypeOrClass = T.type_alias { T.any(PropType, T::Module[T.anything]) } OverrideRules = T.type_alias { T::Hash[Symbol, {allow_incompatible: T::Boolean}] } + DecoratedClassType = T.type_alias { T.all(T::Module[T.anything], T::Props::ClassMethods) } + private_constant :DecoratedClassType class NoRulesError < StandardError; end @@ -38,7 +40,7 @@ class NoRulesError < StandardError; end sig { params(klass: T.untyped).void.checked(:never) } def initialize(klass) - @class = T.let(klass, T.all(Module, T::Props::ClassMethods)) + @class = T.let(klass, DecoratedClassType) @class.plugins.each do |mod| T::Props::Plugin::Private.apply_decorator_methods(mod, self) end @@ -102,7 +104,7 @@ def valid_rule_key?(key) end # checked(:never) - O(prop accesses) - sig { returns(T.all(Module, T::Props::ClassMethods)).checked(:never) } + sig { returns(DecoratedClassType).checked(:never) } def decorated_class @class end @@ -207,7 +209,7 @@ def prop_get_if_set(instance, prop, rules=prop_rules(prop)) params( instance: DecoratedInstance, prop: Symbol, - foreign_class: Module, + foreign_class: T::Module[T.anything], rules: Rules, opts: T::Hash[Symbol, T.untyped], ) @@ -226,7 +228,7 @@ def foreign_prop_get(instance, prop, foreign_class, rules=prop_rules(prop), opts sig do params( name: Symbol, - cls: Module, + cls: T::Module[T.anything], rules: Rules, type: PropTypeOrClass ) @@ -277,7 +279,7 @@ def prop_validate_definition!(name, cls, rules, type) end # This converts the type from a T::Type to a regular old ruby class. - sig { params(type: T::Types::Base).returns(Module).checked(:never) } + sig { params(type: T::Types::Base).returns(T::Module[T.anything]).checked(:never) } private def convert_type_to_class(type) case type when T::Types::TypedArray, T::Types::FixedArray @@ -586,7 +588,7 @@ def prop_defined(name, cls, rules={}) sig do params( prop_name: Symbol, - prop_cls: Module, + prop_cls: T::Module[T.anything], rules: Rules, foreign: T.untyped, ) @@ -629,10 +631,10 @@ def prop_defined(name, cls, rules={}) # # This gets called when a module or class that extends T::Props gets included, extended, # prepended, or inherited. - sig { params(child: Module).void.checked(:never) } + sig { params(child: T::Module[T.anything]).void.checked(:never) } def model_inherited(child) child.extend(T::Props::ClassMethods) - child = T.cast(child, T.all(Module, T::Props::ClassMethods)) + child = T.cast(child, DecoratedClassType) child.plugins.concat(decorated_class.plugins) decorated_class.plugins.each do |mod| @@ -719,19 +721,19 @@ def model_inherited(child) result end - sig { params(child: T.all(Module, T::Props::ClassMethods), prop: Symbol).returns(T::Boolean).checked(:never) } + sig { params(child: DecoratedClassType, prop: Symbol).returns(T::Boolean).checked(:never) } private def clobber_getter?(child, prop) !!(child.decorator.method(:prop_get).owner != method(:prop_get).owner && child.instance_method(prop).source_location&.first == __FILE__) end - sig { params(child: T.all(Module, T::Props::ClassMethods), prop: Symbol).returns(T::Boolean).checked(:never) } + sig { params(child: DecoratedClassType, prop: Symbol).returns(T::Boolean).checked(:never) } private def clobber_setter?(child, prop) !!(child.decorator.method(:prop_set).owner != method(:prop_set).owner && child.instance_method("#{prop}=").source_location&.first == __FILE__) end - sig { params(mod: Module).void.checked(:never) } + sig { params(mod: T::Module[T.anything]).void.checked(:never) } def plugin(mod) decorated_class.plugins << mod T::Props::Plugin::Private.apply_class_methods(mod, decorated_class) diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/apply_default.rb similarity index 95% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/apply_default.rb index edeede5d8b5cf..c311c63740244 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/apply_default.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/apply_default.rb @@ -27,10 +27,10 @@ def default; end sig { abstract.params(instance: T.all(T::Props::Optional, Object)).void.checked(:never) } def set_default(instance); end - NO_CLONE_TYPES = T.let([TrueClass, FalseClass, NilClass, Symbol, Numeric, T::Enum].freeze, T::Array[Module]) + NO_CLONE_TYPES = T.let([TrueClass, FalseClass, NilClass, Symbol, Numeric, T::Enum].freeze, T::Array[T::Module[T.anything]]) # checked(:never) - Rules hash is expensive to check - sig { params(cls: Module, rules: T::Hash[Symbol, T.untyped]).returns(T.nilable(ApplyDefault)).checked(:never) } + sig { params(cls: T::Module[T.anything], rules: T::Hash[Symbol, T.untyped]).returns(T.nilable(ApplyDefault)).checked(:never) } def self.for(cls, rules) accessor_key = rules.fetch(:accessor_key) setter = rules.fetch(:setter_proc) @@ -138,7 +138,7 @@ class ApplyDefaultFactory < ApplyDefault # checked(:never) - We do this with `T.let` instead sig do params( - cls: Module, + cls: T::Module[T.anything], factory: T.any(Proc, Method), accessor_key: Symbol, setter_proc: SetterFactory::SetterProc, @@ -147,7 +147,7 @@ class ApplyDefaultFactory < ApplyDefault .checked(:never) end def initialize(cls, factory, accessor_key, setter_proc) - @class = T.let(cls, Module) + @class = T.let(cls, T::Module[T.anything]) @factory = T.let(factory, T.any(Proc, Method)) super(accessor_key, setter_proc) end diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/serde_transform.rb similarity index 94% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/serde_transform.rb index dd45a94600a4f..e43e098ec9c6a 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/serde_transform.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/serde_transform.rb @@ -20,7 +20,7 @@ module Mode NO_TRANSFORM_TYPES = T.let( [TrueClass, FalseClass, NilClass, Symbol, String].freeze, - T::Array[Module], + T::Array[T::Module[T.anything]], ) private_constant :NO_TRANSFORM_TYPES @@ -151,7 +151,7 @@ def self.generate(type, mode, varname) end end - sig { params(varname: String, type: Module, mode: ModeType).returns(String).checked(:never) } + sig { params(varname: String, type: T::Module[T.anything], mode: ModeType).returns(String).checked(:never) } private_class_method def self.handle_serializable_subtype(varname, type, mode) case mode when Serialize @@ -164,7 +164,7 @@ def self.generate(type, mode, varname) end end - sig { params(varname: String, type: Module, mode: ModeType).returns(String).checked(:never) } + sig { params(varname: String, type: T::Module[T.anything], mode: ModeType).returns(String).checked(:never) } private_class_method def self.handle_custom_type(varname, type, mode) case mode when Serialize @@ -177,7 +177,7 @@ def self.generate(type, mode, varname) end end - sig { params(type: Module).returns(T.nilable(String)).checked(:never) } + sig { params(type: T::Module[T.anything]).returns(T.nilable(String)).checked(:never) } private_class_method def self.module_name(type) T::Configuration.module_name_mangler.call(type) end diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/setter_factory.rb similarity index 93% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/setter_factory.rb index a2680c209cbee..e52996759261e 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/private/setter_factory.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/private/setter_factory.rb @@ -12,7 +12,7 @@ module SetterFactory sig do params( - klass: T.all(Module, T::Props::ClassMethods), + klass: T.all(T::Module[T.anything], T::Props::ClassMethods), prop: Symbol, rules: T::Hash[Symbol, T.untyped] ) @@ -53,8 +53,8 @@ def self.build_setter_proc(klass, prop, rules) params( prop: Symbol, accessor_key: Symbol, - non_nil_type: Module, - klass: T.all(Module, T::Props::ClassMethods), + non_nil_type: T::Module[T.anything], + klass: T.all(T::Module[T.anything], T::Props::ClassMethods), ) .returns([SetterProc, ValueValidationProc]) end @@ -89,7 +89,7 @@ def self.build_setter_proc(klass, prop, rules) prop: Symbol, accessor_key: Symbol, non_nil_type: T::Types::Base, - klass: T.all(Module, T::Props::ClassMethods), + klass: T.all(T::Module[T.anything], T::Props::ClassMethods), validate: T.nilable(ValidateProc) ) .returns([SetterProc, ValueValidationProc]) @@ -138,8 +138,8 @@ def self.build_setter_proc(klass, prop, rules) params( prop: Symbol, accessor_key: Symbol, - non_nil_type: Module, - klass: T.all(Module, T::Props::ClassMethods), + non_nil_type: T::Module[T.anything], + klass: T.all(T::Module[T.anything], T::Props::ClassMethods), ) .returns([SetterProc, ValueValidationProc]) end @@ -174,7 +174,7 @@ def self.build_setter_proc(klass, prop, rules) prop: Symbol, accessor_key: Symbol, non_nil_type: T::Types::Base, - klass: T.all(Module, T::Props::ClassMethods), + klass: T.all(T::Module[T.anything], T::Props::ClassMethods), validate: T.nilable(ValidateProc), ) .returns([SetterProc, ValueValidationProc]) @@ -225,9 +225,9 @@ def self.build_setter_proc(klass, prop, rules) sig do params( - klass: T.all(Module, T::Props::ClassMethods), + klass: T.all(T::Module[T.anything], T::Props::ClassMethods), prop: Symbol, - type: T.any(T::Types::Base, Module), + type: T.any(T::Types::Base, T::Module[T.anything]), val: T.untyped, ) .void diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/type_validation.rb similarity index 97% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/type_validation.rb index 4fb520564ecae..20cda51c1f86a 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/type_validation.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/type_validation.rb @@ -20,9 +20,9 @@ def valid_rule_key?(key) sig do params( name: T.any(Symbol, String), - _cls: Module, + _cls: T::Module[T.anything], rules: T::Hash[Symbol, T.untyped], - type: T.any(T::Types::Base, Module) + type: T.any(T::Types::Base, T::Module[T.anything]) ) .void .checked(:never) diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_module.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_module.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_module.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_module.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12722/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.4.0/gems/sorbet-runtime-0.6.12765/lib/types/utils.rb