From da12015237ce96680671de2210b28d7693f334d9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:23:54 +0000 Subject: [PATCH 1/3] build(deps-dev): bump spoom from 1.3.3 to 1.4.0 in /Library/Homebrew Bumps [spoom](https://github.com/Shopify/spoom) from 1.3.3 to 1.4.0. - [Release notes](https://github.com/Shopify/spoom/releases) - [Commits](https://github.com/Shopify/spoom/compare/v1.3.3...v1.4.0) --- updated-dependencies: - dependency-name: spoom dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 86487964fb..ea1b8e670a 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -121,7 +121,7 @@ GEM sorbet-static-and-runtime (0.5.11493) sorbet (= 0.5.11493) sorbet-runtime (= 0.5.11493) - spoom (1.3.3) + spoom (1.4.0) erubi (>= 1.10.0) prism (>= 0.28.0) sorbet-static-and-runtime (>= 0.5.10187) @@ -148,7 +148,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 4673128b211ea41070918cf218c9d958abecead2 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:33:11 +0000 Subject: [PATCH 2/3] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index ea1b8e670a..34b6e107dd 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -148,6 +148,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 9042c07551..75e9b5a606 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -105,7 +105,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11493/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11493/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.3.3/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.4.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.26") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/stackprof-0.2.26/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-0.9.36/lib") From 2cb80fdd477d98facda37db20c9675962452d1a1 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:33:27 +0000 Subject: [PATCH 3/3] Update RBI files for spoom. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../gems/{spoom@1.3.3.rbi => spoom@1.4.0.rbi} | 79 +++++++++++-------- 1 file changed, 44 insertions(+), 35 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{spoom@1.3.3.rbi => spoom@1.4.0.rbi} (98%) diff --git a/Library/Homebrew/sorbet/rbi/gems/spoom@1.3.3.rbi b/Library/Homebrew/sorbet/rbi/gems/spoom@1.4.0.rbi similarity index 98% rename from Library/Homebrew/sorbet/rbi/gems/spoom@1.3.3.rbi rename to Library/Homebrew/sorbet/rbi/gems/spoom@1.4.0.rbi index 3fa3ef6e72..8f36953d88 100644 --- a/Library/Homebrew/sorbet/rbi/gems/spoom@1.3.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/spoom@1.4.0.rbi @@ -1004,7 +1004,7 @@ class Spoom::Coverage::D3::ColorPalette < ::T::Struct prop :strong, ::String class << self - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end end end @@ -1344,7 +1344,7 @@ class Spoom::Coverage::Snapshot < ::T::Struct sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) } def from_obj(obj); end - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end end end @@ -1480,7 +1480,7 @@ class Spoom::Deadcode::Definition < ::T::Struct def to_json(*args); end class << self - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end end end @@ -2031,11 +2031,18 @@ end # source://spoom//lib/spoom/deadcode/plugins/minitest.rb#7 class Spoom::Deadcode::Plugins::Minitest < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/minitest.rb#22 + # source://spoom//lib/spoom/deadcode/plugins/minitest.rb#25 sig { override.params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end + + # source://spoom//lib/spoom/deadcode/plugins/minitest.rb#35 + sig { override.params(send: ::Spoom::Deadcode::Send).void } + def on_send(send); end end +# source://spoom//lib/spoom/deadcode/plugins/minitest.rb#12 +Spoom::Deadcode::Plugins::Minitest::MINITEST_METHODS = T.let(T.unsafe(nil), Set) + # source://spoom//lib/spoom/deadcode/plugins/namespaces.rb#7 class Spoom::Deadcode::Plugins::Namespaces < ::Spoom::Deadcode::Plugins::Base # source://spoom//lib/spoom/deadcode/plugins/namespaces.rb#11 @@ -2364,7 +2371,7 @@ class Spoom::Deadcode::Send < ::T::Struct def each_arg_assoc(&block); end class << self - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end end end @@ -2384,7 +2391,7 @@ class Spoom::ExecResult < ::T::Struct def to_s; end class << self - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end end end @@ -2582,7 +2589,7 @@ class Spoom::FileTree::Node < ::T::Struct def path; end class << self - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end end end @@ -2648,7 +2655,7 @@ class Spoom::Git::Commit < ::T::Struct def timestamp; end class << self - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end # Parse a line formatted as `%h %at` into a `Commit` @@ -2760,7 +2767,7 @@ class Spoom::LSP::Diagnostic < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) } def from_json(json); end - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end end end @@ -2793,7 +2800,7 @@ class Spoom::LSP::DocumentSymbol < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) } def from_json(json); end - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end end end @@ -2851,7 +2858,7 @@ class Spoom::LSP::Hover < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) } def from_json(json); end - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end end end @@ -2876,7 +2883,7 @@ class Spoom::LSP::Location < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) } def from_json(json); end - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end end end @@ -2939,7 +2946,7 @@ class Spoom::LSP::Position < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) } def from_json(json); end - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end end end @@ -2977,7 +2984,7 @@ class Spoom::LSP::Range < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) } def from_json(json); end - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end end end @@ -3043,7 +3050,7 @@ class Spoom::LSP::SignatureHelp < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) } def from_json(json); end - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end end end @@ -3095,55 +3102,57 @@ end class Spoom::Location include ::Comparable - # source://spoom//lib/spoom/location.rb#53 + # @raise [LocationError] + # + # source://spoom//lib/spoom/location.rb#73 sig do params( file: ::String, - start_line: ::Integer, - start_column: ::Integer, - end_line: ::Integer, - end_column: ::Integer + start_line: T.nilable(::Integer), + start_column: T.nilable(::Integer), + end_line: T.nilable(::Integer), + end_column: T.nilable(::Integer) ).void end - def initialize(file, start_line, start_column, end_line, end_column); end + def initialize(file, start_line: T.unsafe(nil), start_column: T.unsafe(nil), end_line: T.unsafe(nil), end_column: T.unsafe(nil)); end - # source://spoom//lib/spoom/location.rb#73 + # source://spoom//lib/spoom/location.rb#106 sig { override.params(other: ::BasicObject).returns(T.nilable(::Integer)) } def <=>(other); end - # @return [Integer] + # @return [Integer, nil] # - # source://spoom//lib/spoom/location.rb#42 + # source://spoom//lib/spoom/location.rb#62 def end_column; end - # @return [Integer] + # @return [Integer, nil] # - # source://spoom//lib/spoom/location.rb#42 + # source://spoom//lib/spoom/location.rb#62 def end_line; end - # source://spoom//lib/spoom/location.rb#39 + # source://spoom//lib/spoom/location.rb#59 sig { returns(::String) } def file; end - # source://spoom//lib/spoom/location.rb#62 + # source://spoom//lib/spoom/location.rb#93 sig { params(other: ::Spoom::Location).returns(T::Boolean) } def include?(other); end - # @return [Integer] + # @return [Integer, nil] # - # source://spoom//lib/spoom/location.rb#42 + # source://spoom//lib/spoom/location.rb#62 def start_column; end - # source://spoom//lib/spoom/location.rb#42 - sig { returns(::Integer) } + # source://spoom//lib/spoom/location.rb#62 + sig { returns(T.nilable(::Integer)) } def start_line; end - # source://spoom//lib/spoom/location.rb#80 + # source://spoom//lib/spoom/location.rb#129 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/location.rb#33 + # source://spoom//lib/spoom/location.rb#47 sig { params(file: ::String, location: ::Prism::Location).returns(::Spoom::Location) } def from_prism(file, location); end @@ -3467,7 +3476,7 @@ class Spoom::Model::Reference < ::T::Struct sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) } def constant(name, location); end - # source://sorbet-runtime/0.5.11480/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11493/lib/types/struct.rb#13 def inherited(s); end # source://spoom//lib/spoom/model/reference.rb#29