diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 9f6a277c75..289767fb25 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -166,10 +166,10 @@ GEM sorbet (>= 0.5.9204) sorbet-runtime (>= 0.5.9204) thor (>= 0.19.2) - tapioca (0.7.0) + tapioca (0.7.1) bundler (>= 1.17.3) pry (>= 0.12.2) - rbi (~> 0.0.0, >= 0.0.12) + rbi (~> 0.0.0, >= 0.0.14) sorbet-runtime (>= 0.5.9204) sorbet-static (>= 0.5.9204) spoom (~> 1.1.0, >= 1.1.4) diff --git a/Library/Homebrew/sorbet/rbi/gems/tapioca@0.7.0.rbi b/Library/Homebrew/sorbet/rbi/gems/tapioca@0.7.1.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/tapioca@0.7.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/tapioca@0.7.1.rbi index 168ef634c0..afbb484fcd 100644 --- a/Library/Homebrew/sorbet/rbi/gems/tapioca@0.7.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/tapioca@0.7.1.rbi @@ -577,6 +577,7 @@ module Tapioca::Dsl; end class Tapioca::Dsl::Compiler extend T::Generic include ::Tapioca::Runtime::Reflection + include ::Tapioca::SignaturesHelper include ::Tapioca::Dsl::Helpers::ParamHelper extend ::Tapioca::Runtime::Reflection @@ -648,6 +649,8 @@ Tapioca::Dsl::Compilers::NAMESPACES = T.let(T.unsafe(nil), Array) module Tapioca::Dsl::Helpers; end module Tapioca::Dsl::Helpers::ParamHelper + include ::Tapioca::SignaturesHelper + sig { params(name: ::String, type: ::String).returns(::RBI::TypedParam) } def create_block_param(name, type:); end @@ -713,6 +716,9 @@ class Tapioca::Dsl::Pipeline private + sig { params(constants: T::Set[::Module]).returns(T::Set[::Module]) } + def filter_anonymous_and_reloaded_constants(constants); end + sig do params( requested_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)], @@ -911,7 +917,7 @@ end class Tapioca::Gem::Listeners::SorbetSignatures < ::Tapioca::Gem::Listeners::Base include ::Tapioca::Runtime::Reflection - include ::Tapioca::RBIHelper + include ::Tapioca::SignaturesHelper private @@ -1007,7 +1013,7 @@ end class Tapioca::Gem::Pipeline include ::Tapioca::Runtime::Reflection - include ::Tapioca::RBIHelper + include ::Tapioca::SignaturesHelper sig { params(gem: ::Tapioca::Gemfile::GemSpec, include_doc: T::Boolean).void } def initialize(gem, include_doc: T.unsafe(nil)); end @@ -1247,11 +1253,6 @@ class Tapioca::RBIFormatter < ::RBI::Formatter def write_header!(file, command, reason: T.unsafe(nil)); end end -module Tapioca::RBIHelper - sig { params(sig_string: ::String).returns(::String) } - def sanitize_signature_types(sig_string); end -end - module Tapioca::Runtime; end class Tapioca::Runtime::DynamicMixinCompiler @@ -1529,6 +1530,11 @@ module Tapioca::ShimsHelper def shims_have_duplicates?(nodes, shim_rbi_dir); end end +module Tapioca::SignaturesHelper + sig { params(sig_string: ::String).returns(::String) } + def sanitize_signature_types(sig_string); end +end + module Tapioca::SorbetHelper sig { params(sorbet_args: ::String).returns(::Tapioca::SorbetHelper::CmdResult) } def sorbet(*sorbet_args); end diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 5926a7373d..37d7873392 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -101,5 +101,5 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/thor-1.2.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/spoom-1.1.9/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/yard-0.9.27/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/yard-sorbet-0.6.1/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/tapioca-0.7.0/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/tapioca-0.7.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/warning-1.2.1/lib"