Update RBI files for spoom.

Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
BrewTestBot 2024-07-25 16:33:27 +00:00
parent 4673128b21
commit 2cb80fdd47
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F

View File

@ -1004,7 +1004,7 @@ class Spoom::Coverage::D3::ColorPalette < ::T::Struct
prop :strong, ::String prop :strong, ::String
class << self 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 def inherited(s); end
end 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) } sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) }
def from_obj(obj); end 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 def inherited(s); end
end end
end end
@ -1480,7 +1480,7 @@ class Spoom::Deadcode::Definition < ::T::Struct
def to_json(*args); end def to_json(*args); end
class << self 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 def inherited(s); end
end end
end end
@ -2031,11 +2031,18 @@ end
# source://spoom//lib/spoom/deadcode/plugins/minitest.rb#7 # source://spoom//lib/spoom/deadcode/plugins/minitest.rb#7
class Spoom::Deadcode::Plugins::Minitest < ::Spoom::Deadcode::Plugins::Base 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 } sig { override.params(definition: ::Spoom::Model::Method).void }
def on_define_method(definition); end 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 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 # source://spoom//lib/spoom/deadcode/plugins/namespaces.rb#7
class Spoom::Deadcode::Plugins::Namespaces < ::Spoom::Deadcode::Plugins::Base class Spoom::Deadcode::Plugins::Namespaces < ::Spoom::Deadcode::Plugins::Base
# source://spoom//lib/spoom/deadcode/plugins/namespaces.rb#11 # 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 def each_arg_assoc(&block); end
class << self 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 def inherited(s); end
end end
end end
@ -2384,7 +2391,7 @@ class Spoom::ExecResult < ::T::Struct
def to_s; end def to_s; end
class << self 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 def inherited(s); end
end end
end end
@ -2582,7 +2589,7 @@ class Spoom::FileTree::Node < ::T::Struct
def path; end def path; end
class << self 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 def inherited(s); end
end end
end end
@ -2648,7 +2655,7 @@ class Spoom::Git::Commit < ::T::Struct
def timestamp; end def timestamp; end
class << self 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 def inherited(s); end
# Parse a line formatted as `%h %at` into a `Commit` # 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) } sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) }
def from_json(json); end 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 def inherited(s); end
end 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) } sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) }
def from_json(json); end 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 def inherited(s); end
end 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) } sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) }
def from_json(json); end 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 def inherited(s); end
end 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) } sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) }
def from_json(json); end 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 def inherited(s); end
end 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) } sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) }
def from_json(json); end 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 def inherited(s); end
end 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) } sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) }
def from_json(json); end 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 def inherited(s); end
end 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) } sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) }
def from_json(json); end 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 def inherited(s); end
end end
end end
@ -3095,55 +3102,57 @@ end
class Spoom::Location class Spoom::Location
include ::Comparable include ::Comparable
# source://spoom//lib/spoom/location.rb#53 # @raise [LocationError]
#
# source://spoom//lib/spoom/location.rb#73
sig do sig do
params( params(
file: ::String, file: ::String,
start_line: ::Integer, start_line: T.nilable(::Integer),
start_column: ::Integer, start_column: T.nilable(::Integer),
end_line: ::Integer, end_line: T.nilable(::Integer),
end_column: ::Integer end_column: T.nilable(::Integer)
).void ).void
end 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)) } sig { override.params(other: ::BasicObject).returns(T.nilable(::Integer)) }
def <=>(other); end 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 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 def end_line; end
# source://spoom//lib/spoom/location.rb#39 # source://spoom//lib/spoom/location.rb#59
sig { returns(::String) } sig { returns(::String) }
def file; end 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) } sig { params(other: ::Spoom::Location).returns(T::Boolean) }
def include?(other); end 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 def start_column; end
# source://spoom//lib/spoom/location.rb#42 # source://spoom//lib/spoom/location.rb#62
sig { returns(::Integer) } sig { returns(T.nilable(::Integer)) }
def start_line; end def start_line; end
# source://spoom//lib/spoom/location.rb#80 # source://spoom//lib/spoom/location.rb#129
sig { returns(::String) } sig { returns(::String) }
def to_s; end def to_s; end
class << self 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) } sig { params(file: ::String, location: ::Prism::Location).returns(::Spoom::Location) }
def from_prism(file, location); end 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) } sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) }
def constant(name, location); end 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 def inherited(s); end
# source://spoom//lib/spoom/model/reference.rb#29 # source://spoom//lib/spoom/model/reference.rb#29