Update RBI files for msgpack.

This commit is contained in:
BrewTestBot 2022-05-30 01:45:28 +00:00
parent cbba6af505
commit fa29537ca2
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F

View File

@ -1,4 +1,4 @@
# typed: true # typed: false
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `msgpack` gem. # This is an autogenerated file for types exported from the `msgpack` gem.
@ -58,15 +58,15 @@ end
module MessagePack module MessagePack
private private
def dump(v, *rest); end def dump(v, io = T.unsafe(nil), options = T.unsafe(nil)); end
def load(src, param = T.unsafe(nil)); end def load(src, param = T.unsafe(nil)); end
def pack(v, *rest); end def pack(v, io = T.unsafe(nil), options = T.unsafe(nil)); end
def unpack(src, param = T.unsafe(nil)); end def unpack(src, param = T.unsafe(nil)); end
class << self class << self
def dump(v, *rest); end def dump(v, io = T.unsafe(nil), options = T.unsafe(nil)); end
def load(src, param = T.unsafe(nil)); end def load(src, param = T.unsafe(nil)); end
def pack(v, *rest); end def pack(v, io = T.unsafe(nil), options = T.unsafe(nil)); end
def unpack(src, param = T.unsafe(nil)); end def unpack(src, param = T.unsafe(nil)); end
end end
end end
@ -75,8 +75,6 @@ module MessagePack::CoreExt
def to_msgpack(packer_or_io = T.unsafe(nil)); end def to_msgpack(packer_or_io = T.unsafe(nil)); end
end end
MessagePack::DEFAULT_EMPTY_PARAMS = T.let(T.unsafe(nil), Hash)
class MessagePack::ExtensionValue < ::Struct class MessagePack::ExtensionValue < ::Struct
include ::MessagePack::CoreExt include ::MessagePack::CoreExt
@ -92,11 +90,38 @@ class MessagePack::Factory
def dump(v, *rest); end def dump(v, *rest); end
def load(src, param = T.unsafe(nil)); end def load(src, param = T.unsafe(nil)); end
def pack(v, *rest); end def pack(v, *rest); end
def pool(size = T.unsafe(nil), **options); end
def registered_types(selector = T.unsafe(nil)); end def registered_types(selector = T.unsafe(nil)); end
def type_registered?(klass_or_type, selector = T.unsafe(nil)); end def type_registered?(klass_or_type, selector = T.unsafe(nil)); end
def unpack(src, param = T.unsafe(nil)); end def unpack(src, param = T.unsafe(nil)); end
end end
class MessagePack::Factory::Pool
def initialize(factory, size, options = T.unsafe(nil)); end
def dump(object); end
def load(data); end
end
class MessagePack::Factory::Pool::AbstractPool
def initialize(size, &block); end
def checkin(member); end
def checkout; end
end
class MessagePack::Factory::Pool::PackerPool < ::MessagePack::Factory::Pool::AbstractPool
private
def reset(packer); end
end
class MessagePack::Factory::Pool::UnpackerPool < ::MessagePack::Factory::Pool::AbstractPool
private
def reset(unpacker); end
end
class MessagePack::Packer class MessagePack::Packer
def registered_types; end def registered_types; end
def type_registered?(klass_or_type); end def type_registered?(klass_or_type); end