diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index f571d5187e444..8ed3f6bdccb5e 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -43,14 +43,15 @@ GEM mime-types (3.3.1) mime-types-data (~> 3.2015) mime-types-data (3.2020.1104) - mini_portile2 (2.4.0) + mini_portile2 (2.5.0) minitest (5.14.2) mustache (1.1.1) net-http-digest_auth (1.4.1) net-http-persistent (4.0.0) connection_pool (~> 2.2) - nokogiri (1.10.10) - mini_portile2 (~> 2.4.0) + nokogiri (1.11.0) + mini_portile2 (~> 2.5.0) + racc (~> 1.4) ntlm-http (0.1.1) parallel (1.20.1) parallel_tests (3.4.0) @@ -68,6 +69,7 @@ GEM pry (0.13.1) coderay (~> 1.1) method_source (~> 1.0) + racc (1.5.2) rack (2.2.3) rainbow (3.0.0) rdiscount (2.2.0.2) diff --git a/Library/Homebrew/sorbet/rbi/gems/mini_portile2@2.4.0.rbi b/Library/Homebrew/sorbet/rbi/gems/mini_portile2@2.4.0.rbi deleted file mode 100644 index 9e61b4dd3a5d8..0000000000000 --- a/Library/Homebrew/sorbet/rbi/gems/mini_portile2@2.4.0.rbi +++ /dev/null @@ -1,7 +0,0 @@ -# DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `mini_portile2` gem. -# Please instead update this file by running `tapioca generate --exclude json`. - -# typed: true - - diff --git a/Library/Homebrew/sorbet/rbi/gems/mini_portile2@2.5.0.rbi b/Library/Homebrew/sorbet/rbi/gems/mini_portile2@2.5.0.rbi new file mode 100644 index 0000000000000..2626cd9051e24 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/mini_portile2@2.5.0.rbi @@ -0,0 +1,8 @@ +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `mini_portile2` gem. +# Please instead update this file by running `tapioca sync`. + +# typed: true + +# THIS IS AN EMPTY RBI FILE. +# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires diff --git a/Library/Homebrew/sorbet/rbi/gems/nokogiri@1.10.10.rbi b/Library/Homebrew/sorbet/rbi/gems/nokogiri@1.11.0.rbi similarity index 87% rename from Library/Homebrew/sorbet/rbi/gems/nokogiri@1.10.10.rbi rename to Library/Homebrew/sorbet/rbi/gems/nokogiri@1.11.0.rbi index 08629be645458..1baacaab6add2 100644 --- a/Library/Homebrew/sorbet/rbi/gems/nokogiri@1.10.10.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/nokogiri@1.11.0.rbi @@ -1,6 +1,6 @@ # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `nokogiri` gem. -# Please instead update this file by running `tapioca generate --exclude json`. +# Please instead update this file by running `tapioca sync`. # typed: true @@ -14,7 +14,7 @@ module Nokogiri def jruby?; end def make(input = T.unsafe(nil), opts = T.unsafe(nil), &blk); end def parse(string, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end - def uses_libxml?; end + def uses_libxml?(requirement = T.unsafe(nil)); end end end @@ -34,9 +34,9 @@ class Nokogiri::CSS::Node def to_type; end def to_xpath(prefix = T.unsafe(nil), visitor = T.unsafe(nil)); end def type; end - def type=(_); end + def type=(_arg0); end def value; end - def value=(_); end + def value=(_arg0); end end Nokogiri::CSS::Node::ALLOW_COMBINATOR_ON_SELF = T.let(T.unsafe(nil), Array) @@ -111,16 +111,15 @@ class Nokogiri::CSS::Parser < ::Racc::Parser class << self def [](string); end def []=(string, value); end - def cache_on; end - def cache_on=(_); end def cache_on?; end - def clear_cache; end - def parse(selector); end - def set_cache(_); end + def clear_cache(create_new_object = T.unsafe(nil)); end + def set_cache(value); end def without_cache(&block); end end end +Nokogiri::CSS::Parser::CACHE_SWITCH_NAME = T.let(T.unsafe(nil), Symbol) + Nokogiri::CSS::Parser::Racc_arg = T.let(T.unsafe(nil), Array) Nokogiri::CSS::Parser::Racc_token_to_s_table = T.let(T.unsafe(nil), Array) @@ -140,7 +139,7 @@ class Nokogiri::CSS::Tokenizer def scan_setup(str); end def scan_str(str); end def state; end - def state=(_); end + def state=(_arg0); end end class Nokogiri::CSS::Tokenizer::ScanError < ::StandardError @@ -164,11 +163,28 @@ class Nokogiri::CSS::XPathVisitor private + def css_class(hay, needle); end + def css_class_builtin(hay, needle); end + def css_class_standard(hay, needle); end def is_of_type_pseudo_class?(node); end def nth(node, options = T.unsafe(nil)); end def read_a_and_positive_b(values); end end +class Nokogiri::CSS::XPathVisitorAlwaysUseBuiltins < ::Nokogiri::CSS::XPathVisitor + + private + + def css_class(hay, needle); end +end + +class Nokogiri::CSS::XPathVisitorOptimallyUseBuiltins < ::Nokogiri::CSS::XPathVisitor + + private + + def css_class(hay, needle); end +end + module Nokogiri::Decorators end @@ -186,10 +202,10 @@ class Nokogiri::EncodingHandler def name; end class << self - def [](_); end - def alias(_, _); end + def [](_arg0); end + def alias(_arg0, _arg1); end def clear_aliases!; end - def delete(_); end + def delete(_arg0); end end end @@ -223,10 +239,10 @@ class Nokogiri::HTML::Document < ::Nokogiri::XML::Document def set_metadata_element(element); end class << self - def new(*_); end + def new(*_arg0); end def parse(string_or_io, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end - def read_io(_, _, _, _); end - def read_memory(_, _, _, _); end + def read_io(_arg0, _arg1, _arg2, _arg3); end + def read_memory(_arg0, _arg1, _arg2, _arg3); end end end @@ -244,8 +260,6 @@ class Nokogiri::HTML::Document::EncodingReader class << self def detect_encoding(chunk); end - def detect_encoding_for_jruby_without_fix(chunk); end - def is_jruby_without_fix?; end end end @@ -293,7 +307,7 @@ class Nokogiri::HTML::ElementDescription def default_desc; end class << self - def [](_); end + def [](_arg0); end end end @@ -520,7 +534,7 @@ end class Nokogiri::HTML::EntityLookup def [](name); end - def get(_); end + def get(_arg0); end end Nokogiri::HTML::NamedCharacters = T.let(T.unsafe(nil), Nokogiri::HTML::EntityLookup) @@ -535,11 +549,11 @@ class Nokogiri::HTML::SAX::Parser < ::Nokogiri::XML::SAX::Parser end class Nokogiri::HTML::SAX::ParserContext < ::Nokogiri::XML::SAX::ParserContext - def parse_with(_); end + def parse_with(_arg0); end class << self - def file(_, _); end - def memory(_, _); end + def file(_arg0, _arg1); end + def memory(_arg0, _arg1); end def new(thing, encoding = T.unsafe(nil)); end end end @@ -549,31 +563,35 @@ class Nokogiri::HTML::SAX::PushParser < ::Nokogiri::XML::SAX::PushParser def <<(chunk, last_chunk = T.unsafe(nil)); end def document; end - def document=(_); end + def document=(_arg0); end def finish; end def write(chunk, last_chunk = T.unsafe(nil)); end private - def initialize_native(_, _, _); end - def native_write(_, _); end + def initialize_native(_arg0, _arg1, _arg2); end + def native_write(_arg0, _arg1); end end +Nokogiri::LIBXML2_PATCHES = T.let(T.unsafe(nil), Array) + +Nokogiri::LIBXML_COMPILED_VERSION = T.let(T.unsafe(nil), String) + Nokogiri::LIBXML_ICONV_ENABLED = T.let(T.unsafe(nil), TrueClass) -Nokogiri::LIBXML_PARSER_VERSION = T.let(T.unsafe(nil), String) +Nokogiri::LIBXML_LOADED_VERSION = T.let(T.unsafe(nil), String) -Nokogiri::LIBXML_VERSION = T.let(T.unsafe(nil), String) +Nokogiri::LIBXSLT_COMPILED_VERSION = T.let(T.unsafe(nil), String) -Nokogiri::NOKOGIRI_LIBXML2_PATCHES = T.let(T.unsafe(nil), Array) +Nokogiri::LIBXSLT_LOADED_VERSION = T.let(T.unsafe(nil), String) -Nokogiri::NOKOGIRI_LIBXML2_PATH = T.let(T.unsafe(nil), String) +Nokogiri::LIBXSLT_PATCHES = T.let(T.unsafe(nil), Array) -Nokogiri::NOKOGIRI_LIBXSLT_PATCHES = T.let(T.unsafe(nil), Array) +Nokogiri::OTHER_LIBRARY_VERSIONS = T.let(T.unsafe(nil), String) -Nokogiri::NOKOGIRI_LIBXSLT_PATH = T.let(T.unsafe(nil), String) +Nokogiri::PACKAGED_LIBRARIES = T.let(T.unsafe(nil), TrueClass) -Nokogiri::NOKOGIRI_USE_PACKAGED_LIBRARIES = T.let(T.unsafe(nil), TrueClass) +Nokogiri::PRECOMPILED_LIBRARIES = T.let(T.unsafe(nil), TrueClass) class Nokogiri::SyntaxError < ::StandardError end @@ -583,13 +601,20 @@ Nokogiri::VERSION = T.let(T.unsafe(nil), String) Nokogiri::VERSION_INFO = T.let(T.unsafe(nil), Hash) class Nokogiri::VersionInfo - def compiled_parser_version; end + include(::Singleton) + extend(::Singleton::SingletonClassMethods) + + def compiled_libxml_version; end + def compiled_libxslt_version; end def engine; end def jruby?; end def libxml2?; end + def libxml2_has_iconv?; end + def libxml2_precompiled?; end def libxml2_using_packaged?; end def libxml2_using_system?; end - def loaded_parser_version; end + def loaded_libxml_version; end + def loaded_libxslt_version; end def to_hash; end def to_markdown; end def warnings; end @@ -602,25 +627,25 @@ end module Nokogiri::XML class << self def Reader(string_or_io, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end - def RelaxNG(string_or_io); end - def Schema(string_or_io); end + def RelaxNG(string_or_io, options = T.unsafe(nil)); end + def Schema(string_or_io, options = T.unsafe(nil)); end def fragment(string); end def parse(thing, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil), &block); end end end class Nokogiri::XML::Attr < ::Nokogiri::XML::Node - def content=(_); end + def content=(_arg0); end def to_s; end def value; end - def value=(_); end + def value=(_arg0); end private def inspect_attributes; end class << self - def new(*_); end + def new(*_arg0); end end end @@ -637,16 +662,16 @@ class Nokogiri::XML::Builder def <<(string); end def [](ns); end def arity; end - def arity=(_); end + def arity=(_arg0); end def cdata(string); end def comment(string); end def context; end - def context=(_); end + def context=(_arg0); end def doc; end - def doc=(_); end + def doc=(_arg0); end def method_missing(method, *args, &block); end def parent; end - def parent=(_); end + def parent=(_arg0); end def text(string); end def to_xml(*args); end @@ -671,7 +696,7 @@ class Nokogiri::XML::CDATA < ::Nokogiri::XML::Text def name; end class << self - def new(*_); end + def new(*_arg0); end end end @@ -681,7 +706,7 @@ end class Nokogiri::XML::Comment < ::Nokogiri::XML::CharacterData class << self - def new(*_); end + def new(*_arg0); end end end @@ -696,7 +721,7 @@ class Nokogiri::XML::DTD < ::Nokogiri::XML::Node def keys; end def notations; end def system_id; end - def validate(_); end + def validate(_arg0); end end class Nokogiri::XML::Document < ::Nokogiri::XML::Node @@ -704,30 +729,29 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node def <<(node_or_tags); end def add_child(node_or_tags); end - def canonicalize(*_); end - def clone(*_); end + def canonicalize(*_arg0); end + def clone(*_arg0); end def collect_namespaces; end def create_cdata(string, &block); end def create_comment(string, &block); end def create_element(name, *args, &block); end - def create_entity(*_); end + def create_entity(*_arg0); end def create_text_node(string, &block); end def decorate(node); end def decorators(key); end def document; end - def dup(*_); end + def dup(*_arg0); end def encoding; end - def encoding=(_); end + def encoding=(_arg0); end def errors; end - def errors=(_); end + def errors=(_arg0); end def fragment(tags = T.unsafe(nil)); end def name; end def namespaces; end def remove_namespaces!; end def root; end - def root=(_); end + def root=(_arg0); end def slop!; end - def to_java; end def to_xml(*args, &block); end def url; end def validate; end @@ -739,11 +763,10 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node class << self def empty_doc?(string_or_io); end - def new(*_); end + def new(*_arg0); end def parse(string_or_io, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end - def read_io(_, _, _, _); end - def read_memory(_, _, _, _); end - def wrap(document); end + def read_io(_arg0, _arg1, _arg2, _arg3); end + def read_memory(_arg0, _arg1, _arg2, _arg3); end end end @@ -762,6 +785,7 @@ class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node def dup; end def errors; end def errors=(things); end + def fragment(data); end def name; end def search(*rules); end def serialize; end @@ -772,11 +796,10 @@ class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node private - def coerce(data); end def namespace_declarations(ctx); end class << self - def new(*_); end + def new(*_arg0); end def parse(tags); end end end @@ -851,7 +874,7 @@ class Nokogiri::XML::EntityReference < ::Nokogiri::XML::Node def inspect_attributes; end class << self - def new(*_); end + def new(*_arg0); end end end @@ -882,18 +905,18 @@ class Nokogiri::XML::Node def []=(name, value); end def accept(visitor); end def add_child(node_or_tags); end - def add_class(name); end - def add_namespace(_, _); end - def add_namespace_definition(_, _); end + def add_class(names); end + def add_namespace(_arg0, _arg1); end + def add_namespace_definition(_arg0, _arg1); end def add_next_sibling(node_or_tags); end def add_previous_sibling(node_or_tags); end def after(node_or_tags); end def ancestors(selector = T.unsafe(nil)); end - def append_class(name); end + def append_class(names); end def attr(name); end - def attribute(_); end + def attribute(_arg0); end def attribute_nodes; end - def attribute_with_ns(_, _); end + def attribute_with_ns(_arg0, _arg1); end def attributes; end def before(node_or_tags); end def blank?; end @@ -903,12 +926,12 @@ class Nokogiri::XML::Node def children; end def children=(node_or_tags); end def classes; end - def clone(*_); end + def clone(*_arg0); end def comment?; end def content; end def content=(string); end - def create_external_subset(_, _, _); end - def create_internal_subset(_, _, _); end + def create_external_subset(_arg0, _arg1, _arg2); end + def create_internal_subset(_arg0, _arg1, _arg2); end def css_path; end def decorate!; end def default_namespace=(url); end @@ -917,46 +940,51 @@ class Nokogiri::XML::Node def do_xinclude(options = T.unsafe(nil)); end def document; end def document?; end - def dup(*_); end + def dup(*_arg0); end def each; end def elem?; end def element?; end def element_children; end def elements; end - def encode_special_chars(_); end + def encode_special_chars(_arg0); end def external_subset; end def first_element_child; end def fragment(tags); end def fragment?; end def get_attribute(name); end - def has_attribute?(_); end + def has_attribute?(_arg0); end def html?; end def inner_html(*args); end def inner_html=(node_or_tags); end def inner_text; end def internal_subset; end - def key?(_); end + def key?(_arg0); end def keys; end + def kwattr_add(attribute_name, keywords); end + def kwattr_append(attribute_name, keywords); end + def kwattr_remove(attribute_name, keywords); end + def kwattr_values(attribute_name); end def lang; end - def lang=(_); end + def lang=(_arg0); end def last_element_child; end def line; end + def line=(_arg0); end def matches?(selector); end def name; end - def name=(_); end + def name=(_arg0); end def namespace; end def namespace=(ns); end def namespace_definitions; end def namespace_scopes; end - def namespaced_key?(_, _); end + def namespaced_key?(_arg0, _arg1); end def namespaces; end - def native_content=(_); end + def native_content=(_arg0); end def next; end def next=(node_or_tags); end def next_element; end def next_sibling; end def node_name; end - def node_name=(_); end + def node_name=(_arg0); end def node_type; end def parent; end def parent=(parent_node); end @@ -972,7 +1000,7 @@ class Nokogiri::XML::Node def read_only?; end def remove; end def remove_attribute(name); end - def remove_class(name = T.unsafe(nil)); end + def remove_class(names = T.unsafe(nil)); end def replace(node_or_tags); end def serialize(*args, &block); end def set_attribute(name, value); end @@ -987,6 +1015,7 @@ class Nokogiri::XML::Node def traverse(&block); end def type; end def unlink; end + def value?(value); end def values; end def wrap(html); end def write_html_to(io, options = T.unsafe(nil)); end @@ -995,29 +1024,33 @@ class Nokogiri::XML::Node def write_xml_to(io, options = T.unsafe(nil)); end def xml?; end + protected + + def coerce(data); end + private - def add_child_node(_); end + def add_child_node(_arg0); end def add_child_node_and_reparent_attrs(node); end - def add_next_sibling_node(_); end - def add_previous_sibling_node(_); end + def add_next_sibling_node(_arg0); end + def add_previous_sibling_node(_arg0); end def add_sibling(next_or_previous, node_or_tags); end - def coerce(data); end - def compare(_); end + def compare(_arg0); end def dump_html; end - def get(_); end - def in_context(_, _); end + def get(_arg0); end + def in_context(_arg0, _arg1); end def inspect_attributes; end - def native_write_to(_, _, _, _); end - def process_xincludes(_); end - def replace_node(_); end - def set(_, _); end - def set_namespace(_); end + def keywordify(keywords); end + def native_write_to(_arg0, _arg1, _arg2, _arg3); end + def process_xincludes(_arg0); end + def replace_node(_arg0); end + def set(_arg0, _arg1); end + def set_namespace(_arg0); end def to_format(save_option, options); end def write_format_to(save_option, io, options); end class << self - def new(*_); end + def new(*_arg0); end end end @@ -1119,13 +1152,13 @@ class Nokogiri::XML::NodeSet def initialize(document, list = T.unsafe(nil)); end def %(*args); end - def &(_); end - def +(_); end - def -(_); end - def <<(_); end + def &(_arg0); end + def +(_arg0); end + def -(_arg0); end + def <<(_arg0); end def ==(other); end def >(selector); end - def [](*_); end + def [](*_arg0); end def add_class(name); end def after(datum); end def append_class(name); end @@ -1136,15 +1169,15 @@ class Nokogiri::XML::NodeSet def children; end def clone; end def css(*args); end - def delete(_); end + def delete(_arg0); end def document; end - def document=(_); end + def document=(_arg0); end def dup; end def each; end def empty?; end def filter(expr); end def first(n = T.unsafe(nil)); end - def include?(_); end + def include?(_arg0); end def index(node = T.unsafe(nil)); end def inner_html(*args); end def inner_text; end @@ -1152,7 +1185,7 @@ class Nokogiri::XML::NodeSet def last; end def length; end def pop; end - def push(_); end + def push(_arg0); end def remove; end def remove_attr(name); end def remove_attribute(name); end @@ -1161,7 +1194,7 @@ class Nokogiri::XML::NodeSet def set(key, value = T.unsafe(nil), &block); end def shift; end def size; end - def slice(*_); end + def slice(*_arg0); end def text; end def to_a; end def to_ary; end @@ -1172,7 +1205,7 @@ class Nokogiri::XML::NodeSet def unlink; end def wrap(html); end def xpath(*args); end - def |(_); end + def |(_arg0); end end Nokogiri::XML::NodeSet::IMPLIED_XPATH_CONTEXTS = T.let(T.unsafe(nil), Array) @@ -1196,10 +1229,13 @@ end class Nokogiri::XML::ParseOptions def initialize(options = T.unsafe(nil)); end + def ==(other); end def compact; end def compact?; end def default_html; end def default_html?; end + def default_schema; end + def default_schema?; end def default_xml; end def default_xml?; end def dtdattr; end @@ -1219,6 +1255,7 @@ class Nokogiri::XML::ParseOptions def nocdata?; end def nocompact; end def nodefault_html; end + def nodefault_schema; end def nodefault_xml; end def nodict; end def nodict?; end @@ -1256,7 +1293,7 @@ class Nokogiri::XML::ParseOptions def old10; end def old10?; end def options; end - def options=(_); end + def options=(_arg0); end def pedantic; end def pedantic?; end def recover; end @@ -1274,6 +1311,8 @@ Nokogiri::XML::ParseOptions::COMPACT = T.let(T.unsafe(nil), Integer) Nokogiri::XML::ParseOptions::DEFAULT_HTML = T.let(T.unsafe(nil), Integer) +Nokogiri::XML::ParseOptions::DEFAULT_SCHEMA = T.let(T.unsafe(nil), Integer) + Nokogiri::XML::ParseOptions::DEFAULT_XML = T.let(T.unsafe(nil), Integer) Nokogiri::XML::ParseOptions::DTDATTR = T.let(T.unsafe(nil), Integer) @@ -1320,7 +1359,7 @@ class Nokogiri::XML::ProcessingInstruction < ::Nokogiri::XML::Node def initialize(document, name, content); end class << self - def new(*_); end + def new(*_arg0); end end end @@ -1329,8 +1368,8 @@ class Nokogiri::XML::Reader def initialize(source, url = T.unsafe(nil), encoding = T.unsafe(nil)); end - def attribute(_); end - def attribute_at(_); end + def attribute(_arg0); end + def attribute_at(_arg0); end def attribute_count; end def attribute_nodes; end def attributes; end @@ -1342,7 +1381,7 @@ class Nokogiri::XML::Reader def empty_element?; end def encoding; end def errors; end - def errors=(_); end + def errors=(_arg0); end def inner_xml; end def lang; end def local_name; end @@ -1365,8 +1404,8 @@ class Nokogiri::XML::Reader def attr_nodes; end class << self - def from_io(*_); end - def from_memory(*_); end + def from_io(*_arg0); end + def from_memory(*_arg0); end end end @@ -1410,11 +1449,11 @@ class Nokogiri::XML::RelaxNG < ::Nokogiri::XML::Schema private - def validate_document(_); end + def validate_document(_arg0); end class << self - def from_document(_); end - def read_memory(_); end + def from_document(*_arg0); end + def read_memory(*_arg0); end end end @@ -1441,9 +1480,9 @@ class Nokogiri::XML::SAX::Parser def initialize(doc = T.unsafe(nil), encoding = T.unsafe(nil)); end def document; end - def document=(_); end + def document=(_arg0); end def encoding; end - def encoding=(_); end + def encoding=(_arg0); end def parse(thing, &block); end def parse_file(filename); end def parse_io(io, encoding = T.unsafe(nil)); end @@ -1462,16 +1501,16 @@ Nokogiri::XML::SAX::Parser::ENCODINGS = T.let(T.unsafe(nil), Hash) class Nokogiri::XML::SAX::ParserContext def column; end def line; end - def parse_with(_); end + def parse_with(_arg0); end def recovery; end - def recovery=(_); end + def recovery=(_arg0); end def replace_entities; end - def replace_entities=(_); end + def replace_entities=(_arg0); end class << self - def file(_); end - def io(_, _); end - def memory(_); end + def file(_arg0); end + def io(_arg0, _arg1); end + def memory(_arg0); end def new(thing, encoding = T.unsafe(nil)); end end end @@ -1481,35 +1520,37 @@ class Nokogiri::XML::SAX::PushParser def <<(chunk, last_chunk = T.unsafe(nil)); end def document; end - def document=(_); end + def document=(_arg0); end def finish; end def options; end - def options=(_); end + def options=(_arg0); end def replace_entities; end - def replace_entities=(_); end + def replace_entities=(_arg0); end def write(chunk, last_chunk = T.unsafe(nil)); end private - def initialize_native(_, _); end - def native_write(_, _); end + def initialize_native(_arg0, _arg1); end + def native_write(_arg0, _arg1); end end class Nokogiri::XML::Schema def errors; end - def errors=(_); end + def errors=(_arg0); end + def parse_options; end + def parse_options=(_arg0); end def valid?(thing); end def validate(thing); end private - def validate_document(_); end - def validate_file(_); end + def validate_document(_arg0); end + def validate_file(_arg0); end class << self - def from_document(_); end - def new(string_or_io); end - def read_memory(_); end + def from_document(*_arg0); end + def new(string_or_io, options = T.unsafe(nil)); end + def read_memory(*_arg0); end end end @@ -1563,7 +1604,7 @@ class Nokogiri::XML::Text < ::Nokogiri::XML::CharacterData def content=(string); end class << self - def new(*_); end + def new(*_arg0); end end end @@ -1575,7 +1616,7 @@ Nokogiri::XML::XML_C14N_EXCLUSIVE_1_0 = T.let(T.unsafe(nil), Integer) class Nokogiri::XML::XPath def document; end - def document=(_); end + def document=(_arg0); end end class Nokogiri::XML::XPath::SyntaxError < ::Nokogiri::XML::SyntaxError @@ -1583,13 +1624,13 @@ class Nokogiri::XML::XPath::SyntaxError < ::Nokogiri::XML::SyntaxError end class Nokogiri::XML::XPathContext - def evaluate(*_); end + def evaluate(*_arg0); end def register_namespaces(namespaces); end - def register_ns(_, _); end - def register_variable(_, _); end + def register_ns(_arg0, _arg1); end + def register_variable(_arg0, _arg1); end class << self - def new(_); end + def new(_arg0); end end end @@ -1597,16 +1638,16 @@ module Nokogiri::XSLT class << self def parse(string, modules = T.unsafe(nil)); end def quote_params(params); end - def register(_, _); end + def register(_arg0, _arg1); end end end class Nokogiri::XSLT::Stylesheet def apply_to(document, params = T.unsafe(nil)); end - def serialize(_); end - def transform(*_); end + def serialize(_arg0); end + def transform(*_arg0); end class << self - def parse_stylesheet_doc(_); end + def parse_stylesheet_doc(_arg0); end end end diff --git a/Library/Homebrew/sorbet/rbi/gems/racc@1.5.2.rbi b/Library/Homebrew/sorbet/rbi/gems/racc@1.5.2.rbi new file mode 100644 index 0000000000000..0f9dfd942a6be --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/racc@1.5.2.rbi @@ -0,0 +1,57 @@ +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `racc` gem. +# Please instead update this file by running `tapioca sync`. + +# typed: true + +ParseError = Racc::ParseError + +Racc::Copyright = T.let(T.unsafe(nil), String) + +class Racc::Parser + def _racc_do_parse_rb(arg, in_debug); end + def _racc_do_reduce(arg, act); end + def _racc_evalact(act, arg); end + def _racc_init_sysvars; end + def _racc_setup; end + def _racc_yyparse_rb(recv, mid, arg, c_debug); end + def next_token; end + def on_error(t, val, vstack); end + def racc_accept; end + def racc_e_pop(state, tstack, vstack); end + def racc_next_state(curstate, state); end + def racc_print_stacks(t, v); end + def racc_print_states(s); end + def racc_read_token(t, tok, val); end + def racc_reduce(toks, sim, tstack, vstack); end + def racc_shift(tok, tstack, vstack); end + def racc_token2str(tok); end + def token_to_str(t); end + def yyaccept; end + def yyerrok; end + def yyerror; end + + class << self + def racc_runtime_type; end + end +end + +Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol) + +Racc::Parser::Racc_Runtime_Core_Id_C = T.let(T.unsafe(nil), String) + +Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String) + +Racc::Parser::Racc_Runtime_Core_Version_C = T.let(T.unsafe(nil), String) + +Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String) + +Racc::Parser::Racc_Runtime_Type = T.let(T.unsafe(nil), String) + +Racc::Parser::Racc_Runtime_Version = T.let(T.unsafe(nil), String) + +Racc::Parser::Racc_YY_Parse_Method = T.let(T.unsafe(nil), Symbol) + +Racc::VERSION = T.let(T.unsafe(nil), String) + +Racc::Version = T.let(T.unsafe(nil), String) diff --git a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi index 4871c20951db4..a3c06b9822b9a 100644 --- a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi +++ b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi @@ -13950,8 +13950,6 @@ end module Parlour end -ParseError = Racc::ParseError - class Parser::Ruby24 def _reduce_10(val, _values, result); end @@ -25536,21 +25534,6 @@ end class Racc::CparseParams end -class Racc::Parser - Racc_Main_Parsing_Routine = ::T.let(nil, ::T.untyped) - Racc_Runtime_Core_Id_C = ::T.let(nil, ::T.untyped) - Racc_Runtime_Core_Revision = ::T.let(nil, ::T.untyped) - Racc_Runtime_Core_Revision_C = ::T.let(nil, ::T.untyped) - Racc_Runtime_Core_Revision_R = ::T.let(nil, ::T.untyped) - Racc_Runtime_Core_Version = ::T.let(nil, ::T.untyped) - Racc_Runtime_Core_Version_C = ::T.let(nil, ::T.untyped) - Racc_Runtime_Core_Version_R = ::T.let(nil, ::T.untyped) - Racc_Runtime_Revision = ::T.let(nil, ::T.untyped) - Racc_Runtime_Type = ::T.let(nil, ::T.untyped) - Racc_Runtime_Version = ::T.let(nil, ::T.untyped) - Racc_YY_Parse_Method = ::T.let(nil, ::T.untyped) -end - module Rack CACHE_CONTROL = ::T.let(nil, ::T.untyped) CONTENT_LENGTH = ::T.let(nil, ::T.untyped) @@ -29788,6 +29771,12 @@ module Singleton def dup(); end end +module Singleton::SingletonClassMethods + def _load(str); end + + def clone(); end +end + module Singleton def self.__init__(klass); end end @@ -30877,6 +30866,10 @@ class User extend ::T::Private::Methods::SingletonMethodHooks end +module Utils::AST + extend ::T::Private::Methods::SingletonMethodHooks +end + module Utils::Analytics extend ::T::Private::Methods::SingletonMethodHooks end diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 0a837aeada6f0..023bbfb04f37c 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -37,9 +37,10 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/mime-types-3.3.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/net-http-digest_auth-1.4.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/net-http-persistent-4.0.0/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/mini_portile2-2.4.0/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/extensions/universal-darwin-20/2.6.0/nokogiri-1.10.10" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/nokogiri-1.10.10/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/mini_portile2-2.5.0/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/extensions/universal-darwin-20/2.6.0/racc-1.5.2" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/racc-1.5.2/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/nokogiri-1.11.0-x86_64-darwin/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ntlm-http-0.1.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/webrobots-0.1.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/mechanize-2.7.6/lib"