Update RBI files for mini_portile2.
This commit is contained in:
parent
9b93b13615
commit
d891ade832
@ -1,11 +1,11 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `mini_portile2` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem mini_portile2`.
|
||||
|
||||
# typed: true
|
||||
|
||||
class MiniPortile
|
||||
def initialize(name, version); end
|
||||
def initialize(name, version, **kwargs); end
|
||||
|
||||
def activate; end
|
||||
def apply_patch(patch_file); end
|
||||
@ -20,12 +20,14 @@ class MiniPortile
|
||||
def extract; end
|
||||
def files; end
|
||||
def files=(_arg0); end
|
||||
def gcc_cmd; end
|
||||
def host; end
|
||||
def host=(_arg0); end
|
||||
def install; end
|
||||
def installed?; end
|
||||
def logger; end
|
||||
def logger=(_arg0); end
|
||||
def make_cmd; end
|
||||
def name; end
|
||||
def original_host; end
|
||||
def patch; end
|
||||
@ -53,9 +55,7 @@ class MiniPortile
|
||||
def execute(action, command, command_opts = T.unsafe(nil)); end
|
||||
def extract_file(file, target); end
|
||||
def files_hashs; end
|
||||
def gcc_cmd; end
|
||||
def log_file(action); end
|
||||
def make_cmd; end
|
||||
def message(text); end
|
||||
def newer?(target, checkpoint); end
|
||||
def output(text = T.unsafe(nil)); end
|
||||
@ -80,6 +80,9 @@ MiniPortile::TAR_EXECUTABLES = T.let(T.unsafe(nil), Array)
|
||||
MiniPortile::VERSION = T.let(T.unsafe(nil), String)
|
||||
|
||||
class MiniPortileCMake < ::MiniPortile
|
||||
def initialize(name, version, **kwargs); end
|
||||
|
||||
def cmake_cmd; end
|
||||
def configure; end
|
||||
def configure_defaults; end
|
||||
def configure_prefix; end
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `nokogiri` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem nokogiri`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module Nokogiri
|
||||
class << self
|
||||
def HTML(input, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
||||
@ -14,6 +14,7 @@ module Nokogiri
|
||||
def XSLT(stylesheet, modules = T.unsafe(nil)); end
|
||||
def install_default_aliases; end
|
||||
def jruby?; end
|
||||
def libxml2_patches; 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_gumbo?; end
|
||||
@ -35,7 +36,7 @@ class Nokogiri::CSS::Node
|
||||
def find_by_type(types); end
|
||||
def to_a; end
|
||||
def to_type; end
|
||||
def to_xpath(prefix = T.unsafe(nil), visitor = T.unsafe(nil)); end
|
||||
def to_xpath(prefix, visitor); end
|
||||
def type; end
|
||||
def type=(_arg0); end
|
||||
def value; end
|
||||
@ -104,12 +105,13 @@ class Nokogiri::CSS::Parser < ::Racc::Parser
|
||||
def _reduce_8(val, _values, result); end
|
||||
def _reduce_9(val, _values, result); end
|
||||
def _reduce_none(val, _values, result); end
|
||||
def cache_key(query, prefix, visitor); end
|
||||
def next_token; end
|
||||
def on_error(error_token_id, error_value, value_stack); end
|
||||
def parse(string); end
|
||||
def unescape_css_identifier(identifier); end
|
||||
def unescape_css_string(str); end
|
||||
def xpath_for(string, options = T.unsafe(nil)); end
|
||||
def xpath_for(string, prefix, visitor); end
|
||||
|
||||
class << self
|
||||
def [](string); end
|
||||
@ -144,7 +146,11 @@ end
|
||||
class Nokogiri::CSS::Tokenizer::ScanError < ::StandardError; end
|
||||
|
||||
class Nokogiri::CSS::XPathVisitor
|
||||
def initialize(builtins: T.unsafe(nil), doctype: T.unsafe(nil)); end
|
||||
|
||||
def accept(node); end
|
||||
def config; end
|
||||
def visit_attrib_name(node); end
|
||||
def visit_attribute_condition(node); end
|
||||
def visit_child_selector(node); end
|
||||
def visit_class_condition(node); end
|
||||
@ -162,25 +168,40 @@ 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
|
||||
module Nokogiri::CSS::XPathVisitor::BuiltinsConfig; end
|
||||
Nokogiri::CSS::XPathVisitor::BuiltinsConfig::ALWAYS = T.let(T.unsafe(nil), Symbol)
|
||||
Nokogiri::CSS::XPathVisitor::BuiltinsConfig::NEVER = T.let(T.unsafe(nil), Symbol)
|
||||
Nokogiri::CSS::XPathVisitor::BuiltinsConfig::OPTIMAL = T.let(T.unsafe(nil), Symbol)
|
||||
Nokogiri::CSS::XPathVisitor::BuiltinsConfig::VALUES = T.let(T.unsafe(nil), Array)
|
||||
module Nokogiri::CSS::XPathVisitor::DoctypeConfig; end
|
||||
Nokogiri::CSS::XPathVisitor::DoctypeConfig::HTML4 = T.let(T.unsafe(nil), Symbol)
|
||||
Nokogiri::CSS::XPathVisitor::DoctypeConfig::HTML5 = T.let(T.unsafe(nil), Symbol)
|
||||
Nokogiri::CSS::XPathVisitor::DoctypeConfig::VALUES = T.let(T.unsafe(nil), Array)
|
||||
Nokogiri::CSS::XPathVisitor::DoctypeConfig::XML = T.let(T.unsafe(nil), Symbol)
|
||||
Nokogiri::CSS::XPathVisitor::WILDCARD_NAMESPACES = T.let(T.unsafe(nil), TrueClass)
|
||||
|
||||
def css_class(hay, needle); end
|
||||
module Nokogiri::CSS::XPathVisitorAlwaysUseBuiltins
|
||||
class << self
|
||||
def new; end
|
||||
end
|
||||
end
|
||||
|
||||
class Nokogiri::CSS::XPathVisitorOptimallyUseBuiltins < ::Nokogiri::CSS::XPathVisitor
|
||||
private
|
||||
|
||||
def css_class(hay, needle); end
|
||||
module Nokogiri::CSS::XPathVisitorOptimallyUseBuiltins
|
||||
class << self
|
||||
def new; end
|
||||
end
|
||||
end
|
||||
|
||||
module Nokogiri::ClassResolver
|
||||
def related_class(class_name); end
|
||||
end
|
||||
|
||||
Nokogiri::ClassResolver::VALID_NAMESPACES = T.let(T.unsafe(nil), Set)
|
||||
module Nokogiri::Decorators; end
|
||||
|
||||
module Nokogiri::Decorators::Slop
|
||||
@ -218,7 +239,7 @@ Nokogiri::HTML = Nokogiri::HTML4
|
||||
|
||||
module Nokogiri::HTML4
|
||||
class << self
|
||||
def fragment(string, encoding = T.unsafe(nil)); end
|
||||
def fragment(string, encoding = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
||||
def parse(input, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
||||
end
|
||||
end
|
||||
@ -238,6 +259,7 @@ class Nokogiri::HTML4::Document < ::Nokogiri::XML::Document
|
||||
def title; end
|
||||
def title=(text); end
|
||||
def type; end
|
||||
def xpath_doctype; end
|
||||
|
||||
private
|
||||
|
||||
@ -284,10 +306,10 @@ class Nokogiri::HTML4::Document::EncodingReader::SAXHandler < ::Nokogiri::XML::S
|
||||
end
|
||||
|
||||
class Nokogiri::HTML4::DocumentFragment < ::Nokogiri::XML::DocumentFragment
|
||||
def initialize(document, tags = T.unsafe(nil), ctx = T.unsafe(nil)); end
|
||||
def initialize(document, tags = T.unsafe(nil), ctx = T.unsafe(nil), options = T.unsafe(nil)); end
|
||||
|
||||
class << self
|
||||
def parse(tags, encoding = T.unsafe(nil)); end
|
||||
def parse(tags, encoding = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
||||
end
|
||||
end
|
||||
|
||||
@ -485,6 +507,7 @@ end
|
||||
class Nokogiri::HTML5::Document < ::Nokogiri::HTML4::Document
|
||||
def fragment(tags = T.unsafe(nil)); end
|
||||
def to_xml(options = T.unsafe(nil), &block); end
|
||||
def xpath_doctype; end
|
||||
|
||||
class << self
|
||||
def do_parse(string_or_io, url, encoding, options); end
|
||||
@ -581,7 +604,7 @@ module Nokogiri::XML
|
||||
def Reader(string_or_io, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); 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 fragment(string, options = T.unsafe(nil), &block); end
|
||||
def parse(thing, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
||||
end
|
||||
end
|
||||
@ -609,6 +632,8 @@ class Nokogiri::XML::AttributeDecl < ::Nokogiri::XML::Node
|
||||
end
|
||||
|
||||
class Nokogiri::XML::Builder
|
||||
include ::Nokogiri::ClassResolver
|
||||
|
||||
def initialize(options = T.unsafe(nil), root = T.unsafe(nil), &block); end
|
||||
|
||||
def <<(string); end
|
||||
@ -712,6 +737,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node
|
||||
def url; end
|
||||
def validate; end
|
||||
def version; end
|
||||
def xpath_doctype; end
|
||||
|
||||
private
|
||||
|
||||
@ -732,7 +758,7 @@ Nokogiri::XML::Document::NCNAME_RE = T.let(T.unsafe(nil), Regexp)
|
||||
Nokogiri::XML::Document::NCNAME_START_CHAR = T.let(T.unsafe(nil), String)
|
||||
|
||||
class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node
|
||||
def initialize(document, tags = T.unsafe(nil), ctx = T.unsafe(nil)); end
|
||||
def initialize(document, tags = T.unsafe(nil), ctx = T.unsafe(nil), options = T.unsafe(nil)); end
|
||||
|
||||
def css(*args); end
|
||||
def dup; end
|
||||
@ -753,7 +779,7 @@ class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node
|
||||
|
||||
class << self
|
||||
def new(*_arg0); end
|
||||
def parse(tags); end
|
||||
def parse(tags, options = T.unsafe(nil), &block); end
|
||||
end
|
||||
end
|
||||
|
||||
@ -834,6 +860,7 @@ class Nokogiri::XML::Node
|
||||
include ::Nokogiri::HTML5::Node
|
||||
include ::Nokogiri::XML::PP::Node
|
||||
include ::Nokogiri::XML::Searchable
|
||||
include ::Nokogiri::ClassResolver
|
||||
include ::Enumerable
|
||||
|
||||
def initialize(name, document); end
|
||||
@ -841,7 +868,6 @@ class Nokogiri::XML::Node
|
||||
def <<(node_or_tags); end
|
||||
def <=>(other); end
|
||||
def ==(other); end
|
||||
def >(selector); end
|
||||
def [](name); end
|
||||
def []=(name, value); end
|
||||
def accept(visitor); end
|
||||
@ -1064,7 +1090,6 @@ class Nokogiri::XML::NodeSet
|
||||
def -(_arg0); end
|
||||
def <<(_arg0); end
|
||||
def ==(other); end
|
||||
def >(selector); end
|
||||
def [](*_arg0); end
|
||||
def add_class(name); end
|
||||
def after(datum); end
|
||||
@ -1133,6 +1158,8 @@ class Nokogiri::XML::ParseOptions
|
||||
def initialize(options = T.unsafe(nil)); end
|
||||
|
||||
def ==(other); end
|
||||
def big_lines; end
|
||||
def big_lines?; end
|
||||
def compact; end
|
||||
def compact?; end
|
||||
def default_html; end
|
||||
@ -1154,6 +1181,7 @@ class Nokogiri::XML::ParseOptions
|
||||
def inspect; end
|
||||
def nobasefix; end
|
||||
def nobasefix?; end
|
||||
def nobig_lines; end
|
||||
def noblanks; end
|
||||
def noblanks?; end
|
||||
def nocdata; end
|
||||
@ -1213,6 +1241,7 @@ class Nokogiri::XML::ParseOptions
|
||||
def xinclude?; end
|
||||
end
|
||||
|
||||
Nokogiri::XML::ParseOptions::BIG_LINES = T.let(T.unsafe(nil), Integer)
|
||||
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)
|
||||
@ -1416,6 +1445,7 @@ end
|
||||
module Nokogiri::XML::Searchable
|
||||
def %(*args); end
|
||||
def /(*args); end
|
||||
def >(selector); end
|
||||
def at(*args); end
|
||||
def at_css(*args); end
|
||||
def at_xpath(*args); end
|
||||
@ -1471,6 +1501,10 @@ Nokogiri::XML::XML_C14N_1_0 = T.let(T.unsafe(nil), Integer)
|
||||
Nokogiri::XML::XML_C14N_1_1 = T.let(T.unsafe(nil), Integer)
|
||||
Nokogiri::XML::XML_C14N_EXCLUSIVE_1_0 = T.let(T.unsafe(nil), Integer)
|
||||
module Nokogiri::XML::XPath; end
|
||||
Nokogiri::XML::XPath::CURRENT_SEARCH_PREFIX = T.let(T.unsafe(nil), String)
|
||||
Nokogiri::XML::XPath::GLOBAL_SEARCH_PREFIX = T.let(T.unsafe(nil), String)
|
||||
Nokogiri::XML::XPath::ROOT_SEARCH_PREFIX = T.let(T.unsafe(nil), String)
|
||||
Nokogiri::XML::XPath::SUBTREE_SEARCH_PREFIX = T.let(T.unsafe(nil), String)
|
||||
|
||||
class Nokogiri::XML::XPath::SyntaxError < ::Nokogiri::XML::SyntaxError
|
||||
def to_s; end
|
||||
Loading…
x
Reference in New Issue
Block a user