diff --git a/Library/Homebrew/sorbet/rbi/gems/addressable@2.7.0.rbi b/Library/Homebrew/sorbet/rbi/gems/addressable@2.7.0.rbi new file mode 100644 index 0000000000..3a4fed2729 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/addressable@2.7.0.rbi @@ -0,0 +1,290 @@ +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `addressable` gem. +# Please instead update this file by running `bin/tapioca sync`. + +# typed: true + +module Addressable +end + +module Addressable::IDNA + class << self + def to_ascii(input); end + def to_unicode(input); end + def unicode_normalize_kc(input); end + + private + + def lookup_unicode_combining_class(codepoint); end + def lookup_unicode_compatibility(codepoint); end + def lookup_unicode_composition(unpacked); end + def lookup_unicode_lowercase(codepoint); end + def punycode_adapt(delta, numpoints, firsttime); end + def punycode_basic?(codepoint); end + def punycode_decode(punycode); end + def punycode_decode_digit(codepoint); end + def punycode_delimiter?(codepoint); end + def punycode_encode(unicode); end + def punycode_encode_digit(d); end + def unicode_compose(unpacked); end + def unicode_compose_pair(ch_one, ch_two); end + def unicode_decompose(unpacked); end + def unicode_decompose_hangul(codepoint); end + def unicode_downcase(input); end + def unicode_sort_canonical(unpacked); end + end +end + +Addressable::IDNA::ACE_MAX_LENGTH = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::ACE_PREFIX = T.let(T.unsafe(nil), String) + +Addressable::IDNA::COMPOSITION_TABLE = T.let(T.unsafe(nil), Hash) + +Addressable::IDNA::HANGUL_LBASE = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::HANGUL_LCOUNT = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::HANGUL_NCOUNT = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::HANGUL_SBASE = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::HANGUL_SCOUNT = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::HANGUL_TBASE = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::HANGUL_TCOUNT = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::HANGUL_VBASE = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::HANGUL_VCOUNT = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::PUNYCODE_BASE = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::PUNYCODE_DAMP = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::PUNYCODE_DELIMITER = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::PUNYCODE_INITIAL_BIAS = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::PUNYCODE_INITIAL_N = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::PUNYCODE_MAXINT = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::PUNYCODE_PRINT_ASCII = T.let(T.unsafe(nil), String) + +Addressable::IDNA::PUNYCODE_SKEW = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::PUNYCODE_TMAX = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::PUNYCODE_TMIN = T.let(T.unsafe(nil), Integer) + +class Addressable::IDNA::PunycodeBadInput < ::StandardError +end + +class Addressable::IDNA::PunycodeBigOutput < ::StandardError +end + +class Addressable::IDNA::PunycodeOverflow < ::StandardError +end + +Addressable::IDNA::UNICODE_DATA = T.let(T.unsafe(nil), Hash) + +Addressable::IDNA::UNICODE_DATA_CANONICAL = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::UNICODE_DATA_COMBINING_CLASS = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::UNICODE_DATA_COMPATIBILITY = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::UNICODE_DATA_EXCLUSION = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::UNICODE_DATA_LOWERCASE = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::UNICODE_DATA_TITLECASE = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::UNICODE_DATA_UPPERCASE = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::UNICODE_MAX_LENGTH = T.let(T.unsafe(nil), Integer) + +Addressable::IDNA::UNICODE_TABLE = T.let(T.unsafe(nil), String) + +Addressable::IDNA::UTF8_REGEX = T.let(T.unsafe(nil), Regexp) + +Addressable::IDNA::UTF8_REGEX_MULTIBYTE = T.let(T.unsafe(nil), Regexp) + +class Addressable::URI + def initialize(options = T.unsafe(nil)); end + + def +(uri); end + def ==(uri); end + def ===(uri); end + def absolute?; end + def authority; end + def authority=(new_authority); end + def basename; end + def default_port; end + def defer_validation; end + def display_uri; end + def domain; end + def dup; end + def empty?; end + def eql?(uri); end + def extname; end + def fragment; end + def fragment=(new_fragment); end + def freeze; end + def hash; end + def host; end + def host=(new_host); end + def hostname; end + def hostname=(new_hostname); end + def inferred_port; end + def inspect; end + def ip_based?; end + def join(uri); end + def join!(uri); end + def merge(hash); end + def merge!(uri); end + def normalize; end + def normalize!; end + def normalized_authority; end + def normalized_fragment; end + def normalized_host; end + def normalized_password; end + def normalized_path; end + def normalized_port; end + def normalized_query(*flags); end + def normalized_scheme; end + def normalized_site; end + def normalized_user; end + def normalized_userinfo; end + def omit(*components); end + def omit!(*components); end + def origin; end + def origin=(new_origin); end + def password; end + def password=(new_password); end + def path; end + def path=(new_path); end + def port; end + def port=(new_port); end + def query; end + def query=(new_query); end + def query_values(return_type = T.unsafe(nil)); end + def query_values=(new_query_values); end + def relative?; end + def request_uri; end + def request_uri=(new_request_uri); end + def route_from(uri); end + def route_to(uri); end + def scheme; end + def scheme=(new_scheme); end + def site; end + def site=(new_site); end + def tld; end + def tld=(new_tld); end + def to_hash; end + def to_s; end + def to_str; end + def user; end + def user=(new_user); end + def userinfo; end + def userinfo=(new_userinfo); end + + protected + + def remove_composite_values; end + def replace_self(uri); end + def split_path(path); end + def validate; end + + class << self + def convert_path(path); end + def encode(uri, return_type = T.unsafe(nil)); end + def encode_component(component, character_class = T.unsafe(nil), upcase_encoded = T.unsafe(nil)); end + def escape(uri, return_type = T.unsafe(nil)); end + def form_encode(form_values, sort = T.unsafe(nil)); end + def form_unencode(encoded_value); end + def heuristic_parse(uri, hints = T.unsafe(nil)); end + def ip_based_schemes; end + def join(*uris); end + def normalize_component(component, character_class = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end + def normalize_path(path); end + def normalized_encode(uri, return_type = T.unsafe(nil)); end + def parse(uri); end + def port_mapping; end + def unencode(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end + def unencode_component(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end + def unescape(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end + def unescape_component(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end + end +end + +module Addressable::URI::CharacterClasses +end + +Addressable::URI::CharacterClasses::ALPHA = T.let(T.unsafe(nil), String) + +Addressable::URI::CharacterClasses::AUTHORITY = T.let(T.unsafe(nil), String) + +Addressable::URI::CharacterClasses::DIGIT = T.let(T.unsafe(nil), String) + +Addressable::URI::CharacterClasses::FRAGMENT = T.let(T.unsafe(nil), String) + +Addressable::URI::CharacterClasses::GEN_DELIMS = T.let(T.unsafe(nil), String) + +Addressable::URI::CharacterClasses::HOST = T.let(T.unsafe(nil), String) + +Addressable::URI::CharacterClasses::PATH = T.let(T.unsafe(nil), String) + +Addressable::URI::CharacterClasses::PCHAR = T.let(T.unsafe(nil), String) + +Addressable::URI::CharacterClasses::QUERY = T.let(T.unsafe(nil), String) + +Addressable::URI::CharacterClasses::RESERVED = T.let(T.unsafe(nil), String) + +Addressable::URI::CharacterClasses::SCHEME = T.let(T.unsafe(nil), String) + +Addressable::URI::CharacterClasses::SUB_DELIMS = T.let(T.unsafe(nil), String) + +Addressable::URI::CharacterClasses::UNRESERVED = T.let(T.unsafe(nil), String) + +Addressable::URI::EMPTY_STR = T.let(T.unsafe(nil), String) + +class Addressable::URI::InvalidURIError < ::StandardError +end + +Addressable::URI::NORMPATH = T.let(T.unsafe(nil), Regexp) + +Addressable::URI::PARENT = T.let(T.unsafe(nil), String) + +Addressable::URI::PORT_MAPPING = T.let(T.unsafe(nil), Hash) + +Addressable::URI::RULE_2A = T.let(T.unsafe(nil), Regexp) + +Addressable::URI::RULE_2B_2C = T.let(T.unsafe(nil), Regexp) + +Addressable::URI::RULE_2D = T.let(T.unsafe(nil), Regexp) + +Addressable::URI::RULE_PREFIXED_PARENT = T.let(T.unsafe(nil), Regexp) + +Addressable::URI::SELF_REF = T.let(T.unsafe(nil), String) + +Addressable::URI::SEQUENCE_ENCODING_TABLE = T.let(T.unsafe(nil), Hash) + +Addressable::URI::SEQUENCE_UPCASED_PERCENT_ENCODING_TABLE = T.let(T.unsafe(nil), Hash) + +Addressable::URI::SLASH = T.let(T.unsafe(nil), String) + +Addressable::URI::URIREGEX = T.let(T.unsafe(nil), Regexp) + +module Addressable::VERSION +end + +Addressable::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) + +Addressable::VERSION::MINOR = T.let(T.unsafe(nil), Integer) + +Addressable::VERSION::STRING = T.let(T.unsafe(nil), String) + +Addressable::VERSION::TINY = T.let(T.unsafe(nil), Integer) diff --git a/Library/Homebrew/sorbet/rbi/gems/mechanize@2.7.7.rbi b/Library/Homebrew/sorbet/rbi/gems/mechanize@2.8.0.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/mechanize@2.7.7.rbi rename to Library/Homebrew/sorbet/rbi/gems/mechanize@2.8.0.rbi index 843ad5f7cc..ae740567ed 100644 --- a/Library/Homebrew/sorbet/rbi/gems/mechanize@2.7.7.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/mechanize@2.8.0.rbi @@ -1,6 +1,6 @@ # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `mechanize` gem. -# Please instead update this file by running `tapioca sync`. +# Please instead update this file by running `bin/tapioca sync`. # typed: true @@ -293,6 +293,7 @@ class Mechanize::FileResponse def content_length; end def each; end def each_header; end + def file_path; end def get_fields(key); end def http_version; end def message; end @@ -699,6 +700,10 @@ class Mechanize::HTTP::Agent def webrobots; end end +Mechanize::HTTP::Agent::CREDENTIAL_HEADERS = T.let(T.unsafe(nil), Array) + +Mechanize::HTTP::Agent::POST_HEADERS = T.let(T.unsafe(nil), Array) + Mechanize::HTTP::Agent::RobotsKey = T.let(T.unsafe(nil), Symbol) class Mechanize::HTTP::AuthChallenge < ::Struct diff --git a/Library/Homebrew/sorbet/rbi/gems/mime-types-data@3.2021.0212.rbi b/Library/Homebrew/sorbet/rbi/gems/mime-types-data@3.2021.0225.rbi similarity index 96% rename from Library/Homebrew/sorbet/rbi/gems/mime-types-data@3.2021.0212.rbi rename to Library/Homebrew/sorbet/rbi/gems/mime-types-data@3.2021.0225.rbi index c40bda7674..fd45ab967b 100644 --- a/Library/Homebrew/sorbet/rbi/gems/mime-types-data@3.2021.0212.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/mime-types-data@3.2021.0225.rbi @@ -1,6 +1,6 @@ # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `mime-types-data` gem. -# Please instead update this file by running `tapioca sync`. +# Please instead update this file by running `bin/tapioca sync`. # typed: true diff --git a/Library/Homebrew/sorbet/rbi/gems/public_suffix@4.0.6.rbi b/Library/Homebrew/sorbet/rbi/gems/public_suffix@4.0.6.rbi new file mode 100644 index 0000000000..18b49dfcf1 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/public_suffix@4.0.6.rbi @@ -0,0 +1,152 @@ +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `public_suffix` gem. +# Please instead update this file by running `bin/tapioca sync`. + +# typed: true + +module PublicSuffix + class << self + def decompose(name, rule); end + def domain(name, **options); end + def normalize(name); end + def parse(name, list: T.unsafe(nil), default_rule: T.unsafe(nil), ignore_private: T.unsafe(nil)); end + def valid?(name, list: T.unsafe(nil), default_rule: T.unsafe(nil), ignore_private: T.unsafe(nil)); end + end +end + +PublicSuffix::BANG = T.let(T.unsafe(nil), String) + +PublicSuffix::DOT = T.let(T.unsafe(nil), String) + +class PublicSuffix::Domain + def initialize(*args); end + + def domain; end + def domain?; end + def name; end + def sld; end + def subdomain; end + def subdomain?; end + def tld; end + def to_a; end + def to_s; end + def trd; end + + class << self + def name_to_labels(name); end + end +end + +class PublicSuffix::DomainInvalid < ::PublicSuffix::Error +end + +class PublicSuffix::DomainNotAllowed < ::PublicSuffix::DomainInvalid +end + +class PublicSuffix::Error < ::StandardError +end + +class PublicSuffix::List + def initialize; end + + def <<(rule); end + def ==(other); end + def add(rule); end + def clear; end + def default_rule; end + def each(&block); end + def empty?; end + def eql?(other); end + def find(name, default: T.unsafe(nil), **options); end + def size; end + + protected + + def rules; end + + private + + def entry_to_rule(entry, value); end + def rule_to_entry(rule); end + def select(name, ignore_private: T.unsafe(nil)); end + + class << self + def default(**options); end + def default=(value); end + def parse(input, private_domains: T.unsafe(nil)); end + end +end + +PublicSuffix::List::DEFAULT_LIST_PATH = T.let(T.unsafe(nil), String) + +module PublicSuffix::Rule + class << self + def default; end + def factory(content, private: T.unsafe(nil)); end + end +end + +class PublicSuffix::Rule::Base + def initialize(value:, length: T.unsafe(nil), private: T.unsafe(nil)); end + + def ==(other); end + def decompose(*_arg0); end + def eql?(other); end + def length; end + def match?(name); end + def parts; end + def private; end + def value; end + + class << self + def build(content, private: T.unsafe(nil)); end + end +end + +class PublicSuffix::Rule::Entry < ::Struct + def length; end + def length=(_); end + def private; end + def private=(_); end + def type; end + def type=(_); end + + class << self + def [](*_arg0); end + def inspect; end + def members; end + def new(*_arg0); end + end +end + +class PublicSuffix::Rule::Exception < ::PublicSuffix::Rule::Base + def decompose(domain); end + def parts; end + def rule; end + + class << self + def build(content, private: T.unsafe(nil)); end + end +end + +class PublicSuffix::Rule::Normal < ::PublicSuffix::Rule::Base + def decompose(domain); end + def parts; end + def rule; end +end + +class PublicSuffix::Rule::Wildcard < ::PublicSuffix::Rule::Base + def initialize(value:, length: T.unsafe(nil), private: T.unsafe(nil)); end + + def decompose(domain); end + def parts; end + def rule; end + + class << self + def build(content, private: T.unsafe(nil)); end + end +end + +PublicSuffix::STAR = T.let(T.unsafe(nil), String) + +PublicSuffix::VERSION = T.let(T.unsafe(nil), String) diff --git a/Library/Homebrew/sorbet/rbi/gems/ntlm-http@0.1.1.rbi b/Library/Homebrew/sorbet/rbi/gems/rubyntlm@0.6.3.rbi similarity index 60% rename from Library/Homebrew/sorbet/rbi/gems/ntlm-http@0.1.1.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubyntlm@0.6.3.rbi index 8ad5317067..f0dbfb9b77 100644 --- a/Library/Homebrew/sorbet/rbi/gems/ntlm-http@0.1.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubyntlm@0.6.3.rbi @@ -1,15 +1,14 @@ # DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `ntlm-http` gem. -# Please instead update this file by running `tapioca generate --exclude json`. +# This is an autogenerated file for types exported from the `rubyntlm` gem. +# Please instead update this file by running `bin/tapioca sync`. # typed: true module Net::NTLM class << self def apply_des(plain, keys); end - def decode_utf16le(str); end - def encode_utf16le(str); end def gen_keys(str); end + def is_ntlm_hash?(data); end def lm_hash(password); end def lm_response(arg); end def lmv2_response(arg, opt = T.unsafe(nil)); end @@ -20,7 +19,6 @@ module Net::NTLM def ntlmv2_response(arg, opt = T.unsafe(nil)); end def pack_int64le(val); end def split7(str); end - def swap16(str); end end end @@ -29,6 +27,7 @@ class Net::NTLM::Blob < ::Net::NTLM::FieldSet def blob_signature=(val); end def challenge; end def challenge=(val); end + def parse(str, offset = T.unsafe(nil)); end def reserved; end def reserved=(val); end def target_info; end @@ -39,9 +38,91 @@ class Net::NTLM::Blob < ::Net::NTLM::FieldSet def unknown1=(val); end def unknown2; end def unknown2=(val); end +end + +class Net::NTLM::ChannelBinding + def initialize(outer_channel); end + + def acceptor_address_length; end + def acceptor_addrtype; end + def application_data; end + def channel; end + def channel_binding_token; end + def channel_hash; end + def gss_channel_bindings_struct; end + def initiator_address_length; end + def initiator_addtype; end + def unique_prefix; end class << self - def inherited(subclass); end + def create(outer_channel); end + end +end + +class Net::NTLM::Client + def initialize(username, password, opts = T.unsafe(nil)); end + + def domain; end + def flags; end + def init_context(resp = T.unsafe(nil), channel_binding = T.unsafe(nil)); end + def password; end + def session; end + def session_key; end + def username; end + def workstation; end + + private + + def type1_message; end +end + +class Net::NTLM::Client::Session + def initialize(client, challenge_message, channel_binding = T.unsafe(nil)); end + + def authenticate!; end + def challenge_message; end + def channel_binding; end + def client; end + def exported_session_key; end + def seal_message(message); end + def sign_message(message); end + def unseal_message(emessage); end + def verify_signature(signature, message); end + + private + + def blob; end + def calculate_user_session_key!; end + def client_challenge; end + def client_cipher; end + def client_seal_key; end + def client_sign_key; end + def domain; end + def lmv2_resp; end + def negotiate_key_exchange?; end + def nt_proof_str; end + def ntlmv2_hash; end + def ntlmv2_resp; end + def oem_or_unicode_str(str); end + def password; end + def raw_sequence; end + def sequence; end + def server_challenge; end + def server_cipher; end + def server_seal_key; end + def server_sign_key; end + def target_info; end + def timestamp; end + def use_oem_strings?; end + def user_session_key; end + def username; end + def workstation; end +end + +class Net::NTLM::EncodeUtil + class << self + def decode_utf16le(str); end + def encode_utf16le(str); end end end @@ -49,10 +130,12 @@ class Net::NTLM::Field def initialize(opts); end def active; end - def active=(_); end + def active=(_arg0); end + def parse(str, offset = T.unsafe(nil)); end + def serialize; end def size; end def value; end - def value=(_); end + def value=(_arg0); end end class Net::NTLM::FieldSet @@ -62,12 +145,12 @@ class Net::NTLM::FieldSet def []=(name, val); end def disable(name); end def enable(name); end + def has_disabled_fields?; end def parse(str, offset = T.unsafe(nil)); end def serialize; end def size; end class << self - def define(&block); end def int16LE(name, opts); end def int32LE(name, opts); end def int64LE(name, opts); end @@ -106,23 +189,27 @@ class Net::NTLM::Int64LE < ::Net::NTLM::Field def serialize; end end +class Net::NTLM::InvalidTargetDataError < ::Net::NTLM::NtlmError + def initialize(msg, data); end + + def data; end +end + class Net::NTLM::Message < ::Net::NTLM::FieldSet + def data_edge; end def data_size; end def decode64(str); end + def deflag; end def dump_flags; end def encode64; end def has_flag?(flag); end def head_size; end + def parse(str); end + def security_buffers; end def serialize; end def set_flag(flag); end def size; end - private - - def data_edge; end - def deflag; end - def security_buffers; end - class << self def decode64(str); end def parse(str); end @@ -134,10 +221,6 @@ class Net::NTLM::Message::Type0 < ::Net::NTLM::Message def sign=(val); end def type; end def type=(val); end - - class << self - def inherited(subclass); end - end end class Net::NTLM::Message::Type1 < ::Net::NTLM::Message @@ -145,20 +228,14 @@ class Net::NTLM::Message::Type1 < ::Net::NTLM::Message def domain=(val); end def flag; end def flag=(val); end - def padding; end - def padding=(val); end - def parse(str); end + def os_version; end + def os_version=(val); end def sign; end def sign=(val); end def type; end def type=(val); end def workstation; end def workstation=(val); end - - class << self - def inherited(subclass); end - def parse(str); end - end end class Net::NTLM::Message::Type2 < ::Net::NTLM::Message @@ -168,9 +245,8 @@ class Net::NTLM::Message::Type2 < ::Net::NTLM::Message def context=(val); end def flag; end def flag=(val); end - def padding; end - def padding=(val); end - def parse(str); end + def os_version; end + def os_version=(val); end def response(arg, opt = T.unsafe(nil)); end def sign; end def sign=(val); end @@ -180,14 +256,10 @@ class Net::NTLM::Message::Type2 < ::Net::NTLM::Message def target_name=(val); end def type; end def type=(val); end - - class << self - def inherited(subclass); end - def parse(str); end - end end class Net::NTLM::Message::Type3 < ::Net::NTLM::Message + def blank_password?(server_challenge); end def domain; end def domain=(val); end def flag; end @@ -196,6 +268,10 @@ class Net::NTLM::Message::Type3 < ::Net::NTLM::Message def lm_response=(val); end def ntlm_response; end def ntlm_response=(val); end + def ntlm_version; end + def os_version; end + def os_version=(val); end + def password?(password, server_challenge); end def session_key; end def session_key=(val); end def sign; end @@ -207,18 +283,21 @@ class Net::NTLM::Message::Type3 < ::Net::NTLM::Message def workstation; end def workstation=(val); end + private + + def ntlm2_session_password?(password, server_challenge); end + def ntlmv2_password?(password, server_challenge); end + class << self def create(arg, opt = T.unsafe(nil)); end - def inherited(subclass); end - def parse(str); end end end class Net::NTLM::SecurityBuffer < ::Net::NTLM::FieldSet - def initialize(opts); end + def initialize(opts = T.unsafe(nil)); end def active; end - def active=(_); end + def active=(_arg0); end def allocated; end def allocated=(val); end def data_size; end @@ -230,10 +309,6 @@ class Net::NTLM::SecurityBuffer < ::Net::NTLM::FieldSet def serialize; end def value; end def value=(val); end - - class << self - def inherited(subclass); end - end end class Net::NTLM::String < ::Net::NTLM::Field @@ -244,13 +319,14 @@ class Net::NTLM::String < ::Net::NTLM::Field def value=(val); end end -module Net::NTLM::VERSION +class Net::NTLM::TargetInfo + def initialize(av_pair_sequence); end + + def av_pairs; end + def to_s; end + + private + + def read_pairs(av_pair_sequence); end + def to_hex(str); end end - -Net::NTLM::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) - -Net::NTLM::VERSION::MINOR = T.let(T.unsafe(nil), Integer) - -Net::NTLM::VERSION::STRING = T.let(T.unsafe(nil), String) - -Net::NTLM::VERSION::TINY = T.let(T.unsafe(nil), Integer) diff --git a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi index 19a7bcc1f0..e195eb3242 100644 --- a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi +++ b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi @@ -2685,6 +2685,104 @@ module ActiveSupport def self.version(); end end +class Addressable::Template + def ==(template); end + + def eql?(template); end + + def expand(mapping, processor=T.unsafe(nil), normalize_values=T.unsafe(nil)); end + + def extract(uri, processor=T.unsafe(nil)); end + + def generate(params=T.unsafe(nil), recall=T.unsafe(nil), options=T.unsafe(nil)); end + + def initialize(pattern); end + + def keys(); end + + def match(uri, processor=T.unsafe(nil)); end + + def named_captures(); end + + def names(); end + + def partial_expand(mapping, processor=T.unsafe(nil), normalize_values=T.unsafe(nil)); end + + def pattern(); end + + def source(); end + + def to_regexp(); end + + def variable_defaults(); end + + def variables(); end + EXPRESSION = ::T.let(nil, ::T.untyped) + JOINERS = ::T.let(nil, ::T.untyped) + LEADERS = ::T.let(nil, ::T.untyped) + RESERVED = ::T.let(nil, ::T.untyped) + UNRESERVED = ::T.let(nil, ::T.untyped) + VARIABLE_LIST = ::T.let(nil, ::T.untyped) + VARNAME = ::T.let(nil, ::T.untyped) + VARSPEC = ::T.let(nil, ::T.untyped) +end + +class Addressable::Template::InvalidTemplateOperatorError +end + +class Addressable::Template::InvalidTemplateOperatorError +end + +class Addressable::Template::InvalidTemplateValueError +end + +class Addressable::Template::InvalidTemplateValueError +end + +class Addressable::Template::MatchData + def [](key, len=T.unsafe(nil)); end + + def captures(); end + + def initialize(uri, template, mapping); end + + def keys(); end + + def mapping(); end + + def names(); end + + def post_match(); end + + def pre_match(); end + + def string(); end + + def template(); end + + def to_a(); end + + def uri(); end + + def values(); end + + def values_at(*indexes); end + + def variables(); end +end + +class Addressable::Template::MatchData +end + +class Addressable::Template::TemplateOperatorAbortedError +end + +class Addressable::Template::TemplateOperatorAbortedError +end + +class Addressable::Template +end + class Addrinfo def connect_internal(local_addrinfo, timeout=T.unsafe(nil)); end end @@ -9630,12 +9728,6 @@ JSON::State = JSON::Ext::Generator::State JSON::UnparserError = JSON::GeneratorError -module Kconv - AUTO = ::T.let(nil, ::T.untyped) - NOCONV = ::T.let(nil, ::T.untyped) - UNKNOWN = ::T.let(nil, ::T.untyped) -end - class Keg::ConflictError extend ::T::Private::Methods::MethodHooks extend ::T::Private::Methods::SingletonMethodHooks @@ -12349,13 +12441,9 @@ end Net::HTTPFatalErrorCode = Net::HTTPClientError -class Net::HTTPInformation -end +Net::HTTPInformation::EXCEPTION_TYPE = Net::HTTPError -Net::HTTPInformationCode::EXCEPTION_TYPE = Net::HTTPError - -class Net::HTTPInformation -end +Net::HTTPInformationCode = Net::HTTPInformation class Net::HTTPLoopDetected HAS_BODY = ::T.let(nil, ::T.untyped) @@ -12419,13 +12507,9 @@ Net::HTTPServerErrorCode = Net::HTTPServerError Net::HTTPSession = Net::HTTP -class Net::HTTPSuccess -end +Net::HTTPSuccess::EXCEPTION_TYPE = Net::HTTPError -Net::HTTPSuccessCode::EXCEPTION_TYPE = Net::HTTPError - -class Net::HTTPSuccess -end +Net::HTTPSuccessCode = Net::HTTPSuccess class Net::HTTPURITooLong HAS_BODY = ::T.let(nil, ::T.untyped) @@ -29167,18 +29251,8 @@ class String def indent!(amount, indent_string=T.unsafe(nil), indent_empty_lines=T.unsafe(nil)); end - def iseuc(); end - - def isjis(); end - - def issjis(); end - - def isutf8(); end - def italic(); end - def kconv(to_enc, from_enc=T.unsafe(nil)); end - def light_black(); end def light_blue(); end @@ -29259,20 +29333,6 @@ class String def to_time(form=T.unsafe(nil)); end - def toeuc(); end - - def tojis(); end - - def tolocale(); end - - def tosjis(); end - - def toutf16(); end - - def toutf32(); end - - def toutf8(); end - def truncate(truncate_at, options=T.unsafe(nil)); end def truncate_bytes(truncate_at, omission: T.unsafe(nil)); end @@ -29673,6 +29733,21 @@ module URI def self.get_encoding(label); end end +module URL::BlockDSL::PageWithURL + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class URL::BlockDSL + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + +class URL::DSL + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks +end + class URL extend ::T::Private::Methods::MethodHooks extend ::T::Private::Methods::SingletonMethodHooks