parent
3e1c3c2b7b
commit
09fbb72f66
@ -0,0 +1,3 @@
|
||||
--dir
|
||||
.
|
||||
--ignore=.direnv
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,102 @@
|
||||
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
||||
# srb rbi sorbet-typed
|
||||
#
|
||||
# If you would like to make changes to this file, great! Please upstream any changes you make here:
|
||||
#
|
||||
# https://github.com/sorbet/sorbet-typed/edit/master/lib/minitest/all/minitest.rbi
|
||||
#
|
||||
# typed: strong
|
||||
|
||||
module Minitest
|
||||
class Runnable
|
||||
end
|
||||
|
||||
class Test < Runnable
|
||||
include Minitest::Assertions
|
||||
end
|
||||
end
|
||||
|
||||
module Minitest::Assertions
|
||||
extend T::Sig
|
||||
|
||||
sig { params(test: T.untyped, msg: T.nilable(String)).returns(TrueClass) }
|
||||
def assert(test, msg = nil); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
exp: BasicObject,
|
||||
msg: T.nilable(String)
|
||||
).returns(TrueClass)
|
||||
end
|
||||
def assert_empty(exp, msg = nil); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
exp: BasicObject,
|
||||
act: BasicObject,
|
||||
msg: T.nilable(String)
|
||||
).returns(TrueClass)
|
||||
end
|
||||
def assert_equal(exp, act, msg = nil); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
collection: T::Enumerable[T.untyped],
|
||||
obj: BasicObject,
|
||||
msg: T.nilable(String)
|
||||
).returns(TrueClass)
|
||||
end
|
||||
def assert_includes(collection, obj, msg = nil); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
obj: BasicObject,
|
||||
msg: T.nilable(String)
|
||||
).returns(TrueClass)
|
||||
end
|
||||
def assert_nil(obj, msg = nil); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
exp: T.untyped
|
||||
).returns(TrueClass)
|
||||
end
|
||||
def assert_raises(*exp); end
|
||||
|
||||
sig { params(test: T.untyped, msg: T.nilable(String)).returns(TrueClass) }
|
||||
def refute(test, msg = nil); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
exp: BasicObject,
|
||||
msg: T.nilable(String)
|
||||
).returns(TrueClass)
|
||||
end
|
||||
def refute_empty(exp, msg = nil); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
exp: BasicObject,
|
||||
act: BasicObject,
|
||||
msg: T.nilable(String)
|
||||
).returns(TrueClass)
|
||||
end
|
||||
def refute_equal(exp, act, msg = nil); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
collection: T::Enumerable[T.untyped],
|
||||
obj: BasicObject,
|
||||
msg: T.nilable(String)
|
||||
).returns(TrueClass)
|
||||
end
|
||||
def refute_includes(collection, obj, msg = nil); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
obj: BasicObject,
|
||||
msg: T.nilable(String)
|
||||
).returns(TrueClass)
|
||||
end
|
||||
def refute_nil(obj, msg = nil); end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,111 @@
|
||||
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
||||
# srb rbi sorbet-typed
|
||||
#
|
||||
# If you would like to make changes to this file, great! Please upstream any changes you make here:
|
||||
#
|
||||
# https://github.com/sorbet/sorbet-typed/edit/master/lib/ruby/all/open3.rbi
|
||||
#
|
||||
# typed: strong
|
||||
|
||||
module Open3
|
||||
sig do
|
||||
params(
|
||||
cmd: T.any(String, T::Array[String]),
|
||||
opts: T::Hash[Symbol, T.untyped],
|
||||
block: T.nilable(T.proc.params(stdin: IO, stdout: IO, stderr: IO, wait_thr: Process::Waiter).void)
|
||||
).returns([IO, IO, IO, Process::Waiter])
|
||||
end
|
||||
def self.popen3(*cmd, **opts, &block); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
cmd: T.any(String, T::Array[String]),
|
||||
opts: T::Hash[Symbol, T.untyped],
|
||||
block: T.nilable(T.proc.params(stdin: IO, stdout: IO, wait_thr: Process::Waiter).void)
|
||||
).returns([IO, IO, Process::Waiter])
|
||||
end
|
||||
def self.popen2(*cmd, **opts, &block); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
cmd: T.any(String, T::Array[String]),
|
||||
opts: T::Hash[Symbol, T.untyped],
|
||||
block: T.nilable(T.proc.params(stdin: IO, stdout_and_stderr: IO, wait_thr: Process::Waiter).void)
|
||||
).returns([IO, IO, Process::Waiter])
|
||||
end
|
||||
def self.popen2e(*cmd, **opts, &block); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
cmd: T.any(String, T::Array[String]),
|
||||
stdin_data: T.nilable(String),
|
||||
binmode: T.any(FalseClass, TrueClass),
|
||||
opts: T::Hash[Symbol, T.untyped]
|
||||
).returns([String, String, Process::Status])
|
||||
end
|
||||
def self.capture3(*cmd, stdin_data: '', binmode: false, **opts); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
cmd: T.any(String, T::Array[String]),
|
||||
stdin_data: T.nilable(String),
|
||||
binmode: T.any(FalseClass, TrueClass),
|
||||
opts: T::Hash[Symbol, T.untyped]
|
||||
).returns([String, Process::Status])
|
||||
end
|
||||
def self.capture2(*cmd, stdin_data: nil, binmode: false, **opts); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
cmd: T.any(String, T::Array[String]),
|
||||
stdin_data: T.nilable(String),
|
||||
binmode: T.any(FalseClass, TrueClass),
|
||||
opts: T::Hash[Symbol, T.untyped]
|
||||
).returns([String, Process::Status])
|
||||
end
|
||||
def self.capture2e(*cmd, stdin_data: nil, binmode: false, **opts); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
cmds: T.any(String, T::Array[String]),
|
||||
opts: T::Hash[Symbol, T.untyped],
|
||||
block: T.nilable(T.proc.params(first_stdin: IO, last_stdout: IO, wait_threads: T::Array[Process::Waiter]).void)
|
||||
).returns([IO, IO, T::Array[Process::Waiter]])
|
||||
end
|
||||
def self.pipeline_rw(*cmds, **opts, &block); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
cmds: T.any(String, T::Array[String]),
|
||||
opts: T::Hash[Symbol, T.untyped],
|
||||
block: T.nilable(T.proc.params(last_stdout: IO, wait_threads: T::Array[Process::Waiter]).void)
|
||||
).returns([IO, T::Array[Process::Waiter]])
|
||||
end
|
||||
def self.pipeline_r(*cmds, **opts, &block); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
cmds: T.any(String, T::Array[String]),
|
||||
opts: T::Hash[Symbol, T.untyped],
|
||||
block: T.nilable(T.proc.params(first_stdin: IO, wait_threads: T::Array[Process::Waiter]).void)
|
||||
).returns([IO, T::Array[Process::Waiter]])
|
||||
end
|
||||
def self.pipeline_w(*cmds, **opts, &block); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
cmds: T.any(String, T::Array[String]),
|
||||
opts: T::Hash[Symbol, T.untyped],
|
||||
block: T.nilable(T.proc.params(wait_threads: T::Array[Process::Waiter]).void)
|
||||
).returns(T::Array[Process::Waiter])
|
||||
end
|
||||
def self.pipeline_start(*cmds, **opts, &block); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
cmds: T.any(String, T::Array[String]),
|
||||
opts: T::Hash[Symbol, T.untyped]
|
||||
).returns(T::Array[Process::Status])
|
||||
end
|
||||
def self.pipeline(*cmds, **opts); end
|
||||
end
|
@ -0,0 +1,543 @@
|
||||
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
||||
# srb rbi sorbet-typed
|
||||
#
|
||||
# If you would like to make changes to this file, great! Please upstream any changes you make here:
|
||||
#
|
||||
# https://github.com/sorbet/sorbet-typed/edit/master/lib/ruby/all/resolv.rbi
|
||||
#
|
||||
# typed: strong
|
||||
|
||||
class Resolv
|
||||
sig { params(name: String).returns(String) }
|
||||
def self.getaddress(name); end
|
||||
|
||||
sig { params(name: String).returns(T::Array[String]) }
|
||||
def self.getaddresses(name); end
|
||||
|
||||
sig { params(name: String, block: T.proc.params(address: String).void).void }
|
||||
def self.each_address(name, &block); end
|
||||
|
||||
sig { params(address: String).returns(String) }
|
||||
def self.getname(address); end
|
||||
|
||||
sig { params(address: String).returns(T::Array[String]) }
|
||||
def self.getnames(address); end
|
||||
|
||||
sig { params(address: String, proc: T.proc.params(name: String).void).void }
|
||||
def self.each_name(address, &proc); end
|
||||
|
||||
sig { params(resolvers: [Hosts, DNS]).void }
|
||||
def initialize(resolvers=[Hosts.new, DNS.new]); end
|
||||
|
||||
sig { params(name: String).returns(String) }
|
||||
def getaddress(name); end
|
||||
|
||||
sig { params(name: String).returns(T::Array[String]) }
|
||||
def getaddresses(name); end
|
||||
|
||||
sig { params(name: String, block: T.proc.params(address: String).void).void }
|
||||
def each_address(name, &block); end
|
||||
|
||||
sig { params(address: String).returns(String) }
|
||||
def getname(address); end
|
||||
|
||||
sig { params(address: String).returns(T::Array[String]) }
|
||||
def getnames(address); end
|
||||
|
||||
sig { params(address: String, proc: T.proc.params(name: String).void).void }
|
||||
def each_name(address, &proc); end
|
||||
|
||||
class ResolvError < StandardError; end
|
||||
class ResolvTimeout < Timeout::Error; end
|
||||
|
||||
class Hosts
|
||||
DefaultFileName = T.let(T.unsafe(nil), String)
|
||||
|
||||
sig { params(filename: String).void }
|
||||
def initialize(filename = DefaultFileName); end
|
||||
|
||||
sig { params(name: String).returns(String) }
|
||||
def getaddress(name); end
|
||||
|
||||
sig { params(name: String).returns(T::Array[String]) }
|
||||
def getaddresses(name); end
|
||||
|
||||
sig { params(name: String, block: T.proc.params(address: String).void).void }
|
||||
def each_address(name, &block); end
|
||||
|
||||
sig { params(address: String).returns(String) }
|
||||
def getname(address); end
|
||||
|
||||
sig { params(address: String).returns(T::Array[String]) }
|
||||
def getnames(address); end
|
||||
|
||||
sig { params(address: String, proc: T.proc.params(name: String).void).void }
|
||||
def each_name(address, &proc); end
|
||||
end
|
||||
|
||||
class DNS
|
||||
Port = T.let(T.unsafe(nil), Integer)
|
||||
|
||||
UDPSize = T.let(T.unsafe(nil), Integer)
|
||||
|
||||
sig do
|
||||
params(
|
||||
config_info: T.any(
|
||||
NilClass,
|
||||
String,
|
||||
{ nameserver: T.any(String, T::Array[String]), search: T::Array[String], ndots: Integer },
|
||||
{ nameserver_port: T::Array[[String, Integer]], search: T::Array[String], ndots: Integer }
|
||||
)
|
||||
).returns(Resolv::DNS)
|
||||
end
|
||||
def self.open(config_info = nil); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
config_info: T.any(
|
||||
NilClass,
|
||||
String,
|
||||
{ nameserver: T.any(String, T::Array[String]), search: T::Array[String], ndots: Integer },
|
||||
{ nameserver_port: T::Array[[String, Integer]], search: T::Array[String], ndots: Integer }
|
||||
)
|
||||
).void
|
||||
end
|
||||
def initialize(config_info = nil); end
|
||||
|
||||
sig { params(values: T.any(NilClass, Integer, T::Array[Integer])).void }
|
||||
def timeouts=(values); end
|
||||
|
||||
sig { void }
|
||||
def close; end
|
||||
|
||||
sig { params(name: String).returns(String) }
|
||||
def getaddress(name); end
|
||||
|
||||
sig { params(name: String).returns(T::Array[String]) }
|
||||
def getaddresses(name); end
|
||||
|
||||
sig { params(name: String, block: T.proc.params(address: String).void).void }
|
||||
def each_address(name, &block); end
|
||||
|
||||
sig { params(address: String).returns(String) }
|
||||
def getname(address); end
|
||||
|
||||
sig { params(address: String).returns(T::Array[String]) }
|
||||
def getnames(address); end
|
||||
|
||||
sig { params(address: String, proc: T.proc.params(name: String).void).void }
|
||||
def each_name(address, &proc); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
name: T.any(String, Resolv::DNS::Name),
|
||||
typeclass: T.class_of(Resolv::DNS::Resource)
|
||||
).returns(Resolv::DNS::Resource)
|
||||
end
|
||||
def getresource(name, typeclass); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
name: T.any(String, Resolv::DNS::Name),
|
||||
typeclass: T.class_of(Resolv::DNS::Resource)
|
||||
).returns(T::Array[Resolv::DNS::Resource])
|
||||
end
|
||||
def getresources(name, typeclass); end
|
||||
|
||||
sig do
|
||||
params(
|
||||
name: T.any(String, Resolv::DNS::Name),
|
||||
typeclass: T.class_of(Resolv::DNS::Resource),
|
||||
proc: T.proc.params(resource: Resolv::DNS::Resource).void
|
||||
).void
|
||||
end
|
||||
def each_resource(name, typeclass, &proc); end
|
||||
|
||||
class DecodeError < StandardError; end
|
||||
class EncodeError < StandardError; end
|
||||
|
||||
class Name
|
||||
sig { params(arg: T.any(String, Resolv::DNS::Name)).returns(Resolv::DNS::Name) }
|
||||
def self.create(arg); end
|
||||
|
||||
sig { params(labels: T::Array[String], absolute: T.any(FalseClass, TrueClass)).void }
|
||||
def initialize(labels, absolute=true); end
|
||||
|
||||
sig { returns(T.any(FalseClass, TrueClass)) }
|
||||
def absolute?; end
|
||||
|
||||
sig { params(other: Resolv::DNS::Name).returns(T.any(FalseClass, TrueClass)) }
|
||||
def subdomain_of?(other); end
|
||||
end
|
||||
|
||||
class Query; end
|
||||
|
||||
class Resource < Query
|
||||
sig { returns(T.nilable(Integer)) }
|
||||
attr_reader :ttl
|
||||
|
||||
sig { void }
|
||||
def initialize
|
||||
@ttl = T.let(T.unsafe(nil), T.nilable(Integer))
|
||||
end
|
||||
|
||||
class Generic < Resource
|
||||
sig { params(data: T.untyped).void }
|
||||
def initialize(data)
|
||||
@data = T.let(T.unsafe(nil), T.untyped)
|
||||
end
|
||||
|
||||
sig { returns(T.untyped) }
|
||||
attr_reader :data
|
||||
end
|
||||
|
||||
class DomainName < Resource
|
||||
sig { params(name: String).void }
|
||||
def initialize(name)
|
||||
@name = T.let(T.unsafe(nil), String)
|
||||
end
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :name
|
||||
end
|
||||
|
||||
class NS < DomainName; end
|
||||
|
||||
class CNAME < DomainName; end
|
||||
|
||||
class SOA < Resource
|
||||
sig do
|
||||
params(
|
||||
mname: String,
|
||||
rname: String,
|
||||
serial: Integer,
|
||||
refresh: Integer,
|
||||
retry_: Integer,
|
||||
expire: Integer,
|
||||
minimum: Integer
|
||||
).void
|
||||
end
|
||||
def initialize(mname, rname, serial, refresh, retry_, expire, minimum)
|
||||
@mname = T.let(T.unsafe(nil), String)
|
||||
@rname = T.let(T.unsafe(nil), String)
|
||||
@serial = T.let(T.unsafe(nil), Integer)
|
||||
@refresh = T.let(T.unsafe(nil), Integer)
|
||||
@retry = T.let(T.unsafe(nil), Integer)
|
||||
@expire = T.let(T.unsafe(nil), Integer)
|
||||
@minimum = T.let(T.unsafe(nil), Integer)
|
||||
end
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :mname
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :rname
|
||||
|
||||
sig { returns(Integer) }
|
||||
attr_reader :serial
|
||||
|
||||
sig { returns(Integer) }
|
||||
attr_reader :refresh
|
||||
|
||||
sig { returns(Integer) }
|
||||
attr_reader :retry
|
||||
|
||||
sig { returns(Integer) }
|
||||
attr_reader :expire
|
||||
|
||||
sig { returns(Integer) }
|
||||
attr_reader :minimum
|
||||
end
|
||||
|
||||
class PTR < DomainName; end
|
||||
|
||||
class HINFO < Resource
|
||||
sig { params(cpu: String, os: String).void }
|
||||
def initialize(cpu, os)
|
||||
@cpu = T.let(T.unsafe(nil), String)
|
||||
@os = T.let(T.unsafe(nil), String)
|
||||
end
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :cpu
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :os
|
||||
end
|
||||
|
||||
class MINFO < Resource
|
||||
sig { params(rmailbx: String, emailbx: String).void }
|
||||
def initialize(rmailbx, emailbx)
|
||||
@rmailbx = T.let(T.unsafe(nil), String)
|
||||
@emailbx = T.let(T.unsafe(nil), String)
|
||||
end
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :rmailbx
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :emailbx
|
||||
end
|
||||
|
||||
class MX < Resource
|
||||
sig { params(preference: Integer, exchange: String).void }
|
||||
def initialize(preference, exchange)
|
||||
@preference = T.let(T.unsafe(nil), Integer)
|
||||
@exchange = T.let(T.unsafe(nil), String)
|
||||
end
|
||||
|
||||
sig { returns(Integer) }
|
||||
attr_reader :preference
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :exchange
|
||||
end
|
||||
|
||||
class TXT < Resource
|
||||
sig { params(first_string: String, rest_strings: String).void }
|
||||
def initialize(first_string, *rest_strings)
|
||||
@strings = T.let(T.unsafe(nil), T::Array[String])
|
||||
end
|
||||
|
||||
sig { returns(T::Array[String]) }
|
||||
attr_reader :strings
|
||||
|
||||
sig { returns(String) }
|
||||
def data; end
|
||||
end
|
||||
|
||||
class LOC < Resource
|
||||
sig do
|
||||
params(
|
||||
version: String,
|
||||
ssize: T.any(String, Resolv::LOC::Size),
|
||||
hprecision: T.any(String, Resolv::LOC::Size),
|
||||
vprecision: T.any(String, Resolv::LOC::Size),
|
||||
latitude: T.any(String, Resolv::LOC::Coord),
|
||||
longitude: T.any(String, Resolv::LOC::Coord),
|
||||
altitude: T.any(String, Resolv::LOC::Alt)
|
||||
).void
|
||||
end
|
||||
def initialize(version, ssize, hprecision, vprecision, latitude, longitude, altitude)
|
||||
@version = T.let(T.unsafe(nil), String)
|
||||
@ssize = T.let(T.unsafe(nil), Resolv::LOC::Size)
|
||||
@hprecision = T.let(T.unsafe(nil), Resolv::LOC::Size)
|
||||
@vprecision = T.let(T.unsafe(nil), Resolv::LOC::Size)
|
||||
@latitude = T.let(T.unsafe(nil), Resolv::LOC::Coord)
|
||||
@longitude = T.let(T.unsafe(nil), Resolv::LOC::Coord)
|
||||
@altitude = T.let(T.unsafe(nil), Resolv::LOC::Alt)
|
||||
end
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :version
|
||||
|
||||
sig { returns(Resolv::LOC::Size) }
|
||||
attr_reader :ssize
|
||||
|
||||
sig { returns(Resolv::LOC::Size) }
|
||||
attr_reader :hprecision
|
||||
|
||||
sig { returns(Resolv::LOC::Size) }
|
||||
attr_reader :vprecision
|
||||
|
||||
sig { returns(Resolv::LOC::Coord) }
|
||||
attr_reader :latitude
|
||||
|
||||
sig { returns(Resolv::LOC::Coord) }
|
||||
attr_reader :longitude
|
||||
|
||||
sig { returns(Resolv::LOC::Alt) }
|
||||
attr_reader :altitude
|
||||
end
|
||||
|
||||
class ANY < Query; end
|
||||
|
||||
module IN
|
||||
class A < Resource
|
||||
sig { params(address: String).void }
|
||||
def initialize(address)
|
||||
@address = T.let(T.unsafe(nil), Resolv::IPv4)
|
||||
end
|
||||
|
||||
sig { returns(Resolv::IPv4) }
|
||||
attr_reader :address
|
||||
end
|
||||
|
||||
class WKS < Resource
|
||||
sig { params(address: String, protocol: Integer, bitmap: String).void }
|
||||
def initialize(address, protocol, bitmap)
|
||||
@address = T.let(T.unsafe(nil), Resolv::IPv4)
|
||||
@protocol = T.let(T.unsafe(nil), Integer)
|
||||
@bitmap = T.let(T.unsafe(nil), String)
|
||||
end
|
||||
|
||||
sig { returns(Resolv::IPv4) }
|
||||
attr_reader :address
|
||||
|
||||
sig { returns(Integer) }
|
||||
attr_reader :protocol
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :bitmap
|
||||
end
|
||||
|
||||
class AAAA < Resource
|
||||
sig { params(address: String).void }
|
||||
def initialize(address)
|
||||
@address = T.let(T.unsafe(nil), Resolv::IPv6)
|
||||
end
|
||||
|
||||
sig { returns(Resolv::IPv6) }
|
||||
attr_reader :address
|
||||
end
|
||||
|
||||
class SRV < Resource
|
||||
# Create a SRV resource record.
|
||||
#
|
||||
# See the documentation for #priority, #weight, #port and #target
|
||||
# for +priority+, +weight+, +port and +target+ respectively.
|
||||
|
||||
sig do
|
||||
params(
|
||||
priority: T.any(Integer, String),
|
||||
weight: T.any(Integer, String),
|
||||
port: T.any(Integer, String),
|
||||
target: T.any(String, Resolv::DNS::Name)
|
||||
).void
|
||||
end
|
||||
def initialize(priority, weight, port, target)
|
||||
@priority = T.let(T.unsafe(nil), Integer)
|
||||
@weight = T.let(T.unsafe(nil), Integer)
|
||||
@port = T.let(T.unsafe(nil), Integer)
|
||||
@target = T.let(T.unsafe(nil), Resolv::DNS::Name)
|
||||
end
|
||||
|
||||
sig { returns(Integer) }
|
||||
attr_reader :priority
|
||||
|
||||
sig { returns(Integer) }
|
||||
attr_reader :weight
|
||||
|
||||
sig { returns(Integer) }
|
||||
attr_reader :port
|
||||
|
||||
sig { returns(Resolv::DNS::Name) }
|
||||
attr_reader :target
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class IPv4
|
||||
Regex256 = T.let(T.unsafe(nil), Regexp)
|
||||
Regex = T.let(T.unsafe(nil), Regexp)
|
||||
|
||||
sig { params(arg: T.any(String, Resolv::IPv4)).returns(Resolv::IPv4) }
|
||||
def self.create(arg); end
|
||||
|
||||
sig { params(address: String).void }
|
||||
def initialize(address)
|
||||
@address = T.let(T.unsafe(nil), String)
|
||||
end
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :address
|
||||
|
||||
sig { returns(DNS::Name) }
|
||||
def to_name; end
|
||||
end
|
||||
|
||||
class IPv6
|
||||
Regex_8Hex = T.let(T.unsafe(nil), Regexp)
|
||||
Regex_CompressedHex = T.let(T.unsafe(nil), Regexp)
|
||||
Regex_6Hex4Dec = T.let(T.unsafe(nil), Regexp)
|
||||
Regex_CompressedHex4Dec = T.let(T.unsafe(nil), Regexp)
|
||||
Regex = T.let(T.unsafe(nil), Regexp)
|
||||
|
||||
sig { params(arg: T.any(String, Resolv::IPv6)).returns(Resolv::IPv6) }
|
||||
def self.create(arg); end
|
||||
|
||||
sig { params(address: String).void }
|
||||
def initialize(address)
|
||||
@address = T.let(T.unsafe(nil), String)
|
||||
end
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :address
|
||||
|
||||
sig { returns(DNS::Name) }
|
||||
def to_name; end
|
||||
end
|
||||
|
||||
class MDNS < DNS
|
||||
Port = T.let(T.unsafe(nil), Integer)
|
||||
AddressV4 = T.let(T.unsafe(nil), String)
|
||||
AddressV6 = T.let(T.unsafe(nil), String)
|
||||
Addresses = T.let(T.unsafe(nil), [[String, Integer], [String, Integer]])
|
||||
|
||||
sig do
|
||||
params(
|
||||
config_info: T.any(
|
||||
NilClass,
|
||||
{ nameserver: T.any(String, T::Array[String]), search: T::Array[String], ndots: Integer },
|
||||
{ nameserver_port: T::Array[[String, Integer]], search: T::Array[String], ndots: Integer }
|
||||
)
|
||||
).void
|
||||
end
|
||||
def initialize(config_info = nil); end
|
||||
end
|
||||
|
||||
module LOC
|
||||
class Size
|
||||
Regex = T.let(T.unsafe(nil), Regexp)
|
||||
|
||||
sig { params(arg: T.any(String, Resolv::LOC::Size)).returns(Resolv::LOC::Size) }
|
||||
def self.create(arg); end
|
||||
|
||||
sig { params(scalar: String).void }
|
||||
def initialize(scalar)
|
||||
@scalar = T.let(T.unsafe(nil), String)
|
||||
end
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :scalar
|
||||
end
|
||||
|
||||
class Coord
|
||||
Regex = T.let(T.unsafe(nil), Regexp)
|
||||
|
||||
sig { params(arg: T.any(String, Resolv::LOC::Coord)).returns(Resolv::LOC::Coord) }
|
||||
def self.create(arg); end
|
||||
|
||||
sig { params(coordinates: String, orientation: T.enum(%w[lat lon])).void }
|
||||
def initialize(coordinates, orientation)
|
||||
@coordinates = T.let(T.unsafe(nil), String)
|
||||
@orientation = T.let(T.unsafe(nil), T.enum(%w[lat lon]))
|
||||
end
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :coordinates
|
||||
|
||||
sig { returns(T.enum(%w[lat lon])) }
|
||||
attr_reader :orientation
|
||||
end
|
||||
|
||||
class Alt
|
||||
Regex = T.let(T.unsafe(nil), Regexp)
|
||||
|
||||
sig { params(arg: T.any(String, Resolv::LOC::Alt)).returns(Resolv::LOC::Alt) }
|
||||
def self.create(arg); end
|
||||
|
||||
sig { params(altitude: String).void }
|
||||
def initialize(altitude)
|
||||
@altitude = T.let(T.unsafe(nil), String)
|
||||
end
|
||||
|
||||
sig { returns(String) }
|
||||
attr_reader :altitude
|
||||
end
|
||||
end
|
||||
|
||||
DefaultResolver = T.let(T.unsafe(nil), Resolv)
|
||||
AddressRegex = T.let(T.unsafe(nil), Regexp)
|
||||
end
|
@ -0,0 +1,221 @@
|
||||
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
||||
# srb rbi todo
|
||||
|
||||
# typed: strong
|
||||
module Chalk::Tools::RedactionUtils; end
|
||||
module Chalk::Tools::RedactionUtils::RedactionDirectiveSpec; end
|
||||
module CodeRay::Encoders::HTML::Numbering::DEFAULT_OPTIONS; end
|
||||
module CodeRay::Encoders::HTML::Numbering::Output::TABLE; end
|
||||
module CodeRay::Encoders::XML::REXML::Document; end
|
||||
module CodeRay::Encoders::XML::REXML::Text; end
|
||||
module CodeRay::Encoders::XML::REXML::Text; end
|
||||
module CodeRay::Encoders::XML::REXML::Text; end
|
||||
module CodeRay::Encoders::XML::REXML::Text; end
|
||||
module CodeRay::Encoders::XML::REXML::XMLDecl; end
|
||||
module Opus::Ownership; end
|
||||
module Opus::Sensitivity::Utils; end
|
||||
module Pry::Command::ClearScreen::Helpers::Platform; end
|
||||
module Pry::Command::Ri::RDoc::Markup::ToAnsi; end
|
||||
module Pry::Command::Ri::RDoc::RI; end
|
||||
module Pry::Command::Ri::RDoc::RI::Driver; end
|
||||
module Pry::Command::Ri::RDoc::RI::Driver::NotFoundError; end
|
||||
module Pry::Command::Ri::RDoc::RI::PryDriver; end
|
||||
module Pry::Config::Default::Readline; end
|
||||
module Pry::Editor::FFI::NotFoundError; end
|
||||
module Pry::Editor::Spoon; end
|
||||
module Pry::History::Readline::HISTORY; end
|
||||
module Pry::History::Readline::HISTORY; end
|
||||
module Pry::History::Readline::HISTORY; end
|
||||
module Pry::InputCompleter::IRB::Context; end
|
||||
module Pry::Pager::SimplePager::Readline; end
|
||||
module Pry::Pry::BasicObject; end
|
||||
module Pry::Pry::BasicObject; end
|
||||
module Pry::Pry::BasicObject; end
|
||||
module Pry::Pry::BasicObject; end
|
||||
module Pry::Pry::BasicObject; end
|
||||
module Pry::Pry::BlockCommand; end
|
||||
module Pry::Pry::CLI; end
|
||||
module Pry::Pry::CLI; end
|
||||
module Pry::Pry::CLI; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::ClassCommand; end
|
||||
module Pry::Pry::Code; end
|
||||
module Pry::Pry::Code; end
|
||||
module Pry::Pry::Code; end
|
||||
module Pry::Pry::Code; end
|
||||
module Pry::Pry::Code; end
|
||||
module Pry::Pry::Code; end
|
||||
module Pry::Pry::Code; end
|
||||
module Pry::Pry::Code; end
|
||||
module Pry::Pry::Code; end
|
||||
module Pry::Pry::Code; end
|
||||
module Pry::Pry::Code; end
|
||||
module Pry::Pry::Code; end
|
||||
module Pry::Pry::Code; end
|
||||
module Pry::Pry::CodeObject; end
|
||||
module Pry::Pry::CodeObject; end
|
||||
module Pry::Pry::CodeObject::Helpers; end
|
||||
module Pry::Pry::ColorPrinter; end
|
||||
module Pry::Pry::ColorPrinter; end
|
||||
module Pry::Pry::ColorPrinter; end
|
||||
module Pry::Pry::Command; end
|
||||
module Pry::Pry::Command; end
|
||||
module Pry::Pry::Command; end
|
||||
module Pry::Pry::Command; end
|
||||
module Pry::Pry::Command::ExitProgram; end
|
||||
module Pry::Pry::Command::GemInstall; end
|
||||
module Pry::Pry::Command::Help; end
|
||||
module Pry::Pry::Command::InstallCommand; end
|
||||
module Pry::Pry::Command::Ls::DEFAULT_OPTIONS; end
|
||||
module Pry::Pry::Command::Ls::Formatter; end
|
||||
module Pry::Pry::Command::Ls::Formatter; end
|
||||
module Pry::Pry::Command::Ls::Formatter; end
|
||||
module Pry::Pry::Command::Ls::Formatter; end
|
||||
module Pry::Pry::Command::Ls::Formatter; end
|
||||
module Pry::Pry::Command::Ls::Formatter; end
|
||||
module Pry::Pry::Command::Ls::Formatter; end
|
||||
module Pry::Pry::Command::Ls::Interrogatable; end
|
||||
module Pry::Pry::Command::Ls::Interrogatable; end
|
||||
module Pry::Pry::Command::Ls::Interrogatable; end
|
||||
module Pry::Pry::Command::Ls::Interrogatable; end
|
||||
module Pry::Pry::Command::Ls::MethodsHelper; end
|
||||
module Pry::Pry::Command::Ls::MethodsHelper; end
|
||||
module Pry::Pry::Command::Nesting; end
|
||||
module Pry::Pry::Command::RaiseUp; end
|
||||
module Pry::Pry::Command::Ri; end
|
||||
module Pry::Pry::Command::Whereami; end
|
||||
module Pry::Pry::Command::Wtf; end
|
||||
module Pry::Pry::CommandError; end
|
||||
module Pry::Pry::CommandError; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Commands; end
|
||||
module Pry::Pry::Config; end
|
||||
module Pry::Pry::Config; end
|
||||
module Pry::Pry::Config; end
|
||||
module Pry::Pry::Config; end
|
||||
module Pry::Pry::Config; end
|
||||
module Pry::Pry::Config; end
|
||||
module Pry::Pry::Config::Lazy; end
|
||||
module Pry::Pry::DEFAULT_CONTROL_D_HANDLER; end
|
||||
module Pry::Pry::DEFAULT_EXCEPTION_HANDLER; end
|
||||
module Pry::Pry::DEFAULT_EXCEPTION_WHITELIST; end
|
||||
module Pry::Pry::DEFAULT_HOOKS; end
|
||||
module Pry::Pry::DEFAULT_PRINT; end
|
||||
module Pry::Pry::DEFAULT_SYSTEM; end
|
||||
module Pry::Pry::Editor; end
|
||||
module Pry::Pry::Forwardable; end
|
||||
module Pry::Pry::Forwardable; end
|
||||
module Pry::Pry::Helpers; end
|
||||
module Pry::Pry::Helpers::BaseHelpers; end
|
||||
module Pry::Pry::Helpers::BaseHelpers; end
|
||||
module Pry::Pry::Helpers::BaseHelpers; end
|
||||
module Pry::Pry::Helpers::BaseHelpers; end
|
||||
module Pry::Pry::Helpers::BaseHelpers; end
|
||||
module Pry::Pry::Helpers::BaseHelpers; end
|
||||
module Pry::Pry::Helpers::BaseHelpers; end
|
||||
module Pry::Pry::Helpers::BaseHelpers; end
|
||||
module Pry::Pry::Helpers::BaseHelpers; end
|
||||
module Pry::Pry::Helpers::CommandHelpers; end
|
||||
module Pry::Pry::Helpers::CommandHelpers; end
|
||||
module Pry::Pry::Helpers::CommandHelpers; end
|
||||
module Pry::Pry::Helpers::CommandHelpers; end
|
||||
module Pry::Pry::Helpers::CommandHelpers; end
|
||||
module Pry::Pry::Helpers::CommandHelpers; end
|
||||
module Pry::Pry::Helpers::DocumentationHelpers; end
|
||||
module Pry::Pry::Helpers::Platform; end
|
||||
module Pry::Pry::Helpers::Text; end
|
||||
module Pry::Pry::Helpers::Text; end
|
||||
module Pry::Pry::Helpers::Text; end
|
||||
module Pry::Pry::Helpers::Text; end
|
||||
module Pry::Pry::Helpers::Text; end
|
||||
module Pry::Pry::Helpers::Text; end
|
||||
module Pry::Pry::Helpers::Text; end
|
||||
module Pry::Pry::Helpers::Text; end
|
||||
module Pry::Pry::Helpers::Text; end
|
||||
module Pry::Pry::Hooks; end
|
||||
module Pry::Pry::Indent; end
|
||||
module Pry::Pry::Indent; end
|
||||
module Pry::Pry::Indent::UnparseableNestingError; end
|
||||
module Pry::Pry::InputCompleter; end
|
||||
module Pry::Pry::InputLock; end
|
||||
module Pry::Pry::InputLock; end
|
||||
module Pry::Pry::InputLock; end
|
||||
module Pry::Pry::Method; end
|
||||
module Pry::Pry::Method; end
|
||||
module Pry::Pry::Method; end
|
||||
module Pry::Pry::Method; end
|
||||
module Pry::Pry::Method; end
|
||||
module Pry::Pry::Method; end
|
||||
module Pry::Pry::Method; end
|
||||
module Pry::Pry::Method; end
|
||||
module Pry::Pry::Method; end
|
||||
module Pry::Pry::Method; end
|
||||
module Pry::Pry::Method; end
|
||||
module Pry::Pry::Method; end
|
||||
module Pry::Pry::Method; end
|
||||
module Pry::Pry::Method::Patcher; end
|
||||
module Pry::Pry::Method::Patcher; end
|
||||
module Pry::Pry::Pager::StopPaging; end
|
||||
module Pry::Pry::Prompt; end
|
||||
module Pry::Pry::Prompt::DEFAULT_NAME; end
|
||||
module Pry::Pry::Prompt::SAFE_CONTEXTS; end
|
||||
module Pry::Pry::REPL; end
|
||||
module Pry::Pry::RescuableException; end
|
||||
module Pry::Pry::RescuableException; end
|
||||
module Pry::Pry::RescuableException; end
|
||||
module Pry::Pry::RescuableException; end
|
||||
module Pry::Pry::RescuableException; end
|
||||
module Pry::Pry::Slop; end
|
||||
module Pry::Pry::Slop; end
|
||||
module Pry::Pry::Slop; end
|
||||
module Pry::Pry::Slop::InvalidOptionError; end
|
||||
module Pry::Pry::Terminal; end
|
||||
module Pry::Pry::Terminal; end
|
||||
module Pry::Pry::Terminal; end
|
||||
module Pry::Pry::WrappedModule; end
|
||||
module Pry::Pry::WrappedModule; end
|
||||
module Pry::Pry::WrappedModule; end
|
||||
module Pry::Pry::WrappedModule; end
|
||||
module Pry::Pry::WrappedModule; end
|
||||
module Pry::Pry::WrappedModule; end
|
||||
module Pry::Pry::WrappedModule::Candidate; end
|
||||
module Pry::REPL::Coolline; end
|
||||
module Pry::REPL::Readline; end
|
||||
module Pry::REPL::Readline; end
|
||||
module Pry::REPL::Readline; end
|
||||
module Pry::REPL::Readline; end
|
Loading…
Reference in new issue