From cd2e22541427db8ad8026085234dab28ec1a5087 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Mar 2021 05:59:00 +0000 Subject: [PATCH 1/3] build(deps): bump tapioca from 0.4.15 to 0.4.16 in /Library/Homebrew Bumps [tapioca](https://github.com/Shopify/tapioca) from 0.4.15 to 0.4.16. - [Release notes](https://github.com/Shopify/tapioca/releases) - [Commits](https://github.com/Shopify/tapioca/compare/v0.4.15...v0.4.16) Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 24c6fd210c..b2a82e0d02 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -60,7 +60,7 @@ GEM parallel (1.20.1) parallel_tests (3.5.2) parallel - parlour (5.0.0) + parlour (6.0.0) commander (~> 4.5) parser rainbow (~> 3.0) @@ -149,7 +149,7 @@ GEM sorbet (~> 0.5.5) sorbet-runtime thor (>= 0.19.2) - tapioca (0.4.15) + tapioca (0.4.16) bundler (>= 1.17.3) parlour (>= 2.1.0) pry (>= 0.12.2) From 8407ead42b89b9240c0461420d55bbc681fce52d Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 10 Mar 2021 09:38:44 +0000 Subject: [PATCH 2/3] brew vendor-gems: commit updates. --- Library/Homebrew/vendor/bundle/bundler/setup.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 1fe99fbfc8..c07f618e5a 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -56,7 +56,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/parallel_tests-3.5.2/ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/parser-3.0.0.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rainbow-3.0.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-runtime-0.5.6274/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/parlour-5.0.0/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/parlour-6.0.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/patchelf-1.3.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/plist-3.6.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/pry-0.14.0/lib" @@ -90,5 +90,5 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-macho-2.5.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-runtime-stub-0.2.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/thor-1.1.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/spoom-1.0.9/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/tapioca-0.4.15/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/tapioca-0.4.16/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/warning-1.2.0/lib" From 8c309d288664d36d79a8b6d2cf8808943d8f8544 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 10 Mar 2021 09:39:45 +0000 Subject: [PATCH 3/3] Update RBI files for tapioca. --- .../rbi/gems/{parlour@5.0.0.rbi => parlour@6.0.0.rbi} | 4 ++-- .../gems/{tapioca@0.4.15.rbi => tapioca@0.4.16.rbi} | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{parlour@5.0.0.rbi => parlour@6.0.0.rbi} (99%) rename Library/Homebrew/sorbet/rbi/gems/{tapioca@0.4.15.rbi => tapioca@0.4.16.rbi} (97%) diff --git a/Library/Homebrew/sorbet/rbi/gems/parlour@5.0.0.rbi b/Library/Homebrew/sorbet/rbi/gems/parlour@6.0.0.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/parlour@5.0.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/parlour@6.0.0.rbi index df31c31f07..52fa968137 100644 --- a/Library/Homebrew/sorbet/rbi/gems/parlour@5.0.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/parlour@6.0.0.rbi @@ -420,8 +420,8 @@ class Parlour::RbiGenerator::Namespace < ::Parlour::RbiGenerator::RbiObject def merge_into_self(others); end sig { overridable.override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).returns(T::Boolean) } def mergeable?(others); end - sig { params(object: T.untyped, block: T.proc.params(x: Parlour::RbiGenerator::Namespace).void).void } - def path(object, &block); end + sig { params(constant: Module, block: T.proc.params(x: Parlour::RbiGenerator::Namespace).void).void } + def path(constant, &block); end sig { returns(T::Boolean) } def sealed; end def type_aliases(*args, &blk); end diff --git a/Library/Homebrew/sorbet/rbi/gems/tapioca@0.4.15.rbi b/Library/Homebrew/sorbet/rbi/gems/tapioca@0.4.16.rbi similarity index 97% rename from Library/Homebrew/sorbet/rbi/gems/tapioca@0.4.15.rbi rename to Library/Homebrew/sorbet/rbi/gems/tapioca@0.4.16.rbi index 388ba01e07..02ca0cc6a4 100644 --- a/Library/Homebrew/sorbet/rbi/gems/tapioca@0.4.15.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/tapioca@0.4.16.rbi @@ -126,6 +126,8 @@ module Tapioca::Compilers::Sorbet end end +Tapioca::Compilers::Sorbet::EXE_PATH_ENV_VAR = T.let(T.unsafe(nil), String) + Tapioca::Compilers::Sorbet::SORBET = T.let(T.unsafe(nil), Pathname) module Tapioca::Compilers::SymbolTable @@ -162,6 +164,8 @@ class Tapioca::Compilers::SymbolTable::SymbolGenerator def compile_constant(name, constant); end sig { params(module_name: String, mod: Module, for_visibility: T::Array[Symbol]).returns(String) } def compile_directly_owned_methods(module_name, mod, for_visibility = T.unsafe(nil)); end + sig { params(constant: Module).returns(String) } + def compile_enums(constant); end sig { params(symbol_name: String, constant: Module, method: T.nilable(UnboundMethod)).returns(T.nilable(String)) } def compile_method(symbol_name, constant, method); end sig { params(name: String, constant: Module).returns(T.nilable(String)) } @@ -449,7 +453,7 @@ class Tapioca::Generator < ::Thor::Shell::Color def added_rbis; end sig { returns(Tapioca::Gemfile) } def bundle; end - sig { params(constant: Module, contents: String).void } + sig { params(constant: Module, contents: String).returns(T.nilable(Pathname)) } def compile_dsl_rbi(constant, contents); end sig { params(gem: Tapioca::Gemfile::Gem).void } def compile_gem_rbi(gem); end @@ -457,8 +461,12 @@ class Tapioca::Generator < ::Thor::Shell::Color def compiler; end sig { params(constant_names: T::Array[String]).returns(T::Array[Module]) } def constantize(constant_names); end + sig { params(constant_name: String).returns(Pathname) } + def dsl_rbi_filename(constant_name); end sig { params(gem_name: String).returns(Pathname) } def existing_rbi(gem_name); end + sig { params(requested_constants: T::Array[String]).returns(T::Set[Pathname]) } + def existing_rbi_filenames(requested_constants); end sig { returns(T::Hash[String, String]) } def existing_rbis; end sig { params(gem_name: String).returns(Pathname) }