Update RBIs

This commit is contained in:
Bo Anderson 2021-09-10 21:21:17 +01:00
parent 14c2afe1d8
commit 85c32d2e76
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65
75 changed files with 22515 additions and 25970 deletions

File diff suppressed because it is too large Load Diff

View File

@ -73,6 +73,72 @@ 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::Template
def initialize(pattern); end
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 freeze; end
def inspect; 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
private
def join_values(operator, return_value); end
def normalize_keys(mapping); end
def normalize_value(value); end
def ordered_variable_defaults; end
def parse_new_template_pattern(pattern, processor = T.unsafe(nil)); end
def parse_template_pattern(pattern, processor = T.unsafe(nil)); end
def transform_capture(mapping, capture, processor = T.unsafe(nil), normalize_values = T.unsafe(nil)); end
def transform_partial_capture(mapping, capture, processor = T.unsafe(nil), normalize_values = T.unsafe(nil)); end
end
Addressable::Template::EXPRESSION = T.let(T.unsafe(nil), Regexp)
class Addressable::Template::InvalidTemplateOperatorError < ::StandardError; end
class Addressable::Template::InvalidTemplateValueError < ::StandardError; end
Addressable::Template::JOINERS = T.let(T.unsafe(nil), Hash)
Addressable::Template::LEADERS = T.let(T.unsafe(nil), Hash)
class Addressable::Template::MatchData
def initialize(uri, template, mapping); end
def [](key, len = T.unsafe(nil)); end
def captures; end
def inspect; 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 to_s; end
def uri; end
def values; end
def values_at(*indexes); end
def variables; end
end
Addressable::Template::RESERVED = T.let(T.unsafe(nil), String)
class Addressable::Template::TemplateOperatorAbortedError < ::StandardError; end
Addressable::Template::UNRESERVED = T.let(T.unsafe(nil), String)
Addressable::Template::VARIABLE_LIST = T.let(T.unsafe(nil), Regexp)
Addressable::Template::VARNAME = T.let(T.unsafe(nil), Regexp)
Addressable::Template::VARSPEC = T.let(T.unsafe(nil), Regexp)
class Addressable::URI
def initialize(options = T.unsafe(nil)); end

View File

@ -1,11 +1,10 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `ast` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module AST
end
module AST; end
class AST::Node
def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
@ -41,7 +40,7 @@ class AST::Node
end
class AST::Processor
include(::AST::Processor::Mixin)
include ::AST::Processor::Mixin
end
module AST::Processor::Mixin

View File

@ -4,5 +4,214 @@
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module Bootsnap
extend ::Bootsnap
def bundler?; end
class << self
def _instrument(event, path); end
def default_setup; end
def instrumentation=(callback); end
def iseq_cache_supported?; end
def log!; end
def logger; end
def logger=(logger); end
def setup(cache_dir:, development_mode: T.unsafe(nil), load_path_cache: T.unsafe(nil), autoload_paths_cache: T.unsafe(nil), disable_trace: T.unsafe(nil), compile_cache_iseq: T.unsafe(nil), compile_cache_yaml: T.unsafe(nil)); end
end
end
module Bootsnap::CompileCache
class << self
def permission_error(path); end
def setup(cache_dir:, iseq:, yaml:); end
def supported?; end
end
end
class Bootsnap::CompileCache::Error < ::StandardError; end
class Bootsnap::CompileCache::PermissionError < ::Bootsnap::CompileCache::Error; end
module Bootsnap::ExplicitRequire
class << self
def from_archdir(feature); end
def from_rubylibdir(feature); end
def from_self(feature); end
def with_gems(*gems); end
end
end
Bootsnap::ExplicitRequire::ARCHDIR = T.let(T.unsafe(nil), String)
Bootsnap::ExplicitRequire::DLEXT = T.let(T.unsafe(nil), String)
Bootsnap::ExplicitRequire::RUBYLIBDIR = T.let(T.unsafe(nil), String)
class Bootsnap::InvalidConfiguration < ::StandardError; end
module Bootsnap::LoadPathCache
class << self
def load_path_cache; end
def loaded_features_index; end
def realpath_cache; end
def setup(cache_path:, development_mode:); end
def supported?; end
end
end
Bootsnap::LoadPathCache::CACHED_EXTENSIONS = T.let(T.unsafe(nil), Array)
class Bootsnap::LoadPathCache::Cache
def initialize(store, path_obj, development_mode: T.unsafe(nil)); end
def absolute_path?(path); end
def find(feature); end
def load_dir(dir); end
def push_paths(sender, *paths); end
def reinitialize(path_obj = T.unsafe(nil)); end
def unshift_paths(sender, *paths); end
private
def dir_changed?; end
def expand_path(feature); end
def maybe_append_extension(f); end
def now; end
def push_paths_locked(*paths); end
def search_index(f); end
def stale?; end
def try_ext(f); end
def try_index(f); end
def unshift_paths_locked(*paths); end
end
Bootsnap::LoadPathCache::Cache::AGE_THRESHOLD = T.let(T.unsafe(nil), Integer)
Bootsnap::LoadPathCache::Cache::BUILTIN_FEATURES = T.let(T.unsafe(nil), Hash)
module Bootsnap::LoadPathCache::ChangeObserver
class << self
def register(observer, arr); end
end
end
module Bootsnap::LoadPathCache::ChangeObserver::ArrayMixin
def <<(entry); end
def []=(*args, &block); end
def append(*entries); end
def clear(*args, &block); end
def collect!(*args, &block); end
def compact!(*args, &block); end
def concat(entries); end
def delete(*args, &block); end
def delete_at(*args, &block); end
def delete_if(*args, &block); end
def fill(*args, &block); end
def flatten!(*args, &block); end
def insert(*args, &block); end
def keep_if(*args, &block); end
def map!(*args, &block); end
def pop(*args, &block); end
def prepend(*entries); end
def push(*entries); end
def reject!(*args, &block); end
def replace(*args, &block); end
def reverse!(*args, &block); end
def rotate!(*args, &block); end
def select!(*args, &block); end
def shift(*args, &block); end
def shuffle!(*args, &block); end
def slice!(*args, &block); end
def sort!(*args, &block); end
def sort_by!(*args, &block); end
def uniq!(*args); end
def unshift(*entries); end
end
Bootsnap::LoadPathCache::DLEXT = T.let(T.unsafe(nil), String)
Bootsnap::LoadPathCache::DL_EXTENSIONS = T.let(T.unsafe(nil), Array)
Bootsnap::LoadPathCache::DOT_RB = T.let(T.unsafe(nil), String)
Bootsnap::LoadPathCache::DOT_SO = T.let(T.unsafe(nil), String)
Bootsnap::LoadPathCache::ERROR_TAG_IVAR = T.let(T.unsafe(nil), Symbol)
class Bootsnap::LoadPathCache::FallbackScan < ::StandardError; end
class Bootsnap::LoadPathCache::LoadedFeaturesIndex
def initialize; end
def key?(feature); end
def purge(feature); end
def purge_multi(features); end
def register(short, long = T.unsafe(nil)); end
private
def extension_elidable?(f); end
def strip_extension_if_elidable(f); end
end
Bootsnap::LoadPathCache::LoadedFeaturesIndex::STRIP_EXTENSION = T.let(T.unsafe(nil), Regexp)
class Bootsnap::LoadPathCache::Path
def initialize(path); end
def entries_and_dirs(store); end
def expanded_path; end
def non_directory?; end
def path; end
def relative?; end
def stable?; end
def volatile?; end
private
def latest_mtime(path, dirs); end
def scan!; end
def stability; end
end
Bootsnap::LoadPathCache::Path::RUBY_LIBDIR = T.let(T.unsafe(nil), String)
Bootsnap::LoadPathCache::Path::RUBY_SITEDIR = T.let(T.unsafe(nil), String)
Bootsnap::LoadPathCache::Path::STABLE = T.let(T.unsafe(nil), Symbol)
Bootsnap::LoadPathCache::Path::VOLATILE = T.let(T.unsafe(nil), Symbol)
module Bootsnap::LoadPathCache::PathScanner
class << self
def call(path); end
def os_path(path); end
def walk(absolute_dir_path, relative_dir_path, &block); end
end
end
Bootsnap::LoadPathCache::PathScanner::ALTERNATIVE_NATIVE_EXTENSIONS_PATTERN = T.let(T.unsafe(nil), Regexp)
Bootsnap::LoadPathCache::PathScanner::BUNDLE_PATH = T.let(T.unsafe(nil), String)
Bootsnap::LoadPathCache::PathScanner::NORMALIZE_NATIVE_EXTENSIONS = T.let(T.unsafe(nil), TrueClass)
Bootsnap::LoadPathCache::PathScanner::REQUIRABLE_EXTENSIONS = T.let(T.unsafe(nil), Array)
class Bootsnap::LoadPathCache::RealpathCache
def initialize; end
def call(*key); end
private
def find_file(name); end
def realpath(caller_location, path); end
end
class Bootsnap::LoadPathCache::ReturnFalse < ::StandardError; end
Bootsnap::LoadPathCache::SLASH = T.let(T.unsafe(nil), String)
class Bootsnap::LoadPathCache::Store
def initialize(store_path); end
def fetch(key); end
def get(key); end
def set(key, value); end
def transaction; end
private
def commit_transaction; end
def dump_data; end
def load_data; end
end
class Bootsnap::LoadPathCache::Store::NestedTransactionError < ::StandardError; end
class Bootsnap::LoadPathCache::Store::SetOutsideTransactionNotAllowed < ::StandardError; end
Bootsnap::VERSION = T.let(T.unsafe(nil), String)

View File

@ -1,6 +1,6 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `byebug` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
@ -12,6 +12,8 @@ module Byebug
end
module Kernel
extend ::Forwardable
def byebug; end
def debugger; end
def remote_byebug(host = T.unsafe(nil), port = T.unsafe(nil)); end

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,10 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `colorize` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module Colorize
end
module Colorize; end
module Colorize::ClassMethods
def color_codes; end

View File

@ -4,5 +4,263 @@
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module Blank
class << self
def included(base); end
end
end
module Commander
private
def configure(*configuration_opts, &configuration_block); end
class << self
def configure(*configuration_opts, &configuration_block); end
end
end
class Commander::Command
def initialize(name); end
def action(*args, &block); end
def call(args = T.unsafe(nil)); end
def description; end
def description=(_arg0); end
def example(description, command); end
def examples; end
def examples=(_arg0); end
def global_options; end
def inspect; end
def name; end
def name=(_arg0); end
def option(*args, &block); end
def option_proc(switches); end
def options; end
def options=(_arg0); end
def parse_options_and_call_procs(*args); end
def proxy_option_struct; end
def proxy_options; end
def proxy_options=(_arg0); end
def run(*args); end
def summary; end
def summary=(_arg0); end
def syntax; end
def syntax=(_arg0); end
def when_called(*args, &block); end
end
class Commander::Command::Options
include ::Blank
def initialize; end
def __hash__; end
def default(defaults = T.unsafe(nil)); end
def inspect; end
def method_missing(meth, *args); end
end
module Commander::Delegates
def add_command(*args, &block); end
def alias_command(*args, &block); end
def always_trace!(*args, &block); end
def command(*args, &block); end
def default_command(*args, &block); end
def defined_commands(*args, &block); end
def global_option(*args, &block); end
def never_trace!(*args, &block); end
def program(*args, &block); end
def run!(*args, &block); end
end
module Commander::HelpFormatter
private
def indent(amount, text); end
class << self
def indent(amount, text); end
end
end
class Commander::HelpFormatter::Base
def initialize(runner); end
def render; end
def render_command(command); end
end
class Commander::HelpFormatter::Context
def initialize(target); end
def decorate_binding(_bind); end
def get_binding; end
end
class Commander::HelpFormatter::ProgramContext < ::Commander::HelpFormatter::Context
def decorate_binding(bind); end
def max_aliases_length(bind); end
def max_command_length(bind); end
def max_key_length(hash, default = T.unsafe(nil)); end
end
class Commander::HelpFormatter::Terminal < ::Commander::HelpFormatter::Base
def render; end
def render_command(command); end
def template(name); end
end
class Commander::HelpFormatter::TerminalCompact < ::Commander::HelpFormatter::Terminal
def template(name); end
end
module Commander::Methods
include ::Commander::UI
include ::Commander::UI::AskForClass
include ::Commander::Delegates
end
module Commander::Platform
class << self
def jruby?; end
end
end
class Commander::Runner
def initialize(args = T.unsafe(nil)); end
def active_command; end
def add_command(command); end
def alias?(name); end
def alias_command(alias_name, name, *args); end
def always_trace!; end
def args_without_command_name; end
def command(name, &block); end
def command_exists?(name); end
def command_name_from_args; end
def commands; end
def create_default_commands; end
def default_command(name); end
def expand_optionally_negative_switches(switches); end
def global_option(*args, &block); end
def global_option_proc(switches, &block); end
def help_formatter; end
def help_formatter_alias_defaults; end
def help_formatter_aliases; end
def never_trace!; end
def options; end
def parse_global_options; end
def program(key, *args, &block); end
def program_defaults; end
def remove_global_options(options, args); end
def require_program(*keys); end
def require_valid_command(command = T.unsafe(nil)); end
def run!; end
def run_active_command; end
def say(*args); end
def valid_command_names_from(*args); end
def version; end
private
def longest_valid_command_name_from(args); end
class << self
def instance; end
def separate_switches_from_description(*args); end
def switch_to_sym(switch); end
end
end
class Commander::Runner::CommandError < ::StandardError; end
class Commander::Runner::InvalidCommandError < ::Commander::Runner::CommandError; end
module Commander::UI
private
def applescript(script); end
def ask_editor(input = T.unsafe(nil), preferred_editor = T.unsafe(nil)); end
def available_editor(preferred = T.unsafe(nil)); end
def choose(message = T.unsafe(nil), *choices, &block); end
def color(*args); end
def converse(prompt, responses = T.unsafe(nil)); end
def enable_paging; end
def io(input = T.unsafe(nil), output = T.unsafe(nil), &block); end
def log(action, *args); end
def password(message = T.unsafe(nil), mask = T.unsafe(nil)); end
def progress(arr, options = T.unsafe(nil)); end
def replace_tokens(str, hash); end
def say_error(*args); end
def say_ok(*args); end
def say_warning(*args); end
def speak(message, voice = T.unsafe(nil), rate = T.unsafe(nil)); end
class << self
def applescript(script); end
def ask_editor(input = T.unsafe(nil), preferred_editor = T.unsafe(nil)); end
def available_editor(preferred = T.unsafe(nil)); end
def choose(message = T.unsafe(nil), *choices, &block); end
def color(*args); end
def converse(prompt, responses = T.unsafe(nil)); end
def enable_paging; end
def io(input = T.unsafe(nil), output = T.unsafe(nil), &block); end
def log(action, *args); end
def password(message = T.unsafe(nil), mask = T.unsafe(nil)); end
def progress(arr, options = T.unsafe(nil)); end
def replace_tokens(str, hash); end
def say_error(*args); end
def say_ok(*args); end
def say_warning(*args); end
def speak(message, voice = T.unsafe(nil), rate = T.unsafe(nil)); end
end
end
module Commander::UI::AskForClass
def ask_for_array(prompt); end
def ask_for_file(prompt); end
def ask_for_float(prompt); end
def ask_for_integer(prompt); end
def ask_for_pathname(prompt); end
def ask_for_regexp(prompt); end
def ask_for_string(prompt); end
def ask_for_symbol(prompt); end
def method_missing(method_name, *arguments, &block); end
private
def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end
end
Commander::UI::AskForClass::DEPRECATED_CONSTANTS = T.let(T.unsafe(nil), Array)
class Commander::UI::ProgressBar
def initialize(total, options = T.unsafe(nil)); end
def completed?; end
def erase_line; end
def finished?; end
def generate_tokens; end
def increment(tokens = T.unsafe(nil)); end
def percent_complete; end
def progress_bar; end
def show; end
def steps_remaining; end
def time_elapsed; end
def time_remaining; end
end
Commander::VERSION = T.let(T.unsafe(nil), String)
class Object < ::BasicObject
include ::ActiveSupport::ForkTracker::CoreExt
include ::ActiveSupport::ForkTracker::CoreExtPrivate
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
include ::Kernel
include ::JSON::Ext::Generator::GeneratorMethods::Object
include ::PP::ObjectMixin
include ::ActiveSupport::Tryable
include ::ActiveSupport::Dependencies::Loadable
def get_binding; end
end

View File

@ -22,12 +22,8 @@ class ConnectionPool
end
ConnectionPool::DEFAULTS = T.let(T.unsafe(nil), Hash)
class ConnectionPool::Error < ::RuntimeError
end
class ConnectionPool::PoolShuttingDownError < ::ConnectionPool::Error
end
class ConnectionPool::Error < ::RuntimeError; end
class ConnectionPool::PoolShuttingDownError < ::ConnectionPool::Error; end
class ConnectionPool::TimedStack
def initialize(size = T.unsafe(nil), &block); end
@ -50,9 +46,7 @@ class ConnectionPool::TimedStack
def try_create(options = T.unsafe(nil)); end
end
class ConnectionPool::TimeoutError < ::Timeout::Error
end
class ConnectionPool::TimeoutError < ::Timeout::Error; end
ConnectionPool::VERSION = T.let(T.unsafe(nil), String)
class ConnectionPool::Wrapper < ::BasicObject

View File

@ -1,7 +1,143 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `diff-lcs` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module Diff; end
module Diff::LCS
def diff(other, callbacks = T.unsafe(nil), &block); end
def lcs(other, &block); end
def patch(patchset); end
def patch!(patchset); end
def patch_me(patchset); end
def sdiff(other, callbacks = T.unsafe(nil), &block); end
def traverse_balanced(other, callbacks = T.unsafe(nil), &block); end
def traverse_sequences(other, callbacks = T.unsafe(nil), &block); end
def unpatch(patchset); end
def unpatch!(patchset); end
def unpatch_me(patchset); end
class << self
def LCS(seq1, seq2, &block); end
def callbacks_for(callbacks); end
def diff(seq1, seq2, callbacks = T.unsafe(nil), &block); end
def lcs(seq1, seq2, &block); end
def patch(src, patchset, direction = T.unsafe(nil)); end
def patch!(src, patchset); end
def sdiff(seq1, seq2, callbacks = T.unsafe(nil), &block); end
def traverse_balanced(seq1, seq2, callbacks = T.unsafe(nil)); end
def traverse_sequences(seq1, seq2, callbacks = T.unsafe(nil)); end
def unpatch!(src, patchset); end
private
def diff_traversal(method, seq1, seq2, callbacks, &block); end
end
end
Diff::LCS::BalancedCallbacks = Diff::LCS::DefaultCallbacks
class Diff::LCS::Change
include ::Comparable
def initialize(*args); end
def <=>(other); end
def ==(other); end
def action; end
def adding?; end
def changed?; end
def deleting?; end
def element; end
def finished_a?; end
def finished_b?; end
def inspect(*_args); end
def position; end
def to_a; end
def to_ary; end
def unchanged?; end
class << self
def from_a(arr); end
def valid_action?(action); end
end
end
Diff::LCS::Change::IntClass = Integer
Diff::LCS::Change::VALID_ACTIONS = T.let(T.unsafe(nil), Array)
class Diff::LCS::ContextChange < ::Diff::LCS::Change
def initialize(*args); end
def <=>(other); end
def ==(other); end
def new_element; end
def new_position; end
def old_element; end
def old_position; end
def to_a; end
def to_ary; end
class << self
def from_a(arr); end
def simplify(event); end
end
end
class Diff::LCS::ContextDiffCallbacks < ::Diff::LCS::DiffCallbacks
def change(event); end
def discard_a(event); end
def discard_b(event); end
end
class Diff::LCS::DefaultCallbacks
class << self
def change(event); end
def discard_a(event); end
def discard_b(event); end
def match(event); end
end
end
class Diff::LCS::DiffCallbacks
def initialize; end
def diffs; end
def discard_a(event); end
def discard_b(event); end
def finish; end
def match(_event); end
private
def finish_hunk; end
end
module Diff::LCS::Internals
class << self
def analyze_patchset(patchset, depth = T.unsafe(nil)); end
def intuit_diff_direction(src, patchset, limit = T.unsafe(nil)); end
def lcs(a, b); end
private
def inverse_vector(a, vector); end
def position_hash(enum, interval); end
def replace_next_larger(enum, value, last_index = T.unsafe(nil)); end
end
end
class Diff::LCS::SDiffCallbacks
def initialize; end
def change(event); end
def diffs; end
def discard_a(event); end
def discard_b(event); end
def match(event); end
end
Diff::LCS::SequenceCallbacks = Diff::LCS::DefaultCallbacks
Diff::LCS::VERSION = T.let(T.unsafe(nil), String)

View File

@ -4,5 +4,51 @@
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module Docile
extend ::Docile::Execution
private
def dsl_eval(dsl, *args, &block); end
def dsl_eval_immutable(dsl, *args, &block); end
def dsl_eval_with_block_return(dsl, *args, &block); end
class << self
def dsl_eval(dsl, *args, &block); end
def dsl_eval_immutable(dsl, *args, &block); end
def dsl_eval_with_block_return(dsl, *args, &block); end
end
end
module Docile::BacktraceFilter
def backtrace; end
def backtrace_locations; end
end
Docile::BacktraceFilter::FILTER_PATTERN = T.let(T.unsafe(nil), Regexp)
class Docile::ChainingFallbackContextProxy < ::Docile::FallbackContextProxy
def method_missing(method, *args, &block); end
end
module Docile::Execution
private
def exec_in_proxy_context(dsl, proxy_type, *args, &block); end
class << self
def exec_in_proxy_context(dsl, proxy_type, *args, &block); end
end
end
class Docile::FallbackContextProxy
def initialize(receiver, fallback); end
def instance_variables; end
def method_missing(method, *args, &block); end
end
Docile::FallbackContextProxy::NON_FALLBACK_METHODS = T.let(T.unsafe(nil), Set)
Docile::FallbackContextProxy::NON_PROXIED_INSTANCE_VARIABLES = T.let(T.unsafe(nil), Set)
Docile::FallbackContextProxy::NON_PROXIED_METHODS = T.let(T.unsafe(nil), Set)
Docile::VERSION = T.let(T.unsafe(nil), String)

View File

@ -1,6 +1,6 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `domain_name` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
@ -38,9 +38,7 @@ class DomainName
end
DomainName::DOT = T.let(T.unsafe(nil), String)
DomainName::ETLD_DATA = T.let(T.unsafe(nil), Hash)
DomainName::ETLD_DATA_DATE = T.let(T.unsafe(nil), String)
module DomainName::Punycode
@ -52,42 +50,22 @@ module DomainName::Punycode
end
end
class DomainName::Punycode::ArgumentError < ::ArgumentError
end
class DomainName::Punycode::ArgumentError < ::ArgumentError; end
DomainName::Punycode::BASE = T.let(T.unsafe(nil), Integer)
class DomainName::Punycode::BufferOverflowError < ::DomainName::Punycode::ArgumentError
end
class DomainName::Punycode::BufferOverflowError < ::DomainName::Punycode::ArgumentError; end
DomainName::Punycode::CUTOFF = T.let(T.unsafe(nil), Integer)
DomainName::Punycode::DAMP = T.let(T.unsafe(nil), Integer)
DomainName::Punycode::DECODE_DIGIT = T.let(T.unsafe(nil), Hash)
DomainName::Punycode::DELIMITER = T.let(T.unsafe(nil), String)
DomainName::Punycode::DOT = T.let(T.unsafe(nil), String)
DomainName::Punycode::ENCODE_DIGIT = T.let(T.unsafe(nil), Proc)
DomainName::Punycode::INITIAL_BIAS = T.let(T.unsafe(nil), Integer)
DomainName::Punycode::INITIAL_N = T.let(T.unsafe(nil), Integer)
DomainName::Punycode::LOBASE = T.let(T.unsafe(nil), Integer)
DomainName::Punycode::MAXINT = T.let(T.unsafe(nil), Integer)
DomainName::Punycode::PREFIX = T.let(T.unsafe(nil), String)
DomainName::Punycode::RE_NONBASIC = T.let(T.unsafe(nil), Regexp)
DomainName::Punycode::SKEW = T.let(T.unsafe(nil), Integer)
DomainName::Punycode::TMAX = T.let(T.unsafe(nil), Integer)
DomainName::Punycode::TMIN = T.let(T.unsafe(nil), Integer)
DomainName::VERSION = T.let(T.unsafe(nil), String)

View File

@ -4,5 +4,12 @@
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module EcmaReValidator
class << self
def valid?(input); end
end
end
EcmaReValidator::INVALID_REGEXP = T.let(T.unsafe(nil), Array)
EcmaReValidator::INVALID_TOKENS = T.let(T.unsafe(nil), Array)
EcmaReValidator::UNICODE_CHARACTERS = T.let(T.unsafe(nil), Array)

View File

@ -1,191 +1,106 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `elftools` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module ELFTools
end
module ELFTools; end
module ELFTools::Constants
include(::ELFTools::Constants::DF)
include(::ELFTools::Constants::DT)
include(::ELFTools::Constants::EM)
include(::ELFTools::Constants::ET)
include(::ELFTools::Constants::PF)
include(::ELFTools::Constants::PT)
include(::ELFTools::Constants::SHN)
include(::ELFTools::Constants::SHT)
include(::ELFTools::Constants::STB)
include(::ELFTools::Constants::STT)
end
module ELFTools::Constants::DF
include ::ELFTools::Constants::DF
include ::ELFTools::Constants::DT
include ::ELFTools::Constants::EM
include ::ELFTools::Constants::ET
include ::ELFTools::Constants::PF
include ::ELFTools::Constants::PT
include ::ELFTools::Constants::SHN
include ::ELFTools::Constants::SHT
include ::ELFTools::Constants::STB
include ::ELFTools::Constants::STT
end
module ELFTools::Constants::DF; end
ELFTools::Constants::DF::DF_1_CONFALT = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_DIRECT = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_DISPRELDNE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_DISPRELPND = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_EDITED = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_ENDFILTEE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_GLOBAL = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_GLOBAUDIT = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_GROUP = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_IGNMULDEF = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_INITFIRST = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_INTERPOSE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_LOADFLTR = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_NODEFLIB = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_NODELETE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_NODIRECT = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_NODUMP = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_NOHDR = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_NOKSYMS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_NOOPEN = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_NORELOC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_NOW = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_ORIGIN = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_SINGLETON = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_SYMINTPOSE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_1_TRANS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_BIND_NOW = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_ORIGIN = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_STATIC_TLS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_SYMBOLIC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DF::DF_TEXTREL = T.let(T.unsafe(nil), Integer)
module ELFTools::Constants::DT
end
module ELFTools::Constants::DT; end
ELFTools::Constants::DT::DT_ADDRRNGHI = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_ADDRRNGLO = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_BIND_NOW = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_DEBUG = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_ENCODING = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_FINI = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_FINI_ARRAY = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_FINI_ARRAYSZ = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_FLAGS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_FLAGS_1 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_GNU_HASH = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_HASH = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_HIOS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_HIPROC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_INIT = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_INIT_ARRAY = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_INIT_ARRAYSZ = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_JMPREL = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_LOOS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_LOPROC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_NEEDED = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_NULL = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_PLTGOT = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_PLTREL = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_PLTRELSZ = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_REL = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_RELA = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_RELACOUNT = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_RELAENT = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_RELASZ = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_RELCOUNT = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_RELENT = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_RELSZ = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_RPATH = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_RUNPATH = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_SONAME = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_STRSZ = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_STRTAB = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_SYMBOLIC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_SYMENT = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_SYMTAB = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_TEXTREL = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_VALRNGHI = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_VALRNGLO = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_VERDEF = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_VERDEFNUM = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_VERNEED = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_VERNEEDNUM = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::DT::DT_VERSYM = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::ELFMAG = T.let(T.unsafe(nil), String)
module ELFTools::Constants::EM
@ -195,85 +110,45 @@ module ELFTools::Constants::EM
end
ELFTools::Constants::EM::EM_386 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_486 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_68K = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_860 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_88K = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_AARCH64 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_ALPHA = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_ALTERA_NIOS2 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_ARM = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_AVR32 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_BLACKFIN = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_BPF = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_CRIS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_CYGNUS_M32R = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_CYGNUS_MN10300 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_FRV = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_H8_300 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_IA_64 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_M32 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_M32R = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_MICROBLAZE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_MIPS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_MIPS_RS3_LE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_MIPS_RS4_BE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_MN10300 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_NONE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_OPENRISC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_PARISC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_PPC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_PPC64 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_S390 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_S390_OLD = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_SH = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_SPARC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_SPARC32PLUS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_SPARCV9 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_SPU = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_TILEGX = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_TILEPRO = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_TI_C6000 = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::EM::EM_X86_64 = T.let(T.unsafe(nil), Integer)
module ELFTools::Constants::ET
@ -283,151 +158,75 @@ module ELFTools::Constants::ET
end
ELFTools::Constants::ET::ET_CORE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::ET::ET_DYN = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::ET::ET_EXEC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::ET::ET_NONE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::ET::ET_REL = T.let(T.unsafe(nil), Integer)
module ELFTools::Constants::PF
end
module ELFTools::Constants::PF; end
ELFTools::Constants::PF::PF_R = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PF::PF_W = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PF::PF_X = T.let(T.unsafe(nil), Integer)
module ELFTools::Constants::PT
end
module ELFTools::Constants::PT; end
ELFTools::Constants::PT::PT_DYNAMIC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PT::PT_GNU_EH_FRAME = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PT::PT_GNU_RELRO = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PT::PT_GNU_STACK = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PT::PT_HIOS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PT::PT_HIPROC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PT::PT_INTERP = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PT::PT_LOAD = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PT::PT_LOOS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PT::PT_LOPROC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PT::PT_NOTE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PT::PT_NULL = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PT::PT_PHDR = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PT::PT_SHLIB = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::PT::PT_TLS = T.let(T.unsafe(nil), Integer)
module ELFTools::Constants::SHN
end
module ELFTools::Constants::SHN; end
ELFTools::Constants::SHN::SHN_LORESERVE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHN::SHN_UNDEF = T.let(T.unsafe(nil), Integer)
module ELFTools::Constants::SHT
end
module ELFTools::Constants::SHT; end
ELFTools::Constants::SHT::SHT_DYNAMIC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_DYNSYM = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_HASH = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_HIPROC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_HIUSER = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_LOPROC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_LOUSER = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_NOBITS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_NOTE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_NULL = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_PROGBITS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_REL = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_RELA = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_SHLIB = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_STRTAB = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::SHT::SHT_SYMTAB = T.let(T.unsafe(nil), Integer)
module ELFTools::Constants::STB
end
module ELFTools::Constants::STB; end
ELFTools::Constants::STB::STB_GLOBAL = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STB::STB_GNU_UNIQUE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STB::STB_HIOS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STB::STB_HIPROC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STB::STB_LOCAL = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STB::STB_LOOS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STB::STB_LOPROC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STB::STB_NUM = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STB::STB_WEAK = T.let(T.unsafe(nil), Integer)
module ELFTools::Constants::STT
end
module ELFTools::Constants::STT; end
ELFTools::Constants::STT::STT_ARM_TFUNC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STT::STT_COMMON = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STT::STT_FILE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STT::STT_FUNC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STT::STT_GNU_IFUNC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STT::STT_HIOS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STT::STT_HIPROC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STT::STT_LOOS = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STT::STT_LOPROC = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STT::STT_NOTYPE = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STT::STT_NUM = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STT::STT_OBJECT = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STT::STT_SECTION = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STT::STT_SPARC_REGISTER = T.let(T.unsafe(nil), Integer)
ELFTools::Constants::STT::STT_TLS = T.let(T.unsafe(nil), Integer)
module ELFTools::Dynamic
@ -454,15 +253,9 @@ class ELFTools::Dynamic::Tag
end
ELFTools::Dynamic::Tag::TYPE_WITH_NAME = T.let(T.unsafe(nil), Array)
class ELFTools::ELFClassError < ::ELFTools::ELFError
end
class ELFTools::ELFDataError < ::ELFTools::ELFError
end
class ELFTools::ELFError < ::StandardError
end
class ELFTools::ELFClassError < ::ELFTools::ELFError; end
class ELFTools::ELFDataError < ::ELFTools::ELFError; end
class ELFTools::ELFError < ::StandardError; end
class ELFTools::ELFFile
def initialize(stream); end
@ -499,8 +292,7 @@ class ELFTools::ELFFile
def loaded_headers; end
end
class ELFTools::ELFMagicError < ::ELFTools::ELFError
end
class ELFTools::ELFMagicError < ::ELFTools::ELFError; end
class ELFTools::LazyArray
def initialize(size, &block); end
@ -546,17 +338,16 @@ class ELFTools::Relocation
def mask_bit; end
end
module ELFTools::Sections
end
module ELFTools::Sections; end
class ELFTools::Sections::DynamicSection < ::ELFTools::Sections::Section
include(::ELFTools::Dynamic)
include ::ELFTools::Dynamic
def tag_start; end
end
class ELFTools::Sections::NoteSection < ::ELFTools::Sections::Section
include(::ELFTools::Note)
include ::ELFTools::Note
def note_start; end
def note_total_size; end
@ -620,11 +411,10 @@ class ELFTools::Sections::Symbol
def stream; end
end
module ELFTools::Segments
end
module ELFTools::Segments; end
class ELFTools::Segments::DynamicSegment < ::ELFTools::Segments::Segment
include(::ELFTools::Dynamic)
include ::ELFTools::Dynamic
def tag_start; end
end
@ -647,7 +437,7 @@ class ELFTools::Segments::LoadSegment < ::ELFTools::Segments::Segment
end
class ELFTools::Segments::NoteSegment < ::ELFTools::Segments::Segment
include(::ELFTools::Note)
include ::ELFTools::Note
def note_start; end
def note_total_size; end
@ -669,8 +459,7 @@ class ELFTools::Segments::Segment
end
end
module ELFTools::Structs
end
module ELFTools::Structs; end
class ELFTools::Structs::ELF32_Phdr < ::ELFTools::Structs::ELFStruct
class << self
@ -702,9 +491,9 @@ end
class ELFTools::Structs::ELFStruct < ::BinData::Record
def elf_class; end
def elf_class=(_); end
def elf_class=(_arg0); end
def offset; end
def offset=(_); end
def offset=(_arg0); end
def patches; end
class << self
@ -764,7 +553,7 @@ end
ELFTools::Structs::ELF_sym = T.let(T.unsafe(nil), Hash)
module ELFTools::Util
extend(::ELFTools::Util::ClassMethods)
extend ::ELFTools::Util::ClassMethods
end
module ELFTools::Util::ClassMethods
@ -773,3 +562,5 @@ module ELFTools::Util::ClassMethods
def select_by_type(enum, type); end
def to_constant(mod, val); end
end
ELFTools::VERSION = T.let(T.unsafe(nil), String)

View File

@ -4,5 +4,63 @@
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module Hana; end
class Hana::Patch
def initialize(is); end
def apply(doc); end
private
def add(ins, doc); end
def add_op(dest, key, obj); end
def check_index(obj, key); end
def copy(ins, doc); end
def get_path(ins); end
def move(ins, doc); end
def remove(ins, doc); end
def replace(ins, doc); end
def rm_op(obj, key); end
def test(ins, doc); end
end
class Hana::Patch::Exception < ::StandardError; end
Hana::Patch::FROM = T.let(T.unsafe(nil), String)
class Hana::Patch::FailedTestException < ::Hana::Patch::Exception
def initialize(path, value); end
def path; end
def path=(_arg0); end
def value; end
def value=(_arg0); end
end
class Hana::Patch::IndexError < ::Hana::Patch::Exception; end
class Hana::Patch::InvalidObjectOperationException < ::Hana::Patch::Exception; end
class Hana::Patch::InvalidPath < ::Hana::Patch::Exception; end
class Hana::Patch::MissingTargetException < ::Hana::Patch::Exception; end
class Hana::Patch::ObjectOperationOnArrayException < ::Hana::Patch::Exception; end
class Hana::Patch::OutOfBoundsException < ::Hana::Patch::Exception; end
Hana::Patch::VALID = T.let(T.unsafe(nil), Hash)
Hana::Patch::VALUE = T.let(T.unsafe(nil), String)
class Hana::Pointer
include ::Enumerable
def initialize(path); end
def each(&block); end
def eval(object); end
class << self
def eval(list, object); end
def parse(path); end
end
end
Hana::Pointer::ESC = T.let(T.unsafe(nil), Hash)
class Hana::Pointer::Exception < ::StandardError; end
class Hana::Pointer::FormatError < ::Hana::Pointer::Exception; end
Hana::VERSION = T.let(T.unsafe(nil), String)

View File

@ -1,7 +1,851 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `highline` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
class HighLine
include ::HighLine::BuiltinStyles
include ::HighLine::CustomErrors
extend ::HighLine::BuiltinStyles::ClassMethods
extend ::SingleForwardable
def initialize(input = T.unsafe(nil), output = T.unsafe(nil), wrap_at = T.unsafe(nil), page_at = T.unsafe(nil), indent_size = T.unsafe(nil), indent_level = T.unsafe(nil)); end
def agree(yes_or_no_question, character = T.unsafe(nil)); end
def ask(template_or_question, answer_type = T.unsafe(nil), &details); end
def choose(*items, &details); end
def color(string, *colors); end
def color_code(*colors); end
def get_response_character_mode(question); end
def get_response_getc_mode(question); end
def get_response_line_mode(question); end
def indent(increase = T.unsafe(nil), statement = T.unsafe(nil), multiline = T.unsafe(nil)); end
def indent_level; end
def indent_level=(_arg0); end
def indent_size; end
def indent_size=(_arg0); end
def indentation; end
def input; end
def key; end
def key=(_arg0); end
def list(items, mode = T.unsafe(nil), option = T.unsafe(nil)); end
def multi_indent; end
def multi_indent=(_arg0); end
def new_scope; end
def newline; end
def output; end
def output_cols; end
def output_rows; end
def page_at; end
def page_at=(setting); end
def puts(*args); end
def render_statement(statement); end
def reset_use_color; end
def say(statement); end
def shell_style_lambda(menu); end
def terminal; end
def track_eof; end
def track_eof=(_arg0); end
def track_eof?; end
def uncolor(string); end
def use_color; end
def use_color=(_arg0); end
def use_color?; end
def wrap_at; end
def wrap_at=(setting); end
private
def actual_length(text); end
def confirm(question); end
def default_use_color; end
def erase_current_line; end
def get_line(question); end
def get_line_raw_no_echo_mode(question); end
def ignore_arrow_key; end
def last_answer(answers); end
def line_overflow_for_question?(line, question); end
def output_erase_char; end
def say_last_char_or_echo_char(line, question); end
def say_new_line_or_overwrite(question); end
def unique_answers(list); end
class << self
def String(s); end
def Style(*args); end
def agree(*args, &block); end
def ask(*args, &block); end
def choose(*args, &block); end
def color(*args, &block); end
def color_code(*args, &block); end
def color_scheme; end
def color_scheme=(_arg0); end
def colorize_strings; end
def default_instance; end
def default_instance=(_arg0); end
def find_or_create_style(arg); end
def find_or_create_style_list(*args); end
def reset; end
def reset_color_scheme; end
def reset_use_color(*args, &block); end
def say(*args, &block); end
def supports_rgb_color?; end
def track_eof=(*args, &block); end
def track_eof?(*args, &block); end
def uncolor(*args, &block); end
def use_color=(*args, &block); end
def use_color?(*args, &block); end
def using_color_scheme?; end
end
end
module HighLine::BuiltinStyles
mixes_in_class_methods ::HighLine::BuiltinStyles::ClassMethods
class << self
def included(base); end
end
end
HighLine::BuiltinStyles::BASIC_COLORS = T.let(T.unsafe(nil), Array)
HighLine::BuiltinStyles::BLACK = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BLACK_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::BLINK = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BLINK_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::BLUE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BLUE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::BOLD = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BOLD_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::BRIGHT_BLACK = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BRIGHT_BLACK_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::BRIGHT_BLUE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BRIGHT_BLUE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::BRIGHT_CYAN = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BRIGHT_CYAN_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::BRIGHT_GRAY = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BRIGHT_GRAY_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::BRIGHT_GREEN = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BRIGHT_GREEN_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::BRIGHT_GREY = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BRIGHT_GREY_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::BRIGHT_MAGENTA = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BRIGHT_MAGENTA_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::BRIGHT_NONE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BRIGHT_NONE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::BRIGHT_RED = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BRIGHT_RED_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::BRIGHT_WHITE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BRIGHT_WHITE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::BRIGHT_YELLOW = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::BRIGHT_YELLOW_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::CLEAR = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::CLEAR_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::COLORS = T.let(T.unsafe(nil), Array)
HighLine::BuiltinStyles::COLOR_LIST = T.let(T.unsafe(nil), Hash)
HighLine::BuiltinStyles::CONCEALED = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::CONCEALED_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::CYAN = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::CYAN_STYLE = T.let(T.unsafe(nil), HighLine::Style)
module HighLine::BuiltinStyles::ClassMethods
def const_missing(name); end
end
HighLine::BuiltinStyles::ClassMethods::RGB_COLOR_PATTERN = T.let(T.unsafe(nil), Regexp)
HighLine::BuiltinStyles::DARK = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::DARK_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ERASE_CHAR = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ERASE_CHAR_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ERASE_LINE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ERASE_LINE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::GRAY = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::GRAY_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::GREEN = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::GREEN_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::GREY = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::GREY_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::LIGHT_BLACK = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::LIGHT_BLACK_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::LIGHT_BLUE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::LIGHT_BLUE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::LIGHT_CYAN = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::LIGHT_CYAN_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::LIGHT_GRAY = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::LIGHT_GRAY_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::LIGHT_GREEN = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::LIGHT_GREEN_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::LIGHT_GREY = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::LIGHT_GREY_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::LIGHT_MAGENTA = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::LIGHT_MAGENTA_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::LIGHT_NONE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::LIGHT_NONE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::LIGHT_RED = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::LIGHT_RED_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::LIGHT_WHITE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::LIGHT_WHITE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::LIGHT_YELLOW = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::LIGHT_YELLOW_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::MAGENTA = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::MAGENTA_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::NONE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::NONE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_BLACK = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_BLACK_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_BLUE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_BLUE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_BRIGHT_BLACK = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_BRIGHT_BLACK_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_BRIGHT_BLUE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_BRIGHT_BLUE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_BRIGHT_CYAN = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_BRIGHT_CYAN_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_BRIGHT_GRAY = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_BRIGHT_GRAY_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_BRIGHT_GREEN = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_BRIGHT_GREEN_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_BRIGHT_GREY = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_BRIGHT_GREY_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_BRIGHT_MAGENTA = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_BRIGHT_MAGENTA_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_BRIGHT_NONE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_BRIGHT_NONE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_BRIGHT_RED = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_BRIGHT_RED_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_BRIGHT_WHITE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_BRIGHT_WHITE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_BRIGHT_YELLOW = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_BRIGHT_YELLOW_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_CYAN = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_CYAN_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_GRAY = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_GRAY_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_GREEN = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_GREEN_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_GREY = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_GREY_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_LIGHT_BLACK = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_LIGHT_BLACK_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_LIGHT_BLUE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_LIGHT_BLUE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_LIGHT_CYAN = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_LIGHT_CYAN_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_LIGHT_GRAY = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_LIGHT_GRAY_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_LIGHT_GREEN = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_LIGHT_GREEN_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_LIGHT_GREY = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_LIGHT_GREY_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_LIGHT_MAGENTA = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_LIGHT_MAGENTA_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_LIGHT_NONE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_LIGHT_NONE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_LIGHT_RED = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_LIGHT_RED_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_LIGHT_WHITE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_LIGHT_WHITE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_LIGHT_YELLOW = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_LIGHT_YELLOW_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_MAGENTA = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_MAGENTA_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_NONE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_NONE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_RED = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_RED_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_WHITE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_WHITE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::ON_YELLOW = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::ON_YELLOW_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::RED = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::RED_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::RESET = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::RESET_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::REVERSE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::REVERSE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::STYLES = T.let(T.unsafe(nil), Array)
HighLine::BuiltinStyles::STYLE_LIST = T.let(T.unsafe(nil), Hash)
HighLine::BuiltinStyles::UNDERLINE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::UNDERLINE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::UNDERSCORE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::UNDERSCORE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::WHITE = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::WHITE_STYLE = T.let(T.unsafe(nil), HighLine::Style)
HighLine::BuiltinStyles::YELLOW = T.let(T.unsafe(nil), String)
HighLine::BuiltinStyles::YELLOW_STYLE = T.let(T.unsafe(nil), HighLine::Style)
class HighLine::ColorScheme
def initialize(h = T.unsafe(nil)); end
def [](color_tag); end
def []=(color_tag, constants); end
def definition(color_tag); end
def include?(color_tag); end
def keys; end
def load_from_hash(h); end
def to_hash; end
private
def to_constant(v); end
def to_symbol(t); end
end
module HighLine::CustomErrors; end
class HighLine::CustomErrors::ExplainableError < ::StandardError
def explanation_key; end
end
class HighLine::CustomErrors::NoAutoCompleteMatch < ::HighLine::CustomErrors::ExplainableError
def explanation_key; end
end
class HighLine::CustomErrors::NoConfirmationQuestionError < ::HighLine::CustomErrors::ExplainableError
def explanation_key; end
end
class HighLine::CustomErrors::NotInRangeQuestionError < ::HighLine::CustomErrors::ExplainableError
def explanation_key; end
end
class HighLine::CustomErrors::NotValidQuestionError < ::HighLine::CustomErrors::ExplainableError
def explanation_key; end
end
class HighLine::CustomErrors::QuestionError < ::HighLine::CustomErrors::ExplainableError
def explanation_key; end
end
class HighLine::List
def initialize(items, options = T.unsafe(nil)); end
def col_down; end
def col_down_mode; end
def cols; end
def cols=(cols); end
def items; end
def list; end
def row_join_str_size; end
def row_join_string; end
def row_join_string=(_arg0); end
def slice_by_cols; end
def slice_by_rows; end
def to_a; end
def to_s; end
def transpose; end
def transpose_mode; end
private
def build; end
def items_sliced_by_cols; end
def items_sliced_by_rows; end
def row_count; end
def stringfy(row); end
end
class HighLine::ListRenderer
def initialize(items, mode = T.unsafe(nil), option = T.unsafe(nil), highline); end
def highline; end
def items; end
def mode; end
def option; end
def render; end
private
def actual_length(text); end
def actual_lengths_for(line); end
def col_count; end
def col_count_calculate; end
def get_col_widths(lines); end
def get_row_widths(lines); end
def get_segment_widths(lines); end
def inside_line_size_limit?(widths); end
def items_max_length; end
def line_size_limit; end
def list_columns_across_mode; end
def list_columns_down_mode; end
def list_default_mode; end
def list_inline_mode; end
def list_uneven_columns_down_mode; end
def list_uneven_columns_mode(list = T.unsafe(nil)); end
def max_length(items); end
def pad_char; end
def pad_uneven_rows(list, widths); end
def render_list_items(items); end
def right_pad_field(field, width); end
def right_pad_row(row, widths); end
def right_padded_items; end
def row_count; end
def row_join_str_size; end
def row_join_string; end
def row_join_string=(_arg0); end
def row_to_s(row); end
def stringfy_list(list); end
def transpose(lines); end
end
class HighLine::Menu < ::HighLine::Question
def initialize; end
def add_item(item); end
def all_items; end
def build_item(*args); end
def choice(name, help = T.unsafe(nil), text = T.unsafe(nil), &action); end
def choices(*names, &action); end
def decorate_index(index); end
def decorate_item(text, ix); end
def find_item_from_selection(items, selection); end
def flow; end
def flow=(_arg0); end
def gather_selected(highline_context, selections, details = T.unsafe(nil)); end
def get_item_by_letter(items, selection); end
def get_item_by_number(items, selection); end
def header; end
def header=(_arg0); end
def help(topic, help); end
def hidden(name, help = T.unsafe(nil), &action); end
def index; end
def index=(style); end
def index_color; end
def index_color=(_arg0); end
def index_suffix; end
def index_suffix=(_arg0); end
def init_help; end
def layout; end
def layout=(new_layout); end
def list_option; end
def list_option=(_arg0); end
def map_items_by_index; end
def map_items_by_name; end
def mark_for_decoration(text, ix); end
def nil_on_handled; end
def nil_on_handled=(_arg0); end
def options; end
def parse_list; end
def prompt; end
def prompt=(_arg0); end
def select(highline_context, selection, details = T.unsafe(nil)); end
def select_by; end
def select_by=(_arg0); end
def shell; end
def shell=(_arg0); end
def show_default_if_any; end
def to_ary; end
def to_s; end
def update_responses; end
def value_for_array_selections(items, selections, details); end
def value_for_hash_selections(items, selections, details); end
def value_for_selected_item(item, details); end
class << self
def index_color; end
def index_color=(_arg0); end
end
end
class HighLine::Menu::Item
def initialize(name, attributes); end
def action; end
def help; end
def item_help; end
def name; end
def text; end
end
class HighLine::Paginator
def initialize(highline); end
def continue_paging?; end
def highline; end
def page_print(text); end
end
class HighLine::Question
include ::HighLine::CustomErrors
def initialize(template, answer_type); end
def above; end
def above=(_arg0); end
def answer; end
def answer=(_arg0); end
def answer_or_default(answer_string); end
def answer_type; end
def answer_type=(_arg0); end
def ask_on_error_msg; end
def below; end
def below=(_arg0); end
def build_responses(message_source = T.unsafe(nil)); end
def build_responses_new_hash(message_source); end
def case; end
def case=(_arg0); end
def change_case(answer_string); end
def character; end
def character=(_arg0); end
def check_range; end
def choices_complete(answer_string); end
def completion; end
def completion=(_arg0); end
def confirm; end
def confirm=(_arg0); end
def confirm_question(highline); end
def convert; end
def default; end
def default=(_arg0); end
def default_responses_hash; end
def directory; end
def directory=(_arg0); end
def echo; end
def echo=(_arg0); end
def expected_range; end
def final_response(error); end
def final_responses; end
def first_answer; end
def first_answer=(_arg0); end
def first_answer?; end
def format_answer(answer_string); end
def gather; end
def gather=(_arg0); end
def get_echo_for_response(response); end
def get_response(highline); end
def get_response_or_default(highline); end
def glob; end
def glob=(_arg0); end
def in; end
def in=(_arg0); end
def in_range?; end
def limit; end
def limit=(_arg0); end
def overwrite; end
def overwrite=(_arg0); end
def readline; end
def readline=(_arg0); end
def remove_whitespace(answer_string); end
def responses; end
def selection; end
def show_question(highline); end
def template; end
def template=(_arg0); end
def to_s; end
def valid_answer?; end
def validate; end
def validate=(_arg0); end
def verify_match; end
def verify_match=(_arg0); end
def whitespace; end
def whitespace=(_arg0); end
private
def append_default; end
def choice_error_str(message_source); end
class << self
def build(template_or_question, answer_type = T.unsafe(nil), &details); end
end
end
class HighLine::Question::AnswerConverter
extend ::Forwardable
def initialize(question); end
def answer(*args, &block); end
def answer=(*args, &block); end
def answer_type(*args, &block); end
def check_range(*args, &block); end
def choices_complete(*args, &block); end
def convert; end
def directory(*args, &block); end
def to_array; end
def to_file; end
def to_float; end
def to_integer; end
def to_pathname; end
def to_proc; end
def to_regexp; end
def to_string; end
def to_symbol; end
private
def convert_by_answer_type; end
end
class HighLine::QuestionAsker
include ::HighLine::CustomErrors
def initialize(question, highline); end
def ask_once; end
def gather_answers; end
def gather_hash; end
def gather_integer; end
def gather_regexp; end
def question; end
private
def answer_matches_regex(answer); end
def explain_error(explanation_key); end
def gather_answers_based_on_type; end
def gather_with_array; end
end
class HighLine::SampleColorScheme < ::HighLine::ColorScheme
def initialize(_h = T.unsafe(nil)); end
end
HighLine::SampleColorScheme::SAMPLE_SCHEME = T.let(T.unsafe(nil), Hash)
class HighLine::Statement
def initialize(source, highline); end
def highline; end
def source; end
def statement; end
def template_string; end
def to_s; end
private
def format_statement; end
def render_template; end
def stringfy(template_string); end
def template; end
class << self
def const_missing(constant); end
end
end
class HighLine::String < ::String
include ::HighLine::StringExtensions
def black; end
def blink; end
def blue; end
def bold; end
def bright_black; end
def bright_blue; end
def bright_cyan; end
def bright_gray; end
def bright_green; end
def bright_grey; end
def bright_magenta; end
def bright_none; end
def bright_red; end
def bright_white; end
def bright_yellow; end
def clear; end
def color(*args); end
def concealed; end
def cyan; end
def dark; end
def foreground(*args); end
def gray; end
def green; end
def grey; end
def light_black; end
def light_blue; end
def light_cyan; end
def light_gray; end
def light_green; end
def light_grey; end
def light_magenta; end
def light_none; end
def light_red; end
def light_white; end
def light_yellow; end
def magenta; end
def method_missing(method, *_args); end
def none; end
def on(arg); end
def on_black; end
def on_blue; end
def on_bright_black; end
def on_bright_blue; end
def on_bright_cyan; end
def on_bright_gray; end
def on_bright_green; end
def on_bright_grey; end
def on_bright_magenta; end
def on_bright_none; end
def on_bright_red; end
def on_bright_white; end
def on_bright_yellow; end
def on_cyan; end
def on_gray; end
def on_green; end
def on_grey; end
def on_light_black; end
def on_light_blue; end
def on_light_cyan; end
def on_light_gray; end
def on_light_green; end
def on_light_grey; end
def on_light_magenta; end
def on_light_none; end
def on_light_red; end
def on_light_white; end
def on_light_yellow; end
def on_magenta; end
def on_none; end
def on_red; end
def on_rgb(*colors); end
def on_white; end
def on_yellow; end
def red; end
def reset; end
def reverse; end
def rgb(*colors); end
def uncolor; end
def underline; end
def underscore; end
def white; end
def yellow; end
private
def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end
def setup_color_code(*colors); end
end
module HighLine::StringExtensions
class << self
def define_builtin_style_methods(base); end
def define_style_support_methods(base); end
def included(base); end
end
end
HighLine::StringExtensions::STYLE_METHOD_NAME_PATTERN = T.let(T.unsafe(nil), Regexp)
class HighLine::Style
def initialize(defn = T.unsafe(nil)); end
def blue; end
def bright; end
def builtin; end
def builtin=(_arg0); end
def code; end
def color(string); end
def dup; end
def green; end
def light; end
def list; end
def name; end
def on; end
def red; end
def rgb; end
def rgb=(_arg0); end
def to_hash; end
def variant(new_name, options = T.unsafe(nil)); end
private
def create_bright_variant(variant_name); end
def find_style(name); end
class << self
def ansi_rgb_to_hex(ansi_number); end
def clear_index; end
def code_index; end
def index(style); end
def list; end
def rgb(*colors); end
def rgb_hex(*colors); end
def rgb_number(*parts); end
def rgb_parts(hex); end
def uncolor(string); end
end
end
class HighLine::TemplateRenderer
extend ::Forwardable
def initialize(template, source, highline); end
def answer(*args, &block); end
def answer_type(*args, &block); end
def color(*args, &block); end
def header(*args, &block); end
def highline; end
def key(*args, &block); end
def list(*args, &block); end
def menu; end
def method_missing(method, *args); end
def prompt(*args, &block); end
def render; end
def source; end
def template; end
class << self
def const_missing(name); end
end
end
class HighLine::Terminal
def initialize(input, output); end
def character_mode; end
def get_character; end
def get_line(question, highline); end
def get_line_default(highline); end
def get_line_with_readline(question, highline); end
def initialize_system_extensions; end
def input; end
def jruby?; end
def output; end
def raw_no_echo_mode; end
def raw_no_echo_mode_exec; end
def readline_read(question); end
def restore_mode; end
def rubinius?; end
def terminal_size; end
def windows?; end
private
def restore_stty; end
def run_preserving_stty; end
def save_stty; end
class << self
def get_terminal(input, output); end
end
end
class HighLine::Terminal::IOConsole < ::HighLine::Terminal
def get_character; end
def raw_no_echo_mode; end
def restore_mode; end
def terminal_size; end
end
HighLine::VERSION = T.let(T.unsafe(nil), String)
module HighLine::Wrapper
class << self
def actual_length(string_with_escapes); end
def wrap(text, wrap_at); end
end
end
class Object < ::BasicObject
include ::ActiveSupport::ForkTracker::CoreExt
include ::ActiveSupport::ForkTracker::CoreExtPrivate
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
include ::Kernel
include ::JSON::Ext::Generator::GeneratorMethods::Object
include ::PP::ObjectMixin
include ::ActiveSupport::Tryable
include ::ActiveSupport::Dependencies::Loadable
def or_ask(*args, &details); end
end

View File

@ -1,7 +1,647 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `hpricot` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module Hpricot
class << self
def XML(input = T.unsafe(nil), opts = T.unsafe(nil), &blk); end
def buffer_size; end
def buffer_size=(_arg0); end
def build(ele = T.unsafe(nil), assigns = T.unsafe(nil), &blk); end
def css(_arg0, _arg1, _arg2); end
def make(input = T.unsafe(nil), opts = T.unsafe(nil), &blk); end
def parse(input = T.unsafe(nil), opts = T.unsafe(nil), &blk); end
def scan(*_arg0); end
def uxs(str); end
end
end
Hpricot::AttrCore = T.let(T.unsafe(nil), Array)
Hpricot::AttrEvents = T.let(T.unsafe(nil), Array)
Hpricot::AttrFocus = T.let(T.unsafe(nil), Array)
Hpricot::AttrHAlign = T.let(T.unsafe(nil), Array)
Hpricot::AttrI18n = T.let(T.unsafe(nil), Array)
Hpricot::AttrVAlign = T.let(T.unsafe(nil), Array)
class Hpricot::Attributes
def initialize(e); end
def [](k); end
def []=(k, v); end
def element; end
def element=(_arg0); end
def inspect; end
def to_hash; end
def to_s; end
end
Hpricot::Attrs = T.let(T.unsafe(nil), Array)
class Hpricot::BlankSlate
class << self
def hide(name); end
end
end
class Hpricot::BogusETag
include ::Hpricot
include ::Hpricot::Node
include ::Hpricot::Leaf
include ::Hpricot::Traverse
include ::Hpricot::Leaf::Trav
include ::Hpricot::BogusETag::Trav
def initialize(name); end
def clear_raw; end
def output(out, opts = T.unsafe(nil)); end
def pretty_print(q); end
def raw_string; end
end
module Hpricot::BogusETag::Trav
include ::Hpricot::Traverse
include ::Hpricot::Leaf::Trav
end
module Hpricot::Builder
def <<(string); end
def a(*args, &block); end
def abbr(*args, &block); end
def acronym(*args, &block); end
def add_child(ele); end
def address(*args, &block); end
def applet(*args, &block); end
def area(*args, &block); end
def b(*args, &block); end
def base(*args, &block); end
def basefont(*args, &block); end
def bdo(*args, &block); end
def big(*args, &block); end
def blockquote(*args, &block); end
def body(*args, &block); end
def br(*args, &block); end
def build(*a, &b); end
def button(*args, &block); end
def caption(*args, &block); end
def center(*args, &block); end
def cite(*args, &block); end
def code(*args, &block); end
def col(*args, &block); end
def colgroup(*args, &block); end
def concat(string); end
def dd(*args, &block); end
def del(*args, &block); end
def dfn(*args, &block); end
def dir(*args, &block); end
def div(*args, &block); end
def dl(*args, &block); end
def doctype(target, pub, sys); end
def dt(*args, &block); end
def em(*args, &block); end
def fieldset(*args, &block); end
def font(*args, &block); end
def form(*args, &block); end
def h1(*args, &block); end
def h2(*args, &block); end
def h3(*args, &block); end
def h4(*args, &block); end
def h5(*args, &block); end
def h6(*args, &block); end
def head(*args, &block); end
def hr(*args, &block); end
def html(*args, &block); end
def html_tag(sym, *args, &block); end
def i(*args, &block); end
def iframe(*args, &block); end
def img(*args, &block); end
def input(*args, &block); end
def ins(*args, &block); end
def isindex(*args, &block); end
def kbd(*args, &block); end
def label(*args, &block); end
def legend(*args, &block); end
def li(*args, &block); end
def link(*args, &block); end
def map(*args, &block); end
def menu(*args, &block); end
def meta(*args, &block); end
def noframes(*args, &block); end
def noscript(*args, &block); end
def object(*args, &block); end
def ol(*args, &block); end
def optgroup(*args, &block); end
def option(*args, &block); end
def p(*args, &block); end
def param(*args, &block); end
def pre(*args, &block); end
def q(*args, &block); end
def s(*args, &block); end
def samp(*args, &block); end
def script(*args, &block); end
def select(*args, &block); end
def small(*args, &block); end
def span(*args, &block); end
def strike(*args, &block); end
def strong(*args, &block); end
def style(*args, &block); end
def sub(*args, &block); end
def sup(*args, &block); end
def table(*args, &block); end
def tag!(tag, *args, &block); end
def tbody(*args, &block); end
def td(*args, &block); end
def text(string); end
def text!(string); end
def textarea(*args, &block); end
def tfoot(*args, &block); end
def th(*args, &block); end
def thead(*args, &block); end
def title(*args, &block); end
def tr(*args, &block); end
def tt(*args, &block); end
def u(*args, &block); end
def ul(*args, &block); end
def var(*args, &block); end
def xhtml_strict(attrs = T.unsafe(nil), &block); end
def xhtml_transitional(attrs = T.unsafe(nil), &block); end
private
def xhtml_html(attrs = T.unsafe(nil), &block); end
class << self
def set(option, value); end
end
end
class Hpricot::CData
include ::Hpricot
include ::Hpricot::Node
include ::Hpricot::Leaf
include ::Hpricot::Traverse
include ::Hpricot::Leaf::Trav
include ::Hpricot::CData::Trav
def initialize(content); end
def content; end
def content=(_arg0); end
def inner_text; end
def output(out, opts = T.unsafe(nil)); end
def raw_string; end
def to_plain_text; end
def to_s; end
end
module Hpricot::CData::Trav
include ::Hpricot::Traverse
include ::Hpricot::Leaf::Trav
end
class Hpricot::Comment
include ::Hpricot
include ::Hpricot::Node
include ::Hpricot::Leaf
include ::Hpricot::Traverse
include ::Hpricot::Leaf::Trav
include ::Hpricot::Comment::Trav
def content; end
def content=(_arg0); end
def output(out, opts = T.unsafe(nil)); end
def pathname; end
def raw_string; end
end
module Hpricot::Comment::Trav
include ::Hpricot::Traverse
include ::Hpricot::Leaf::Trav
end
module Hpricot::Container
include ::Hpricot
include ::Hpricot::Node
end
module Hpricot::Container::Trav
include ::Hpricot::Traverse
def classes; end
def containers; end
def each_child(&block); end
def each_child_with_index(&block); end
def each_hyperlink; end
def each_hyperlink_uri(base_uri = T.unsafe(nil)); end
def each_uri(base_uri = T.unsafe(nil)); end
def filter(&block); end
def find_element(*names); end
def following_siblings; end
def get_element_by_id(id); end
def get_elements_by_tag_name(*a); end
def insert_after(nodes, ele); end
def insert_before(nodes, ele); end
def next_sibling; end
def preceding_siblings; end
def previous_sibling; end
def replace_child(old, new); end
def siblings_at(*pos); end
def traverse_text_internal(&block); end
private
def each_hyperlink_attribute; end
end
class Hpricot::Context
include ::Hpricot
end
class Hpricot::CssProxy < ::Hpricot::BlankSlate
def initialize(builder, sym); end
def method_missing(id_or_class, *args, &block); end
end
class Hpricot::Doc
include ::Hpricot
include ::Hpricot::Node
include ::Hpricot::Container
include ::Hpricot::Traverse
include ::Hpricot::Container::Trav
include ::Hpricot::Doc::Trav
def altered!; end
def inspect; end
def inspect_tree; end
def make(input = T.unsafe(nil), &blk); end
def output(out, opts = T.unsafe(nil)); end
def pretty_print(q); end
end
module Hpricot::Doc::Trav
include ::Hpricot::Traverse
include ::Hpricot::Container::Trav
def author; end
def css_path; end
def root; end
def title; end
def traverse_all_element(&block); end
def traverse_some_element(name_set, &block); end
def xpath; end
end
class Hpricot::DocType
include ::Hpricot
include ::Hpricot::Node
include ::Hpricot::Leaf
include ::Hpricot::Traverse
include ::Hpricot::Leaf::Trav
include ::Hpricot::DocType::Trav
def initialize(target, pub, sys); end
def clear_raw; end
def output(out, opts = T.unsafe(nil)); end
def pathname; end
def public_id; end
def public_id=(_arg0); end
def raw_string; end
def system_id; end
def system_id=(_arg0); end
def target; end
def target=(_arg0); end
end
module Hpricot::DocType::Trav
include ::Hpricot::Traverse
include ::Hpricot::Leaf::Trav
end
class Hpricot::ETag < ::Hpricot::BogusETag
include ::Hpricot::Tag
def inspect; end
def output(out, opts = T.unsafe(nil)); end
def pretty_print(q); end
end
class Hpricot::Elem
include ::Hpricot
include ::Hpricot::Node
include ::Hpricot::Container
include ::Hpricot::Traverse
include ::Hpricot::Container::Trav
include ::Hpricot::Elem::Trav
def initialize(tag, attrs = T.unsafe(nil), children = T.unsafe(nil), etag = T.unsafe(nil)); end
def attributes; end
def attributes_as_html; end
def clear_raw; end
def empty?; end
def inspect; end
def inspect_tree(depth = T.unsafe(nil)); end
def output(out, opts = T.unsafe(nil)); end
def pathname; end
def pretty_print(q); end
def pretty_print_stag(q); end
def to_plain_text; end
end
module Hpricot::Elem::Trav
include ::Hpricot::Traverse
include ::Hpricot::Container::Trav
def [](name); end
def []=(name, val); end
def get_attribute(name); end
def has_attribute?(name); end
def remove_attribute(name); end
def set_attribute(name, val); end
def traverse_all_element(&block); end
def traverse_some_element(name_set, &block); end
end
Hpricot::ElementContent = T.let(T.unsafe(nil), Hash)
Hpricot::ElementExclusions = T.let(T.unsafe(nil), Hash)
Hpricot::ElementInclusions = T.let(T.unsafe(nil), Hash)
class Hpricot::Elements < ::Array
def %(expr, &blk); end
def /(*expr, &blk); end
def add_class(class_name); end
def after(str = T.unsafe(nil), &blk); end
def append(str = T.unsafe(nil), &blk); end
def at(expr, &blk); end
def attr(key, value = T.unsafe(nil), &blk); end
def before(str = T.unsafe(nil), &blk); end
def empty; end
def filter(expr); end
def html(*string); end
def html=(string); end
def innerHTML(*string); end
def innerHTML=(string); end
def inner_html(*string); end
def inner_html=(string); end
def inner_text; end
def inspect; end
def not(expr); end
def prepend(str = T.unsafe(nil), &blk); end
def pretty_print(q); end
def remove; end
def remove_attr(name); end
def remove_class(name = T.unsafe(nil)); end
def search(*expr, &blk); end
def set(key, value = T.unsafe(nil), &blk); end
def text; end
def to_html; end
def to_s; end
def wrap(str = T.unsafe(nil), &blk); end
private
def copy_node(node, l); end
class << self
def expand(ele1, ele2, excl = T.unsafe(nil)); end
def filter(nodes, expr, truth = T.unsafe(nil)); end
end
end
Hpricot::Elements::ATTR_RE = T.let(T.unsafe(nil), Regexp)
Hpricot::Elements::BRACK_RE = T.let(T.unsafe(nil), Regexp)
Hpricot::Elements::CATCH_RE = T.let(T.unsafe(nil), Regexp)
Hpricot::Elements::CUST_RE = T.let(T.unsafe(nil), Regexp)
Hpricot::Elements::FUNC_RE = T.let(T.unsafe(nil), Regexp)
class Hpricot::EncodingError < ::StandardError; end
class Hpricot::Error < ::StandardError; end
Hpricot::FORM_TAGS = T.let(T.unsafe(nil), Array)
module Hpricot::Leaf
include ::Hpricot
include ::Hpricot::Node
def inspect; end
def pretty_print(q); end
end
module Hpricot::Leaf::Trav
include ::Hpricot::Traverse
def traverse_all_element; end
def traverse_some_element(name_set); end
def traverse_text_internal; end
end
class Hpricot::Name
include ::Hpricot
end
Hpricot::NamedCharacters = T.let(T.unsafe(nil), Hash)
Hpricot::NamedCharactersPattern = T.let(T.unsafe(nil), Regexp)
module Hpricot::Node
include ::Hpricot
def altered!; end
def clear_raw; end
def html_quote(str); end
def if_output(opts); end
def inspect_tree(depth = T.unsafe(nil)); end
def pathname; end
end
Hpricot::OmittedAttrName = T.let(T.unsafe(nil), Hash)
class Hpricot::ParseError < ::StandardError; end
class Hpricot::ProcIns
include ::Hpricot
include ::Hpricot::Node
include ::Hpricot::Leaf
include ::Hpricot::Traverse
include ::Hpricot::Leaf::Trav
include ::Hpricot::ProcIns::Trav
def content; end
def content=(_arg0); end
def output(out, opts = T.unsafe(nil)); end
def pathname; end
def raw_string; end
def target; end
def target=(_arg0); end
end
module Hpricot::ProcIns::Trav
include ::Hpricot::Traverse
include ::Hpricot::Leaf::Trav
end
Hpricot::ProcInsParse = T.let(T.unsafe(nil), Regexp)
Hpricot::SELF_CLOSING_TAGS = T.let(T.unsafe(nil), Array)
module Hpricot::Tag
include ::Hpricot
end
class Hpricot::Text
include ::Hpricot
include ::Hpricot::Node
include ::Hpricot::Leaf
include ::Hpricot::Traverse
include ::Hpricot::Leaf::Trav
include ::Hpricot::Text::Trav
def initialize(content); end
def <<(str); end
def clear_raw; end
def content; end
def content=(_arg0); end
def inner_text; end
def output(out, opts = T.unsafe(nil)); end
def pathname; end
def pretty_print(q); end
def raw_string; end
def to_plain_text; end
def to_s; end
end
module Hpricot::Text::Trav
include ::Hpricot::Traverse
include ::Hpricot::Leaf::Trav
def traverse_text_internal; end
end
module Hpricot::Traverse
def %(expr); end
def /(expr, &blk); end
def after(html = T.unsafe(nil), &blk); end
def at(expr); end
def before(html = T.unsafe(nil), &blk); end
def bogusetag?; end
def children_of_type(tag_name); end
def clean_path(path); end
def comment?; end
def css_path; end
def doc?; end
def doctype?; end
def elem?; end
def following; end
def get_subnode(*indexes); end
def html(inner = T.unsafe(nil), &blk); end
def index(name); end
def innerHTML(inner = T.unsafe(nil), &blk); end
def innerHTML=(inner); end
def innerText; end
def inner_html(inner = T.unsafe(nil), &blk); end
def inner_html=(inner); end
def inner_text; end
def make(input = T.unsafe(nil), &blk); end
def next; end
def next_node; end
def node_position; end
def nodes_at(*pos); end
def position; end
def preceding; end
def previous; end
def previous_node; end
def procins?; end
def search(expr, &blk); end
def swap(html = T.unsafe(nil), &blk); end
def text?; end
def to_html; end
def to_original_html; end
def to_plain_text; end
def to_s; end
def traverse_element(*names, &block); end
def traverse_text(&block); end
def xmldecl?; end
def xpath; end
private
def reparent(nodes); end
class << self
def filter(tok, &blk); end
end
end
class Hpricot::XHTMLStrict
class << self
def doctype; end
def doctype=(_arg0); end
def forms; end
def forms=(_arg0); end
def self_closing; end
def self_closing=(_arg0); end
def tags; end
def tags=(_arg0); end
def tagset; end
def tagset=(_arg0); end
end
end
class Hpricot::XHTMLTransitional
class << self
def doctype; end
def doctype=(_arg0); end
def forms; end
def forms=(_arg0); end
def self_closing; end
def self_closing=(_arg0); end
def tags; end
def tags=(_arg0); end
def tagset; end
def tagset=(_arg0); end
end
end
class Hpricot::XMLDecl
include ::Hpricot
include ::Hpricot::Node
include ::Hpricot::Leaf
include ::Hpricot::Traverse
include ::Hpricot::Leaf::Trav
include ::Hpricot::XMLDecl::Trav
def clear_raw; end
def encoding; end
def encoding=(_arg0); end
def output(out, opts = T.unsafe(nil)); end
def pathname; end
def raw_string; end
def standalone; end
def standalone=(_arg0); end
def version; end
def version=(_arg0); end
end
module Hpricot::XMLDecl::Trav
include ::Hpricot::Traverse
include ::Hpricot::Leaf::Trav
end
class Object < ::BasicObject
include ::ActiveSupport::ForkTracker::CoreExt
include ::ActiveSupport::ForkTracker::CoreExtPrivate
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
include ::Kernel
include ::JSON::Ext::Generator::GeneratorMethods::Object
include ::PP::ObjectMixin
include ::ActiveSupport::Tryable
include ::ActiveSupport::Dependencies::Loadable
private
def Hpricot(input = T.unsafe(nil), opts = T.unsafe(nil), &blk); end
class << self
def method_added(name); end
end
end

View File

@ -5,7 +5,7 @@
# typed: true
module I18n
extend(::I18n::Base)
extend ::I18n::Base
class << self
def interpolate(string, values); end
@ -14,14 +14,11 @@ module I18n
end
end
class I18n::ArgumentError < ::ArgumentError
end
module I18n::Backend
end
class I18n::ArgumentError < ::ArgumentError; end
module I18n::Backend; end
module I18n::Backend::Base
include(::I18n::Backend::Transliterator)
include ::I18n::Backend::Transliterator
def available_locales; end
def eager_load!; end
@ -80,14 +77,14 @@ module I18n::Backend::Cascade
end
class I18n::Backend::Chain
include(::I18n::Backend::Transliterator)
include(::I18n::Backend::Base)
include(::I18n::Backend::Chain::Implementation)
include ::I18n::Backend::Transliterator
include ::I18n::Backend::Base
include ::I18n::Backend::Chain::Implementation
end
module I18n::Backend::Chain::Implementation
include(::I18n::Backend::Transliterator)
include(::I18n::Backend::Base)
include ::I18n::Backend::Transliterator
include ::I18n::Backend::Base
def initialize(*backends); end
@ -143,11 +140,9 @@ module I18n::Backend::Flatten
end
I18n::Backend::Flatten::FLATTEN_SEPARATOR = T.let(T.unsafe(nil), String)
I18n::Backend::Flatten::SEPARATOR_ESCAPE_CHAR = T.let(T.unsafe(nil), String)
module I18n::Backend::Gettext
protected
def load_po(filename); end
@ -170,7 +165,7 @@ module I18n::Backend::InterpolationCompiler
end
module I18n::Backend::InterpolationCompiler::Compiler
extend(::I18n::Backend::InterpolationCompiler::Compiler)
extend ::I18n::Backend::InterpolationCompiler::Compiler
def compile_if_an_interpolation(string); end
def interpolated_str?(str); end
@ -192,20 +187,19 @@ module I18n::Backend::InterpolationCompiler::Compiler
end
I18n::Backend::InterpolationCompiler::Compiler::INTERPOLATION_SYNTAX_PATTERN = T.let(T.unsafe(nil), Regexp)
I18n::Backend::InterpolationCompiler::Compiler::TOKENIZER = T.let(T.unsafe(nil), Regexp)
class I18n::Backend::KeyValue
include(::I18n::Backend::Flatten)
include(::I18n::Backend::Transliterator)
include(::I18n::Backend::Base)
include(::I18n::Backend::KeyValue::Implementation)
include ::I18n::Backend::Flatten
include ::I18n::Backend::Transliterator
include ::I18n::Backend::Base
include ::I18n::Backend::KeyValue::Implementation
end
module I18n::Backend::KeyValue::Implementation
include(::I18n::Backend::Flatten)
include(::I18n::Backend::Transliterator)
include(::I18n::Backend::Base)
include ::I18n::Backend::Flatten
include ::I18n::Backend::Transliterator
include ::I18n::Backend::Base
def initialize(store, subtrees = T.unsafe(nil)); end
@ -273,14 +267,14 @@ module I18n::Backend::Pluralization
end
class I18n::Backend::Simple
include(::I18n::Backend::Transliterator)
include(::I18n::Backend::Base)
include(::I18n::Backend::Simple::Implementation)
include ::I18n::Backend::Transliterator
include ::I18n::Backend::Base
include ::I18n::Backend::Simple::Implementation
end
module I18n::Backend::Simple::Implementation
include(::I18n::Backend::Transliterator)
include(::I18n::Backend::Base)
include ::I18n::Backend::Transliterator
include ::I18n::Backend::Base
def available_locales; end
def eager_load!; end
@ -430,7 +424,7 @@ module I18n::Gettext::Helpers
end
I18n::Gettext::PLURAL_SEPARATOR = T.let(T.unsafe(nil), String)
module I18n::HashRefinements; end
I18n::INTERPOLATION_PATTERN = T.let(T.unsafe(nil), Regexp)
class I18n::InvalidLocale < ::I18n::ArgumentError
@ -453,8 +447,8 @@ class I18n::InvalidPluralizationData < ::I18n::ArgumentError
def key; end
end
module I18n::Locale
end
I18n::JSON = ActiveSupport::JSON
module I18n::Locale; end
class I18n::Locale::Fallbacks < ::Hash
def initialize(*mappings); end
@ -483,8 +477,11 @@ module I18n::Locale::Tag::Parents
def self_and_parents; end
end
I18n::Locale::Tag::RFC4646_FORMATS = T.let(T.unsafe(nil), Hash)
I18n::Locale::Tag::RFC4646_SUBTAGS = T.let(T.unsafe(nil), Array)
class I18n::Locale::Tag::Rfc4646 < ::Struct
include(::I18n::Locale::Tag::Parents)
include ::I18n::Locale::Tag::Parents
def language; end
def region; end
@ -510,7 +507,7 @@ end
I18n::Locale::Tag::Rfc4646::Parser::PATTERN = T.let(T.unsafe(nil), Regexp)
class I18n::Locale::Tag::Simple
include(::I18n::Locale::Tag::Parents)
include ::I18n::Locale::Tag::Parents
def initialize(*tag); end
@ -540,7 +537,7 @@ class I18n::MissingInterpolationArgument < ::I18n::ArgumentError
end
class I18n::MissingTranslation < ::I18n::ArgumentError
include(::I18n::MissingTranslation::Base)
include ::I18n::MissingTranslation::Base
end
module I18n::MissingTranslation::Base
@ -556,11 +553,10 @@ module I18n::MissingTranslation::Base
end
class I18n::MissingTranslationData < ::I18n::ArgumentError
include(::I18n::MissingTranslation::Base)
include ::I18n::MissingTranslation::Base
end
I18n::RESERVED_KEYS = T.let(T.unsafe(nil), Array)
I18n::RESERVED_KEYS_PATTERN = T.let(T.unsafe(nil), Regexp)
class I18n::ReservedInterpolationKey < ::I18n::ArgumentError
@ -570,9 +566,19 @@ class I18n::ReservedInterpolationKey < ::I18n::ArgumentError
def string; end
end
module I18n::Tests
module I18n::Tests; end
module I18n::Tests::Basics
def teardown; end
end
module I18n::Tests::Defaults
def setup; end
end
module I18n::Tests::Interpolation; end
module I18n::Tests::Link; end
module I18n::Tests::Localization
class << self
def included(base); end
@ -583,44 +589,11 @@ module I18n::Tests::Localization::Date
def setup; end
end
class I18n::UnknownFileType < ::I18n::ArgumentError
def initialize(type, filename); end
def filename; end
def type; end
end
I18n::VERSION = T.let(T.unsafe(nil), String)
module I18n::HashRefinements
end
I18n::JSON = ActiveSupport::JSON
I18n::Locale::Tag::RFC4646_FORMATS = T.let(T.unsafe(nil), Hash)
I18n::Locale::Tag::RFC4646_SUBTAGS = T.let(T.unsafe(nil), Array)
module I18n::Tests::Basics
def teardown; end
end
module I18n::Tests::Defaults
def setup; end
end
module I18n::Tests::Interpolation
end
module I18n::Tests::Link
end
module I18n::Tests::Localization::DateTime
def setup; end
end
module I18n::Tests::Localization::Procs
end
module I18n::Tests::Localization::Procs; end
module I18n::Tests::Localization::Time
def setup; end
@ -630,8 +603,14 @@ module I18n::Tests::Lookup
def setup; end
end
module I18n::Tests::Pluralization
module I18n::Tests::Pluralization; end
module I18n::Tests::Procs; end
class I18n::UnknownFileType < ::I18n::ArgumentError
def initialize(type, filename); end
def filename; end
def type; end
end
module I18n::Tests::Procs
end
I18n::VERSION = T.let(T.unsafe(nil), String)

View File

@ -4,5 +4,170 @@
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module JSONSchemer
class << self
def schema(schema, **options); end
private
def draft_class(schema); end
end
end
class JSONSchemer::CachedRefResolver
def initialize(&ref_resolver); end
def call(uri); end
end
JSONSchemer::DEFAULT_META_SCHEMA = T.let(T.unsafe(nil), String)
JSONSchemer::DRAFT_CLASS_BY_META_SCHEMA = T.let(T.unsafe(nil), Hash)
module JSONSchemer::Errors
class << self
def pretty(error); end
end
end
JSONSchemer::FILE_URI_REF_RESOLVER = T.let(T.unsafe(nil), Proc)
module JSONSchemer::Format
def iri_escape(data); end
def parse_uri_scheme(data); end
def valid_date_time?(data); end
def valid_email?(data); end
def valid_hostname?(data); end
def valid_ip?(data, type); end
def valid_json?(data); end
def valid_json_pointer?(data); end
def valid_relative_json_pointer?(data); end
def valid_spec_format?(data, format); end
def valid_uri?(data); end
def valid_uri_reference?(data); end
def valid_uri_template?(data); end
end
JSONSchemer::Format::DATE_TIME_OFFSET_REGEX = T.let(T.unsafe(nil), Regexp)
JSONSchemer::Format::EMAIL_REGEX = T.let(T.unsafe(nil), Regexp)
JSONSchemer::Format::HOSTNAME_REGEX = T.let(T.unsafe(nil), Regexp)
JSONSchemer::Format::INVALID_QUERY_REGEX = T.let(T.unsafe(nil), Regexp)
JSONSchemer::Format::JSON_POINTER_REGEX = T.let(T.unsafe(nil), Regexp)
JSONSchemer::Format::JSON_POINTER_REGEX_STRING = T.let(T.unsafe(nil), String)
JSONSchemer::Format::LABEL_REGEX_STRING = T.let(T.unsafe(nil), String)
JSONSchemer::Format::RELATIVE_JSON_POINTER_REGEX = T.let(T.unsafe(nil), Regexp)
class JSONSchemer::InvalidFileURI < ::StandardError; end
class JSONSchemer::InvalidRefResolution < ::StandardError; end
class JSONSchemer::InvalidSymbolKey < ::StandardError; end
module JSONSchemer::Schema; end
class JSONSchemer::Schema::Base
include ::JSONSchemer::Format
def initialize(schema, format: T.unsafe(nil), insert_property_defaults: T.unsafe(nil), before_property_validation: T.unsafe(nil), after_property_validation: T.unsafe(nil), formats: T.unsafe(nil), keywords: T.unsafe(nil), ref_resolver: T.unsafe(nil)); end
def valid?(data); end
def validate(data); end
protected
def ids; end
def valid_instance?(instance); end
def validate_instance(instance, &block); end
private
def child(schema); end
def custom_format?(format); end
def ecma_262_regex(pattern); end
def error(instance, type, details = T.unsafe(nil)); end
def format?; end
def formats; end
def id_keyword; end
def join_uri(a, b); end
def keywords; end
def pointer_uri(schema, pointer); end
def ref_resolver; end
def resolve_ids(schema, ids = T.unsafe(nil), parent_uri = T.unsafe(nil), pointer = T.unsafe(nil)); end
def resolve_ref(uri); end
def root; end
def safe_strict_decode64(data); end
def spec_format?(format); end
def validate_array(instance, &block); end
def validate_class(instance, &block); end
def validate_custom_format(instance, custom_format); end
def validate_exclusive_maximum(instance, exclusive_maximum, maximum); end
def validate_exclusive_minimum(instance, exclusive_minimum, minimum); end
def validate_integer(instance, &block); end
def validate_number(instance, &block); end
def validate_numeric(instance, &block); end
def validate_object(instance, &block); end
def validate_ref(instance, ref, &block); end
def validate_string(instance, &block); end
def validate_type(instance, type, &block); end
end
JSONSchemer::Schema::Base::BOOLEANS = T.let(T.unsafe(nil), Set)
JSONSchemer::Schema::Base::DEFAULT_REF_RESOLVER = T.let(T.unsafe(nil), Proc)
JSONSchemer::Schema::Base::ID_KEYWORD = T.let(T.unsafe(nil), String)
JSONSchemer::Schema::Base::INSERT_DEFAULT_PROPERTY = T.let(T.unsafe(nil), Proc)
class JSONSchemer::Schema::Base::Instance < ::Struct
def after_property_validation; end
def after_property_validation=(_); end
def before_property_validation; end
def before_property_validation=(_); end
def data; end
def data=(_); end
def data_pointer; end
def data_pointer=(_); end
def merge(data: T.unsafe(nil), data_pointer: T.unsafe(nil), schema: T.unsafe(nil), schema_pointer: T.unsafe(nil), parent_uri: T.unsafe(nil), before_property_validation: T.unsafe(nil), after_property_validation: T.unsafe(nil)); end
def parent_uri; end
def parent_uri=(_); end
def schema; end
def schema=(_); end
def schema_pointer; end
def schema_pointer=(_); end
class << self
def [](*_arg0); end
def inspect; end
def members; end
def new(*_arg0); end
end
end
JSONSchemer::Schema::Base::NET_HTTP_REF_RESOLVER = T.let(T.unsafe(nil), Proc)
JSONSchemer::Schema::Base::RUBY_REGEX_ANCHORS_TO_ECMA_262 = T.let(T.unsafe(nil), Hash)
class JSONSchemer::Schema::Draft4 < ::JSONSchemer::Schema::Base
private
def id_keyword; end
def supported_format?(format); end
def validate_exclusive_maximum(instance, exclusive_maximum, maximum); end
def validate_exclusive_minimum(instance, exclusive_minimum, minimum); end
def validate_integer(instance, &block); end
end
JSONSchemer::Schema::Draft4::ID_KEYWORD = T.let(T.unsafe(nil), String)
JSONSchemer::Schema::Draft4::SUPPORTED_FORMATS = T.let(T.unsafe(nil), Set)
class JSONSchemer::Schema::Draft6 < ::JSONSchemer::Schema::Base
private
def supported_format?(format); end
end
JSONSchemer::Schema::Draft6::SUPPORTED_FORMATS = T.let(T.unsafe(nil), Set)
class JSONSchemer::Schema::Draft7 < ::JSONSchemer::Schema::Base
private
def supported_format?(format); end
end
JSONSchemer::Schema::Draft7::SUPPORTED_FORMATS = T.let(T.unsafe(nil), Set)
class JSONSchemer::UnknownRef < ::StandardError; end
class JSONSchemer::UnsupportedMetaSchema < ::StandardError; end
JSONSchemer::VERSION = T.let(T.unsafe(nil), String)
JSONSchemer::WINDOWS_URI_PATH_REGEX = T.let(T.unsafe(nil), Regexp)

View File

@ -5,9 +5,9 @@
# typed: true
class HTTP::CookieJar
include(::Mechanize::CookieDeprecated)
include(::Mechanize::CookieJarIMethods)
include(::Enumerable)
include ::Mechanize::CookieDeprecated
include ::Mechanize::CookieJarIMethods
include ::Enumerable
def initialize(options = T.unsafe(nil)); end
@ -161,9 +161,7 @@ class Mechanize
end
Mechanize::AGENT_ALIASES = T.let(T.unsafe(nil), Hash)
class Mechanize::ChunkedTerminationError < ::Mechanize::ResponseReadError
end
class Mechanize::ChunkedTerminationError < ::Mechanize::ResponseReadError; end
class Mechanize::ContentTypeError < ::Mechanize::Error
def initialize(content_type); end
@ -174,20 +172,19 @@ end
Mechanize::Cookie = HTTP::Cookie
module Mechanize::CookieCMethods
include(::Mechanize::CookieDeprecated)
include ::Mechanize::CookieDeprecated
def parse(arg1, arg2, arg3 = T.unsafe(nil), &block); end
end
module Mechanize::CookieDeprecated
private
def __deprecated__(to = T.unsafe(nil)); end
end
module Mechanize::CookieIMethods
include(::Mechanize::CookieDeprecated)
include ::Mechanize::CookieDeprecated
def set_domain(domain); end
end
@ -198,7 +195,7 @@ class Mechanize::CookieJar < ::HTTP::CookieJar
end
module Mechanize::CookieJarIMethods
include(::Mechanize::CookieDeprecated)
include ::Mechanize::CookieDeprecated
def add(arg1, arg2 = T.unsafe(nil)); end
def add!(cookie); end
@ -221,7 +218,7 @@ class Mechanize::DirectorySaver < ::Mechanize::Download
end
class Mechanize::Download
include(::Mechanize::Parser)
include ::Mechanize::Parser
def initialize(uri = T.unsafe(nil), response = T.unsafe(nil), body_io = T.unsafe(nil), code = T.unsafe(nil)); end
@ -247,11 +244,10 @@ class Mechanize::ElementNotFoundError < ::Mechanize::Error
def source; end
end
class Mechanize::Error < ::RuntimeError
end
class Mechanize::Error < ::RuntimeError; end
class Mechanize::File
include(::Mechanize::Parser)
include ::Mechanize::Parser
def initialize(uri = T.unsafe(nil), response = T.unsafe(nil), body = T.unsafe(nil), code = T.unsafe(nil)); end
@ -314,8 +310,8 @@ class Mechanize::FileSaver < ::Mechanize::Download
end
class Mechanize::Form
extend(::Forwardable)
extend(::Mechanize::ElementMatcher)
extend ::Forwardable
extend ::Mechanize::ElementMatcher
def initialize(node, mech = T.unsafe(nil), page = T.unsafe(nil)); end
@ -416,9 +412,7 @@ class Mechanize::Form
def rand_string(len = T.unsafe(nil)); end
end
class Mechanize::Form::Button < ::Mechanize::Form::Field
end
class Mechanize::Form::Button < ::Mechanize::Form::Field; end
Mechanize::Form::CRLF = T.let(T.unsafe(nil), String)
class Mechanize::Form::CheckBox < ::Mechanize::Form::RadioButton
@ -427,7 +421,7 @@ class Mechanize::Form::CheckBox < ::Mechanize::Form::RadioButton
end
class Mechanize::Form::Field
extend(::Forwardable)
extend ::Forwardable
def initialize(node, value = T.unsafe(nil)); end
@ -466,8 +460,7 @@ class Mechanize::Form::FileUpload < ::Mechanize::Form::Field
def mime_type=(_arg0); end
end
class Mechanize::Form::Hidden < ::Mechanize::Form::Field
end
class Mechanize::Form::Hidden < ::Mechanize::Form::Field; end
class Mechanize::Form::ImageButton < ::Mechanize::Form::Button
def initialize(*args); end
@ -488,7 +481,7 @@ class Mechanize::Form::Keygen < ::Mechanize::Form::Field
end
class Mechanize::Form::MultiSelectList < ::Mechanize::Form::Field
extend(::Mechanize::ElementMatcher)
extend ::Mechanize::ElementMatcher
def initialize(node); end
@ -551,8 +544,7 @@ class Mechanize::Form::RadioButton < ::Mechanize::Form::Field
def uncheck_peers; end
end
class Mechanize::Form::Reset < ::Mechanize::Form::Button
end
class Mechanize::Form::Reset < ::Mechanize::Form::Button; end
class Mechanize::Form::SelectList < ::Mechanize::Form::MultiSelectList
def initialize(node); end
@ -562,17 +554,10 @@ class Mechanize::Form::SelectList < ::Mechanize::Form::MultiSelectList
def value=(new_value); end
end
class Mechanize::Form::Submit < ::Mechanize::Form::Button
end
class Mechanize::Form::Text < ::Mechanize::Form::Field
end
class Mechanize::Form::Textarea < ::Mechanize::Form::Field
end
class Mechanize::HTTP
end
class Mechanize::Form::Submit < ::Mechanize::Form::Button; end
class Mechanize::Form::Text < ::Mechanize::Form::Field; end
class Mechanize::Form::Textarea < ::Mechanize::Form::Field; end
class Mechanize::HTTP; end
class Mechanize::HTTP::Agent
def initialize(connection_name = T.unsafe(nil)); end
@ -701,9 +686,7 @@ class Mechanize::HTTP::Agent
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
@ -832,12 +815,11 @@ class Mechanize::History < ::Array
def remove_from_index(page); end
end
class Mechanize::Image < ::Mechanize::Download
end
class Mechanize::Image < ::Mechanize::Download; end
class Mechanize::Page < ::Mechanize::File
extend(::Forwardable)
extend(::Mechanize::ElementMatcher)
extend ::Forwardable
extend ::Mechanize::ElementMatcher
def initialize(uri = T.unsafe(nil), response = T.unsafe(nil), body = T.unsafe(nil), code = T.unsafe(nil), mech = T.unsafe(nil)); end
@ -920,9 +902,7 @@ class Mechanize::Page < ::Mechanize::File
end
end
class Mechanize::Page::Base < ::Mechanize::Page::Link
end
class Mechanize::Page::Base < ::Mechanize::Page::Link; end
Mechanize::Page::DEFAULT_RESPONSE = T.let(T.unsafe(nil), Hash)
class Mechanize::Page::Frame < ::Mechanize::Page::Link
@ -1010,11 +990,10 @@ class Mechanize::Page::MetaRefresh < ::Mechanize::Page::Link
end
Mechanize::Page::MetaRefresh::CONTENT_REGEXP = T.let(T.unsafe(nil), Regexp)
Mechanize::Page::MetaRefresh::UNSAFE = T.let(T.unsafe(nil), Regexp)
module Mechanize::Parser
extend(::Forwardable)
extend ::Forwardable
def [](*args, &block); end
def []=(*args, &block); end
@ -1052,7 +1031,6 @@ class Mechanize::PluggableParser
end
Mechanize::PluggableParser::CONTENT_TYPES = T.let(T.unsafe(nil), Hash)
Mechanize::PluggableParser::InvalidContentTypeError = MIME::Type::InvalidContentType
class Mechanize::RedirectLimitReachedError < ::Mechanize::Error
@ -1138,11 +1116,10 @@ class Mechanize::Util
end
Mechanize::Util::DefaultMimeTypes = T.let(T.unsafe(nil), Hash)
Mechanize::VERSION = T.let(T.unsafe(nil), String)
class Mechanize::XmlFile < ::Mechanize::File
extend(::Forwardable)
extend ::Forwardable
def initialize(uri = T.unsafe(nil), response = T.unsafe(nil), body = T.unsafe(nil), code = T.unsafe(nil)); end

View File

@ -1,7 +1,72 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `method_source` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module MethodSource
extend ::MethodSource::CodeHelpers
class << self
def comment_helper(source_location, name = T.unsafe(nil)); end
def extract_code(source_location); end
def lines_for(file_name, name = T.unsafe(nil)); end
def source_helper(source_location, name = T.unsafe(nil)); end
def valid_expression?(str); end
end
end
module MethodSource::CodeHelpers
def comment_describing(file, line_number); end
def complete_expression?(str); end
def expression_at(file, line_number, options = T.unsafe(nil)); end
private
def extract_first_expression(lines, consume = T.unsafe(nil), &block); end
def extract_last_comment(lines); end
end
module MethodSource::CodeHelpers::IncompleteExpression
class << self
def ===(ex); end
def rbx?; end
end
end
MethodSource::CodeHelpers::IncompleteExpression::GENERIC_REGEXPS = T.let(T.unsafe(nil), Array)
MethodSource::CodeHelpers::IncompleteExpression::RBX_ONLY_REGEXPS = T.let(T.unsafe(nil), Array)
module MethodSource::MethodExtensions
def comment; end
def source; end
class << self
def included(klass); end
end
end
module MethodSource::ReeSourceLocation
def source_location; end
end
module MethodSource::SourceLocation; end
module MethodSource::SourceLocation::MethodExtensions
def source_location; end
private
def trace_func(event, file, line, id, binding, classname); end
end
module MethodSource::SourceLocation::ProcExtensions
def source_location; end
end
module MethodSource::SourceLocation::UnboundMethodExtensions
def source_location; end
end
class MethodSource::SourceNotFoundError < ::StandardError; end
MethodSource::VERSION = T.let(T.unsafe(nil), String)

View File

@ -1,14 +1,13 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `mime-types` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module MIME
end
module MIME; end
class MIME::Type
include(::Comparable)
include ::Comparable
def initialize(content_type); end
@ -20,7 +19,7 @@ class MIME::Type
def content_type; end
def default_encoding; end
def docs; end
def docs=(_); end
def docs=(_arg0); end
def encode_with(coder); end
def encoding; end
def encoding=(enc); end
@ -34,7 +33,7 @@ class MIME::Type
def like?(other); end
def media_type; end
def obsolete; end
def obsolete=(_); end
def obsolete=(_arg0); end
def obsolete?; end
def preferred_extension; end
def preferred_extension=(value); end
@ -42,10 +41,10 @@ class MIME::Type
def raw_media_type; end
def raw_sub_type; end
def registered; end
def registered=(_); end
def registered=(_arg0); end
def registered?; end
def signature; end
def signature=(_); end
def signature=(_arg0); end
def signature?; end
def simplified; end
def sub_type; end
@ -54,7 +53,7 @@ class MIME::Type
def to_s; end
def to_str; end
def use_instead; end
def use_instead=(_); end
def use_instead=(_arg0); end
def xref_urls; end
def xrefs; end
def xrefs=(xrefs); end
@ -81,6 +80,9 @@ class MIME::Type
end
end
MIME::Type::ASCII_ENCODINGS = T.let(T.unsafe(nil), Array)
MIME::Type::BINARY_ENCODINGS = T.let(T.unsafe(nil), Array)
class MIME::Type::Columnar < ::MIME::Type
def initialize(container, content_type, extensions); end
@ -108,6 +110,8 @@ class MIME::Type::Columnar < ::MIME::Type
def xrefs=(*args); end
end
MIME::Type::I18N_RE = T.let(T.unsafe(nil), Regexp)
class MIME::Type::InvalidContentType < ::ArgumentError
def initialize(type_string); end
@ -120,11 +124,12 @@ class MIME::Type::InvalidEncoding < ::ArgumentError
def to_s; end
end
MIME::Type::MEDIA_TYPE_RE = T.let(T.unsafe(nil), Regexp)
MIME::Type::VERSION = T.let(T.unsafe(nil), String)
class MIME::Types
include(::Enumerable)
extend(::Enumerable)
include ::Enumerable
extend ::Enumerable
def initialize; end
@ -151,8 +156,8 @@ class MIME::Types
def count; end
def each; end
def logger; end
def logger=(_); end
def new(*_); end
def logger=(_arg0); end
def new(*_arg0); end
def of(filename); end
def type_for(filename); end
@ -174,11 +179,11 @@ class MIME::Types::Cache < ::Struct
def version=(_); end
class << self
def [](*_); end
def [](*_arg0); end
def inspect; end
def load(cache_file = T.unsafe(nil)); end
def members; end
def new(*_); end
def new(*_arg0); end
def save(types = T.unsafe(nil), cache_file = T.unsafe(nil)); end
end
end
@ -209,7 +214,7 @@ end
MIME::Types::Columnar::LOAD_MUTEX = T.let(T.unsafe(nil), Thread::Mutex)
class MIME::Types::Container
extend(::Forwardable)
extend ::Forwardable
def initialize(hash = T.unsafe(nil)); end
@ -236,10 +241,12 @@ class MIME::Types::Container
protected
def container; end
def container=(_); end
def container=(_arg0); end
def normalize; end
end
MIME::Types::Container::EMPTY_SET = T.let(T.unsafe(nil), Set)
class MIME::Types::Loader
def initialize(path = T.unsafe(nil), container = T.unsafe(nil)); end
@ -274,7 +281,7 @@ class MIME::Types::WarnLogger < ::Logger
end
class MIME::Types::WarnLogger::WarnLogDevice < ::Logger::LogDevice
def initialize(*_); end
def initialize(*_arg0); end
def close; end
def write(m); end

View File

@ -4,5 +4,91 @@
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
class MiniPortile
def initialize(name, version); end
def activate; end
def apply_patch(patch_file); end
def compile; end
def configure; end
def configure_options; end
def configure_options=(_arg0); end
def configured?; end
def cook; end
def download; end
def downloaded?; end
def extract; end
def files; end
def files=(_arg0); end
def host; end
def host=(_arg0); end
def install; end
def installed?; end
def logger; end
def logger=(_arg0); end
def name; end
def original_host; end
def patch; end
def patch_files; end
def patch_files=(_arg0); end
def path; end
def target; end
def target=(_arg0); end
def version; end
private
def archives_path; end
def computed_options; end
def configure_defaults; end
def configure_prefix; end
def detect_host; end
def download_file(url, full_path, count = T.unsafe(nil)); end
def download_file_file(uri, full_path); end
def download_file_ftp(uri, full_path); end
def download_file_http(url, full_path, count = T.unsafe(nil)); end
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
def port_path; end
def tar_compression_switch(filename); end
def tar_exe; end
def tmp_path; end
def verify_file(file); end
def which(cmd); end
def with_tempfile(filename, full_path); end
def work_path; end
class << self
def mingw?; end
def mswin?; end
def windows?; end
end
end
MiniPortile::KEYRING_NAME = T.let(T.unsafe(nil), String)
MiniPortile::TAR_EXECUTABLES = T.let(T.unsafe(nil), Array)
MiniPortile::VERSION = T.let(T.unsafe(nil), String)
class MiniPortileCMake < ::MiniPortile
def configure; end
def configure_defaults; end
def configure_prefix; end
def configured?; end
def make_cmd; end
end
class Net::HTTP < ::Net::Protocol
private
def edit_path(path); end
end
Net::HTTP::ENVIRONMENT_VARIABLE_IS_MULTIUSER_SAFE = T.let(T.unsafe(nil), TrueClass)
Net::HTTP::ProxyMod = Net::HTTP::ProxyDelta

View File

@ -1,8 +1,344 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `minitest` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module Minitest
class << self
def __run(reporter, options); end
def after_run(&block); end
def autorun; end
def backtrace_filter; end
def backtrace_filter=(_arg0); end
def clock_time; end
def extensions; end
def extensions=(_arg0); end
def filter_backtrace(bt); end
def info_signal; end
def info_signal=(_arg0); end
def init_plugins(options); end
def load_plugins; end
def parallel_executor; end
def parallel_executor=(_arg0); end
def process_args(args = T.unsafe(nil)); end
def reporter; end
def reporter=(_arg0); end
def run(args = T.unsafe(nil)); end
def run_one_method(klass, method_name); end
end
end
class Minitest::AbstractReporter
include ::Mutex_m
def lock; end
def locked?; end
def passed?; end
def prerecord(klass, name); end
def record(result); end
def report; end
def start; end
def synchronize(&block); end
def try_lock; end
def unlock; end
end
class Minitest::Assertion < ::Exception
def error; end
def location; end
def result_code; end
def result_label; end
end
module Minitest::Assertions
def _synchronize; end
def assert(test, msg = T.unsafe(nil)); end
def assert_empty(obj, msg = T.unsafe(nil)); end
def assert_equal(exp, act, msg = T.unsafe(nil)); end
def assert_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end
def assert_in_epsilon(exp, act, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end
def assert_includes(collection, obj, msg = T.unsafe(nil)); end
def assert_instance_of(cls, obj, msg = T.unsafe(nil)); end
def assert_kind_of(cls, obj, msg = T.unsafe(nil)); end
def assert_match(matcher, obj, msg = T.unsafe(nil)); end
def assert_nil(obj, msg = T.unsafe(nil)); end
def assert_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end
def assert_output(stdout = T.unsafe(nil), stderr = T.unsafe(nil)); end
def assert_path_exists(path, msg = T.unsafe(nil)); end
def assert_predicate(o1, op, msg = T.unsafe(nil)); end
def assert_raises(*exp); end
def assert_respond_to(obj, meth, msg = T.unsafe(nil)); end
def assert_same(exp, act, msg = T.unsafe(nil)); end
def assert_send(send_ary, m = T.unsafe(nil)); end
def assert_silent; end
def assert_throws(sym, msg = T.unsafe(nil)); end
def capture_io; end
def capture_subprocess_io; end
def diff(exp, act); end
def exception_details(e, msg); end
def fail_after(y, m, d, msg); end
def flunk(msg = T.unsafe(nil)); end
def message(msg = T.unsafe(nil), ending = T.unsafe(nil), &default); end
def mu_pp(obj); end
def mu_pp_for_diff(obj); end
def pass(_msg = T.unsafe(nil)); end
def refute(test, msg = T.unsafe(nil)); end
def refute_empty(obj, msg = T.unsafe(nil)); end
def refute_equal(exp, act, msg = T.unsafe(nil)); end
def refute_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end
def refute_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end
def refute_includes(collection, obj, msg = T.unsafe(nil)); end
def refute_instance_of(cls, obj, msg = T.unsafe(nil)); end
def refute_kind_of(cls, obj, msg = T.unsafe(nil)); end
def refute_match(matcher, obj, msg = T.unsafe(nil)); end
def refute_nil(obj, msg = T.unsafe(nil)); end
def refute_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end
def refute_path_exists(path, msg = T.unsafe(nil)); end
def refute_predicate(o1, op, msg = T.unsafe(nil)); end
def refute_respond_to(obj, meth, msg = T.unsafe(nil)); end
def refute_same(exp, act, msg = T.unsafe(nil)); end
def skip(msg = T.unsafe(nil), bt = T.unsafe(nil)); end
def skip_until(y, m, d, msg); end
def skipped?; end
def things_to_diff(exp, act); end
class << self
def diff; end
def diff=(o); end
end
end
Minitest::Assertions::E = T.let(T.unsafe(nil), String)
Minitest::Assertions::UNDEFINED = T.let(T.unsafe(nil), Object)
class Minitest::BacktraceFilter
def filter(bt); end
end
Minitest::BacktraceFilter::MT_RE = T.let(T.unsafe(nil), Regexp)
class Minitest::CompositeReporter < ::Minitest::AbstractReporter
def initialize(*reporters); end
def <<(reporter); end
def io; end
def passed?; end
def prerecord(klass, name); end
def record(result); end
def report; end
def reporters; end
def reporters=(_arg0); end
def start; end
end
Minitest::ENCS = T.let(T.unsafe(nil), TrueClass)
module Minitest::Guard
def jruby?(platform = T.unsafe(nil)); end
def maglev?(platform = T.unsafe(nil)); end
def mri?(platform = T.unsafe(nil)); end
def osx?(platform = T.unsafe(nil)); end
def rubinius?(platform = T.unsafe(nil)); end
def windows?(platform = T.unsafe(nil)); end
end
module Minitest::Parallel; end
class Minitest::Parallel::Executor
def initialize(size); end
def <<(work); end
def shutdown; end
def size; end
def start; end
end
module Minitest::Parallel::Test
def _synchronize; end
end
module Minitest::Parallel::Test::ClassMethods
def run_one_method(klass, method_name, reporter); end
def test_order; end
end
class Minitest::ProgressReporter < ::Minitest::Reporter
def prerecord(klass, name); end
def record(result); end
end
module Minitest::Reportable
def class_name; end
def error?; end
def location; end
def passed?; end
def result_code; end
def skipped?; end
end
class Minitest::Reporter < ::Minitest::AbstractReporter
def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end
def io; end
def io=(_arg0); end
def options; end
def options=(_arg0); end
end
class Minitest::Result < ::Minitest::Runnable
include ::Minitest::Reportable
def class_name; end
def klass; end
def klass=(_arg0); end
def source_location; end
def source_location=(_arg0); end
def to_s; end
class << self
def from(runnable); end
end
end
class Minitest::Runnable
def initialize(name); end
def assertions; end
def assertions=(_arg0); end
def failure; end
def failures; end
def failures=(_arg0); end
def marshal_dump; end
def marshal_load(ary); end
def name; end
def name=(o); end
def passed?; end
def result_code; end
def run; end
def skipped?; end
def time; end
def time=(_arg0); end
def time_it; end
class << self
def inherited(klass); end
def methods_matching(re); end
def on_signal(name, action); end
def reset; end
def run(reporter, options = T.unsafe(nil)); end
def run_one_method(klass, method_name, reporter); end
def runnable_methods; end
def runnables; end
def with_info_handler(reporter, &block); end
end
end
Minitest::Runnable::SIGNALS = T.let(T.unsafe(nil), Hash)
class Minitest::Skip < ::Minitest::Assertion
def result_label; end
end
class Minitest::StatisticsReporter < ::Minitest::Reporter
def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end
def assertions; end
def assertions=(_arg0); end
def count; end
def count=(_arg0); end
def errors; end
def errors=(_arg0); end
def failures; end
def failures=(_arg0); end
def passed?; end
def record(result); end
def report; end
def results; end
def results=(_arg0); end
def skips; end
def skips=(_arg0); end
def start; end
def start_time; end
def start_time=(_arg0); end
def total_time; end
def total_time=(_arg0); end
end
class Minitest::SummaryReporter < ::Minitest::StatisticsReporter
def aggregated_results(io); end
def old_sync; end
def old_sync=(_arg0); end
def report; end
def start; end
def statistics; end
def summary; end
def sync; end
def sync=(_arg0); end
def to_s; end
private
def binary_string; end
end
class Minitest::Test < ::Minitest::Runnable
include ::Minitest::Assertions
include ::Minitest::Reportable
include ::Minitest::Test::LifecycleHooks
include ::Minitest::Guard
extend ::Minitest::Guard
def capture_exceptions; end
def class_name; end
def run; end
def with_info_handler(&block); end
class << self
def i_suck_and_my_tests_are_order_dependent!; end
def io_lock; end
def io_lock=(_arg0); end
def make_my_diffs_pretty!; end
def parallelize_me!; end
def runnable_methods; end
def test_order; end
end
end
module Minitest::Test::LifecycleHooks
def after_setup; end
def after_teardown; end
def before_setup; end
def before_teardown; end
def setup; end
def teardown; end
end
Minitest::Test::PASSTHROUGH_EXCEPTIONS = T.let(T.unsafe(nil), Array)
Minitest::Test::TEARDOWN_METHODS = T.let(T.unsafe(nil), Array)
class Minitest::UnexpectedError < ::Minitest::Assertion
def initialize(error); end
def backtrace; end
def error; end
def error=(_arg0); end
def message; end
def result_label; end
end
class Minitest::Unit
class << self
def after_tests(&b); end
def autorun; end
end
end
class Minitest::Unit::TestCase < ::Minitest::Test
class << self
def inherited(klass); end
end
end
Minitest::Unit::VERSION = T.let(T.unsafe(nil), String)
Minitest::VERSION = T.let(T.unsafe(nil), String)

View File

@ -1,7 +1,184 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `msgpack` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
class Array
include ::Enumerable
include ::JSON::Ext::Generator::GeneratorMethods::Array
include ::Plist::Emit
include ::MessagePack::CoreExt
private
def to_msgpack_with_packer(packer); end
end
Bignum = Integer
class FalseClass
include ::JSON::Ext::Generator::GeneratorMethods::FalseClass
include ::MessagePack::CoreExt
private
def to_msgpack_with_packer(packer); end
end
class Float < ::Numeric
include ::JSON::Ext::Generator::GeneratorMethods::Float
include ::MessagePack::CoreExt
private
def to_msgpack_with_packer(packer); end
end
class Hash
include ::Enumerable
include ::JSON::Ext::Generator::GeneratorMethods::Hash
include ::Plist::Emit
include ::MessagePack::CoreExt
private
def to_msgpack_with_packer(packer); end
end
class Integer < ::Numeric
include ::JSON::Ext::Generator::GeneratorMethods::Integer
include ::MessagePack::CoreExt
private
def to_msgpack_with_packer(packer); end
end
module MessagePack
private
def dump(v, *rest); end
def load(src, param = T.unsafe(nil)); end
def pack(v, *rest); end
def unpack(src, param = T.unsafe(nil)); end
class << self
def dump(v, *rest); end
def load(src, param = T.unsafe(nil)); end
def pack(v, *rest); end
def unpack(src, param = T.unsafe(nil)); end
end
end
module MessagePack::CoreExt
def to_msgpack(packer_or_io = T.unsafe(nil)); end
end
MessagePack::DEFAULT_EMPTY_PARAMS = T.let(T.unsafe(nil), Hash)
class MessagePack::ExtensionValue < ::Struct
include ::MessagePack::CoreExt
def payload=(_); end
def type=(_); end
private
def to_msgpack_with_packer(packer); end
end
class MessagePack::Factory
def dump(v, *rest); end
def load(src, param = T.unsafe(nil)); end
def pack(v, *rest); end
def registered_types(selector = T.unsafe(nil)); end
def type_registered?(klass_or_type, selector = T.unsafe(nil)); end
def unpack(src, param = T.unsafe(nil)); end
end
class MessagePack::Packer
def registered_types; end
def type_registered?(klass_or_type); end
end
module MessagePack::Time; end
MessagePack::Time::Packer = T.let(T.unsafe(nil), Proc)
MessagePack::Time::TIME_AT_3_AVAILABLE = T.let(T.unsafe(nil), TrueClass)
MessagePack::Time::Unpacker = T.let(T.unsafe(nil), Proc)
class MessagePack::Timestamp
def initialize(sec, nsec); end
def ==(other); end
def nsec; end
def sec; end
def to_msgpack_ext; end
class << self
def from_msgpack_ext(data); end
def to_msgpack_ext(sec, nsec); end
end
end
MessagePack::Timestamp::TIMESTAMP32_MAX_SEC = T.let(T.unsafe(nil), Integer)
MessagePack::Timestamp::TIMESTAMP64_MAX_SEC = T.let(T.unsafe(nil), Integer)
MessagePack::Timestamp::TYPE = T.let(T.unsafe(nil), Integer)
class MessagePack::UnexpectedTypeError < ::MessagePack::UnpackError
include ::MessagePack::TypeError
end
class MessagePack::Unpacker
def registered_types; end
def type_registered?(klass_or_type); end
end
class NilClass
include ::JSON::Ext::Generator::GeneratorMethods::NilClass
include ::MessagePack::CoreExt
private
def to_msgpack_with_packer(packer); end
end
class String
include ::Comparable
include ::JSON::Ext::Generator::GeneratorMethods::String
include ::Colorize::InstanceMethods
include ::MessagePack::CoreExt
extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
extend ::Colorize::ClassMethods
private
def to_msgpack_with_packer(packer); end
end
String::BLANK_RE = T.let(T.unsafe(nil), Regexp)
String::ENCODED_BLANKS = T.let(T.unsafe(nil), Concurrent::Map)
class Symbol
include ::Comparable
include ::MessagePack::CoreExt
def to_msgpack_ext; end
private
def to_msgpack_with_packer(packer); end
class << self
def from_msgpack_ext(data); end
end
end
class TrueClass
include ::JSON::Ext::Generator::GeneratorMethods::TrueClass
include ::MessagePack::CoreExt
private
def to_msgpack_with_packer(packer); end
end

View File

@ -1,7 +1,189 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `mustache` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
class Mustache
def initialize(options = T.unsafe(nil)); end
def [](key); end
def []=(key, value); end
def compiled?; end
def context; end
def escape(value); end
def escapeHTML(str); end
def initialize_settings; end
def partial(name); end
def path; end
def raise_on_context_miss=(boolean); end
def raise_on_context_miss?; end
def render(data = T.unsafe(nil), ctx = T.unsafe(nil)); end
def render_file(name, context = T.unsafe(nil)); end
def template; end
def template=(template); end
def template_extension; end
def template_extension=(template_extension); end
def template_file; end
def template_file=(template_file); end
def template_name; end
def template_name=(template_name); end
def template_path; end
def template_path=(path); end
private
def templateify(obj); end
class << self
def classify(underscored); end
def compiled?; end
def const_from_file(name); end
def inheritable_config_for(attr_name, default); end
def inherited(subclass); end
def initialize_settings; end
def partial(name); end
def path; end
def path=(path); end
def raise_on_context_miss=(boolean); end
def raise_on_context_miss?; end
def render(*args); end
def render_file(name, context = T.unsafe(nil)); end
def rescued_const_get(name); end
def template; end
def template=(template); end
def template_extension; end
def template_extension=(template_extension); end
def template_file; end
def template_file=(template_file); end
def template_name; end
def template_name=(template_name); end
def template_path; end
def template_path=(path); end
def templateify(obj, options = T.unsafe(nil)); end
def underscore(classified = T.unsafe(nil)); end
def view_class(name); end
def view_namespace; end
def view_namespace=(namespace); end
def view_path; end
def view_path=(path); end
end
end
class Mustache::Context
def initialize(mustache); end
def [](name); end
def []=(name, value); end
def current; end
def escape(value); end
def fetch(name, default = T.unsafe(nil)); end
def find(obj, key, default = T.unsafe(nil)); end
def has_key?(key); end
def mustache_in_stack; end
def partial(name, indentation = T.unsafe(nil)); end
def pop; end
def push(new_obj); end
def template_for_partial(partial); end
private
def find_in_hash(obj, key, default); end
end
class Mustache::ContextMiss < ::RuntimeError; end
module Mustache::Enumerable; end
class Mustache::Generator
def initialize(options = T.unsafe(nil)); end
def compile(exp); end
private
def compile!(exp); end
def ev(s); end
def on_etag(name, offset); end
def on_fetch(names); end
def on_inverted_section(name, offset, content, raw, delims); end
def on_partial(name, offset, indentation); end
def on_section(name, offset, content, raw, delims); end
def on_utag(name, offset); end
def str(s); end
end
class Mustache::Parser
def initialize(options = T.unsafe(nil)); end
def compile(template); end
def ctag; end
def ctag=(value); end
def otag; end
def otag=(value); end
private
def content_tags(type, current_ctag_regex); end
def dispatch_based_on_type(type, content, fetch, padding, pre_match_position); end
def error(message, pos = T.unsafe(nil)); end
def find_closing_tag(scanner, current_ctag_regex); end
def offset; end
def position; end
def regexp(thing); end
def scan_tag_(content, fetch, padding, pre_match_position); end
def scan_tag_!(content, fetch, padding, pre_match_position); end
def scan_tag_=(content, fetch, padding, pre_match_position); end
def scan_tag_block(content, fetch, padding, pre_match_position); end
def scan_tag_close(content, fetch, padding, pre_match_position); end
def scan_tag_comment(content, fetch, padding, pre_match_position); end
def scan_tag_delimiter(content, fetch, padding, pre_match_position); end
def scan_tag_inverted(content, fetch, padding, pre_match_position); end
def scan_tag_open_partial(content, fetch, padding, pre_match_position); end
def scan_tag_unescaped(content, fetch, padding, pre_match_position); end
def scan_tags; end
def scan_text; end
def scan_until_exclusive(regexp); end
class << self
def add_type(*types, &block); end
def valid_types; end
end
end
Mustache::Parser::ALLOWED_CONTENT = T.let(T.unsafe(nil), Regexp)
Mustache::Parser::ANY_CONTENT = T.let(T.unsafe(nil), Array)
Mustache::Parser::SKIP_WHITESPACE = T.let(T.unsafe(nil), Array)
class Mustache::Parser::SyntaxError < ::StandardError
def initialize(message, position); end
def to_s; end
end
Mustache::Parser::VALID_TYPES = T.let(T.unsafe(nil), Array)
class Mustache::Template
def initialize(source, options = T.unsafe(nil)); end
def compile(src = T.unsafe(nil)); end
def partials; end
def render(context); end
def sections; end
def source; end
def tags; end
def to_s(src = T.unsafe(nil)); end
def tokens(src = T.unsafe(nil)); end
class << self
def recursor(toks, section, &block); end
end
end
module Mustache::Utils; end
class Mustache::Utils::String
def initialize(string); end
def classify; end
def underscore(view_namespace); end
end

View File

@ -1,7 +1,8 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `net-http-digest_auth` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires

View File

@ -1,6 +1,6 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `net-http-persistent` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
@ -108,11 +108,8 @@ class Net::HTTP::Persistent::Connection
end
Net::HTTP::Persistent::DEFAULT_POOL_SIZE = T.let(T.unsafe(nil), Integer)
Net::HTTP::Persistent::EPOCH = T.let(T.unsafe(nil), Time)
class Net::HTTP::Persistent::Error < ::StandardError
end
class Net::HTTP::Persistent::Error < ::StandardError; end
class Net::HTTP::Persistent::Pool < ::ConnectionPool
def initialize(options = T.unsafe(nil), &block); end

View File

@ -1,11 +1,11 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `parallel` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module Parallel
extend(::Parallel::ProcessorCount)
extend ::Parallel::ProcessorCount
class << self
def all?(*args, &block); end
@ -42,8 +42,7 @@ class Parallel::Break < ::StandardError
def value; end
end
class Parallel::DeadWorker < ::StandardError
end
class Parallel::DeadWorker < ::StandardError; end
class Parallel::ExceptionWrapper
def initialize(exception); end
@ -65,8 +64,7 @@ class Parallel::JobFactory
def queue_wrapper(array); end
end
class Parallel::Kill < ::Parallel::Break
end
class Parallel::Kill < ::Parallel::Break; end
module Parallel::ProcessorCount
def physical_processor_count; end
@ -94,9 +92,7 @@ class Parallel::UserInterruptHandler
end
Parallel::UserInterruptHandler::INTERRUPT_SIGNAL = T.let(T.unsafe(nil), Symbol)
Parallel::VERSION = T.let(T.unsafe(nil), String)
Parallel::Version = T.let(T.unsafe(nil), String)
class Parallel::Worker

View File

@ -4,5 +4,92 @@
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module ParallelTests
class << self
def bundler_enabled?; end
def delta; end
def determine_number_of_processes(count); end
def first_process?; end
def last_process?; end
def now; end
def number_of_running_processes; end
def pid_file_path; end
def pids; end
def stop_all_processes; end
def wait_for_other_processes_to_finish; end
def with_pid_file; end
def with_ruby_binary(command); end
end
end
class ParallelTests::CLI
def run(argv); end
private
def any_test_failed?(test_results); end
def append_test_options(options, argv); end
def detailed_duration(seconds); end
def execute_in_parallel(items, num_processes, options); end
def execute_shell_command_in_parallel(command, num_processes, options); end
def extract_file_paths(argv); end
def extract_test_options(argv); end
def final_fail_message; end
def first_is_1?; end
def handle_interrupt; end
def load_runner(type); end
def lock(lockfile); end
def parse_options!(argv); end
def pluralize(n, singular); end
def report_failure_rerun_commmand(test_results, options); end
def report_number_of_tests(groups); end
def report_results(test_results, options); end
def report_time_taken(&block); end
def reprint_output(result, lockfile); end
def run_tests(group, process_number, num_processes, options); end
def run_tests_in_parallel(num_processes, options); end
def simulate_output_for_ci(simulate); end
def use_colors?; end
end
class ParallelTests::Grouper
class << self
def by_scenarios(tests, num_groups, options = T.unsafe(nil)); end
def by_steps(tests, num_groups, options); end
def in_even_groups_by_size(items, num_groups, options = T.unsafe(nil)); end
private
def add_to_group(group, item, size); end
def group_by_features_with_steps(tests, options); end
def group_by_scenarios(tests, options = T.unsafe(nil)); end
def group_features_by_size(items, groups_to_fill); end
def isolate_count(options); end
def items_to_group(items); end
def largest_first(files); end
def smallest_group(groups); end
def specify_groups(items, num_groups, options, groups); end
end
end
class ParallelTests::Pids
def initialize(file_path); end
def add(pid); end
def all; end
def count; end
def delete(pid); end
def file_path; end
def mutex; end
private
def clear; end
def pids; end
def read; end
def save; end
def sync(&block); end
end
ParallelTests::RUBY_BINARY = T.let(T.unsafe(nil), String)
ParallelTests::VERSION = T.let(T.unsafe(nil), String)

View File

@ -4,39 +4,6 @@
# typed: true
class AST::Node
def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
def +(array); end
def <<(element); end
def ==(other); end
def append(element); end
def children; end
def clone; end
def concat(array); end
def deconstruct; end
def dup; end
def eql?(other); end
def hash; end
def inspect(indent = T.unsafe(nil)); end
def to_a; end
def to_ast; end
def to_s(indent = T.unsafe(nil)); end
def to_sexp(indent = T.unsafe(nil)); end
def to_sexp_array; end
def type; end
def updated(type = T.unsafe(nil), children = T.unsafe(nil), properties = T.unsafe(nil)); end
protected
def assign_properties(properties); end
def fancy_type; end
private
def original_dup; end
end
module Parlour; end
class Parlour::ConflictResolver
@ -1641,86 +1608,3 @@ class Parlour::Types::Untyped < ::Parlour::Types::Type
end
Parlour::VERSION = T.let(T.unsafe(nil), String)
class Parser::AST::Node < ::AST::Node
def assign_properties(properties); end
def loc; end
def location; end
end
class Parser::Source::Buffer
def initialize(name, first_line = T.unsafe(nil), source: T.unsafe(nil)); end
def column_for_position(position); end
def decompose_position(position); end
def first_line; end
def freeze; end
def inspect; end
def last_line; end
def line_for_position(position); end
def line_range(lineno); end
def name; end
def raw_source=(input); end
def read; end
def slice(range); end
def source; end
def source=(input); end
def source_line(lineno); end
def source_lines; end
def source_range; end
private
def bsearch(line_begins, position); end
def line_begins; end
def line_index_for_position(position); end
class << self
def recognize_encoding(string); end
def reencode_string(input); end
end
end
Parser::Source::Buffer::ENCODING_RE = T.let(T.unsafe(nil), Regexp)
class Parser::Source::Range
include ::Comparable
include ::RuboCop::AST::Ext::Range
def initialize(source_buffer, begin_pos, end_pos); end
def <=>(other); end
def adjust(begin_pos: T.unsafe(nil), end_pos: T.unsafe(nil)); end
def begin; end
def begin_pos; end
def column; end
def column_range; end
def contained?(other); end
def contains?(other); end
def crossing?(other); end
def disjoint?(other); end
def empty?; end
def end; end
def end_pos; end
def eql?(_arg0); end
def first_line; end
def hash; end
def inspect; end
def intersect(other); end
def is?(*what); end
def join(other); end
def last_column; end
def last_line; end
def length; end
def line; end
def overlaps?(other); end
def resize(new_size); end
def size; end
def source; end
def source_buffer; end
def source_line; end
def to_a; end
def to_range; end
def to_s; end
def with(begin_pos: T.unsafe(nil), end_pos: T.unsafe(nil)); end
end

View File

@ -4,49 +4,6 @@
# typed: true
class AST::Node
def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
def +(array); end
def <<(element); end
def ==(other); end
def append(element); end
def children; end
def clone; end
def concat(array); end
def deconstruct; end
def dup; end
def eql?(other); end
def hash; end
def inspect(indent = T.unsafe(nil)); end
def to_a; end
def to_ast; end
def to_s(indent = T.unsafe(nil)); end
def to_sexp(indent = T.unsafe(nil)); end
def to_sexp_array; end
def type; end
def updated(type = T.unsafe(nil), children = T.unsafe(nil), properties = T.unsafe(nil)); end
protected
def assign_properties(properties); end
def fancy_type; end
private
def original_dup; end
end
class AST::Processor
include ::AST::Processor::Mixin
end
module AST::Processor::Mixin
def handler_missing(node); end
def process(node); end
def process_all(nodes); end
end
module Parser
class << self
private

View File

@ -1,14 +1,12 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `patchelf` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module PatchELF
end
module PatchELF; end
module PatchELF::Helper
private
def aligndown(val, align = T.unsafe(nil)); end
@ -25,11 +23,9 @@ module PatchELF::Helper
end
PatchELF::Helper::COLOR_CODE = T.let(T.unsafe(nil), Hash)
PatchELF::Helper::PAGE_SIZE = T.let(T.unsafe(nil), Integer)
module PatchELF::Logger
private
def debug(msg); end
@ -72,14 +68,9 @@ class PatchELF::MM
def writable?(seg); end
end
class PatchELF::MissingSegmentError < ::PatchELF::PatchError
end
class PatchELF::MissingTagError < ::PatchELF::PatchError
end
class PatchELF::PatchError < ::ELFTools::ELFError
end
class PatchELF::MissingSegmentError < ::PatchELF::PatchError; end
class PatchELF::MissingTagError < ::PatchELF::PatchError; end
class PatchELF::PatchError < ::ELFTools::ELFError; end
class PatchELF::Patcher
def initialize(filename, on_error: T.unsafe(nil), logging: T.unsafe(nil)); end
@ -139,5 +130,4 @@ class PatchELF::Saver
end
PatchELF::Saver::IGNORE = T.let(T.unsafe(nil), Integer)
PatchELF::VERSION = T.let(T.unsafe(nil), String)

View File

@ -1,6 +1,6 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `plist` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
@ -119,20 +119,11 @@ class Plist::StreamParser
end
Plist::StreamParser::CDATA = T.let(T.unsafe(nil), Regexp)
Plist::StreamParser::COMMENT_END = T.let(T.unsafe(nil), Regexp)
Plist::StreamParser::COMMENT_START = T.let(T.unsafe(nil), Regexp)
Plist::StreamParser::DOCTYPE_PATTERN = T.let(T.unsafe(nil), Regexp)
Plist::StreamParser::TEXT = T.let(T.unsafe(nil), Regexp)
Plist::StreamParser::UNIMPLEMENTED_ERROR = T.let(T.unsafe(nil), String)
Plist::StreamParser::XMLDECL_PATTERN = T.let(T.unsafe(nil), Regexp)
class Plist::UnimplementedElementError < ::RuntimeError
end
class Plist::UnimplementedElementError < ::RuntimeError; end
Plist::VERSION = T.let(T.unsafe(nil), String)

File diff suppressed because it is too large Load Diff

View File

@ -15,7 +15,6 @@ module PublicSuffix
end
PublicSuffix::BANG = T.let(T.unsafe(nil), String)
PublicSuffix::DOT = T.let(T.unsafe(nil), String)
class PublicSuffix::Domain
@ -37,14 +36,9 @@ class PublicSuffix::Domain
end
end
class PublicSuffix::DomainInvalid < ::PublicSuffix::Error
end
class PublicSuffix::DomainNotAllowed < ::PublicSuffix::DomainInvalid
end
class PublicSuffix::Error < ::StandardError
end
class PublicSuffix::DomainInvalid < ::PublicSuffix::Error; end
class PublicSuffix::DomainNotAllowed < ::PublicSuffix::DomainInvalid; end
class PublicSuffix::Error < ::StandardError; end
class PublicSuffix::List
def initialize; end
@ -148,5 +142,4 @@ class PublicSuffix::Rule::Wildcard < ::PublicSuffix::Rule::Base
end
PublicSuffix::STAR = T.let(T.unsafe(nil), String)
PublicSuffix::VERSION = T.let(T.unsafe(nil), String)

View File

@ -1,13 +1,257 @@
# 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`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
class Object < ::BasicObject
include ::ActiveSupport::ForkTracker::CoreExt
include ::ActiveSupport::ForkTracker::CoreExtPrivate
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
include ::Kernel
include ::JSON::Ext::Generator::GeneratorMethods::Object
include ::PP::ObjectMixin
include ::ActiveSupport::Tryable
include ::ActiveSupport::Dependencies::Loadable
end
ParseError = Racc::ParseError
class Racc::Accept
def inspect; end
end
class Racc::ActionTable
def initialize(rt, st); end
def accept; end
def each_reduce(&block); end
def each_shift(&block); end
def error; end
def init; end
def reduce(i); end
def reduce_n; end
def shift(i); end
def shift_n; end
end
class Racc::CompileError < ::Racc::Error; end
Racc::Copyright = T.let(T.unsafe(nil), String)
class Racc::DebugFlags
def initialize(parse = T.unsafe(nil), rule = T.unsafe(nil), token = T.unsafe(nil), state = T.unsafe(nil), la = T.unsafe(nil), prec = T.unsafe(nil), conf = T.unsafe(nil)); end
def any?; end
def la; end
def parse; end
def prec; end
def rule; end
def state; end
def status_logging; end
def token; end
class << self
def parse_option_string(s); end
end
end
class Racc::Error < ::StandardError
def inspect; end
end
class Racc::Goto
def initialize(ident, sym, from, to); end
def from_state; end
def ident; end
def inspect; end
def symbol; end
def to_state; end
end
class Racc::Grammar
extend ::Forwardable
def initialize(debug_flags = T.unsafe(nil)); end
def [](x); end
def add(rule); end
def added?(sym); end
def declare_precedence(assoc, syms); end
def dfa; end
def each(&block); end
def each_index(&block); end
def each_nonterminal(*args, &block); end
def each_rule(&block); end
def each_symbol(*args, &block); end
def each_terminal(*args, &block); end
def each_useless_nonterminal; end
def each_useless_rule; end
def each_with_index(&block); end
def end_precedence_declaration(reverse); end
def init; end
def intern(value, dummy = T.unsafe(nil)); end
def n_expected_srconflicts; end
def n_expected_srconflicts=(_arg0); end
def n_useless_nonterminals; end
def n_useless_rules; end
def nfa; end
def nonterminal_base; end
def parser_class; end
def size; end
def start; end
def start_symbol=(s); end
def state_transition_table; end
def states; end
def symbols; end
def symboltable; end
def to_s; end
def useless_nonterminal_exist?; end
def useless_rule_exist?; end
def write_log(path); end
private
def _compute_expand(t, set, lock); end
def add_start_rule; end
def check_rules_nullable(rules); end
def check_rules_useless(rules); end
def check_symbols_nullable(symbols); end
def check_symbols_useless(s); end
def compute_expand(t); end
def compute_hash; end
def compute_heads; end
def compute_locate; end
def compute_nullable; end
def compute_nullable_0; end
def compute_useless; end
def determine_terminals; end
def fix_ident; end
class << self
def define(&block); end
end
end
class Racc::Grammar::DefinitionEnv
def initialize; end
def _(&block); end
def _add(target, x); end
def _added?(sym); end
def _delayed_add(rule); end
def _intern(x); end
def action(&block); end
def flush_delayed; end
def grammar; end
def many(sym, &block); end
def many1(sym, &block); end
def method_missing(mid, *args, &block); end
def null(&block); end
def option(sym, default = T.unsafe(nil), &block); end
def precedence_table(&block); end
def separated_by(sep, sym, &block); end
def separated_by1(sep, sym, &block); end
def seq(*list, &block); end
private
def _defmetasyntax(type, id, action, &block); end
def _regist(target_name); end
def _wrap(target_name, sym, block); end
end
class Racc::Grammar::PrecedenceDefinitionEnv
def initialize(g); end
def higher; end
def left(*syms); end
def lower; end
def nonassoc(*syms); end
def reverse; end
def right(*syms); end
end
class Racc::ISet
def initialize(a = T.unsafe(nil)); end
def [](key); end
def []=(key, val); end
def add(i); end
def clear; end
def delete(key); end
def dup; end
def each(&block); end
def empty?; end
def include?(key); end
def inspect; end
def key?(key); end
def set; end
def size; end
def to_a; end
def to_s; end
def update(other); end
def update_a(a); end
end
class Racc::Item
def initialize(rule, la); end
def each_la(tbl); end
def la; end
def rule; end
end
class Racc::LocationPointer
def initialize(rule, i, sym); end
def ==(ot); end
def before(len); end
def dereference; end
def eql?(ot); end
def hash; end
def head?; end
def ident; end
def increment; end
def index; end
def inspect; end
def next; end
def reduce; end
def reduce?; end
def rule; end
def symbol; end
def to_s; end
private
def ptr_bug!; end
end
class Racc::LogFileGenerator
def initialize(states, debug_flags = T.unsafe(nil)); end
def action_out(f, state); end
def outact(f, t, act); end
def output(out); end
def output_conflict(out); end
def output_rule(out); end
def output_state(out); end
def output_token(out); end
def output_useless(out); end
def outrrconf(f, confs); end
def outsrconf(f, confs); end
def pointer_out(out, ptr); end
def symbol_locations(locs); end
end
class Racc::OrMark
def initialize(lineno); end
def inspect; end
def lineno; end
def name; end
end
class Racc::Parser
def _racc_do_parse_rb(arg, in_debug); end
def _racc_do_reduce(arg, act); end
@ -37,21 +281,357 @@ class Racc::Parser
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)
class Racc::ParserClassGenerator
def initialize(states); end
def generate; end
private
def define_actions(c); end
end
class Racc::Prec
def initialize(symbol, lineno); end
def inspect; end
def lineno; end
def name; end
def symbol; end
end
class Racc::RRconflict
def initialize(sid, high, low, tok); end
def high_prec; end
def low_prec; end
def stateid; end
def to_s; end
def token; end
end
class Racc::Reduce
def initialize(rule); end
def decref; end
def incref; end
def inspect; end
def refn; end
def rule; end
def ruleid; end
end
class Racc::Rule
def initialize(target, syms, act); end
def ==(other); end
def [](idx); end
def accept?; end
def action; end
def each(&block); end
def each_rule(&block); end
def empty?; end
def hash; end
def hash=(n); end
def ident; end
def ident=(_arg0); end
def inspect; end
def null=(n); end
def nullable?; end
def prec(sym, &block); end
def precedence; end
def precedence=(sym); end
def ptrs; end
def replace(src, dest); end
def rule; end
def size; end
def specified_prec; end
def specified_prec=(_arg0); end
def symbols; end
def target; end
def target=(_arg0); end
def to_s; end
def useless=(u); end
def useless?; end
def |(x); end
end
class Racc::SRconflict
def initialize(sid, shift, reduce); end
def reduce; end
def shift; end
def stateid; end
def to_s; end
end
class Racc::Shift
def initialize(goto); end
def goto_id; end
def goto_state; end
def inspect; end
end
class Racc::SourceText
def initialize(text, filename, lineno); end
def filename; end
def lineno; end
def location; end
def text; end
def to_s; end
end
class Racc::State
def initialize(ident, core); end
def ==(oth); end
def action; end
def check_la(la_rules); end
def closure; end
def conflict?; end
def core; end
def defact; end
def defact=(_arg0); end
def eql?(oth); end
def goto_table; end
def gotos; end
def hash; end
def ident; end
def inspect; end
def la=(la); end
def make_closure(core); end
def n_rrconflicts; end
def n_srconflicts; end
def ritems; end
def rr_conflict(high, low, ctok); end
def rrconf; end
def rruleid(rule); end
def rrules; end
def sr_conflict(shift, reduce); end
def srconf; end
def stateid; end
def stokens; end
def to_s; end
end
class Racc::StateTransitionTable < ::Struct
def initialize(states); end
def action_check; end
def action_check=(_); end
def action_default; end
def action_default=(_); end
def action_pointer; end
def action_pointer=(_); end
def action_table; end
def action_table=(_); end
def debug_parser; end
def debug_parser=(_); end
def goto_check; end
def goto_check=(_); end
def goto_default; end
def goto_default=(_); end
def goto_pointer; end
def goto_pointer=(_); end
def goto_table; end
def goto_table=(_); end
def grammar; end
def nt_base; end
def nt_base=(_); end
def parser_class; end
def reduce_n; end
def reduce_n=(_); end
def reduce_table; end
def reduce_table=(_); end
def shift_n; end
def shift_n=(_); end
def states; end
def token_table; end
def token_table=(_); end
def token_to_s_table; end
def token_to_s_table=(_); end
def token_value_table; end
def use_result_var; end
def use_result_var=(_); end
class << self
def [](*_arg0); end
def generate(states); end
def inspect; end
def members; end
def new(*_arg0); end
end
end
class Racc::StateTransitionTableGenerator
def initialize(states); end
def act2actid(act); end
def addent(all, arr, chkval, ptr); end
def gen_action_tables(t, states); end
def gen_goto_tables(t, grammar); end
def generate; end
def mkmapexp(arr); end
def reduce_table(grammar); end
def set_table(entries, dummy, tbl, chk, ptr); end
def token_table(grammar); end
end
Racc::StateTransitionTableGenerator::RE_DUP_MAX = T.let(T.unsafe(nil), Integer)
class Racc::States
include ::Enumerable
extend ::Forwardable
def initialize(grammar, debug_flags = T.unsafe(nil)); end
def [](i); end
def actions; end
def dfa; end
def each(&block); end
def each_index(&block); end
def each_state(&block); end
def grammar; end
def inspect; end
def n_rrconflicts; end
def n_srconflicts; end
def nfa; end
def nt_base(*args, &block); end
def reduce_n(*args, &block); end
def rrconflict_exist?; end
def shift_n(*args, &block); end
def should_report_srconflict?; end
def size; end
def srconflict_exist?; end
def state_transition_table; end
def to_s; end
private
def addrel(tbl, i, item); end
def addsym(table, sym, ptr); end
def check_useless; end
def compute_dfa; end
def compute_nfa; end
def core_to_state(core); end
def create_tmap(size); end
def digraph(map, relation); end
def do_resolve_sr(stok, rtok); end
def each_t(tbl, set); end
def fingerprint(arr); end
def generate_states(state); end
def lookahead; end
def pack(state); end
def print_atab(idx, tab); end
def print_tab(idx, rel, tab); end
def print_tab_i(idx, rel, tab, i); end
def printb(i); end
def record_path(begst, rule); end
def resolve(state); end
def resolve_rr(state, r); end
def resolve_sr(state, s); end
def set_accept; end
def transpose(rel); end
def traverse(i, index, vertices, map, relation); end
end
Racc::States::ASSOC = T.let(T.unsafe(nil), Hash)
class Racc::Sym
def initialize(value, dummyp); end
def assoc; end
def assoc=(_arg0); end
def dummy?; end
def expand; end
def expand=(v); end
def hash; end
def heads; end
def ident; end
def ident=(v); end
def inspect; end
def locate; end
def nonterminal?; end
def null=(n); end
def nullable?; end
def precedence; end
def precedence=(_arg0); end
def rule; end
def self_null?; end
def serialize; end
def serialized=(_arg0); end
def should_terminal; end
def should_terminal?; end
def snull=(v); end
def string_symbol?; end
def term=(t); end
def terminal?; end
def to_s; end
def useless=(f); end
def useless?; end
def value; end
def |(x); end
class << self
def once_writer(nm); end
end
end
class Racc::SymbolTable
include ::Enumerable
def initialize; end
def [](id); end
def anchor; end
def delete(sym); end
def dummy; end
def each(&block); end
def each_nonterminal(&block); end
def each_terminal(&block); end
def error; end
def fix; end
def intern(val, dummy = T.unsafe(nil)); end
def nonterminals; end
def nt_base; end
def nt_max; end
def symbols; end
def terminals(&block); end
def to_a; end
private
def check_terminals; end
def fix_ident; end
end
class Racc::UserAction
def initialize(src, proc); end
def empty?; end
def inspect; end
def name; end
def proc; end
def proc?; end
def source; end
def source?; end
class << self
def empty; end
def proc(pr = T.unsafe(nil), &block); end
def source_text(src); end
end
end
Racc::VERSION = T.let(T.unsafe(nil), String)
Racc::Version = T.let(T.unsafe(nil), String)

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rainbow` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
@ -59,7 +59,7 @@ class Rainbow::Color::RGB < ::Rainbow::Color::Indexed
end
class Rainbow::Color::X11Named < ::Rainbow::Color::RGB
include(::Rainbow::X11ColorNames)
include ::Rainbow::X11ColorNames
def initialize(ground, name); end
@ -145,11 +145,9 @@ class Rainbow::Wrapper
def initialize(enabled = T.unsafe(nil)); end
def enabled; end
def enabled=(_); end
def enabled=(_arg0); end
def wrap(string); end
end
module Rainbow::X11ColorNames
end
module Rainbow::X11ColorNames; end
Rainbow::X11ColorNames::NAMES = T.let(T.unsafe(nil), Hash)

View File

@ -1,7 +1,47 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rdiscount` gem.
# Please instead update this file by running `tapioca sync --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
Markdown = RDiscount
class RDiscount
def initialize(text, *extensions); end
def autolink; end
def autolink=(_arg0); end
def filter_html; end
def filter_html=(_arg0); end
def filter_styles; end
def filter_styles=(_arg0); end
def fold_lines; end
def fold_lines=(_arg0); end
def footnotes; end
def footnotes=(_arg0); end
def generate_toc; end
def generate_toc=(_arg0); end
def no_image; end
def no_image=(_arg0); end
def no_links; end
def no_links=(_arg0); end
def no_pseudo_protocols; end
def no_pseudo_protocols=(_arg0); end
def no_strikethrough; end
def no_strikethrough=(_arg0); end
def no_superscript; end
def no_superscript=(_arg0); end
def no_tables; end
def no_tables=(_arg0); end
def safelink; end
def safelink=(_arg0); end
def smart; end
def smart=(_arg0); end
def strict; end
def strict=(_arg0); end
def text; end
def to_html(*_arg0); end
def toc_content(*_arg0); end
end
RDiscount::VERSION = T.let(T.unsafe(nil), String)

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@
# typed: true
class REXML::AttlistDecl < ::REXML::Child
include(::Enumerable)
include ::Enumerable
def initialize(source); end
@ -18,9 +18,9 @@ class REXML::AttlistDecl < ::REXML::Child
end
class REXML::Attribute
include(::REXML::Node)
include(::REXML::XMLTokens)
include(::REXML::Namespace)
include ::REXML::Node
include ::REXML::XMLTokens
include ::REXML::Namespace
def initialize(first, second = T.unsafe(nil), parent = T.unsafe(nil)); end
@ -73,7 +73,7 @@ class REXML::CData < ::REXML::Text
end
class REXML::Child
include(::REXML::Node)
include ::REXML::Node
def initialize(parent = T.unsafe(nil)); end
@ -90,7 +90,7 @@ class REXML::Child
end
class REXML::Comment < ::REXML::Child
include(::Comparable)
include ::Comparable
def initialize(first, second = T.unsafe(nil)); end
@ -104,8 +104,7 @@ class REXML::Comment < ::REXML::Child
def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
end
module REXML::DClonable
end
module REXML::DClonable; end
class REXML::Declaration < ::REXML::Child
def initialize(src); end
@ -115,7 +114,7 @@ class REXML::Declaration < ::REXML::Child
end
class REXML::DocType < ::REXML::Parent
include(::REXML::XMLTokens)
include ::REXML::XMLTokens
def initialize(first, parent = T.unsafe(nil)); end
@ -172,8 +171,8 @@ class REXML::Document < ::REXML::Element
end
class REXML::Element < ::REXML::Parent
include(::REXML::XMLTokens)
include(::REXML::Namespace)
include ::REXML::XMLTokens
include ::REXML::Namespace
def initialize(arg = T.unsafe(nil), parent = T.unsafe(nil), context = T.unsafe(nil)); end
@ -228,8 +227,12 @@ class REXML::Element < ::REXML::Parent
def each_with_something(test, max = T.unsafe(nil), name = T.unsafe(nil)); end
end
class REXML::ElementDecl < ::REXML::Declaration
def initialize(src); end
end
class REXML::Elements
include(::Enumerable)
include ::Enumerable
def initialize(parent); end
@ -265,7 +268,7 @@ module REXML::Encoding
end
class REXML::Entity < ::REXML::Child
include(::REXML::XMLTokens)
include ::REXML::XMLTokens
def initialize(stream, value = T.unsafe(nil), parent = T.unsafe(nil), reference = T.unsafe(nil)); end
@ -373,7 +376,7 @@ class REXML::NotationDecl < ::REXML::Child
end
class REXML::Output
include(::REXML::Encoding)
include ::REXML::Encoding
def initialize(real_IO, encd = T.unsafe(nil)); end
@ -383,7 +386,7 @@ class REXML::Output
end
class REXML::Parent < ::REXML::Child
include(::Enumerable)
include ::Enumerable
def initialize(parent = T.unsafe(nil)); end
@ -454,13 +457,9 @@ class REXML::Parsers::BaseParser
end
REXML::Parsers::BaseParser::EXTERNAL_ID_PUBLIC = T.let(T.unsafe(nil), Regexp)
REXML::Parsers::BaseParser::EXTERNAL_ID_SYSTEM = T.let(T.unsafe(nil), Regexp)
REXML::Parsers::BaseParser::PUBLIC_ID = T.let(T.unsafe(nil), Regexp)
REXML::Parsers::BaseParser::QNAME = T.let(T.unsafe(nil), Regexp)
REXML::Parsers::BaseParser::QNAME_STR = T.let(T.unsafe(nil), String)
class REXML::Parsers::StreamParser
@ -478,7 +477,7 @@ class REXML::Parsers::TreeParser
end
class REXML::Parsers::XPathParser
include(::REXML::XMLTokens)
include ::REXML::XMLTokens
def abbreviate(path); end
def expand(path); end
@ -510,7 +509,6 @@ class REXML::Parsers::XPathParser
end
REXML::Parsers::XPathParser::LOCAL_NAME_WILDCARD = T.let(T.unsafe(nil), Regexp)
REXML::Parsers::XPathParser::PREFIX_WILDCARD = T.let(T.unsafe(nil), Regexp)
class REXML::ReferenceWriter
@ -520,7 +518,7 @@ class REXML::ReferenceWriter
end
class REXML::Source
include(::REXML::Encoding)
include ::REXML::Encoding
def initialize(arg, encoding = T.unsafe(nil)); end
@ -545,7 +543,7 @@ class REXML::Source
end
class REXML::Text < ::REXML::Child
include(::Comparable)
include ::Comparable
def initialize(arg, respect_whitespace = T.unsafe(nil), parent = T.unsafe(nil), raw = T.unsafe(nil), entity_filter = T.unsafe(nil), illegal = T.unsafe(nil)); end
@ -581,8 +579,16 @@ class REXML::Text < ::REXML::Child
end
end
class REXML::UndefinedNamespaceException < ::REXML::ParseException
def initialize(prefix, source, parser); end
end
class REXML::Validation::ValidationException < ::RuntimeError
def initialize(msg); end
end
class REXML::XMLDecl < ::REXML::Child
include(::REXML::Encoding)
include ::REXML::Encoding
def initialize(version = T.unsafe(nil), encoding = T.unsafe(nil), standalone = T.unsafe(nil)); end
@ -622,7 +628,7 @@ class REXML::XPathNode
end
class REXML::XPathParser
include(::REXML::XMLTokens)
include ::REXML::XMLTokens
def initialize(strict: T.unsafe(nil)); end

View File

@ -1,7 +1,194 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `ronn` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module Ronn
class << self
def new(filename, attributes = T.unsafe(nil), &block); end
def release?; end
def revision; end
def version; end
end
end
class Ronn::Document
include ::Ronn::Utils
def initialize(path = T.unsafe(nil), attributes = T.unsafe(nil), &block); end
def basename(type = T.unsafe(nil)); end
def convert(format); end
def data; end
def date; end
def date=(_arg0); end
def html; end
def index; end
def index=(_arg0); end
def manual; end
def manual=(_arg0); end
def markdown; end
def name; end
def name=(_arg0); end
def name?; end
def organization; end
def organization=(_arg0); end
def path; end
def path_for(type = T.unsafe(nil)); end
def path_name; end
def path_section; end
def reference_name; end
def section; end
def section=(_arg0); end
def section?; end
def section_heads; end
def sniff; end
def styles; end
def styles=(styles); end
def tagline; end
def tagline=(_arg0); end
def title; end
def title?; end
def to_h; end
def to_html; end
def to_html_fragment(wrap_class = T.unsafe(nil)); end
def to_json; end
def to_markdown; end
def to_roff; end
def to_yaml; end
def toc; end
protected
def html_filter_angle_quotes; end
def html_filter_annotate_bare_links; end
def html_filter_definition_lists; end
def html_filter_heading_anchors; end
def html_filter_inject_name_section; end
def html_filter_manual_reference_links; end
def input_html; end
def markdown_filter_angle_quotes(markdown); end
def markdown_filter_heading_anchors(markdown); end
def markdown_filter_link_index(markdown); end
def preprocess!; end
def process_html!; end
def process_markdown!; end
def strip_heading(html); end
end
class Ronn::Index
include ::Enumerable
def initialize(path, &bk); end
def <<(path); end
def [](name); end
def add_manual(manual); end
def each(&bk); end
def empty?; end
def exist?; end
def first; end
def last; end
def manual(path); end
def manuals; end
def path; end
def read!(data); end
def reference(name, path); end
def references; end
def relative_to_index(path); end
def size; end
def to_a; end
def to_h; end
def to_text; end
class << self
def [](path); end
def index_path_for_file(file); end
end
end
Ronn::REV = T.let(T.unsafe(nil), String)
class Ronn::Reference
def initialize(index, name, location); end
def location; end
def manual?; end
def name; end
def path; end
def relative?; end
def remote?; end
def ronn?; end
def url; end
end
class Ronn::RoffFilter
include ::Ronn::Utils
def initialize(html, name, section, tagline, manual = T.unsafe(nil), version = T.unsafe(nil), date = T.unsafe(nil)); end
def to_s; end
protected
def block_filter(node); end
def comment(text); end
def escape(text); end
def inline_filter(node); end
def macro(name, value = T.unsafe(nil)); end
def normalize_whitespace!(node); end
def previous(node); end
def quote(text); end
def remove_extraneous_elements!(doc); end
def title_heading(name, section, tagline, manual, version, date); end
def warn(text, *args); end
def write(text); end
def writeln(text); end
end
Ronn::RoffFilter::HTML_ROFF_ENTITIES = T.let(T.unsafe(nil), Hash)
class Ronn::Template < ::Mustache
def initialize(document, style_path = T.unsafe(nil)); end
def custom_title?; end
def date; end
def generator; end
def inline_stylesheet(path, media = T.unsafe(nil)); end
def manual; end
def missing_styles; end
def name; end
def name_and_section?; end
def organization; end
def page_name; end
def remote_stylesheet(name, media = T.unsafe(nil)); end
def render(template = T.unsafe(nil)); end
def section; end
def section_heads; end
def style_files; end
def style_path; end
def style_path=(_arg0); end
def styles; end
def stylesheet(path, media = T.unsafe(nil)); end
def stylesheet_tags; end
def stylesheets; end
def tagline; end
def tagline?; end
def title; end
def wrap_class_name; end
end
module Ronn::Utils
def block_element?(name); end
def child_of?(node, tag); end
def empty_element?(name); end
def html_element?(name); end
def inline_element?(name); end
end
Ronn::Utils::HTML = T.let(T.unsafe(nil), Set)
Ronn::Utils::HTML_BLOCK = T.let(T.unsafe(nil), Set)
Ronn::Utils::HTML_EMPTY = T.let(T.unsafe(nil), Set)
Ronn::Utils::HTML_INLINE = T.let(T.unsafe(nil), Set)
Ronn::VERSION = T.let(T.unsafe(nil), String)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,60 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-github` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
class << self
def clear_examples; end
def configuration; end
def configuration=(_arg0); end
def configure; end
def const_missing(name); end
def context(*args, &example_group_block); end
def current_example; end
def current_example=(example); end
def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block); end
def fcontext(*args, &example_group_block); end
def fdescribe(*args, &example_group_block); end
def reset; end
def shared_context(name, *args, &block); end
def shared_examples(name, *args, &block); end
def shared_examples_for(name, *args, &block); end
def world; end
def world=(_arg0); end
def xcontext(*args, &example_group_block); end
def xdescribe(*args, &example_group_block); end
end
end
module RSpec::Github; end
class RSpec::Github::Formatter < ::RSpec::Core::Formatters::BaseFormatter
def example_failed(failure); end
def example_pending(pending); end
end
class RSpec::Github::NotificationDecorator
def initialize(notification); end
def annotation; end
def line; end
def path; end
private
def example; end
def message; end
def raw_path; end
def workspace; end
end
RSpec::Github::NotificationDecorator::ESCAPE_MAP = T.let(T.unsafe(nil), Hash)
RSpec::Github::VERSION = T.let(T.unsafe(nil), String)
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
RSpec::SharedContext = RSpec::Core::SharedContext

View File

@ -1,7 +1,41 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-its` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
class << self
def clear_examples; end
def configuration; end
def configuration=(_arg0); end
def configure; end
def const_missing(name); end
def context(*args, &example_group_block); end
def current_example; end
def current_example=(example); end
def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block); end
def fcontext(*args, &example_group_block); end
def fdescribe(*args, &example_group_block); end
def reset; end
def shared_context(name, *args, &block); end
def shared_examples(name, *args, &block); end
def shared_examples_for(name, *args, &block); end
def world; end
def world=(_arg0); end
def xcontext(*args, &example_group_block); end
def xdescribe(*args, &example_group_block); end
end
end
module RSpec::Its
def its(attribute, *options, &block); end
end
RSpec::Its::VERSION = T.let(T.unsafe(nil), String)
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
RSpec::SharedContext = RSpec::Core::SharedContext

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,282 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-retry` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
class << self
def clear_examples; end
def configuration; end
def configuration=(_arg0); end
def configure; end
def const_missing(name); end
def context(*args, &example_group_block); end
def current_example; end
def current_example=(example); end
def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block); end
def fcontext(*args, &example_group_block); end
def fdescribe(*args, &example_group_block); end
def reset; end
def shared_context(name, *args, &block); end
def shared_examples(name, *args, &block); end
def shared_examples_for(name, *args, &block); end
def world; end
def world=(_arg0); end
def xcontext(*args, &example_group_block); end
def xdescribe(*args, &example_group_block); end
end
end
module RSpec::Core
class << self
def path_to_executable; end
end
end
class RSpec::Core::DeprecationError < ::StandardError; end
class RSpec::Core::Example
def initialize(example_group_class, description, user_metadata, example_block = T.unsafe(nil)); end
def attempts; end
def attempts=(_arg0); end
def clear_exception; end
def clock; end
def clock=(_arg0); end
def description; end
def display_exception; end
def display_exception=(ex); end
def duplicate_with(metadata_overrides = T.unsafe(nil)); end
def example_group; end
def example_group_instance; end
def exception; end
def execution_result; end
def fail_with_exception(reporter, exception); end
def file_path; end
def full_description; end
def id; end
def inspect; end
def inspect_output; end
def instance_exec(*args, &block); end
def location; end
def location_rerun_argument; end
def metadata; end
def pending; end
def pending?; end
def reporter; end
def rerun_argument; end
def run(example_group_instance, reporter); end
def set_aggregate_failures_exception(exception); end
def set_exception(exception); end
def skip; end
def skip_with_exception(reporter, exception); end
def skipped?; end
def to_s; end
def update_inherited_metadata(updates); end
private
def assign_generated_description; end
def finish(reporter); end
def generate_description; end
def hooks; end
def location_description; end
def mocks_need_verification?; end
def record_finished(status, reporter); end
def run_after_example; end
def run_before_example; end
def start(reporter); end
def verify_mocks; end
def with_around_and_singleton_context_hooks; end
def with_around_example_hooks; end
class << self
def delegate_to_metadata(key); end
def parse_id(id); end
end
end
RSpec::Core::Example::AllExceptionsExcludingDangerousOnesOnRubiesThatAllowIt = RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
class RSpec::Core::Example::Procsy
def initialize(example, &block); end
def <<(*a, &b); end
def ===(*a, &b); end
def >>(*a, &b); end
def [](*a, &b); end
def arity(*a, &b); end
def attempts; end
def binding(*a, &b); end
def call(*args, &block); end
def clock(*a, &b); end
def clock=(*a, &b); end
def clone(*a, &b); end
def curry(*a, &b); end
def description(*a, &b); end
def dup(*a, &b); end
def duplicate_with(*a, &b); end
def example; end
def example_group(*a, &b); end
def example_group_instance(*a, &b); end
def exception(*a, &b); end
def executed?; end
def execution_result(*a, &b); end
def file_path(*a, &b); end
def full_description(*a, &b); end
def hash(*a, &b); end
def id(*a, &b); end
def inspect; end
def inspect_output(*a, &b); end
def lambda?(*a, &b); end
def location(*a, &b); end
def location_rerun_argument(*a, &b); end
def metadata(*a, &b); end
def parameters(*a, &b); end
def pending(*a, &b); end
def pending?(*a, &b); end
def reporter(*a, &b); end
def rerun_argument(*a, &b); end
def run(*args, &block); end
def run_with_retry(opts = T.unsafe(nil)); end
def skip(*a, &b); end
def skipped?(*a, &b); end
def source_location(*a, &b); end
def to_proc; end
def update_inherited_metadata(*a, &b); end
def wrap(&block); end
def yield(*a, &b); end
end
class RSpec::Core::ExampleGroup
include ::RSpec::Core::MemoizedHelpers
include ::RSpec::Core::Pending
extend ::RSpec::Core::Hooks
extend ::RSpec::Core::MemoizedHelpers::ClassMethods
extend ::RSpec::Core::SharedExampleGroup
def initialize(inspect_output = T.unsafe(nil)); end
def clear_lets; end
def clear_memoized; end
def described_class; end
def inspect; end
private
def method_missing(name, *args); end
class << self
def add_example(example); end
def before_context_ivars; end
def children; end
def context(*args, &example_group_block); end
def currently_executing_a_context_hook?; end
def declaration_locations; end
def define_example_group_method(name, metadata = T.unsafe(nil)); end
def define_example_method(name, extra_options = T.unsafe(nil)); end
def define_nested_shared_group_method(new_name, report_label = T.unsafe(nil)); end
def delegate_to_metadata(*names); end
def descendant_filtered_examples; end
def descendants; end
def describe(*args, &example_group_block); end
def described_class; end
def description; end
def each_instance_variable_for_example(group); end
def ensure_example_groups_are_configured; end
def example(*all_args, &block); end
def example_group(*args, &example_group_block); end
def examples; end
def fcontext(*args, &example_group_block); end
def fdescribe(*args, &example_group_block); end
def fexample(*all_args, &block); end
def file_path; end
def filtered_examples; end
def find_and_eval_shared(label, name, inclusion_location, *args, &customization_block); end
def fit(*all_args, &block); end
def focus(*all_args, &block); end
def for_filtered_examples(reporter, &block); end
def fspecify(*all_args, &block); end
def id; end
def idempotently_define_singleton_method(name, &definition); end
def include_context(name, *args, &block); end
def include_examples(name, *args, &block); end
def it(*all_args, &block); end
def it_behaves_like(name, *args, &customization_block); end
def it_should_behave_like(name, *args, &customization_block); end
def location; end
def metadata; end
def next_runnable_index_for(file); end
def ordering_strategy; end
def parent_groups; end
def pending(*all_args, &block); end
def remove_example(example); end
def reset_memoized; end
def run(reporter = T.unsafe(nil)); end
def run_after_context_hooks(example_group_instance); end
def run_before_context_hooks(example_group_instance); end
def run_examples(reporter); end
def set_it_up(description, args, registration_collection, &example_group_block); end
def set_ivars(instance, ivars); end
def skip(*all_args, &block); end
def specify(*all_args, &block); end
def store_before_context_ivars(example_group_instance); end
def subclass(parent, description, args, registration_collection, &example_group_block); end
def superclass_before_context_ivars; end
def superclass_metadata; end
def top_level?; end
def top_level_description; end
def traverse_tree_until(&block); end
def update_inherited_metadata(updates); end
def with_replaced_metadata(meta); end
def xcontext(*args, &example_group_block); end
def xdescribe(*args, &example_group_block); end
def xexample(*all_args, &block); end
def xit(*all_args, &block); end
def xspecify(*all_args, &block); end
private
def method_missing(name, *args); end
end
end
RSpec::Core::ExampleGroup::INSTANCE_VARIABLE_TO_IGNORE = T.let(T.unsafe(nil), Symbol)
class RSpec::Core::ExampleGroup::WrongScopeError < ::NoMethodError; end
RSpec::Core::ExclusionRules = RSpec::Core::FilterRules
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
class RSpec::Retry
def initialize(ex, opts = T.unsafe(nil)); end
def attempts; end
def attempts=(val); end
def clear_lets; end
def context; end
def current_example; end
def display_try_failure_messages?; end
def ex; end
def exceptions_to_hard_fail; end
def exceptions_to_retry; end
def retry_count; end
def run; end
def sleep_interval; end
def verbose_retry?; end
private
def exception_exists_in?(list, exception); end
def ordinalize(number); end
class << self
def setup; end
end
end
RSpec::Retry::VERSION = T.let(T.unsafe(nil), String)
RSpec::SharedContext = RSpec::Core::SharedContext

View File

@ -1,8 +1,57 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-sorbet` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
class << self
def clear_examples; end
def configuration; end
def configuration=(_arg0); end
def configure; end
def const_missing(name); end
def context(*args, &example_group_block); end
def current_example; end
def current_example=(example); end
def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block); end
def fcontext(*args, &example_group_block); end
def fdescribe(*args, &example_group_block); end
def reset; end
def shared_context(name, *args, &block); end
def shared_examples(name, *args, &block); end
def shared_examples_for(name, *args, &block); end
def world; end
def world=(_arg0); end
def xcontext(*args, &example_group_block); end
def xdescribe(*args, &example_group_block); end
end
end
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
RSpec::SharedContext = RSpec::Core::SharedContext
module RSpec::Sorbet
extend ::RSpec::Sorbet::Doubles
end
module RSpec::Sorbet::Doubles
def allow_doubles!; end
def allow_instance_doubles!; end
private
def call_validation_error_handler(_signature, opts); end
def double_message_with_ellipsis?(message); end
def inline_type_error_handler(error); end
def typed_array_message?(message); end
def unable_to_check_type_for_message?(message); end
end
RSpec::Sorbet::Doubles::INLINE_DOUBLE_REGEX = T.let(T.unsafe(nil), Regexp)
RSpec::Sorbet::Doubles::TYPED_ARRAY_MESSAGE = T.let(T.unsafe(nil), Regexp)
RSpec::Sorbet::Doubles::VERIFYING_DOUBLE_OR_DOUBLE = T.let(T.unsafe(nil), Regexp)

View File

@ -1,8 +1,509 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-support` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
class << self
def clear_examples; end
def configuration; end
def configuration=(_arg0); end
def configure; end
def const_missing(name); end
def context(*args, &example_group_block); end
def current_example; end
def current_example=(example); end
def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block); end
def fcontext(*args, &example_group_block); end
def fdescribe(*args, &example_group_block); end
def reset; end
def shared_context(name, *args, &block); end
def shared_examples(name, *args, &block); end
def shared_examples_for(name, *args, &block); end
def world; end
def world=(_arg0); end
def xcontext(*args, &example_group_block); end
def xdescribe(*args, &example_group_block); end
end
end
class RSpec::CallerFilter
class << self
def first_non_rspec_line(skip_frames = T.unsafe(nil), increment = T.unsafe(nil)); end
end
end
RSpec::CallerFilter::ADDITIONAL_TOP_LEVEL_FILES = T.let(T.unsafe(nil), Array)
RSpec::CallerFilter::IGNORE_REGEX = T.let(T.unsafe(nil), Regexp)
RSpec::CallerFilter::LIB_REGEX = T.let(T.unsafe(nil), Regexp)
RSpec::CallerFilter::RSPEC_LIBS = T.let(T.unsafe(nil), Array)
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
RSpec::SharedContext = RSpec::Core::SharedContext
module RSpec::Support
class << self
def class_of(object); end
def define_optimized_require_for_rspec(lib, &require_relative); end
def deregister_matcher_definition(&block); end
def failure_notifier; end
def failure_notifier=(callable); end
def is_a_matcher?(object); end
def matcher_definitions; end
def method_handle_for(object, method_name); end
def notify_failure(failure, options = T.unsafe(nil)); end
def register_matcher_definition(&block); end
def require_rspec_core(f); end
def require_rspec_expectations(f); end
def require_rspec_matchers(f); end
def require_rspec_mocks(f); end
def require_rspec_support(f); end
def rspec_description_for_object(object); end
def thread_local_data; end
def warning_notifier; end
def warning_notifier=(_arg0); end
def with_failure_notifier(callable); end
end
end
module RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
class << self
def ===(exception); end
end
end
RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue::AVOID_RESCUING = T.let(T.unsafe(nil), Array)
class RSpec::Support::BlockSignature < ::RSpec::Support::MethodSignature
def classify_parameters; end
end
class RSpec::Support::ComparableVersion
include ::Comparable
def initialize(string); end
def <=>(other); end
def segments; end
def string; end
end
RSpec::Support::DEFAULT_FAILURE_NOTIFIER = T.let(T.unsafe(nil), Proc)
RSpec::Support::DEFAULT_WARNING_NOTIFIER = T.let(T.unsafe(nil), Proc)
class RSpec::Support::Differ
def initialize(opts = T.unsafe(nil)); end
def color?; end
def diff(actual, expected); end
def diff_as_object(actual, expected); end
def diff_as_string(actual, expected); end
private
def add_old_hunk_to_hunk(hunk, oldhunk); end
def add_to_output(output, string); end
def all_strings?(*args); end
def any_multiline_strings?(*args); end
def blue(text); end
def build_hunks(actual, expected); end
def coerce_to_string(string_or_array); end
def color(text, color_code); end
def color_diff(diff); end
def diffably_stringify(array); end
def finalize_output(output, final_line); end
def format_type; end
def green(text); end
def handle_encoding_errors(actual, expected); end
def hash_to_string(hash); end
def multiline?(string); end
def no_numbers?(*args); end
def no_procs?(*args); end
def normal(text); end
def object_to_string(object); end
def red(text); end
def safely_flatten(array); end
end
class RSpec::Support::DirectoryMaker
class << self
def mkdir_p(path); end
private
def directory_exists?(dirname); end
def generate_path(stack, part); end
def generate_stack(path); end
end
end
class RSpec::Support::EncodedString
def initialize(string, encoding = T.unsafe(nil)); end
def <<(string); end
def ==(*args, &block); end
def empty?(*args, &block); end
def encoding(*args, &block); end
def eql?(*args, &block); end
def lines(*args, &block); end
def source_encoding; end
def split(regex_or_string); end
def to_s; end
def to_str; end
private
def detect_source_encoding(string); end
def matching_encoding(string); end
def remove_invalid_bytes(string); end
class << self
def pick_encoding(source_a, source_b); end
end
end
RSpec::Support::EncodedString::REPLACE = T.let(T.unsafe(nil), String)
RSpec::Support::EncodedString::US_ASCII = T.let(T.unsafe(nil), String)
RSpec::Support::EncodedString::UTF_8 = T.let(T.unsafe(nil), String)
module RSpec::Support::FuzzyMatcher
class << self
def values_match?(expected, actual); end
private
def arrays_match?(expected_list, actual_list); end
def hashes_match?(expected_hash, actual_hash); end
end
end
class RSpec::Support::HunkGenerator
def initialize(actual, expected); end
def hunks; end
private
def actual_lines; end
def build_hunk(piece); end
def context_lines; end
def diffs; end
def expected_lines; end
end
RSpec::Support::KERNEL_METHOD_METHOD = T.let(T.unsafe(nil), UnboundMethod)
class RSpec::Support::LooseSignatureVerifier < ::RSpec::Support::MethodSignatureVerifier
private
def split_args(*args); end
end
class RSpec::Support::LooseSignatureVerifier::SignatureWithKeywordArgumentsMatcher
def initialize(signature); end
def has_kw_args_in?(args); end
def invalid_kw_args_from(_kw_args); end
def missing_kw_args_from(_kw_args); end
def non_kw_args_arity_description; end
def valid_non_kw_args?(*args); end
end
class RSpec::Support::MethodSignature
def initialize(method); end
def arbitrary_kw_args?; end
def classify_arity(arity = T.unsafe(nil)); end
def classify_parameters; end
def could_contain_kw_args?(args); end
def description; end
def has_kw_args_in?(args); end
def invalid_kw_args_from(given_kw_args); end
def max_non_kw_args; end
def min_non_kw_args; end
def missing_kw_args_from(given_kw_args); end
def non_kw_args_arity_description; end
def optional_kw_args; end
def required_kw_args; end
def unlimited_args?; end
def valid_non_kw_args?(positional_arg_count, optional_max_arg_count = T.unsafe(nil)); end
end
RSpec::Support::MethodSignature::INFINITY = T.let(T.unsafe(nil), Float)
class RSpec::Support::MethodSignatureExpectation
def initialize; end
def empty?; end
def expect_arbitrary_keywords; end
def expect_arbitrary_keywords=(_arg0); end
def expect_unlimited_arguments; end
def expect_unlimited_arguments=(_arg0); end
def keywords; end
def keywords=(values); end
def max_count; end
def max_count=(number); end
def min_count; end
def min_count=(number); end
end
class RSpec::Support::MethodSignatureVerifier
def initialize(signature, args = T.unsafe(nil)); end
def error_message; end
def kw_args; end
def max_non_kw_args; end
def min_non_kw_args; end
def non_kw_args; end
def valid?; end
def with_expectation(expectation); end
private
def arbitrary_kw_args?; end
def invalid_kw_args; end
def missing_kw_args; end
def split_args(*args); end
def unlimited_args?; end
def valid_non_kw_args?; end
end
class RSpec::Support::Mutex < ::Thread::Mutex
class << self
def new; end
end
end
RSpec::Support::Mutex::NEW_MUTEX_METHOD = T.let(T.unsafe(nil), Method)
module RSpec::Support::OS
private
def windows?; end
def windows_file_path?; end
class << self
def windows?; end
def windows_file_path?; end
end
end
class RSpec::Support::ObjectFormatter
def initialize(max_formatted_output_length = T.unsafe(nil)); end
def format(object); end
def max_formatted_output_length; end
def max_formatted_output_length=(_arg0); end
def prepare_array(array); end
def prepare_element(element); end
def prepare_for_inspection(object); end
def prepare_hash(input_hash); end
def recursive_structure?(object); end
def sort_hash_keys(input_hash); end
def with_entering_structure(structure); end
private
def truncate_string(str, start_index, end_index); end
class << self
def default_instance; end
def format(object); end
def prepare_for_inspection(object); end
end
end
class RSpec::Support::ObjectFormatter::BaseInspector < ::Struct
def formatter; end
def formatter=(_); end
def inspect; end
def object; end
def object=(_); end
def pretty_print(pp); end
class << self
def [](*_arg0); end
def can_inspect?(_object); end
def inspect; end
def members; end
def new(*_arg0); end
end
end
class RSpec::Support::ObjectFormatter::BigDecimalInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
def inspect; end
class << self
def can_inspect?(object); end
end
end
class RSpec::Support::ObjectFormatter::DateTimeInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
def inspect; end
class << self
def can_inspect?(object); end
end
end
RSpec::Support::ObjectFormatter::DateTimeInspector::FORMAT = T.let(T.unsafe(nil), String)
class RSpec::Support::ObjectFormatter::DelegatorInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
def inspect; end
class << self
def can_inspect?(object); end
end
end
class RSpec::Support::ObjectFormatter::DescribableMatcherInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
def inspect; end
class << self
def can_inspect?(object); end
end
end
RSpec::Support::ObjectFormatter::ELLIPSIS = T.let(T.unsafe(nil), String)
RSpec::Support::ObjectFormatter::INSPECTOR_CLASSES = T.let(T.unsafe(nil), Array)
class RSpec::Support::ObjectFormatter::InspectableItem < ::Struct
def inspect; end
def pretty_print(pp); end
def text; end
def text=(_); end
class << self
def [](*_arg0); end
def inspect; end
def members; end
def new(*_arg0); end
end
end
class RSpec::Support::ObjectFormatter::InspectableObjectInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
def inspect; end
class << self
def can_inspect?(object); end
end
end
class RSpec::Support::ObjectFormatter::TimeInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
def inspect; end
class << self
def can_inspect?(object); end
end
end
RSpec::Support::ObjectFormatter::TimeInspector::FORMAT = T.let(T.unsafe(nil), String)
class RSpec::Support::ObjectFormatter::UninspectableObjectInspector < ::RSpec::Support::ObjectFormatter::BaseInspector
def inspect; end
def klass; end
def native_object_id; end
class << self
def can_inspect?(object); end
end
end
RSpec::Support::ObjectFormatter::UninspectableObjectInspector::OBJECT_ID_FORMAT = T.let(T.unsafe(nil), String)
module RSpec::Support::RecursiveConstMethods
def const_defined_on?(mod, const_name); end
def constants_defined_on(mod); end
def get_const_defined_on(mod, const_name); end
def normalize_const_name(const_name); end
def recursive_const_defined?(const_name); end
def recursive_const_get(const_name); end
end
class RSpec::Support::ReentrantMutex
def initialize; end
def synchronize; end
private
def enter; end
def exit; end
end
module RSpec::Support::Ruby
private
def jruby?; end
def jruby_9000?; end
def jruby_version; end
def mri?; end
def non_mri?; end
def rbx?; end
def truffleruby?; end
class << self
def jruby?; end
def jruby_9000?; end
def jruby_version; end
def mri?; end
def non_mri?; end
def rbx?; end
def truffleruby?; end
end
end
module RSpec::Support::RubyFeatures
private
def caller_locations_supported?; end
def fork_supported?; end
def kw_args_supported?; end
def module_prepends_supported?; end
def module_refinement_supported?; end
def optional_and_splat_args_supported?; end
def required_kw_args_supported?; end
def ripper_supported?; end
def supports_exception_cause?; end
def supports_rebinding_module_methods?; end
def supports_taint?; end
class << self
def caller_locations_supported?; end
def fork_supported?; end
def kw_args_supported?; end
def module_prepends_supported?; end
def module_refinement_supported?; end
def optional_and_splat_args_supported?; end
def required_kw_args_supported?; end
def ripper_supported?; end
def supports_exception_cause?; end
def supports_rebinding_module_methods?; end
def supports_taint?; end
end
end
RSpec::Support::StrictSignatureVerifier = RSpec::Support::MethodSignatureVerifier
module RSpec::Support::Version; end
RSpec::Support::Version::STRING = T.let(T.unsafe(nil), String)
module RSpec::Support::Warnings
def deprecate(deprecated, options = T.unsafe(nil)); end
def warn_deprecation(message, options = T.unsafe(nil)); end
def warn_with(message, options = T.unsafe(nil)); end
def warning(text, options = T.unsafe(nil)); end
end
module RSpec::Support::WithKeywordsWhenNeeded
private
def class_exec(klass, *args, &block); end
class << self
def class_exec(klass, *args, &block); end
end
end

View File

@ -1,7 +1,89 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-wait` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
class << self
def clear_examples; end
def configuration; end
def configuration=(_arg0); end
def configure; end
def const_missing(name); end
def context(*args, &example_group_block); end
def current_example; end
def current_example=(example); end
def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block); end
def fcontext(*args, &example_group_block); end
def fdescribe(*args, &example_group_block); end
def reset; end
def shared_context(name, *args, &block); end
def shared_examples(name, *args, &block); end
def shared_examples_for(name, *args, &block); end
def world; end
def world=(_arg0); end
def xcontext(*args, &example_group_block); end
def xdescribe(*args, &example_group_block); end
end
end
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
RSpec::SharedContext = RSpec::Core::SharedContext
module RSpec::Wait
private
def wait(timeout = T.unsafe(nil), options = T.unsafe(nil)); end
def wait_for(value = T.unsafe(nil), &block); end
def with_wait(options); end
class << self
def wait(timeout = T.unsafe(nil), options = T.unsafe(nil)); end
def wait_for(value = T.unsafe(nil), &block); end
def with_wait(options); end
end
end
class RSpec::Wait::Error < ::StandardError; end
module RSpec::Wait::Handler
def handle_matcher(target, *args, &block); end
end
class RSpec::Wait::NegativeHandler < ::RSpec::Expectations::NegativeExpectationHandler
extend ::RSpec::Wait::Handler
end
class RSpec::Wait::PositiveHandler < ::RSpec::Expectations::PositiveExpectationHandler
extend ::RSpec::Wait::Handler
end
class RSpec::Wait::Proxy
def initialize(options); end
def for(value = T.unsafe(nil), &block); end
end
class RSpec::Wait::Target < ::RSpec::Expectations::ExpectationTarget
def initialize(target, options); end
def not_to(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end
def to(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end
def to_not(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end
private
def with_wait; end
class << self
def for(value, block, options = T.unsafe(nil)); end
end
end
module RSpec::Wait::Target::UndefinedValue; end
class RSpec::Wait::TimeoutError < ::RSpec::Wait::Error; end

View File

@ -1,8 +1,38 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
class << self
def clear_examples; end
def configuration; end
def configuration=(_arg0); end
def configure; end
def const_missing(name); end
def context(*args, &example_group_block); end
def current_example; end
def current_example=(example); end
def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block); end
def fcontext(*args, &example_group_block); end
def fdescribe(*args, &example_group_block); end
def reset; end
def shared_context(name, *args, &block); end
def shared_examples(name, *args, &block); end
def shared_examples_for(name, *args, &block); end
def world; end
def world=(_arg0); end
def xcontext(*args, &example_group_block); end
def xdescribe(*args, &example_group_block); end
end
end
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
RSpec::SharedContext = RSpec::Core::SharedContext
module RSpec::Version; end
RSpec::Version::STRING = T.let(T.unsafe(nil), String)

View File

@ -4,5 +4,46 @@
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
class RSpecJUnitFormatter < ::RSpec::Core::Formatters::BaseFormatter
def dump_summary(notification); end
def start(notification); end
def stop(notification); end
private
def classname_for(notification); end
def description_for(notification); end
def duration; end
def duration_for(notification); end
def escape(text); end
def example_count; end
def example_group_file_path_for(notification); end
def examples; end
def exception_for(notification); end
def failure_count; end
def failure_for(notification); end
def failure_message_for(example); end
def failure_type_for(example); end
def pending_count; end
def result_of(notification); end
def started; end
def stderr_for(example_notification); end
def stdout_for(example_notification); end
def strip_diff_colors(string); end
def swap_rspec_configuration(key, value); end
def without_color(&block); end
def xml_dump; end
def xml_dump_example(example); end
def xml_dump_examples; end
def xml_dump_failed(example); end
def xml_dump_output(example); end
def xml_dump_pending(example); end
end
RSpecJUnitFormatter::DISCOURAGED_REGEXP = T.let(T.unsafe(nil), Regexp)
RSpecJUnitFormatter::DISCOURAGED_REPLACEMENTS = T.let(T.unsafe(nil), Hash)
RSpecJUnitFormatter::ILLEGAL_REGEXP = T.let(T.unsafe(nil), Regexp)
RSpecJUnitFormatter::ILLEGAL_REPLACEMENT = T.let(T.unsafe(nil), Hash)
RSpecJUnitFormatter::STRIP_DIFF_COLORS_BLOCK_REGEXP = T.let(T.unsafe(nil), Regexp)
RSpecJUnitFormatter::STRIP_DIFF_COLORS_CODES_REGEXP = T.let(T.unsafe(nil), Regexp)
RspecJunitFormatter = RSpecJUnitFormatter

View File

@ -4,269 +4,6 @@
# typed: true
class AST::Node
def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
def +(array); end
def <<(element); end
def ==(other); end
def append(element); end
def children; end
def clone; end
def concat(array); end
def deconstruct; end
def dup; end
def eql?(other); end
def hash; end
def inspect(indent = T.unsafe(nil)); end
def to_a; end
def to_ast; end
def to_s(indent = T.unsafe(nil)); end
def to_sexp(indent = T.unsafe(nil)); end
def to_sexp_array; end
def type; end
def updated(type = T.unsafe(nil), children = T.unsafe(nil), properties = T.unsafe(nil)); end
protected
def assign_properties(properties); end
def fancy_type; end
private
def original_dup; end
end
class Parser::AST::Node < ::AST::Node
def assign_properties(properties); end
def loc; end
def location; end
end
class Parser::Builders::Default
def initialize; end
def __ENCODING__(__ENCODING__t); end
def __FILE__(__FILE__t); end
def __LINE__(__LINE__t); end
def accessible(node); end
def alias(alias_t, to, from); end
def arg(name_t); end
def arg_expr(expr); end
def args(begin_t, args, end_t, check_args = T.unsafe(nil)); end
def array(begin_t, elements, end_t); end
def array_pattern(lbrack_t, elements, rbrack_t); end
def assign(lhs, eql_t, rhs); end
def assignable(node); end
def associate(begin_t, pairs, end_t); end
def attr_asgn(receiver, dot_t, selector_t); end
def back_ref(token); end
def begin(begin_t, body, end_t); end
def begin_body(compound_stmt, rescue_bodies = T.unsafe(nil), else_t = T.unsafe(nil), else_ = T.unsafe(nil), ensure_t = T.unsafe(nil), ensure_ = T.unsafe(nil)); end
def begin_keyword(begin_t, body, end_t); end
def binary_op(receiver, operator_t, arg); end
def block(method_call, begin_t, args, body, end_t); end
def block_pass(amper_t, arg); end
def blockarg(amper_t, name_t); end
def blockarg_expr(amper_t, expr); end
def call_lambda(lambda_t); end
def call_method(receiver, dot_t, selector_t, lparen_t = T.unsafe(nil), args = T.unsafe(nil), rparen_t = T.unsafe(nil)); end
def call_type_for_dot(dot_t); end
def case(case_t, expr, when_bodies, else_t, else_body, end_t); end
def case_match(case_t, expr, in_bodies, else_t, else_body, end_t); end
def character(char_t); end
def complex(complex_t); end
def compstmt(statements); end
def condition(cond_t, cond, then_t, if_true, else_t, if_false, end_t); end
def condition_mod(if_true, if_false, cond_t, cond); end
def const(name_t); end
def const_fetch(scope, t_colon2, name_t); end
def const_global(t_colon3, name_t); end
def const_op_assignable(node); end
def const_pattern(const, ldelim_t, pattern, rdelim_t); end
def cvar(token); end
def dedent_string(node, dedent_level); end
def def_class(class_t, name, lt_t, superclass, body, end_t); end
def def_endless_method(def_t, name_t, args, assignment_t, body); end
def def_endless_singleton(def_t, definee, dot_t, name_t, args, assignment_t, body); end
def def_method(def_t, name_t, args, body, end_t); end
def def_module(module_t, name, body, end_t); end
def def_sclass(class_t, lshft_t, expr, body, end_t); end
def def_singleton(def_t, definee, dot_t, name_t, args, body, end_t); end
def emit_file_line_as_literals; end
def emit_file_line_as_literals=(_arg0); end
def false(false_t); end
def find_pattern(lbrack_t, elements, rbrack_t); end
def float(float_t); end
def for(for_t, iterator, in_t, iteratee, do_t, body, end_t); end
def forward_arg(dots_t); end
def forward_only_args(begin_t, dots_t, end_t); end
def forwarded_args(dots_t); end
def gvar(token); end
def hash_pattern(lbrace_t, kwargs, rbrace_t); end
def ident(token); end
def if_guard(if_t, if_body); end
def in_match(lhs, in_t, rhs); end
def in_pattern(in_t, pattern, guard, then_t, body); end
def index(receiver, lbrack_t, indexes, rbrack_t); end
def index_asgn(receiver, lbrack_t, indexes, rbrack_t); end
def integer(integer_t); end
def ivar(token); end
def keyword_cmd(type, keyword_t, lparen_t = T.unsafe(nil), args = T.unsafe(nil), rparen_t = T.unsafe(nil)); end
def kwarg(name_t); end
def kwnilarg(dstar_t, nil_t); end
def kwoptarg(name_t, value); end
def kwrestarg(dstar_t, name_t = T.unsafe(nil)); end
def kwsplat(dstar_t, arg); end
def logical_op(type, lhs, op_t, rhs); end
def loop(type, keyword_t, cond, do_t, body, end_t); end
def loop_mod(type, body, keyword_t, cond); end
def match_alt(left, pipe_t, right); end
def match_as(value, assoc_t, as); end
def match_hash_var(name_t); end
def match_hash_var_from_str(begin_t, strings, end_t); end
def match_label(label_type, label); end
def match_nil_pattern(dstar_t, nil_t); end
def match_op(receiver, match_t, arg); end
def match_pair(label_type, label, value); end
def match_pattern(lhs, match_t, rhs); end
def match_pattern_p(lhs, match_t, rhs); end
def match_rest(star_t, name_t = T.unsafe(nil)); end
def match_var(name_t); end
def match_with_trailing_comma(match, comma_t); end
def multi_assign(lhs, eql_t, rhs); end
def multi_lhs(begin_t, items, end_t); end
def nil(nil_t); end
def not_op(not_t, begin_t = T.unsafe(nil), receiver = T.unsafe(nil), end_t = T.unsafe(nil)); end
def nth_ref(token); end
def numargs(max_numparam); end
def objc_kwarg(kwname_t, assoc_t, name_t); end
def objc_restarg(star_t, name = T.unsafe(nil)); end
def objc_varargs(pair, rest_of_varargs); end
def op_assign(lhs, op_t, rhs); end
def optarg(name_t, eql_t, value); end
def pair(key, assoc_t, value); end
def pair_keyword(key_t, value); end
def pair_list_18(list); end
def pair_quoted(begin_t, parts, end_t, value); end
def parser; end
def parser=(_arg0); end
def pin(pin_t, var); end
def postexe(postexe_t, lbrace_t, compstmt, rbrace_t); end
def preexe(preexe_t, lbrace_t, compstmt, rbrace_t); end
def procarg0(arg); end
def range_exclusive(lhs, dot3_t, rhs); end
def range_inclusive(lhs, dot2_t, rhs); end
def rational(rational_t); end
def regexp_compose(begin_t, parts, end_t, options); end
def regexp_options(regopt_t); end
def rescue_body(rescue_t, exc_list, assoc_t, exc_var, then_t, compound_stmt); end
def restarg(star_t, name_t = T.unsafe(nil)); end
def restarg_expr(star_t, expr = T.unsafe(nil)); end
def self(token); end
def shadowarg(name_t); end
def splat(star_t, arg = T.unsafe(nil)); end
def string(string_t); end
def string_compose(begin_t, parts, end_t); end
def string_internal(string_t); end
def symbol(symbol_t); end
def symbol_compose(begin_t, parts, end_t); end
def symbol_internal(symbol_t); end
def symbols_compose(begin_t, parts, end_t); end
def ternary(cond, question_t, if_true, colon_t, if_false); end
def true(true_t); end
def unary_num(unary_t, numeric); end
def unary_op(op_t, receiver); end
def undef_method(undef_t, names); end
def unless_guard(unless_t, unless_body); end
def when(when_t, patterns, then_t, body); end
def word(parts); end
def words_compose(begin_t, parts, end_t); end
def xstring_compose(begin_t, parts, end_t); end
private
def arg_name_collides?(this_name, that_name); end
def arg_prefix_map(op_t, name_t = T.unsafe(nil)); end
def binary_op_map(left_e, op_t, right_e); end
def block_map(receiver_l, begin_t, end_t); end
def check_assignment_to_numparam(name, loc); end
def check_condition(cond); end
def check_duplicate_arg(this_arg, map = T.unsafe(nil)); end
def check_duplicate_args(args, map = T.unsafe(nil)); end
def check_duplicate_pattern_key(name, loc); end
def check_duplicate_pattern_variable(name, loc); end
def check_lvar_name(name, loc); end
def check_reserved_for_numparam(name, loc); end
def collapse_string_parts?(parts); end
def collection_map(begin_t, parts, end_t); end
def condition_map(keyword_t, cond_e, begin_t, body_e, else_t, else_e, end_t); end
def constant_map(scope, colon2_t, name_t); end
def definition_map(keyword_t, operator_t, name_t, end_t); end
def delimited_string_map(string_t); end
def diagnostic(type, reason, arguments, location, highlights = T.unsafe(nil)); end
def eh_keyword_map(compstmt_e, keyword_t, body_es, else_t, else_e); end
def endless_definition_map(keyword_t, operator_t, name_t, assignment_t, body_e); end
def expr_map(loc); end
def for_map(keyword_t, in_t, begin_t, end_t); end
def guard_map(keyword_t, guard_body_e); end
def index_map(receiver_e, lbrack_t, rbrack_t); end
def join_exprs(left_expr, right_expr); end
def keyword_map(keyword_t, begin_t, args, end_t); end
def keyword_mod_map(pre_e, keyword_t, post_e); end
def kwarg_map(name_t, value_e = T.unsafe(nil)); end
def kwargs?(node); end
def loc(token); end
def module_definition_map(keyword_t, name_e, operator_t, end_t); end
def n(type, children, source_map); end
def n0(type, source_map); end
def numeric(kind, token); end
def pair_keyword_map(key_t, value_e); end
def pair_quoted_map(begin_t, end_t, value_e); end
def prefix_string_map(symbol); end
def range_map(start_e, op_t, end_e); end
def regexp_map(begin_t, end_t, options_e); end
def rescue_body_map(keyword_t, exc_list_e, assoc_t, exc_var_e, then_t, compstmt_e); end
def rewrite_hash_args_to_kwargs(args); end
def send_binary_op_map(lhs_e, selector_t, rhs_e); end
def send_index_map(receiver_e, lbrack_t, rbrack_t); end
def send_map(receiver_e, dot_t, selector_t, begin_t = T.unsafe(nil), args = T.unsafe(nil), end_t = T.unsafe(nil)); end
def send_unary_op_map(selector_t, arg_e); end
def static_regexp(parts, options); end
def static_regexp_node(node); end
def static_string(nodes); end
def string_map(begin_t, parts, end_t); end
def string_value(token); end
def ternary_map(begin_e, question_t, mid_e, colon_t, end_e); end
def token_map(token); end
def unary_op_map(op_t, arg_e = T.unsafe(nil)); end
def unquoted_map(token); end
def validate_definee(definee); end
def value(token); end
def var_send_map(variable_e); end
def variable_map(name_t); end
class << self
def emit_arg_inside_procarg0; end
def emit_arg_inside_procarg0=(_arg0); end
def emit_encoding; end
def emit_encoding=(_arg0); end
def emit_forward_arg; end
def emit_forward_arg=(_arg0); end
def emit_index; end
def emit_index=(_arg0); end
def emit_kwargs; end
def emit_kwargs=(_arg0); end
def emit_lambda; end
def emit_lambda=(_arg0); end
def emit_match_pattern; end
def emit_match_pattern=(_arg0); end
def emit_procarg0; end
def emit_procarg0=(_arg0); end
def modernize; end
end
end
module RuboCop; end
module RuboCop::AST

View File

@ -4,251 +4,6 @@
# typed: true
module Parser::Deprecation
def warn_of_deprecation; end
def warned_of_deprecation=(_arg0); end
end
class Parser::Source::Map
def initialize(expression); end
def ==(other); end
def column; end
def expression; end
def first_line; end
def last_column; end
def last_line; end
def line; end
def node; end
def node=(node); end
def to_hash; end
def with_expression(expression_l); end
protected
def update_expression(expression_l); end
def with(&block); end
private
def initialize_copy(other); end
end
class Parser::Source::Map::Collection < ::Parser::Source::Map
def initialize(begin_l, end_l, expression_l); end
def begin; end
def end; end
end
class Parser::Source::Map::Condition < ::Parser::Source::Map
def initialize(keyword_l, begin_l, else_l, end_l, expression_l); end
def begin; end
def else; end
def end; end
def keyword; end
end
class Parser::Source::Map::Constant < ::Parser::Source::Map
def initialize(double_colon, name, expression); end
def double_colon; end
def name; end
def operator; end
def with_operator(operator_l); end
protected
def update_operator(operator_l); end
end
class Parser::Source::Map::Definition < ::Parser::Source::Map
def initialize(keyword_l, operator_l, name_l, end_l); end
def end; end
def keyword; end
def name; end
def operator; end
end
class Parser::Source::Map::For < ::Parser::Source::Map
def initialize(keyword_l, in_l, begin_l, end_l, expression_l); end
def begin; end
def end; end
def in; end
def keyword; end
end
class Parser::Source::Map::Heredoc < ::Parser::Source::Map
def initialize(begin_l, body_l, end_l); end
def heredoc_body; end
def heredoc_end; end
end
class Parser::Source::Map::Index < ::Parser::Source::Map
def initialize(begin_l, end_l, expression_l); end
def begin; end
def end; end
def operator; end
def with_operator(operator_l); end
protected
def update_operator(operator_l); end
end
class Parser::Source::Map::Keyword < ::Parser::Source::Map
def initialize(keyword_l, begin_l, end_l, expression_l); end
def begin; end
def end; end
def keyword; end
end
class Parser::Source::Map::MethodDefinition < ::Parser::Source::Map
def initialize(keyword_l, operator_l, name_l, end_l, assignment_l, body_l); end
def assignment; end
def end; end
def keyword; end
def name; end
def operator; end
end
class Parser::Source::Map::ObjcKwarg < ::Parser::Source::Map
def initialize(keyword_l, operator_l, argument_l, expression_l); end
def argument; end
def keyword; end
def operator; end
end
class Parser::Source::Map::Operator < ::Parser::Source::Map
def initialize(operator, expression); end
def operator; end
end
class Parser::Source::Map::RescueBody < ::Parser::Source::Map
def initialize(keyword_l, assoc_l, begin_l, expression_l); end
def assoc; end
def begin; end
def keyword; end
end
class Parser::Source::Map::Send < ::Parser::Source::Map
def initialize(dot_l, selector_l, begin_l, end_l, expression_l); end
def begin; end
def dot; end
def end; end
def operator; end
def selector; end
def with_operator(operator_l); end
protected
def update_operator(operator_l); end
end
class Parser::Source::Map::Ternary < ::Parser::Source::Map
def initialize(question_l, colon_l, expression_l); end
def colon; end
def question; end
end
class Parser::Source::Map::Variable < ::Parser::Source::Map
def initialize(name_l, expression_l = T.unsafe(nil)); end
def name; end
def operator; end
def with_operator(operator_l); end
protected
def update_operator(operator_l); end
end
class Parser::Source::TreeRewriter
extend ::Parser::Deprecation
def initialize(source_buffer, crossing_deletions: T.unsafe(nil), different_replacements: T.unsafe(nil), swallowed_insertions: T.unsafe(nil)); end
def as_nested_actions; end
def as_replacements; end
def diagnostics; end
def empty?; end
def import!(foreign_rewriter, offset: T.unsafe(nil)); end
def in_transaction?; end
def insert_after(range, content); end
def insert_after_multi(range, text); end
def insert_before(range, content); end
def insert_before_multi(range, text); end
def inspect; end
def merge(with); end
def merge!(with); end
def process; end
def remove(range); end
def replace(range, content); end
def source_buffer; end
def transaction; end
def wrap(range, insert_before, insert_after); end
protected
def action_root; end
private
def action_summary; end
def check_policy_validity; end
def check_range_validity(range); end
def combine(range, attributes); end
def enforce_policy(event); end
def trigger_policy(event, range: T.unsafe(nil), conflict: T.unsafe(nil), **arguments); end
end
Parser::Source::TreeRewriter::ACTIONS = T.let(T.unsafe(nil), Array)
class Parser::Source::TreeRewriter::Action
def initialize(range, enforcer, insert_before: T.unsafe(nil), replacement: T.unsafe(nil), insert_after: T.unsafe(nil), children: T.unsafe(nil)); end
def combine(action); end
def contract; end
def empty?; end
def insert_after; end
def insert_before; end
def insertion?; end
def moved(source_buffer, offset); end
def nested_actions; end
def ordered_replacements; end
def range; end
def replacement; end
protected
def analyse_hierarchy(action); end
def bsearch_child_index(from = T.unsafe(nil)); end
def call_enforcer_for_merge(action); end
def check_fusible(action, *fusible); end
def children; end
def combine_children(more_children); end
def do_combine(action); end
def fuse_deletions(action, fusible, other_sibblings); end
def merge(action); end
def place_in_hierarchy(action); end
def swallow(children); end
def with(range: T.unsafe(nil), enforcer: T.unsafe(nil), children: T.unsafe(nil), insert_before: T.unsafe(nil), replacement: T.unsafe(nil), insert_after: T.unsafe(nil)); end
end
Parser::Source::TreeRewriter::DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
Parser::Source::TreeRewriter::POLICY_TO_LEVEL = T.let(T.unsafe(nil), Hash)
module RuboCop; end
class RuboCop::CLI
@ -12775,8 +12530,8 @@ end
RuboCop::Formatter::PacmanFormatter::FALLBACK_TERMINAL_WIDTH = T.let(T.unsafe(nil), Integer)
RuboCop::Formatter::PacmanFormatter::GHOST = T.let(T.unsafe(nil), String)
RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::NullPresenter)
RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::NullPresenter)
RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::Presenter)
RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::Presenter)
class RuboCop::Formatter::ProgressFormatter < ::RuboCop::Formatter::ClangStyleFormatter
include ::RuboCop::Formatter::TextUtil
@ -13353,6 +13108,7 @@ class String
include ::Comparable
include ::JSON::Ext::Generator::GeneratorMethods::String
include ::Colorize::InstanceMethods
include ::MessagePack::CoreExt
extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
extend ::Colorize::ClassMethods
end

View File

@ -4,5 +4,950 @@
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module MachO
class << self
def codesign!(filename); end
def open(filename); end
end
end
class MachO::CPUSubtypeError < ::MachO::MachOError
def initialize(cputype, cpusubtype); end
end
class MachO::CPUTypeError < ::MachO::MachOError
def initialize(cputype); end
end
class MachO::CodeSigningError < ::MachO::MachOError; end
class MachO::DylibIdMissingError < ::MachO::RecoverableModificationError
def initialize; end
end
class MachO::DylibUnknownError < ::MachO::RecoverableModificationError
def initialize(dylib); end
end
class MachO::FatArchOffsetOverflowError < ::MachO::MachOError
def initialize(offset); end
end
class MachO::FatBinaryError < ::MachO::MachOError
def initialize; end
end
class MachO::FatFile
extend ::Forwardable
def initialize(filename, **opts); end
def add_rpath(path, options = T.unsafe(nil)); end
def bundle?(*args, &block); end
def change_dylib(old_name, new_name, options = T.unsafe(nil)); end
def change_dylib_id(new_id, options = T.unsafe(nil)); end
def change_install_name(old_name, new_name, options = T.unsafe(nil)); end
def change_rpath(old_path, new_path, options = T.unsafe(nil)); end
def core?(*args, &block); end
def delete_rpath(path, options = T.unsafe(nil)); end
def dsym?(*args, &block); end
def dylib?(*args, &block); end
def dylib_id(*args, &block); end
def dylib_id=(new_id, options = T.unsafe(nil)); end
def dylib_load_commands; end
def dylinker?(*args, &block); end
def executable?(*args, &block); end
def extract(cputype); end
def fat_archs; end
def filename; end
def filename=(_arg0); end
def filetype(*args, &block); end
def fvmlib?(*args, &block); end
def header; end
def initialize_from_bin(bin, opts); end
def kext?(*args, &block); end
def linked_dylibs; end
def machos; end
def magic(*args, &block); end
def magic_string; end
def object?(*args, &block); end
def options; end
def populate_fields; end
def preload?(*args, &block); end
def rpaths; end
def serialize; end
def to_h; end
def write(filename); end
def write!; end
private
def canonical_macho; end
def each_macho(options = T.unsafe(nil)); end
def populate_fat_archs; end
def populate_fat_header; end
def populate_machos; end
def repopulate_raw_machos; end
class << self
def new_from_bin(bin, **opts); end
def new_from_machos(*machos, fat64: T.unsafe(nil)); end
end
end
class MachO::FiletypeError < ::MachO::MachOError
def initialize(num); end
end
class MachO::HeaderPadError < ::MachO::ModificationError
def initialize(filename); end
end
module MachO::Headers; end
MachO::Headers::CPU_ARCH_ABI32 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_ARCH_ABI64 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPES = T.let(T.unsafe(nil), Hash)
MachO::Headers::CPU_SUBTYPE_486 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_486SX = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_586 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM64E = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM64_32_V8 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM64_ALL = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM64_V8 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM_ALL = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM_V4T = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM_V5TEJ = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM_V6 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM_V6M = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM_V7 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM_V7EM = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM_V7F = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM_V7K = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM_V7M = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM_V7S = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM_V8 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_ARM_XSCALE = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_I386 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_LIB64 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_MASK = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_MC68030 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_MC68030_ONLY = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_MC68040 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_MC680X0_ALL = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_MC88000_ALL = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_MC88100 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_MC88110 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_MMAX_JPC = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_PENT = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_PENTII_M3 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_PENTII_M5 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_PENTIUM_4 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_PENTPRO = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_POWERPC64_ALL = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_POWERPC_601 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_POWERPC_602 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_POWERPC_603 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_POWERPC_603E = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_POWERPC_603EV = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_POWERPC_604 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_POWERPC_604E = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_POWERPC_620 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_POWERPC_7400 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_POWERPC_7450 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_POWERPC_750 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_POWERPC_970 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_POWERPC_ALL = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_X86_64_ALL = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_SUBTYPE_X86_64_H = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_TYPES = T.let(T.unsafe(nil), Hash)
MachO::Headers::CPU_TYPE_ANY = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_TYPE_ARM = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_TYPE_ARM64 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_TYPE_ARM64_32 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_TYPE_I386 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_TYPE_MC680X0 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_TYPE_MC88000 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_TYPE_POWERPC = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_TYPE_POWERPC64 = T.let(T.unsafe(nil), Integer)
MachO::Headers::CPU_TYPE_X86_64 = T.let(T.unsafe(nil), Integer)
MachO::Headers::FAT_CIGAM = T.let(T.unsafe(nil), Integer)
MachO::Headers::FAT_CIGAM_64 = T.let(T.unsafe(nil), Integer)
MachO::Headers::FAT_MAGIC = T.let(T.unsafe(nil), Integer)
MachO::Headers::FAT_MAGIC_64 = T.let(T.unsafe(nil), Integer)
class MachO::Headers::FatArch < ::MachO::MachOStructure
def initialize(cputype, cpusubtype, offset, size, align); end
def align; end
def cpusubtype; end
def cputype; end
def offset; end
def serialize; end
def size; end
def to_h; end
end
class MachO::Headers::FatArch64 < ::MachO::Headers::FatArch
def initialize(cputype, cpusubtype, offset, size, align, reserved = T.unsafe(nil)); end
def reserved; end
def serialize; end
def to_h; end
end
MachO::Headers::FatArch64::FORMAT = T.let(T.unsafe(nil), String)
MachO::Headers::FatArch64::SIZEOF = T.let(T.unsafe(nil), Integer)
MachO::Headers::FatArch::FORMAT = T.let(T.unsafe(nil), String)
MachO::Headers::FatArch::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::Headers::FatHeader < ::MachO::MachOStructure
def initialize(magic, nfat_arch); end
def magic; end
def nfat_arch; end
def serialize; end
def to_h; end
end
MachO::Headers::FatHeader::FORMAT = T.let(T.unsafe(nil), String)
MachO::Headers::FatHeader::SIZEOF = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_BUNDLE = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_CIGAM = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_CIGAM_64 = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_CORE = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_DSYM = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_DYLIB = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_DYLIB_STUB = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_DYLINKER = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_EXECUTE = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_FILETYPES = T.let(T.unsafe(nil), Hash)
MachO::Headers::MH_FLAGS = T.let(T.unsafe(nil), Hash)
MachO::Headers::MH_FVMLIB = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_KEXT_BUNDLE = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_MAGIC = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_MAGICS = T.let(T.unsafe(nil), Hash)
MachO::Headers::MH_MAGIC_64 = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_OBJECT = T.let(T.unsafe(nil), Integer)
MachO::Headers::MH_PRELOAD = T.let(T.unsafe(nil), Integer)
class MachO::Headers::MachHeader < ::MachO::MachOStructure
def initialize(magic, cputype, cpusubtype, filetype, ncmds, sizeofcmds, flags); end
def alignment; end
def bundle?; end
def core?; end
def cpusubtype; end
def cputype; end
def dsym?; end
def dylib?; end
def dylinker?; end
def executable?; end
def filetype; end
def flag?(flag); end
def flags; end
def fvmlib?; end
def kext?; end
def magic; end
def magic32?; end
def magic64?; end
def ncmds; end
def object?; end
def preload?; end
def sizeofcmds; end
def to_h; end
end
class MachO::Headers::MachHeader64 < ::MachO::Headers::MachHeader
def initialize(magic, cputype, cpusubtype, filetype, ncmds, sizeofcmds, flags, reserved); end
def reserved; end
def to_h; end
end
MachO::Headers::MachHeader64::FORMAT = T.let(T.unsafe(nil), String)
MachO::Headers::MachHeader64::SIZEOF = T.let(T.unsafe(nil), Integer)
MachO::Headers::MachHeader::FORMAT = T.let(T.unsafe(nil), String)
MachO::Headers::MachHeader::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::JavaClassFileError < ::MachO::NotAMachOError
def initialize; end
end
class MachO::LCStrMalformedError < ::MachO::MachOError
def initialize(lc); end
end
class MachO::LoadCommandCreationArityError < ::MachO::MachOError
def initialize(cmd_sym, expected_arity, actual_arity); end
end
class MachO::LoadCommandError < ::MachO::MachOError
def initialize(num); end
end
class MachO::LoadCommandNotCreatableError < ::MachO::MachOError
def initialize(cmd_sym); end
end
class MachO::LoadCommandNotSerializableError < ::MachO::MachOError
def initialize(cmd_sym); end
end
module MachO::LoadCommands; end
class MachO::LoadCommands::BuildVersionCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, platform, minos, sdk, ntools); end
def minos; end
def minos_string; end
def platform; end
def sdk; end
def sdk_string; end
def to_h; end
def tool_entries; end
end
MachO::LoadCommands::BuildVersionCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::BuildVersionCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::BuildVersionCommand::ToolEntries
def initialize(view, ntools); end
def tools; end
end
class MachO::LoadCommands::BuildVersionCommand::ToolEntries::Tool
def initialize(tool, version); end
def to_h; end
def tool; end
def version; end
end
MachO::LoadCommands::CREATABLE_LOAD_COMMANDS = T.let(T.unsafe(nil), Array)
MachO::LoadCommands::DYLIB_LOAD_COMMANDS = T.let(T.unsafe(nil), Array)
class MachO::LoadCommands::DyldInfoCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, rebase_off, rebase_size, bind_off, bind_size, weak_bind_off, weak_bind_size, lazy_bind_off, lazy_bind_size, export_off, export_size); end
def bind_off; end
def bind_size; end
def export_off; end
def export_size; end
def lazy_bind_off; end
def lazy_bind_size; end
def rebase_off; end
def rebase_size; end
def to_h; end
def weak_bind_off; end
def weak_bind_size; end
end
MachO::LoadCommands::DyldInfoCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::DyldInfoCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::DylibCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, name, timestamp, current_version, compatibility_version); end
def compatibility_version; end
def current_version; end
def name; end
def serialize(context); end
def timestamp; end
def to_h; end
end
MachO::LoadCommands::DylibCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::DylibCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::DylinkerCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, name); end
def name; end
def serialize(context); end
def to_h; end
end
MachO::LoadCommands::DylinkerCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::DylinkerCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::DysymtabCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, ilocalsym, nlocalsym, iextdefsym, nextdefsym, iundefsym, nundefsym, tocoff, ntoc, modtaboff, nmodtab, extrefsymoff, nextrefsyms, indirectsymoff, nindirectsyms, extreloff, nextrel, locreloff, nlocrel); end
def extrefsymoff; end
def extreloff; end
def iextdefsym; end
def ilocalsym; end
def indirectsymoff; end
def iundefsym; end
def locreloff; end
def modtaboff; end
def nextdefsym; end
def nextrefsyms; end
def nextrel; end
def nindirectsyms; end
def nlocalsym; end
def nlocrel; end
def nmodtab; end
def ntoc; end
def nundefsym; end
def to_h; end
def tocoff; end
end
MachO::LoadCommands::DysymtabCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::DysymtabCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::EncryptionInfoCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, cryptoff, cryptsize, cryptid); end
def cryptid; end
def cryptoff; end
def cryptsize; end
def to_h; end
end
class MachO::LoadCommands::EncryptionInfoCommand64 < ::MachO::LoadCommands::EncryptionInfoCommand
def initialize(view, cmd, cmdsize, cryptoff, cryptsize, cryptid, pad); end
def pad; end
def to_h; end
end
MachO::LoadCommands::EncryptionInfoCommand64::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::EncryptionInfoCommand64::SIZEOF = T.let(T.unsafe(nil), Integer)
MachO::LoadCommands::EncryptionInfoCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::EncryptionInfoCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::EntryPointCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, entryoff, stacksize); end
def entryoff; end
def stacksize; end
def to_h; end
end
MachO::LoadCommands::EntryPointCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::EntryPointCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::FvmfileCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, name, header_addr); end
def header_addr; end
def name; end
def to_h; end
end
MachO::LoadCommands::FvmfileCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::FvmfileCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::FvmlibCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, name, minor_version, header_addr); end
def header_addr; end
def minor_version; end
def name; end
def to_h; end
end
MachO::LoadCommands::FvmlibCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::FvmlibCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::IdentCommand < ::MachO::LoadCommands::LoadCommand; end
MachO::LoadCommands::IdentCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::IdentCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
MachO::LoadCommands::LC_REQ_DYLD = T.let(T.unsafe(nil), Integer)
MachO::LoadCommands::LC_STRUCTURES = T.let(T.unsafe(nil), Hash)
MachO::LoadCommands::LOAD_COMMANDS = T.let(T.unsafe(nil), Hash)
MachO::LoadCommands::LOAD_COMMAND_CONSTANTS = T.let(T.unsafe(nil), Hash)
class MachO::LoadCommands::LinkeditDataCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, dataoff, datasize); end
def dataoff; end
def datasize; end
def to_h; end
end
MachO::LoadCommands::LinkeditDataCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::LinkeditDataCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::LinkerOptionCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, count); end
def count; end
def to_h; end
end
MachO::LoadCommands::LinkerOptionCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::LinkerOptionCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::LoadCommand < ::MachO::MachOStructure
def initialize(view, cmd, cmdsize); end
def cmd; end
def cmdsize; end
def offset; end
def serializable?; end
def serialize(context); end
def to_h; end
def to_s; end
def to_sym; end
def type; end
def view; end
class << self
def create(cmd_sym, *args); end
def new_from_bin(view); end
end
end
MachO::LoadCommands::LoadCommand::FORMAT = T.let(T.unsafe(nil), String)
class MachO::LoadCommands::LoadCommand::LCStr
def initialize(lc, lc_str); end
def to_h; end
def to_i; end
def to_s; end
end
MachO::LoadCommands::LoadCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::LoadCommand::SerializationContext
def initialize(endianness, alignment); end
def alignment; end
def endianness; end
class << self
def context_for(macho); end
end
end
class MachO::LoadCommands::NoteCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, data_owner, offset, size); end
def data_owner; end
def offset; end
def size; end
def to_h; end
end
MachO::LoadCommands::NoteCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::NoteCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::PrebindCksumCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, cksum); end
def cksum; end
def to_h; end
end
MachO::LoadCommands::PrebindCksumCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::PrebindCksumCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::PreboundDylibCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, name, nmodules, linked_modules); end
def linked_modules; end
def name; end
def nmodules; end
def to_h; end
end
MachO::LoadCommands::PreboundDylibCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::PreboundDylibCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::RoutinesCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, init_address, init_module, reserved1, reserved2, reserved3, reserved4, reserved5, reserved6); end
def init_address; end
def init_module; end
def reserved1; end
def reserved2; end
def reserved3; end
def reserved4; end
def reserved5; end
def reserved6; end
def to_h; end
end
class MachO::LoadCommands::RoutinesCommand64 < ::MachO::LoadCommands::RoutinesCommand; end
MachO::LoadCommands::RoutinesCommand64::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::RoutinesCommand64::SIZEOF = T.let(T.unsafe(nil), Integer)
MachO::LoadCommands::RoutinesCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::RoutinesCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::RpathCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, path); end
def path; end
def serialize(context); end
def to_h; end
end
MachO::LoadCommands::RpathCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::RpathCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
MachO::LoadCommands::SEGMENT_FLAGS = T.let(T.unsafe(nil), Hash)
MachO::LoadCommands::SEGMENT_NAMES = T.let(T.unsafe(nil), Hash)
class MachO::LoadCommands::SegmentCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, segname, vmaddr, vmsize, fileoff, filesize, maxprot, initprot, nsects, flags); end
def fileoff; end
def filesize; end
def flag?(flag); end
def flags; end
def guess_align; end
def initprot; end
def maxprot; end
def nsects; end
def sections; end
def segname; end
def to_h; end
def vmaddr; end
def vmsize; end
end
class MachO::LoadCommands::SegmentCommand64 < ::MachO::LoadCommands::SegmentCommand; end
MachO::LoadCommands::SegmentCommand64::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::SegmentCommand64::SIZEOF = T.let(T.unsafe(nil), Integer)
MachO::LoadCommands::SegmentCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::SegmentCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::SourceVersionCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, version); end
def to_h; end
def version; end
def version_string; end
end
MachO::LoadCommands::SourceVersionCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::SourceVersionCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::SubClientCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, sub_client); end
def sub_client; end
def to_h; end
end
MachO::LoadCommands::SubClientCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::SubClientCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::SubFrameworkCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, umbrella); end
def to_h; end
def umbrella; end
end
MachO::LoadCommands::SubFrameworkCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::SubFrameworkCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::SubLibraryCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, sub_library); end
def sub_library; end
def to_h; end
end
MachO::LoadCommands::SubLibraryCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::SubLibraryCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::SubUmbrellaCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, sub_umbrella); end
def sub_umbrella; end
def to_h; end
end
MachO::LoadCommands::SubUmbrellaCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::SubUmbrellaCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::SymsegCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, offset, size); end
def offset; end
def size; end
def to_h; end
end
MachO::LoadCommands::SymsegCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::SymsegCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::SymtabCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, symoff, nsyms, stroff, strsize); end
def nsyms; end
def stroff; end
def strsize; end
def symoff; end
def to_h; end
end
MachO::LoadCommands::SymtabCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::SymtabCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::ThreadCommand < ::MachO::LoadCommands::LoadCommand; end
MachO::LoadCommands::ThreadCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::ThreadCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::TwolevelHintsCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, htoffset, nhints); end
def htoffset; end
def nhints; end
def table; end
def to_h; end
end
MachO::LoadCommands::TwolevelHintsCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::TwolevelHintsCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::TwolevelHintsCommand::TwolevelHintsTable
def initialize(view, htoffset, nhints); end
def hints; end
end
class MachO::LoadCommands::TwolevelHintsCommand::TwolevelHintsTable::TwolevelHint
def initialize(blob); end
def isub_image; end
def itoc; end
def to_h; end
end
class MachO::LoadCommands::UUIDCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, uuid); end
def to_h; end
def uuid; end
def uuid_string; end
end
MachO::LoadCommands::UUIDCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::UUIDCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::LoadCommands::VersionMinCommand < ::MachO::LoadCommands::LoadCommand
def initialize(view, cmd, cmdsize, version, sdk); end
def sdk; end
def sdk_string; end
def to_h; end
def version; end
def version_string; end
end
MachO::LoadCommands::VersionMinCommand::FORMAT = T.let(T.unsafe(nil), String)
MachO::LoadCommands::VersionMinCommand::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::MachOBinaryError < ::MachO::MachOError
def initialize; end
end
class MachO::MachOError < ::RuntimeError; end
class MachO::MachOFile
extend ::Forwardable
def initialize(filename, **opts); end
def [](name); end
def add_command(lc, options = T.unsafe(nil)); end
def add_rpath(path, _options = T.unsafe(nil)); end
def alignment(*args, &block); end
def bundle?(*args, &block); end
def change_dylib(old_name, new_name, _options = T.unsafe(nil)); end
def change_dylib_id(new_id, _options = T.unsafe(nil)); end
def change_install_name(old_name, new_name, _options = T.unsafe(nil)); end
def change_rpath(old_path, new_path, _options = T.unsafe(nil)); end
def command(name); end
def core?(*args, &block); end
def cpusubtype; end
def cputype; end
def delete_command(lc, options = T.unsafe(nil)); end
def delete_rpath(path, _options = T.unsafe(nil)); end
def dsym?(*args, &block); end
def dylib?(*args, &block); end
def dylib_id; end
def dylib_id=(new_id, _options = T.unsafe(nil)); end
def dylib_load_commands; end
def dylinker?(*args, &block); end
def endianness; end
def executable?(*args, &block); end
def filename; end
def filename=(_arg0); end
def filetype; end
def flags(*args, &block); end
def fvmlib?(*args, &block); end
def header; end
def initialize_from_bin(bin, opts); end
def insert_command(offset, lc, options = T.unsafe(nil)); end
def kext?(*args, &block); end
def linked_dylibs; end
def load_commands; end
def magic(*args, &block); end
def magic32?(*args, &block); end
def magic64?(*args, &block); end
def magic_string; end
def ncmds(*args, &block); end
def object?(*args, &block); end
def options; end
def populate_fields; end
def preload?(*args, &block); end
def replace_command(old_lc, new_lc); end
def rpaths; end
def segment_alignment; end
def segments; end
def serialize; end
def sizeofcmds(*args, &block); end
def to_h; end
def write(filename); end
def write!; end
private
def check_cpusubtype(cputype, cpusubtype); end
def check_cputype(cputype); end
def check_filetype(filetype); end
def low_fileoff; end
def populate_and_check_magic; end
def populate_load_commands; end
def populate_mach_header; end
def update_ncmds(ncmds); end
def update_sizeofcmds(size); end
class << self
def new_from_bin(bin, **opts); end
end
end
class MachO::MachOStructure
def to_h; end
class << self
def bytesize; end
def new_from_bin(endianness, bin); end
end
end
MachO::MachOStructure::FORMAT = T.let(T.unsafe(nil), String)
MachO::MachOStructure::SIZEOF = T.let(T.unsafe(nil), Integer)
class MachO::MachOView
def initialize(raw_data, endianness, offset); end
def endianness; end
def offset; end
def raw_data; end
def to_h; end
end
class MachO::MagicError < ::MachO::NotAMachOError
def initialize(magic); end
end
class MachO::ModificationError < ::MachO::MachOError; end
class MachO::NotAMachOError < ::MachO::MachOError; end
class MachO::OffsetInsertionError < ::MachO::ModificationError
def initialize(offset); end
end
class MachO::RecoverableModificationError < ::MachO::ModificationError
def macho_slice; end
def macho_slice=(_arg0); end
def to_s; end
end
class MachO::RpathExistsError < ::MachO::RecoverableModificationError
def initialize(path); end
end
class MachO::RpathUnknownError < ::MachO::RecoverableModificationError
def initialize(path); end
end
module MachO::Sections; end
MachO::Sections::MAX_SECT_ALIGN = T.let(T.unsafe(nil), Integer)
MachO::Sections::SECTION_ATTRIBUTES = T.let(T.unsafe(nil), Integer)
MachO::Sections::SECTION_ATTRIBUTES_SYS = T.let(T.unsafe(nil), Integer)
MachO::Sections::SECTION_ATTRIBUTES_USR = T.let(T.unsafe(nil), Integer)
MachO::Sections::SECTION_FLAGS = T.let(T.unsafe(nil), Hash)
MachO::Sections::SECTION_NAMES = T.let(T.unsafe(nil), Hash)
MachO::Sections::SECTION_TYPE = T.let(T.unsafe(nil), Integer)
class MachO::Sections::Section < ::MachO::MachOStructure
def initialize(sectname, segname, addr, size, offset, align, reloff, nreloc, flags, reserved1, reserved2); end
def addr; end
def align; end
def empty?; end
def flag?(flag); end
def flags; end
def nreloc; end
def offset; end
def reloff; end
def reserved1; end
def reserved2; end
def section_name; end
def sectname; end
def segment_name; end
def segname; end
def size; end
def to_h; end
end
class MachO::Sections::Section64 < ::MachO::Sections::Section
def initialize(sectname, segname, addr, size, offset, align, reloff, nreloc, flags, reserved1, reserved2, reserved3); end
def reserved3; end
def to_h; end
end
MachO::Sections::Section64::FORMAT = T.let(T.unsafe(nil), String)
MachO::Sections::Section64::SIZEOF = T.let(T.unsafe(nil), Integer)
MachO::Sections::Section::FORMAT = T.let(T.unsafe(nil), String)
MachO::Sections::Section::SIZEOF = T.let(T.unsafe(nil), Integer)
module MachO::Tools
class << self
def add_rpath(filename, new_path, options = T.unsafe(nil)); end
def change_dylib_id(filename, new_id, options = T.unsafe(nil)); end
def change_install_name(filename, old_name, new_name, options = T.unsafe(nil)); end
def change_rpath(filename, old_path, new_path, options = T.unsafe(nil)); end
def delete_rpath(filename, old_path, options = T.unsafe(nil)); end
def dylibs(filename); end
def merge_machos(filename, *files, fat64: T.unsafe(nil)); end
end
end
class MachO::TruncatedFileError < ::MachO::NotAMachOError
def initialize; end
end
class MachO::UnimplementedError < ::MachO::MachOError
def initialize(thing); end
end
module MachO::Utils
class << self
def big_magic?(num); end
def fat_magic32?(num); end
def fat_magic64?(num); end
def fat_magic?(num); end
def little_magic?(num); end
def magic32?(num); end
def magic64?(num); end
def magic?(num); end
def nullpad(size); end
def pack_strings(fixed_offset, alignment, strings = T.unsafe(nil)); end
def padding_for(size, alignment); end
def round(value, round); end
def specialize_format(format, endianness); end
end
end
MachO::VERSION = T.let(T.unsafe(nil), String)

View File

@ -1,6 +1,6 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `ruby-progressbar` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
@ -11,7 +11,7 @@ class ProgressBar
end
class ProgressBar::Base
extend(::Forwardable)
extend ::Forwardable
def initialize(options = T.unsafe(nil)); end
@ -71,8 +71,7 @@ class ProgressBar::Base
def update_progress(*args); end
end
module ProgressBar::Calculators
end
module ProgressBar::Calculators; end
class ProgressBar::Calculators::Length
def initialize(options = T.unsafe(nil)); end
@ -106,8 +105,7 @@ class ProgressBar::Calculators::RunningAverage
end
end
module ProgressBar::Components
end
module ProgressBar::Components; end
class ProgressBar::Components::Bar
def initialize(options = T.unsafe(nil)); end
@ -140,9 +138,7 @@ class ProgressBar::Components::Bar
end
ProgressBar::Components::Bar::DEFAULT_PROGRESS_MARK = T.let(T.unsafe(nil), String)
ProgressBar::Components::Bar::DEFAULT_REMAINDER_MARK = T.let(T.unsafe(nil), String)
ProgressBar::Components::Bar::DEFAULT_UPA_STEPS = T.let(T.unsafe(nil), Array)
class ProgressBar::Components::Percentage
@ -209,21 +205,13 @@ class ProgressBar::Components::Time
end
ProgressBar::Components::Time::ELAPSED_LABEL = T.let(T.unsafe(nil), String)
ProgressBar::Components::Time::ESTIMATED_LABEL = T.let(T.unsafe(nil), String)
ProgressBar::Components::Time::NO_TIME_ELAPSED_TEXT = T.let(T.unsafe(nil), String)
ProgressBar::Components::Time::OOB_FRIENDLY_TIME_TEXT = T.let(T.unsafe(nil), String)
ProgressBar::Components::Time::OOB_LIMIT_IN_HOURS = T.let(T.unsafe(nil), Integer)
ProgressBar::Components::Time::OOB_TEXT_TO_FORMAT = T.let(T.unsafe(nil), Hash)
ProgressBar::Components::Time::OOB_TIME_FORMATS = T.let(T.unsafe(nil), Array)
ProgressBar::Components::Time::OOB_UNKNOWN_TIME_TEXT = T.let(T.unsafe(nil), String)
ProgressBar::Components::Time::TIME_FORMAT = T.let(T.unsafe(nil), String)
class ProgressBar::Components::Title
@ -234,9 +222,7 @@ class ProgressBar::Components::Title
end
ProgressBar::Components::Title::DEFAULT_TITLE = T.let(T.unsafe(nil), String)
module ProgressBar::Format
end
module ProgressBar::Format; end
class ProgressBar::Format::Formatter
class << self
@ -258,7 +244,6 @@ class ProgressBar::Format::Molecule
end
ProgressBar::Format::Molecule::BAR_MOLECULES = T.let(T.unsafe(nil), Array)
ProgressBar::Format::Molecule::MOLECULES = T.let(T.unsafe(nil), Hash)
class ProgressBar::Format::String < ::String
@ -270,11 +255,8 @@ class ProgressBar::Format::String < ::String
end
ProgressBar::Format::String::ANSI_SGR_PATTERN = T.let(T.unsafe(nil), Regexp)
ProgressBar::Format::String::MOLECULE_PATTERN = T.let(T.unsafe(nil), Regexp)
class ProgressBar::InvalidProgressError < ::RuntimeError
end
class ProgressBar::InvalidProgressError < ::RuntimeError; end
class ProgressBar::Output
def initialize(options = T.unsafe(nil)); end
@ -306,9 +288,7 @@ class ProgressBar::Output
end
ProgressBar::Output::DEFAULT_OUTPUT_STREAM = T.let(T.unsafe(nil), IO)
module ProgressBar::Outputs
end
module ProgressBar::Outputs; end
class ProgressBar::Outputs::NonTty < ::ProgressBar::Output
def bar_update_string; end
@ -365,16 +345,10 @@ class ProgressBar::Progress
end
ProgressBar::Progress::DEFAULT_BEGINNING_POSITION = T.let(T.unsafe(nil), Integer)
ProgressBar::Progress::DEFAULT_SMOOTHING = T.let(T.unsafe(nil), Float)
ProgressBar::Progress::DEFAULT_TOTAL = T.let(T.unsafe(nil), Integer)
module ProgressBar::Refinements
end
module ProgressBar::Refinements::Enumerator
end
module ProgressBar::Refinements; end
module ProgressBar::Refinements::Enumerator; end
class ProgressBar::Throttle
def initialize(options = T.unsafe(nil)); end

View File

@ -1,8 +1,82 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `simplecov-cobertura` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module SimpleCov
extend ::SimpleCov::Configuration
class << self
def at_exit_behavior; end
def clear_result; end
def collate(result_filenames, profile = T.unsafe(nil), ignore_timeout: T.unsafe(nil), &block); end
def exit_and_report_previous_error(exit_status); end
def exit_status_from_exception; end
def external_at_exit; end
def external_at_exit=(_arg0); end
def external_at_exit?; end
def filtered(files); end
def final_result_process?; end
def grouped(files); end
def load_adapter(name); end
def load_profile(name); end
def pid; end
def pid=(_arg0); end
def previous_error?(error_exit_status); end
def process_result(result); end
def process_results_and_report_error; end
def ready_to_process_results?; end
def result; end
def result?; end
def result_exit_status(result); end
def round_coverage(coverage); end
def run_exit_tasks!; end
def running; end
def running=(_arg0); end
def start(profile = T.unsafe(nil), &block); end
def wait_for_other_processes; end
def write_last_run(result); end
private
def adapt_coverage_result; end
def add_not_loaded_files(result); end
def initial_setup(profile, &block); end
def lookup_corresponding_ruby_coverage_name(criterion); end
def make_parallel_tests_available; end
def probably_running_parallel_tests?; end
def process_coverage_result; end
def remove_useless_results; end
def result_with_not_loaded_files; end
def start_coverage_measurement; end
def start_coverage_with_criteria; end
end
end
module SimpleCov::Formatter
class << self
def from_env(env); end
end
end
class SimpleCov::Formatter::CoberturaFormatter
def format(result); end
private
def coverage_output(result); end
def project_root; end
def resolve_filename(filename); end
def result_to_xml(result); end
def set_class_attributes(class_, file); end
def set_coverage_attributes(coverage, result); end
def set_line_attributes(line, file_line); end
def set_package_attributes(package, name, result); end
def set_xml_head(lines = T.unsafe(nil)); end
end
SimpleCov::Formatter::CoberturaFormatter::DTD_URL = T.let(T.unsafe(nil), String)
SimpleCov::Formatter::CoberturaFormatter::RESULT_FILE_NAME = T.let(T.unsafe(nil), String)
SimpleCov::Formatter::CoberturaFormatter::VERSION = T.let(T.unsafe(nil), String)
SimpleCov::VERSION = T.let(T.unsafe(nil), String)

View File

@ -1,8 +1,89 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `simplecov-html` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module SimpleCov
extend ::SimpleCov::Configuration
class << self
def at_exit_behavior; end
def clear_result; end
def collate(result_filenames, profile = T.unsafe(nil), ignore_timeout: T.unsafe(nil), &block); end
def exit_and_report_previous_error(exit_status); end
def exit_status_from_exception; end
def external_at_exit; end
def external_at_exit=(_arg0); end
def external_at_exit?; end
def filtered(files); end
def final_result_process?; end
def grouped(files); end
def load_adapter(name); end
def load_profile(name); end
def pid; end
def pid=(_arg0); end
def previous_error?(error_exit_status); end
def process_result(result); end
def process_results_and_report_error; end
def ready_to_process_results?; end
def result; end
def result?; end
def result_exit_status(result); end
def round_coverage(coverage); end
def run_exit_tasks!; end
def running; end
def running=(_arg0); end
def start(profile = T.unsafe(nil), &block); end
def wait_for_other_processes; end
def write_last_run(result); end
private
def adapt_coverage_result; end
def add_not_loaded_files(result); end
def initial_setup(profile, &block); end
def lookup_corresponding_ruby_coverage_name(criterion); end
def make_parallel_tests_available; end
def probably_running_parallel_tests?; end
def process_coverage_result; end
def remove_useless_results; end
def result_with_not_loaded_files; end
def start_coverage_measurement; end
def start_coverage_with_criteria; end
end
end
module SimpleCov::Formatter
class << self
def from_env(env); end
end
end
class SimpleCov::Formatter::HTMLFormatter
def initialize; end
def branchable_result?; end
def format(result); end
def line_status?(source_file, line); end
def output_message(result); end
private
def asset_output_path; end
def assets_path(name); end
def coverage_css_class(covered_percent); end
def covered_percent(percent); end
def formatted_file_list(title, source_files); end
def formatted_source_file(source_file); end
def id(source_file); end
def link_to_source_file(source_file); end
def output_path; end
def shortened_filename(source_file); end
def strength_css_class(covered_strength); end
def template(name); end
def timeago(time); end
end
SimpleCov::Formatter::HTMLFormatter::VERSION = T.let(T.unsafe(nil), String)
SimpleCov::VERSION = T.let(T.unsafe(nil), String)

View File

@ -1,8 +1,577 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `simplecov` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module SimpleCov
extend ::SimpleCov::Configuration
class << self
def at_exit_behavior; end
def clear_result; end
def collate(result_filenames, profile = T.unsafe(nil), ignore_timeout: T.unsafe(nil), &block); end
def exit_and_report_previous_error(exit_status); end
def exit_status_from_exception; end
def external_at_exit; end
def external_at_exit=(_arg0); end
def external_at_exit?; end
def filtered(files); end
def final_result_process?; end
def grouped(files); end
def load_adapter(name); end
def load_profile(name); end
def pid; end
def pid=(_arg0); end
def previous_error?(error_exit_status); end
def process_result(result); end
def process_results_and_report_error; end
def ready_to_process_results?; end
def result; end
def result?; end
def result_exit_status(result); end
def round_coverage(coverage); end
def run_exit_tasks!; end
def running; end
def running=(_arg0); end
def start(profile = T.unsafe(nil), &block); end
def wait_for_other_processes; end
def write_last_run(result); end
private
def adapt_coverage_result; end
def add_not_loaded_files(result); end
def initial_setup(profile, &block); end
def lookup_corresponding_ruby_coverage_name(criterion); end
def make_parallel_tests_available; end
def probably_running_parallel_tests?; end
def process_coverage_result; end
def remove_useless_results; end
def result_with_not_loaded_files; end
def start_coverage_measurement; end
def start_coverage_with_criteria; end
end
end
class SimpleCov::ArrayFilter < ::SimpleCov::Filter
def initialize(filter_argument); end
def matches?(source_files_list); end
end
class SimpleCov::BlockFilter < ::SimpleCov::Filter
def matches?(source_file); end
end
module SimpleCov::Combine
private
def combine(combiner_module, coverage_a, coverage_b); end
def empty_coverage?(coverage_a, coverage_b); end
def existing_coverage(coverage_a, coverage_b); end
class << self
def combine(combiner_module, coverage_a, coverage_b); end
def empty_coverage?(coverage_a, coverage_b); end
def existing_coverage(coverage_a, coverage_b); end
end
end
module SimpleCov::Combine::BranchesCombiner
private
def combine(coverage_a, coverage_b); end
class << self
def combine(coverage_a, coverage_b); end
end
end
module SimpleCov::Combine::FilesCombiner
private
def combine(coverage_a, coverage_b); end
class << self
def combine(coverage_a, coverage_b); end
end
end
module SimpleCov::Combine::LinesCombiner
private
def combine(coverage_a, coverage_b); end
def merge_line_coverage(first_val, second_val); end
class << self
def combine(coverage_a, coverage_b); end
def merge_line_coverage(first_val, second_val); end
end
end
module SimpleCov::Combine::ResultsCombiner
private
def combine(*results); end
def combine_file_coverage(coverage_a, coverage_b); end
def combine_result_sets(combined_results, result); end
class << self
def combine(*results); end
def combine_file_coverage(coverage_a, coverage_b); end
def combine_result_sets(combined_results, result); end
end
end
module SimpleCov::CommandGuesser
class << self
def guess; end
def original_run_command; end
def original_run_command=(_arg0); end
private
def from_command_line_options; end
def from_defined_constants; end
def from_env; end
end
end
module SimpleCov::Configuration
def adapters; end
def add_filter(filter_argument = T.unsafe(nil), &filter_proc); end
def add_group(group_name, filter_argument = T.unsafe(nil), &filter_proc); end
def at_exit(&block); end
def at_fork(&block); end
def branch_coverage?; end
def branch_coverage_supported?; end
def clear_coverage_criteria; end
def command_name(name = T.unsafe(nil)); end
def configure(&block); end
def coverage_criteria; end
def coverage_criterion(criterion = T.unsafe(nil)); end
def coverage_criterion_enabled?(criterion); end
def coverage_dir(dir = T.unsafe(nil)); end
def coverage_path; end
def coverage_start_arguments_supported?; end
def enable_coverage(criterion); end
def enable_for_subprocesses(value = T.unsafe(nil)); end
def enabled_for_subprocesses?; end
def filters; end
def filters=(_arg0); end
def formatter(formatter = T.unsafe(nil)); end
def formatter=(_arg0); end
def formatters; end
def formatters=(formatters); end
def groups; end
def groups=(_arg0); end
def maximum_coverage_drop(coverage_drop = T.unsafe(nil)); end
def merge_timeout(seconds = T.unsafe(nil)); end
def minimum_coverage(coverage = T.unsafe(nil)); end
def minimum_coverage_by_file(coverage = T.unsafe(nil)); end
def nocov_token(nocov_token = T.unsafe(nil)); end
def primary_coverage(criterion = T.unsafe(nil)); end
def print_error_status; end
def print_error_status=(_arg0); end
def profiles; end
def project_name(new_name = T.unsafe(nil)); end
def raise_on_invalid_coverage(coverage, coverage_setting); end
def refuse_coverage_drop(*criteria); end
def root(root = T.unsafe(nil)); end
def skip_token(nocov_token = T.unsafe(nil)); end
def track_files(glob); end
def tracked_files; end
def use_merging(use = T.unsafe(nil)); end
private
def minimum_possible_coverage_exceeded(coverage_option); end
def parse_filter(filter_argument = T.unsafe(nil), &filter_proc); end
def raise_if_criterion_disabled(criterion); end
def raise_if_criterion_unsupported(criterion); end
end
SimpleCov::Configuration::DEFAULT_COVERAGE_CRITERION = T.let(T.unsafe(nil), Symbol)
SimpleCov::Configuration::SUPPORTED_COVERAGE_CRITERIA = T.let(T.unsafe(nil), Array)
class SimpleCov::CoverageStatistics
def initialize(covered:, missed:, total_strength: T.unsafe(nil)); end
def covered; end
def missed; end
def percent; end
def strength; end
def total; end
private
def compute_percent(covered, missed, total); end
def compute_strength(total_strength, total); end
class << self
def from(coverage_statistics); end
end
end
module SimpleCov::ExitCodes; end
SimpleCov::ExitCodes::EXCEPTION = T.let(T.unsafe(nil), Integer)
module SimpleCov::ExitCodes::ExitCodeHandling
private
def call(result, coverage_limits:); end
def coverage_checks(result, coverage_limits); end
class << self
def call(result, coverage_limits:); end
def coverage_checks(result, coverage_limits); end
end
end
SimpleCov::ExitCodes::MAXIMUM_COVERAGE_DROP = T.let(T.unsafe(nil), Integer)
SimpleCov::ExitCodes::MINIMUM_COVERAGE = T.let(T.unsafe(nil), Integer)
class SimpleCov::ExitCodes::MaximumCoverageDropCheck
def initialize(result, maximum_coverage_drop); end
def exit_code; end
def failing?; end
def report; end
private
def compute_coverage_drop_data; end
def coverage_drop_violations; end
def drop_percent(criterion); end
def last_coverage(criterion); end
def last_run; end
def maximum_coverage_drop; end
def result; end
end
SimpleCov::ExitCodes::MaximumCoverageDropCheck::MAX_DROP_ACCURACY = T.let(T.unsafe(nil), Integer)
class SimpleCov::ExitCodes::MinimumCoverageByFileCheck
def initialize(result, minimum_coverage_by_file); end
def exit_code; end
def failing?; end
def report; end
private
def compute_minimum_coverage_data; end
def minimum_coverage_by_file; end
def minimum_violations; end
def result; end
end
class SimpleCov::ExitCodes::MinimumOverallCoverageCheck
def initialize(result, minimum_coverage); end
def exit_code; end
def failing?; end
def report; end
private
def calculate_minimum_violations; end
def minimum_coverage; end
def minimum_violations; end
def result; end
end
SimpleCov::ExitCodes::SUCCESS = T.let(T.unsafe(nil), Integer)
class SimpleCov::FileList
include ::Enumerable
extend ::Forwardable
def initialize(files); end
def branch_covered_percent; end
def count(*args, &block); end
def coverage_statistics; end
def coverage_statistics_by_file; end
def covered_branches; end
def covered_lines; end
def covered_percent; end
def covered_percentages; end
def covered_strength; end
def each(*args, &block); end
def empty?(*args, &block); end
def least_covered_file; end
def length(*args, &block); end
def lines_of_code; end
def map(*args, &block); end
def missed_branches; end
def missed_lines; end
def never_lines; end
def size(*args, &block); end
def skipped_lines; end
def to_a(*args, &block); end
def to_ary(*args, &block); end
def total_branches; end
private
def compute_coverage_statistics; end
def compute_coverage_statistics_by_file; end
end
class SimpleCov::Filter
def initialize(filter_argument); end
def filter_argument; end
def matches?(_source_file); end
def passes?(source_file); end
class << self
def build_filter(filter_argument); end
def class_for_argument(filter_argument); end
end
end
module SimpleCov::Formatter
class << self
def from_env(env); end
end
end
class SimpleCov::Formatter::MultiFormatter
class << self
def [](*args); end
def new(formatters = T.unsafe(nil)); end
end
end
module SimpleCov::Formatter::MultiFormatter::InstanceMethods
def format(result); end
end
class SimpleCov::Formatter::SimpleFormatter
def format(result); end
end
module SimpleCov::LastRun
class << self
def last_run_path; end
def read; end
def write(json); end
end
end
class SimpleCov::LinesClassifier
def classify(lines); end
class << self
def no_cov_line; end
def no_cov_line?(line); end
def whitespace_line?(line); end
end
end
SimpleCov::LinesClassifier::COMMENT_LINE = T.let(T.unsafe(nil), Regexp)
SimpleCov::LinesClassifier::RELEVANT = T.let(T.unsafe(nil), Integer)
SimpleCov::LinesClassifier::WHITESPACE_LINE = T.let(T.unsafe(nil), Regexp)
SimpleCov::LinesClassifier::WHITESPACE_OR_COMMENT_LINE = T.let(T.unsafe(nil), Regexp)
class SimpleCov::Profiles < ::Hash
def define(name, &blk); end
def load(name); end
end
class SimpleCov::RegexFilter < ::SimpleCov::Filter
def matches?(source_file); end
end
class SimpleCov::Result
extend ::Forwardable
def initialize(original_result, command_name: T.unsafe(nil), created_at: T.unsafe(nil)); end
def command_name; end
def command_name=(_arg0); end
def coverage_statistics(*args, &block); end
def coverage_statistics_by_file(*args, &block); end
def covered_branches(*args, &block); end
def covered_lines(*args, &block); end
def covered_percent(*args, &block); end
def covered_percentages(*args, &block); end
def covered_strength(*args, &block); end
def created_at; end
def created_at=(_arg0); end
def filenames; end
def files; end
def format!; end
def groups; end
def least_covered_file(*args, &block); end
def missed_branches(*args, &block); end
def missed_lines(*args, &block); end
def original_result; end
def source_files; end
def to_hash; end
def total_branches(*args, &block); end
def total_lines(*args, &block); end
private
def coverage; end
def filter!; end
class << self
def from_hash(hash); end
end
end
class SimpleCov::ResultAdapter
def initialize(result); end
def adapt; end
def result; end
class << self
def call(*args); end
end
end
module SimpleCov::ResultMerger
class << self
def adapt_pre_simplecov_0_18_result(result); end
def adapt_result(result); end
def create_result(command_names, coverage); end
def merge_and_store(*file_paths, ignore_timeout: T.unsafe(nil)); end
def merge_coverage(*results); end
def merge_results(*file_paths, ignore_timeout: T.unsafe(nil)); end
def merge_valid_results(results, ignore_timeout: T.unsafe(nil)); end
def merged_result; end
def parse_file(path); end
def parse_json(content); end
def pre_simplecov_0_18_result?(result); end
def read_file(path); end
def read_resultset; end
def resultset_path; end
def resultset_writelock; end
def store_result(result); end
def synchronize_resultset; end
def time_since_result_creation(data); end
def valid_results(file_path, ignore_timeout: T.unsafe(nil)); end
def within_merge_timeout?(data); end
end
end
module SimpleCov::SimulateCoverage
private
def call(absolute_path); end
class << self
def call(absolute_path); end
end
end
class SimpleCov::SourceFile
def initialize(filename, coverage_data); end
def branches; end
def branches_coverage_percent; end
def branches_for_line(line_number); end
def branches_report; end
def coverage_data; end
def coverage_statistics; end
def covered_branches; end
def covered_lines; end
def covered_percent; end
def covered_strength; end
def filename; end
def line(number); end
def line_with_missed_branch?(line_number); end
def lines; end
def lines_of_code; end
def missed_branches; end
def missed_lines; end
def never_lines; end
def no_branches?; end
def no_lines?; end
def project_filename; end
def relevant_lines; end
def skipped_lines; end
def source; end
def source_lines; end
def src; end
def total_branches; end
private
def branch_coverage_statistics; end
def build_branch(branch_data, hit_count, condition_start_line); end
def build_branches; end
def build_branches_from(condition, branches); end
def build_branches_report; end
def build_lines; end
def build_no_cov_chunks; end
def coverage_exceeding_source_warn; end
def ensure_remove_undefs(file_lines); end
def line_coverage_statistics; end
def lines_strength; end
def load_source; end
def no_cov_chunks; end
def process_skipped_branches(branches); end
def process_skipped_lines(lines); end
def read_lines(file, lines, current_line); end
def restore_ruby_data_structure(structure); end
def set_encoding_based_on_magic_comment(file, line); end
def shebang?(line); end
end
class SimpleCov::SourceFile::Branch
def initialize(start_line:, end_line:, coverage:, inline:, type:); end
def coverage; end
def covered?; end
def end_line; end
def inline?; end
def missed?; end
def overlaps_with?(line_range); end
def report; end
def report_line; end
def skipped!; end
def skipped?; end
def start_line; end
def type; end
end
class SimpleCov::SourceFile::Line
def initialize(src, line_number, coverage); end
def coverage; end
def covered?; end
def line; end
def line_number; end
def missed?; end
def never?; end
def number; end
def skipped; end
def skipped!; end
def skipped?; end
def source; end
def src; end
def status; end
end
SimpleCov::SourceFile::RUBY_FILE_ENCODING_MAGIC_COMMENT_REGEX = T.let(T.unsafe(nil), Regexp)
SimpleCov::SourceFile::SHEBANG_REGEX = T.let(T.unsafe(nil), Regexp)
class SimpleCov::StringFilter < ::SimpleCov::Filter
def matches?(source_file); end
end
module SimpleCov::UselessResultsRemover
class << self
def call(coverage_result); end
def root_regx; end
end
end
SimpleCov::VERSION = T.let(T.unsafe(nil), String)

View File

@ -4,5 +4,110 @@
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module SimpleCov
extend ::SimpleCov::Configuration
class << self
def at_exit_behavior; end
def clear_result; end
def collate(result_filenames, profile = T.unsafe(nil), ignore_timeout: T.unsafe(nil), &block); end
def exit_and_report_previous_error(exit_status); end
def exit_status_from_exception; end
def external_at_exit; end
def external_at_exit=(_arg0); end
def external_at_exit?; end
def filtered(files); end
def final_result_process?; end
def grouped(files); end
def load_adapter(name); end
def load_profile(name); end
def pid; end
def pid=(_arg0); end
def previous_error?(error_exit_status); end
def process_result(result); end
def process_results_and_report_error; end
def ready_to_process_results?; end
def result; end
def result?; end
def result_exit_status(result); end
def round_coverage(coverage); end
def run_exit_tasks!; end
def running; end
def running=(_arg0); end
def start(profile = T.unsafe(nil), &block); end
def wait_for_other_processes; end
def write_last_run(result); end
private
def adapt_coverage_result; end
def add_not_loaded_files(result); end
def initial_setup(profile, &block); end
def lookup_corresponding_ruby_coverage_name(criterion); end
def make_parallel_tests_available; end
def probably_running_parallel_tests?; end
def process_coverage_result; end
def remove_useless_results; end
def result_with_not_loaded_files; end
def start_coverage_measurement; end
def start_coverage_with_criteria; end
end
end
module SimpleCov::Formatter
class << self
def from_env(env); end
end
end
class SimpleCov::Formatter::JSONFormatter
def format(result); end
private
def export_formatted_result(result_hash); end
def format_result(result); end
def output_message(result); end
end
SimpleCov::VERSION = T.let(T.unsafe(nil), String)
module SimpleCovJSONFormatter; end
class SimpleCovJSONFormatter::ResultExporter
def initialize(result_hash); end
def export; end
private
def export_path; end
def json_result; end
end
SimpleCovJSONFormatter::ResultExporter::FILENAME = T.let(T.unsafe(nil), String)
class SimpleCovJSONFormatter::ResultHashFormatter
def initialize(result); end
def format; end
private
def format_source_file(source_file); end
def formatted_result; end
end
class SimpleCovJSONFormatter::SourceFileFormatter
def initialize(source_file); end
def format; end
private
def branch_coverage; end
def branches; end
def line_coverage; end
def lines; end
def parse_branch(branch); end
def parse_line(line); end
end

View File

@ -1,6 +1,6 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `sorbet-runtime-stub` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true

View File

@ -4,602 +4,16 @@
# typed: true
class Parlour::Generator
sig { params(break_params: Integer, tab_size: Integer, sort_namespaces: T::Boolean).void }
def initialize(break_params: T.unsafe(nil), tab_size: T.unsafe(nil), sort_namespaces: T.unsafe(nil)); end
sig { overridable.returns(T.nilable(Parlour::Plugin)) }
def current_plugin; end
def current_plugin=(_arg0); end
sig { overridable.returns(Parlour::Options) }
def options; end
end
class Parlour::Options
sig { params(break_params: Integer, tab_size: Integer, sort_namespaces: T::Boolean).void }
def initialize(break_params:, tab_size:, sort_namespaces:); end
sig { returns(Integer) }
def break_params; end
sig { params(level: Integer, str: String).returns(String) }
def indented(level, str); end
sig { returns(T::Boolean) }
def sort_namespaces; end
sig { returns(Integer) }
def tab_size; end
end
class Parlour::RbiGenerator < ::Parlour::Generator
def initialize(**hash); end
sig { overridable.params(strictness: String).returns(String) }
def rbi(strictness = T.unsafe(nil)); end
sig { overridable.returns(Parlour::RbiGenerator::Namespace) }
def root; end
end
class Parlour::RbiGenerator::Arbitrary < ::Parlour::RbiGenerator::RbiObject
sig { params(generator: Parlour::Generator, code: String, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Arbitrary).void)).void }
def initialize(generator, code: T.unsafe(nil), &block); end
sig { params(other: Object).returns(T::Boolean) }
def ==(other); end
sig { returns(String) }
def code; end
def code=(_arg0); end
sig { override.returns(String) }
def describe; end
sig { override.void }
def generalize_from_rbi!; end
sig { override.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_rbi(indent_level, options); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).void }
def merge_into_self(others); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).returns(T::Boolean) }
def mergeable?(others); end
end
class Parlour::RbiGenerator::Attribute < ::Parlour::RbiGenerator::Method
sig { params(generator: Parlour::Generator, name: String, kind: Symbol, type: T.any(Parlour::Types::Type, String), class_attribute: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Attribute).void)).void }
def initialize(generator, name, kind, type, class_attribute: T.unsafe(nil), &block); end
sig { override.params(other: Object).returns(T::Boolean) }
def ==(other); end
sig { returns(T::Boolean) }
def class_attribute; end
sig { override.void }
def generalize_from_rbi!; end
sig { returns(Symbol) }
def kind; end
sig { returns(T.any(Parlour::Types::Type, String)) }
def type; end
private
sig { override.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_definition(indent_level, options); end
end
class Parlour::RbiGenerator::ClassNamespace < ::Parlour::RbiGenerator::Namespace
sig { params(generator: Parlour::Generator, name: String, final: T::Boolean, sealed: T::Boolean, superclass: T.nilable(String), abstract: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::ClassNamespace).void)).void }
def initialize(generator, name, final, sealed, superclass, abstract, &block); end
sig { returns(T::Boolean) }
def abstract; end
sig { override.returns(String) }
def describe; end
sig { override.void }
def generalize_from_rbi!; end
sig { override.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_rbi(indent_level, options); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).void }
def merge_into_self(others); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).returns(T::Boolean) }
def mergeable?(others); end
sig { returns(T.nilable(String)) }
def superclass; end
end
class Parlour::RbiGenerator::Constant < ::Parlour::RbiGenerator::RbiObject
sig { params(generator: Parlour::Generator, name: String, value: T.any(Parlour::Types::Type, String), eigen_constant: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Constant).void)).void }
def initialize(generator, name: T.unsafe(nil), value: T.unsafe(nil), eigen_constant: T.unsafe(nil), &block); end
sig { params(other: Object).returns(T::Boolean) }
def ==(other); end
sig { override.returns(String) }
def describe; end
def eigen_constant; end
sig { override.void }
def generalize_from_rbi!; end
sig { override.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_rbi(indent_level, options); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).void }
def merge_into_self(others); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).returns(T::Boolean) }
def mergeable?(others); end
sig { returns(T.any(Parlour::Types::Type, String)) }
def value; end
end
class Parlour::RbiGenerator::EnumClassNamespace < ::Parlour::RbiGenerator::ClassNamespace
sig { params(generator: Parlour::Generator, name: String, final: T::Boolean, sealed: T::Boolean, enums: T::Array[T.any(String, [String, String])], abstract: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::EnumClassNamespace).void)).void }
def initialize(generator, name, final, sealed, enums, abstract, &block); end
sig { returns(T::Array[T.any(String, [String, String])]) }
def enums; end
sig { override.void }
def generalize_from_rbi!; end
sig { override.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_body(indent_level, options); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).void }
def merge_into_self(others); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).returns(T::Boolean) }
def mergeable?(others); end
end
class Parlour::RbiGenerator::Extend < ::Parlour::RbiGenerator::RbiObject
sig { params(generator: Parlour::Generator, name: String, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Extend).void)).void }
def initialize(generator, name: T.unsafe(nil), &block); end
sig { params(other: Object).returns(T::Boolean) }
def ==(other); end
sig { override.returns(String) }
def describe; end
sig { override.void }
def generalize_from_rbi!; end
sig { override.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_rbi(indent_level, options); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).void }
def merge_into_self(others); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).returns(T::Boolean) }
def mergeable?(others); end
end
class Parlour::RbiGenerator::Include < ::Parlour::RbiGenerator::RbiObject
sig { params(generator: Parlour::Generator, name: String, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Include).void)).void }
def initialize(generator, name: T.unsafe(nil), &block); end
sig { params(other: Object).returns(T::Boolean) }
def ==(other); end
sig { override.returns(String) }
def describe; end
sig { override.void }
def generalize_from_rbi!; end
sig { override.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_rbi(indent_level, options); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).void }
def merge_into_self(others); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).returns(T::Boolean) }
def mergeable?(others); end
end
class Parlour::RbiGenerator::Method < ::Parlour::RbiGenerator::RbiObject
sig { params(generator: Parlour::Generator, name: String, parameters: T::Array[Parlour::RbiGenerator::Parameter], return_type: T.nilable(T.any(Parlour::Types::Type, String)), abstract: T::Boolean, implementation: T::Boolean, override: T::Boolean, overridable: T::Boolean, class_method: T::Boolean, final: T::Boolean, type_parameters: T.nilable(T::Array[Symbol]), block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Method).void)).void }
def initialize(generator, name, parameters, return_type = T.unsafe(nil), abstract: T.unsafe(nil), implementation: T.unsafe(nil), override: T.unsafe(nil), overridable: T.unsafe(nil), class_method: T.unsafe(nil), final: T.unsafe(nil), type_parameters: T.unsafe(nil), &block); end
sig { overridable.params(other: Object).returns(T::Boolean) }
def ==(other); end
sig { returns(T::Boolean) }
def abstract; end
sig { returns(T::Boolean) }
def class_method; end
sig { override.returns(String) }
def describe; end
sig { returns(T::Boolean) }
def final; end
sig { override.void }
def generalize_from_rbi!; end
sig { override.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_rbi(indent_level, options); end
sig { returns(T::Boolean) }
def implementation; end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).void }
def merge_into_self(others); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).returns(T::Boolean) }
def mergeable?(others); end
sig { returns(T::Boolean) }
def overridable; end
sig { returns(T::Boolean) }
def override; end
sig { returns(T::Array[Parlour::RbiGenerator::Parameter]) }
def parameters; end
sig { returns(T.nilable(T.any(Parlour::Types::Type, String))) }
def return_type; end
sig { returns(T::Array[Symbol]) }
def type_parameters; end
private
sig { overridable.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_definition(indent_level, options); end
sig { returns(String) }
def qualifiers; end
end
class Parlour::RbiGenerator::ModuleNamespace < ::Parlour::RbiGenerator::Namespace
sig { params(generator: Parlour::Generator, name: String, final: T::Boolean, sealed: T::Boolean, interface: T::Boolean, abstract: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::ClassNamespace).void)).void }
def initialize(generator, name, final, sealed, interface, abstract, &block); end
sig { returns(T::Boolean) }
def abstract; end
sig { override.returns(String) }
def describe; end
sig { override.void }
def generalize_from_rbi!; end
sig { override.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_rbi(indent_level, options); end
sig { returns(T::Boolean) }
def interface; end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).void }
def merge_into_self(others); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).returns(T::Boolean) }
def mergeable?(others); end
end
class Parlour::RbiGenerator::Namespace < ::Parlour::RbiGenerator::RbiObject
sig { params(generator: Parlour::Generator, name: T.nilable(String), final: T::Boolean, sealed: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Namespace).void)).void }
def initialize(generator, name = T.unsafe(nil), final = T.unsafe(nil), sealed = T.unsafe(nil), &block); end
sig { params(comment: T.any(String, T::Array[String])).void }
def add_comment_to_next_child(comment); end
sig { returns(T::Array[Parlour::RbiGenerator::TypeAlias]) }
def aliases; end
sig { returns(T::Array[Parlour::RbiGenerator::RbiObject]) }
def children; end
sig { returns(T::Array[Parlour::RbiGenerator::Constant]) }
def constants; end
def create_arbitrary(code:, &block); end
def create_attr(*args, &blk); end
sig { params(name: String, type: T.any(Parlour::Types::Type, String), class_attribute: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Attribute).void)).returns(Parlour::RbiGenerator::Attribute) }
def create_attr_accessor(name, type:, class_attribute: T.unsafe(nil), &block); end
sig { params(name: String, type: T.any(Parlour::Types::Type, String), class_attribute: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Attribute).void)).returns(Parlour::RbiGenerator::Attribute) }
def create_attr_reader(name, type:, class_attribute: T.unsafe(nil), &block); end
sig { params(name: String, type: T.any(Parlour::Types::Type, String), class_attribute: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Attribute).void)).returns(Parlour::RbiGenerator::Attribute) }
def create_attr_writer(name, type:, class_attribute: T.unsafe(nil), &block); end
sig { params(name: String, kind: Symbol, type: T.any(Parlour::Types::Type, String), class_attribute: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Attribute).void)).returns(Parlour::RbiGenerator::Attribute) }
def create_attribute(name, kind:, type:, class_attribute: T.unsafe(nil), &block); end
sig { params(name: String, final: T::Boolean, sealed: T::Boolean, superclass: T.nilable(String), abstract: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::ClassNamespace).void)).returns(Parlour::RbiGenerator::ClassNamespace) }
def create_class(name, final: T.unsafe(nil), sealed: T.unsafe(nil), superclass: T.unsafe(nil), abstract: T.unsafe(nil), &block); end
sig { params(name: String, value: String, eigen_constant: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Constant).void)).returns(Parlour::RbiGenerator::Constant) }
def create_constant(name, value:, eigen_constant: T.unsafe(nil), &block); end
sig { params(name: String, final: T::Boolean, sealed: T::Boolean, enums: T.nilable(T::Array[T.any(String, [String, String])]), abstract: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::EnumClassNamespace).void)).returns(Parlour::RbiGenerator::EnumClassNamespace) }
def create_enum_class(name, final: T.unsafe(nil), sealed: T.unsafe(nil), enums: T.unsafe(nil), abstract: T.unsafe(nil), &block); end
sig { params(name: String, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Extend).void)).returns(Parlour::RbiGenerator::Extend) }
def create_extend(name, &block); end
sig { params(extendables: T::Array[String]).returns(T::Array[Parlour::RbiGenerator::Extend]) }
def create_extends(extendables); end
sig { params(name: String, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Include).void)).returns(Parlour::RbiGenerator::Include) }
def create_include(name, &block); end
sig { params(includables: T::Array[String]).returns(T::Array[Parlour::RbiGenerator::Include]) }
def create_includes(includables); end
sig { params(name: String, parameters: T.nilable(T::Array[Parlour::RbiGenerator::Parameter]), return_type: T.nilable(T.any(Parlour::Types::Type, String)), returns: T.nilable(T.any(Parlour::Types::Type, String)), abstract: T::Boolean, implementation: T::Boolean, override: T::Boolean, overridable: T::Boolean, class_method: T::Boolean, final: T::Boolean, type_parameters: T.nilable(T::Array[Symbol]), block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::Method).void)).returns(Parlour::RbiGenerator::Method) }
def create_method(name, parameters: T.unsafe(nil), return_type: T.unsafe(nil), returns: T.unsafe(nil), abstract: T.unsafe(nil), implementation: T.unsafe(nil), override: T.unsafe(nil), overridable: T.unsafe(nil), class_method: T.unsafe(nil), final: T.unsafe(nil), type_parameters: T.unsafe(nil), &block); end
sig { params(name: String, final: T::Boolean, sealed: T::Boolean, interface: T::Boolean, abstract: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::ClassNamespace).void)).returns(Parlour::RbiGenerator::ModuleNamespace) }
def create_module(name, final: T.unsafe(nil), sealed: T.unsafe(nil), interface: T.unsafe(nil), abstract: T.unsafe(nil), &block); end
sig { params(name: String, final: T::Boolean, sealed: T::Boolean, props: T.nilable(T::Array[Parlour::RbiGenerator::StructProp]), abstract: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::StructClassNamespace).void)).returns(Parlour::RbiGenerator::StructClassNamespace) }
def create_struct_class(name, final: T.unsafe(nil), sealed: T.unsafe(nil), props: T.unsafe(nil), abstract: T.unsafe(nil), &block); end
sig { params(name: String, type: T.any(Parlour::Types::Type, String), block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::TypeAlias).void)).returns(Parlour::RbiGenerator::TypeAlias) }
def create_type_alias(name, type:, &block); end
sig { override.overridable.returns(String) }
def describe; end
sig { returns(T::Array[Parlour::RbiGenerator::Extend]) }
def extends; end
sig { returns(T::Boolean) }
def final; end
sig { override.void }
def generalize_from_rbi!; end
sig { override.overridable.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_rbi(indent_level, options); end
sig { returns(T::Array[Parlour::RbiGenerator::Include]) }
def includes; end
sig { override.overridable.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).void }
def merge_into_self(others); end
sig { override.overridable.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).returns(T::Boolean) }
def mergeable?(others); end
sig { params(constant: Module, block: T.proc.params(x: Parlour::RbiGenerator::Namespace).void).void }
def path(constant, &block); end
sig { returns(T::Boolean) }
def sealed; end
def type_aliases(*args, &blk); end
private
sig { overridable.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_body(indent_level, options); end
sig { params(object: Parlour::RbiGenerator::RbiObject).void }
def move_next_comments(object); end
end
Parlour::RbiGenerator::Options = Parlour::Options
class Parlour::RbiGenerator::Parameter
sig { params(name: String, type: T.nilable(T.any(Parlour::Types::Type, String)), default: T.nilable(String)).void }
def initialize(name, type: T.unsafe(nil), default: T.unsafe(nil)); end
sig { params(other: Object).returns(T::Boolean) }
def ==(other); end
sig { returns(T.nilable(String)) }
def default; end
sig { void }
def generalize_from_rbi!; end
sig { returns(Symbol) }
def kind; end
sig { returns(String) }
def name; end
sig { returns(String) }
def name_without_kind; end
sig { returns(String) }
def to_def_param; end
sig { returns(String) }
def to_sig_param; end
sig { returns(T.any(Parlour::Types::Type, String)) }
def type; end
end
Parlour::RbiGenerator::Parameter::PREFIXES = T.let(T.unsafe(nil), Hash)
class Parlour::RbiGenerator::RbiObject < ::Parlour::TypedObject
abstract!
sig { params(generator: Parlour::Generator, name: String).void }
def initialize(generator, name); end
sig { override.overridable.returns(String) }
def describe; end
sig { abstract.void }
def generalize_from_rbi!; end
sig { abstract.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_rbi(indent_level, options); end
sig { returns(Parlour::Generator) }
def generator; end
sig { abstract.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).void }
def merge_into_self(others); end
sig { abstract.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).returns(T::Boolean) }
def mergeable?(others); end
end
class Parlour::RbiGenerator::StructClassNamespace < ::Parlour::RbiGenerator::ClassNamespace
sig { params(generator: Parlour::Generator, name: String, final: T::Boolean, sealed: T::Boolean, props: T::Array[Parlour::RbiGenerator::StructProp], abstract: T::Boolean, block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::StructClassNamespace).void)).void }
def initialize(generator, name, final, sealed, props, abstract, &block); end
sig { override.void }
def generalize_from_rbi!; end
sig { override.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_body(indent_level, options); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).void }
def merge_into_self(others); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).returns(T::Boolean) }
def mergeable?(others); end
sig { returns(T::Array[Parlour::RbiGenerator::StructProp]) }
def props; end
end
class Parlour::RbiGenerator::StructProp
sig { params(name: String, type: T.any(Parlour::Types::Type, String), optional: T.nilable(T.any(Symbol, T::Boolean)), enum: T.nilable(String), dont_store: T.nilable(T::Boolean), foreign: T.nilable(String), default: T.nilable(String), factory: T.nilable(String), immutable: T.nilable(T::Boolean), array: T.nilable(String), override: T.nilable(T::Boolean), redaction: T.nilable(String)).void }
def initialize(name, type, optional: T.unsafe(nil), enum: T.unsafe(nil), dont_store: T.unsafe(nil), foreign: T.unsafe(nil), default: T.unsafe(nil), factory: T.unsafe(nil), immutable: T.unsafe(nil), array: T.unsafe(nil), override: T.unsafe(nil), redaction: T.unsafe(nil)); end
sig { params(other: Object).returns(T::Boolean) }
def ==(other); end
sig { returns(T.nilable(String)) }
def array; end
sig { returns(T.nilable(String)) }
def default; end
sig { returns(T.nilable(T::Boolean)) }
def dont_store; end
sig { returns(T.nilable(String)) }
def enum; end
sig { returns(T.nilable(String)) }
def factory; end
sig { returns(T.nilable(String)) }
def foreign; end
sig { void }
def generalize_from_rbi!; end
sig { returns(T.nilable(T::Boolean)) }
def immutable; end
sig { returns(String) }
def name; end
sig { returns(T.nilable(T.any(Symbol, T::Boolean))) }
def optional; end
sig { returns(T.nilable(T::Boolean)) }
def override; end
sig { returns(T.nilable(String)) }
def redaction; end
sig { returns(String) }
def to_prop_call; end
sig { returns(T.any(Parlour::Types::Type, String)) }
def type; end
end
Parlour::RbiGenerator::StructProp::EXTRA_PROPERTIES = T.let(T.unsafe(nil), Array)
class Parlour::RbiGenerator::TypeAlias < ::Parlour::RbiGenerator::RbiObject
sig { params(generator: Parlour::Generator, name: String, type: T.any(Parlour::Types::Type, String), block: T.nilable(T.proc.params(x: Parlour::RbiGenerator::TypeAlias).void)).void }
def initialize(generator, name:, type:, &block); end
sig { params(other: Object).returns(T::Boolean) }
def ==(other); end
sig { override.returns(String) }
def describe; end
sig { override.void }
def generalize_from_rbi!; end
sig { override.params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_rbi(indent_level, options); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).void }
def merge_into_self(others); end
sig { override.params(others: T::Array[Parlour::RbiGenerator::RbiObject]).returns(T::Boolean) }
def mergeable?(others); end
sig { returns(T.any(Parlour::Types::Type, String)) }
def type; end
end
class Parlour::TypedObject
abstract!
sig { params(name: String).void }
def initialize(name); end
sig { params(comment: T.any(String, T::Array[String])).void }
def add_comment(comment); end
def add_comments(*args, &blk); end
sig { returns(T::Array[String]) }
def comments; end
sig { abstract.returns(String) }
def describe; end
sig { returns(T.nilable(Parlour::Plugin)) }
def generated_by; end
sig { returns(String) }
def name; end
protected
sig { params(indent_level: Integer, options: Parlour::Options).returns(T::Array[String]) }
def generate_comments(indent_level, options); end
end
class String
include ::Comparable
include ::JSON::Ext::Generator::GeneratorMethods::String
include ::Colorize::InstanceMethods
include ::MessagePack::CoreExt
extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
extend ::Colorize::ClassMethods
sig { returns(String) }
def underscore; end
end
String::BLANK_RE = T.let(T.unsafe(nil), Regexp)

View File

@ -1,15 +1,15 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `thor` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
class Thor
include(::Thor::Base)
include(::Thor::Invocation)
include(::Thor::Shell)
extend(::Thor::Base::ClassMethods)
extend(::Thor::Invocation::ClassMethods)
include ::Thor::Base
include ::Thor::Invocation
include ::Thor::Shell
extend ::Thor::Base::ClassMethods
extend ::Thor::Invocation::ClassMethods
def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end
@ -66,7 +66,7 @@ class Thor
end
module Thor::Actions
mixes_in_class_methods(::Thor::Actions::ClassMethods)
mixes_in_class_methods ::Thor::Actions::ClassMethods
def initialize(args = T.unsafe(nil), options = T.unsafe(nil), config = T.unsafe(nil)); end
@ -213,10 +213,7 @@ class Thor::Actions::InjectIntoFile < ::Thor::Actions::EmptyDirectory
end
Thor::Actions::WARNINGS = T.let(T.unsafe(nil), Hash)
class Thor::AmbiguousCommandError < ::Thor::Error
end
class Thor::AmbiguousCommandError < ::Thor::Error; end
Thor::AmbiguousTaskError = Thor::AmbiguousCommandError
class Thor::Argument
@ -272,10 +269,10 @@ end
Thor::Arguments::NUMERIC = T.let(T.unsafe(nil), Regexp)
module Thor::Base
include(::Thor::Invocation)
include(::Thor::Shell)
include ::Thor::Invocation
include ::Thor::Shell
mixes_in_class_methods(::Thor::Base::ClassMethods)
mixes_in_class_methods ::Thor::Base::ClassMethods
def initialize(args = T.unsafe(nil), local_options = T.unsafe(nil), config = T.unsafe(nil)); end
@ -382,9 +379,7 @@ class Thor::Command < ::Struct
end
Thor::Command::FILE_REGEXP = T.let(T.unsafe(nil), Regexp)
module Thor::CoreExt
end
module Thor::CoreExt; end
class Thor::CoreExt::HashWithIndifferentAccess < ::Hash
def initialize(hash = T.unsafe(nil)); end
@ -417,17 +412,14 @@ class Thor::DynamicCommand < ::Thor::Command
end
Thor::DynamicTask = Thor::DynamicCommand
class Thor::Error < ::StandardError
end
class Thor::Error < ::StandardError; end
class Thor::Group
include(::Thor::Base)
include(::Thor::Invocation)
include(::Thor::Shell)
extend(::Thor::Base::ClassMethods)
extend(::Thor::Invocation::ClassMethods)
include ::Thor::Base
include ::Thor::Invocation
include ::Thor::Shell
extend ::Thor::Base::ClassMethods
extend ::Thor::Invocation::ClassMethods
protected
@ -468,7 +460,7 @@ end
Thor::HiddenTask = Thor::HiddenCommand
module Thor::Invocation
mixes_in_class_methods(::Thor::Invocation::ClassMethods)
mixes_in_class_methods ::Thor::Invocation::ClassMethods
def initialize(args = T.unsafe(nil), options = T.unsafe(nil), config = T.unsafe(nil), &block); end
@ -495,8 +487,7 @@ module Thor::Invocation::ClassMethods
def prepare_for_invocation(key, name); end
end
class Thor::InvocationError < ::Thor::Error
end
class Thor::InvocationError < ::Thor::Error; end
module Thor::LineEditor
class << self
@ -551,8 +542,7 @@ class Thor::LineEditor::Readline::PathCompletion
def text; end
end
class Thor::MalformattedArgumentError < ::Thor::InvocationError
end
class Thor::MalformattedArgumentError < ::Thor::InvocationError; end
class Thor::NestedContext
def initialize; end
@ -629,22 +619,13 @@ class Thor::Options < ::Thor::Arguments
end
Thor::Options::EQ_RE = T.let(T.unsafe(nil), Regexp)
Thor::Options::LONG_RE = T.let(T.unsafe(nil), Regexp)
Thor::Options::OPTS_END = T.let(T.unsafe(nil), String)
Thor::Options::SHORT_NUM = T.let(T.unsafe(nil), Regexp)
Thor::Options::SHORT_RE = T.let(T.unsafe(nil), Regexp)
Thor::Options::SHORT_SQ_RE = T.let(T.unsafe(nil), Regexp)
class Thor::RequiredArgumentMissingError < ::Thor::InvocationError
end
module Thor::Sandbox
end
class Thor::RequiredArgumentMissingError < ::Thor::InvocationError; end
module Thor::Sandbox; end
module Thor::Shell
def initialize(args = T.unsafe(nil), options = T.unsafe(nil), config = T.unsafe(nil)); end
@ -734,39 +715,22 @@ class Thor::Shell::Color < ::Thor::Shell::Basic
end
Thor::Shell::Color::BLACK = T.let(T.unsafe(nil), String)
Thor::Shell::Color::BLUE = T.let(T.unsafe(nil), String)
Thor::Shell::Color::BOLD = T.let(T.unsafe(nil), String)
Thor::Shell::Color::CLEAR = T.let(T.unsafe(nil), String)
Thor::Shell::Color::CYAN = T.let(T.unsafe(nil), String)
Thor::Shell::Color::GREEN = T.let(T.unsafe(nil), String)
Thor::Shell::Color::MAGENTA = T.let(T.unsafe(nil), String)
Thor::Shell::Color::ON_BLACK = T.let(T.unsafe(nil), String)
Thor::Shell::Color::ON_BLUE = T.let(T.unsafe(nil), String)
Thor::Shell::Color::ON_CYAN = T.let(T.unsafe(nil), String)
Thor::Shell::Color::ON_GREEN = T.let(T.unsafe(nil), String)
Thor::Shell::Color::ON_MAGENTA = T.let(T.unsafe(nil), String)
Thor::Shell::Color::ON_RED = T.let(T.unsafe(nil), String)
Thor::Shell::Color::ON_WHITE = T.let(T.unsafe(nil), String)
Thor::Shell::Color::ON_YELLOW = T.let(T.unsafe(nil), String)
Thor::Shell::Color::RED = T.let(T.unsafe(nil), String)
Thor::Shell::Color::WHITE = T.let(T.unsafe(nil), String)
Thor::Shell::Color::YELLOW = T.let(T.unsafe(nil), String)
class Thor::Shell::HTML < ::Thor::Shell::Basic
@ -782,49 +746,29 @@ class Thor::Shell::HTML < ::Thor::Shell::Basic
end
Thor::Shell::HTML::BLACK = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::BLUE = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::BOLD = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::CYAN = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::GREEN = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::MAGENTA = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::ON_BLACK = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::ON_BLUE = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::ON_CYAN = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::ON_GREEN = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::ON_MAGENTA = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::ON_RED = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::ON_WHITE = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::ON_YELLOW = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::RED = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::WHITE = T.let(T.unsafe(nil), String)
Thor::Shell::HTML::YELLOW = T.let(T.unsafe(nil), String)
Thor::Shell::SHELL_DELEGATED_METHODS = T.let(T.unsafe(nil), Array)
Thor::TEMPLATE_EXTNAME = T.let(T.unsafe(nil), String)
Thor::THOR_RESERVED_WORDS = T.let(T.unsafe(nil), Array)
Thor::Task = Thor::Command
class Thor::UndefinedCommandError < ::Thor::Error
include(::DidYouMean::Correctable)
include ::DidYouMean::Correctable
def initialize(command, all_commands, namespace); end
@ -843,7 +787,7 @@ end
Thor::UndefinedTaskError = Thor::UndefinedCommandError
class Thor::UnknownArgumentError < ::Thor::Error
include(::DidYouMean::Correctable)
include ::DidYouMean::Correctable
def initialize(switches, unknown); end

View File

@ -1,13 +1,12 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `tzinfo` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module TZInfo
end
module TZInfo; end
class TZInfo::AbsoluteDayOfYearTransitionRule
class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule
def initialize(day, transition_at = T.unsafe(nil)); end
def ==(r); end
@ -21,11 +20,30 @@ class TZInfo::AbsoluteDayOfYearTransitionRule
def hash_args; end
end
class TZInfo::AmbiguousTime < ::StandardError
class TZInfo::AmbiguousTime < ::StandardError; end
class TZInfo::AnnualRules
def initialize(std_offset, dst_offset, dst_start_rule, dst_end_rule); end
def dst_end_rule; end
def dst_offset; end
def dst_start_rule; end
def std_offset; end
def transitions(year); end
private
def apply_rule(rule, from_offset, to_offset, year); end
end
class TZInfo::ConcurrentStringDeduper < ::TZInfo::StringDeduper
protected
def create_hash(&block); end
end
class TZInfo::Country
include(::Comparable)
include ::Comparable
def initialize(info); end
@ -55,6 +73,8 @@ class TZInfo::Country
end
end
TZInfo::CountryIndexDefinition = TZInfo::Format1::CountryIndexDefinition
class TZInfo::CountryTimezone
def initialize(identifier, latitude, longitude, description = T.unsafe(nil)); end
@ -106,11 +126,8 @@ class TZInfo::DataSource
end
end
class TZInfo::DataSourceNotFound < ::StandardError
end
module TZInfo::DataSources
end
class TZInfo::DataSourceNotFound < ::StandardError; end
module TZInfo::DataSources; end
class TZInfo::DataSources::ConstantOffsetDataTimezoneInfo < ::TZInfo::DataSources::DataTimezoneInfo
def initialize(identifier, constant_offset); end
@ -145,11 +162,9 @@ class TZInfo::DataSources::DataTimezoneInfo < ::TZInfo::DataSources::TimezoneInf
def raise_not_implemented(method_name); end
end
class TZInfo::DataSources::InvalidZoneinfoDirectory < ::StandardError
end
class TZInfo::DataSources::InvalidZoneinfoFile < ::StandardError
end
class TZInfo::DataSources::InvalidPosixTimeZone < ::StandardError; end
class TZInfo::DataSources::InvalidZoneinfoDirectory < ::StandardError; end
class TZInfo::DataSources::InvalidZoneinfoFile < ::StandardError; end
class TZInfo::DataSources::LinkedTimezoneInfo < ::TZInfo::DataSources::TimezoneInfo
def initialize(identifier, link_to_identifier); end
@ -158,6 +173,19 @@ class TZInfo::DataSources::LinkedTimezoneInfo < ::TZInfo::DataSources::TimezoneI
def link_to_identifier; end
end
class TZInfo::DataSources::PosixTimeZoneParser
def initialize(string_deduper); end
def parse(tz_string); end
private
def check_scan(s, pattern); end
def get_offset_from_hms(h, m, s); end
def get_seconds_after_midnight_from_hms(h, m, s); end
def parse_rule(s, type); end
end
class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource
def initialize; end
@ -180,8 +208,7 @@ class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource
def version_info; end
end
class TZInfo::DataSources::TZInfoDataNotFound < ::StandardError
end
class TZInfo::DataSources::TZInfoDataNotFound < ::StandardError; end
class TZInfo::DataSources::TimezoneInfo
def initialize(identifier); end
@ -246,9 +273,32 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
end
end
class TZInfo::DataSources::ZoneinfoDirectoryNotFound < ::StandardError
TZInfo::DataSources::ZoneinfoDataSource::DEFAULT_ALTERNATE_ISO3166_TAB_SEARCH_PATH = T.let(T.unsafe(nil), Array)
TZInfo::DataSources::ZoneinfoDataSource::DEFAULT_SEARCH_PATH = T.let(T.unsafe(nil), Array)
class TZInfo::DataSources::ZoneinfoDirectoryNotFound < ::StandardError; end
class TZInfo::DataSources::ZoneinfoReader
def initialize(posix_tz_parser, string_deduper); end
def read(file_path); end
private
def apply_rules_with_transitions(file, transitions, offsets, rules); end
def apply_rules_without_transitions(file, first_offset, rules); end
def check_read(file, bytes); end
def derive_offsets(transitions, offsets); end
def find_existing_offset(offsets, offset); end
def make_signed_int32(long); end
def make_signed_int64(high, low); end
def offset_matches_rule?(offset, rule_offset); end
def parse(file); end
def replace_with_existing_offsets(offsets, annual_rules); end
def validate_and_fix_last_defined_transition_offset(file, last_defined, first_rule_offset); end
end
TZInfo::DataSources::ZoneinfoReader::GENERATE_UP_TO = T.let(T.unsafe(nil), Integer)
class TZInfo::DataTimezone < ::TZInfo::InfoTimezone
def canonical_zone; end
def period_for(time); end
@ -257,7 +307,7 @@ class TZInfo::DataTimezone < ::TZInfo::InfoTimezone
end
class TZInfo::DateTimeWithOffset < ::DateTime
include(::TZInfo::WithOffset)
include ::TZInfo::WithOffset
def downto(min); end
def england; end
@ -276,6 +326,189 @@ class TZInfo::DateTimeWithOffset < ::DateTime
def clear_timezone_offset; end
end
class TZInfo::DayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule
def initialize(month, week, day_of_week, transition_at = T.unsafe(nil)); end
def ==(r); end
def eql?(r); end
protected
def get_day(offset, year); end
def hash_args; end
def offset_start; end
end
class TZInfo::DayOfWeekTransitionRule < ::TZInfo::TransitionRule
def initialize(month, day_of_week, transition_at); end
def ==(r); end
def eql?(r); end
def is_always_first_day_of_year?; end
def is_always_last_day_of_year?; end
protected
def day_of_week; end
def hash_args; end
def month; end
end
class TZInfo::DayOfYearTransitionRule < ::TZInfo::TransitionRule
def initialize(day, transition_at); end
def ==(r); end
def eql?(r); end
protected
def hash_args; end
def seconds; end
end
module TZInfo::Format1; end
class TZInfo::Format1::CountryDefiner < ::TZInfo::Format2::CountryDefiner
def initialize(identifier_deduper, description_deduper); end
end
module TZInfo::Format1::CountryIndexDefinition
mixes_in_class_methods ::TZInfo::Format1::CountryIndexDefinition::ClassMethods
class << self
def append_features(base); end
end
end
module TZInfo::Format1::CountryIndexDefinition::ClassMethods
def countries; end
private
def country(code, name); end
end
class TZInfo::Format1::TimezoneDefiner < ::TZInfo::Format2::TimezoneDefiner
def offset(id, utc_offset, std_offset, abbreviation); end
def transition(year, month, offset_id, timestamp_value, datetime_numerator = T.unsafe(nil), datetime_denominator = T.unsafe(nil)); end
end
module TZInfo::Format1::TimezoneDefinition
mixes_in_class_methods ::TZInfo::Format1::TimezoneDefinition::ClassMethods
class << self
def append_features(base); end
end
end
module TZInfo::Format1::TimezoneDefinition::ClassMethods
private
def timezone_definer_class; end
end
module TZInfo::Format1::TimezoneIndexDefinition
mixes_in_class_methods ::TZInfo::Format1::TimezoneIndexDefinition::ClassMethods
class << self
def append_features(base); end
end
end
module TZInfo::Format1::TimezoneIndexDefinition::ClassMethods
def data_timezones; end
def linked_timezones; end
private
def linked_timezone(identifier); end
def timezone(identifier); end
end
module TZInfo::Format2; end
class TZInfo::Format2::CountryDefiner
def initialize(shared_timezones, identifier_deduper, description_deduper); end
def timezone(identifier_or_reference, latitude_numerator = T.unsafe(nil), latitude_denominator = T.unsafe(nil), longitude_numerator = T.unsafe(nil), longitude_denominator = T.unsafe(nil), description = T.unsafe(nil)); end
def timezones; end
end
class TZInfo::Format2::CountryIndexDefiner
def initialize(identifier_deduper, description_deduper); end
def countries; end
def country(code, name); end
def timezone(reference, identifier, latitude_numerator, latitude_denominator, longitude_numerator, longitude_denominator, description = T.unsafe(nil)); end
end
module TZInfo::Format2::CountryIndexDefinition
mixes_in_class_methods ::TZInfo::Format2::CountryIndexDefinition::ClassMethods
class << self
def append_features(base); end
end
end
module TZInfo::Format2::CountryIndexDefinition::ClassMethods
def countries; end
private
def country_index; end
end
class TZInfo::Format2::TimezoneDefiner
def initialize(string_deduper); end
def first_offset; end
def offset(id, base_utc_offset, std_offset, abbreviation); end
def subsequent_rules(*args); end
def transition(offset_id, timestamp_value); end
def transitions; end
end
module TZInfo::Format2::TimezoneDefinition
mixes_in_class_methods ::TZInfo::Format2::TimezoneDefinition::ClassMethods
class << self
def append_features(base); end
end
end
module TZInfo::Format2::TimezoneDefinition::ClassMethods
def get; end
private
def linked_timezone(identifier, link_to_identifier); end
def timezone(identifier); end
def timezone_definer_class; end
end
class TZInfo::Format2::TimezoneIndexDefiner
def initialize(string_deduper); end
def data_timezone(identifier); end
def data_timezones; end
def linked_timezone(identifier); end
def linked_timezones; end
end
module TZInfo::Format2::TimezoneIndexDefinition
mixes_in_class_methods ::TZInfo::Format2::TimezoneIndexDefinition::ClassMethods
class << self
def append_features(base); end
end
end
module TZInfo::Format2::TimezoneIndexDefinition::ClassMethods
def data_timezones; end
def linked_timezones; end
def timezone_index; end
end
class TZInfo::InfoTimezone < ::TZInfo::Timezone
def initialize(info); end
@ -286,13 +519,36 @@ class TZInfo::InfoTimezone < ::TZInfo::Timezone
def info; end
end
class TZInfo::InvalidCountryCode < ::StandardError
class TZInfo::InvalidCountryCode < ::StandardError; end
class TZInfo::InvalidDataSource < ::StandardError; end
class TZInfo::InvalidTimezoneIdentifier < ::StandardError; end
class TZInfo::JulianDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule
def initialize(day, transition_at = T.unsafe(nil)); end
def ==(r); end
def eql?(r); end
def is_always_first_day_of_year?; end
def is_always_last_day_of_year?; end
protected
def get_day(offset, year); end
def hash_args; end
end
class TZInfo::InvalidDataSource < ::StandardError
end
TZInfo::JulianDayOfYearTransitionRule::LEAP = T.let(T.unsafe(nil), Integer)
TZInfo::JulianDayOfYearTransitionRule::YEAR = T.let(T.unsafe(nil), Integer)
class TZInfo::InvalidTimezoneIdentifier < ::StandardError
class TZInfo::LastDayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule
def initialize(month, day_of_week, transition_at = T.unsafe(nil)); end
def ==(r); end
def eql?(r); end
protected
def get_day(offset, year); end
end
class TZInfo::LinkedTimezone < ::TZInfo::InfoTimezone
@ -314,11 +570,24 @@ class TZInfo::OffsetTimezonePeriod < ::TZInfo::TimezonePeriod
def start_transition; end
end
class TZInfo::PeriodNotFound < ::StandardError
class TZInfo::PeriodNotFound < ::StandardError; end
class TZInfo::StringDeduper
def initialize; end
def dedupe(string); end
protected
def create_hash(&block); end
class << self
def global; end
end
end
class TZInfo::TimeWithOffset < ::Time
include(::TZInfo::WithOffset)
include ::TZInfo::WithOffset
def dst?; end
def getlocal(*args); end
@ -339,7 +608,7 @@ class TZInfo::TimeWithOffset < ::Time
end
class TZInfo::Timestamp
include(::Comparable)
include ::Comparable
def initialize(value, sub_second = T.unsafe(nil), utc_offset = T.unsafe(nil)); end
@ -386,8 +655,10 @@ class TZInfo::Timestamp
end
end
TZInfo::Timestamp::JD_EPOCH = T.let(T.unsafe(nil), Integer)
class TZInfo::TimestampWithOffset < ::TZInfo::Timestamp
include(::TZInfo::WithOffset)
include ::TZInfo::WithOffset
def set_timezone_offset(timezone_offset); end
def timezone_offset; end
@ -400,7 +671,7 @@ class TZInfo::TimestampWithOffset < ::TZInfo::Timestamp
end
class TZInfo::Timezone
include(::Comparable)
include ::Comparable
def <=>(tz); end
def =~(regexp); end
@ -464,6 +735,9 @@ class TZInfo::Timezone
end
end
TZInfo::TimezoneDefinition = TZInfo::Format1::TimezoneDefinition
TZInfo::TimezoneIndexDefinition = TZInfo::Format1::TimezoneIndexDefinition
class TZInfo::TimezoneOffset
def initialize(base_utc_offset, std_offset, abbreviation); end
@ -541,6 +815,20 @@ class TZInfo::TimezoneTransition
def timestamp_value; end
end
class TZInfo::TransitionRule
def initialize(transition_at); end
def ==(r); end
def at(offset, year); end
def eql?(r); end
def hash; end
def transition_at; end
protected
def hash_args; end
end
class TZInfo::TransitionsTimezonePeriod < ::TZInfo::TimezonePeriod
def initialize(start_transition, end_transition); end
@ -552,9 +840,11 @@ class TZInfo::TransitionsTimezonePeriod < ::TZInfo::TimezonePeriod
def start_transition; end
end
class TZInfo::UnknownTimezone < ::StandardError
class TZInfo::UnaryMinusGlobalStringDeduper
def dedupe(string); end
end
class TZInfo::UnknownTimezone < ::StandardError; end
TZInfo::VERSION = T.let(T.unsafe(nil), String)
module TZInfo::WithOffset

View File

@ -1,19 +1,18 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `unf` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module UNF
end
module UNF; end
class UNF::Normalizer
include(::Singleton)
extend(::Singleton::SingletonClassMethods)
include ::Singleton
extend ::Singleton::SingletonClassMethods
def initialize; end
def normalize(_, _); end
def normalize(_arg0, _arg1); end
class << self
def instance; end

View File

@ -1,7 +1,8 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `unf_ext` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires

View File

@ -1,11 +1,10 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `unicode-display_width` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module Unicode
end
module Unicode; end
class Unicode::DisplayWidth
def initialize(ambiguous: T.unsafe(nil), overwrite: T.unsafe(nil), emoji: T.unsafe(nil)); end
@ -20,13 +19,8 @@ class Unicode::DisplayWidth
end
Unicode::DisplayWidth::DATA_DIRECTORY = T.let(T.unsafe(nil), String)
Unicode::DisplayWidth::DEPTHS = T.let(T.unsafe(nil), Array)
Unicode::DisplayWidth::INDEX = T.let(T.unsafe(nil), Array)
Unicode::DisplayWidth::INDEX_FILENAME = T.let(T.unsafe(nil), String)
Unicode::DisplayWidth::UNICODE_VERSION = T.let(T.unsafe(nil), String)
Unicode::DisplayWidth::VERSION = T.let(T.unsafe(nil), String)

View File

@ -4,5 +4,492 @@
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module URITemplate
extend ::URITemplate::ClassMethods
mixes_in_class_methods ::URITemplate::ClassMethods
def +(other, *args, &block); end
def /(other, *args, &block); end
def ==(other, *args, &block); end
def >>(other, *args, &block); end
def absolute?; end
def concat(other, *args, &block); end
def concat_without_coercion(other); end
def eq(other, *args, &block); end
def eq_without_coercion(other); end
def expand(variables = T.unsafe(nil)); end
def expand_partial(variables = T.unsafe(nil)); end
def host?; end
def path_concat(other, *args, &block); end
def path_concat_without_coercion(other); end
def pattern; end
def relative?; end
def scheme?; end
def static_characters; end
def to_s; end
def tokens; end
def type; end
def variables; end
private
def normalize_variables(variables); end
def remove_double_slash(first_tokens, second_tokens); end
def scheme_and_host; end
class << self
def apply(a, method, b, *args); end
def coerce(a, b); end
def coerce_first_arg(meth); end
def new(*args); end
def resolve_class(*args); end
end
end
module URITemplate::ClassMethods
def convert(x); end
def included(base); end
def try_convert(x); end
end
class URITemplate::Colon
include ::URITemplate
extend ::URITemplate::ClassMethods
def initialize(pattern); end
def extract(uri); end
def pattern; end
def to_r; end
def tokens; end
def type; end
protected
def tokenize!; end
class << self
def try_convert(x); end
end
end
class URITemplate::Colon::InvalidValue < ::StandardError
include ::URITemplate::InvalidValue
def initialize(variable, value); end
def value; end
def variable; end
protected
def generate_message; end
end
class URITemplate::Colon::InvalidValue::SplatIsNotAnArray < ::URITemplate::Colon::InvalidValue; end
class URITemplate::Colon::Token; end
class URITemplate::Colon::Token::Splat < ::URITemplate::Colon::Token::Variable
def initialize(index); end
def expand(vars); end
def index; end
def to_r; end
end
URITemplate::Colon::Token::Splat::SPLAT = T.let(T.unsafe(nil), String)
class URITemplate::Colon::Token::Static < ::URITemplate::Colon::Token
include ::URITemplate::Token
include ::URITemplate::Literal
def initialize(str); end
def expand(_); end
def to_r; end
end
class URITemplate::Colon::Token::Variable < ::URITemplate::Colon::Token
include ::URITemplate::Token
include ::URITemplate::Expression
def initialize(name); end
def expand(vars); end
def name; end
def to_r; end
def to_s; end
end
URITemplate::Colon::VAR = T.let(T.unsafe(nil), Regexp)
module URITemplate::Expression
include ::URITemplate::Token
def expression?; end
def literal?; end
def variables; end
end
URITemplate::HOST_REGEX = T.let(T.unsafe(nil), Regexp)
module URITemplate::Invalid; end
module URITemplate::InvalidValue; end
module URITemplate::Literal
include ::URITemplate::Token
def ends_with_slash?; end
def expand(_); end
def expand_partial(_); end
def expression?; end
def literal?; end
def size; end
def starts_with_slash?; end
def string; end
def to_s; end
end
URITemplate::Literal::SLASH = T.let(T.unsafe(nil), String)
class URITemplate::RFC6570
include ::URITemplate
extend ::URITemplate::ClassMethods
extend ::Forwardable
extend ::URITemplate::RFC6570::ClassMethods
def initialize(pattern_or_tokens, options = T.unsafe(nil)); end
def ===(*args, &block); end
def extract(uri_or_match, post_processing = T.unsafe(nil)); end
def extract_simple(uri_or_match); end
def level; end
def match(*args, &block); end
def options; end
def to_r; end
def tokens; end
def type; end
protected
def extract_matchdata(matchdata, post_processing); end
def tokenize!; end
end
URITemplate::RFC6570::CHARACTER_CLASSES = T.let(T.unsafe(nil), Hash)
URITemplate::RFC6570::CONVERT_RESULT = T.let(T.unsafe(nil), Array)
URITemplate::RFC6570::CONVERT_VALUES = T.let(T.unsafe(nil), Array)
module URITemplate::RFC6570::ClassMethods
def try_convert(x); end
def valid?(pattern); end
end
URITemplate::RFC6570::DEFAULT_PROCESSING = T.let(T.unsafe(nil), Array)
URITemplate::RFC6570::EXPRESSION = T.let(T.unsafe(nil), Regexp)
class URITemplate::RFC6570::Expression < ::URITemplate::RFC6570::Token
include ::URITemplate::Token
include ::URITemplate::Expression
extend ::URITemplate::RFC6570::Expression::ClassMethods
def initialize(vars); end
def arity; end
def expand(vars); end
def expand_partial(vars); end
def extract(position, matched); end
def level; end
def to_s; end
def variables; end
protected
def cut(str, chars); end
def decode(x, split = T.unsafe(nil)); end
def empty_literals?(list); end
def escape(x); end
def pair(key, value, max_length = T.unsafe(nil), &block); end
def regex_builder; end
def transform_array(name, ary, expand, max_length); end
def transform_hash(name, hsh, expand, max_length); end
def unescape(x); end
private
def expand_one(name, value, expand, max_length); end
def extracted_nil; end
def length_limited?(max_length); end
end
URITemplate::RFC6570::Expression::BASE_LEVEL = T.let(T.unsafe(nil), Integer)
class URITemplate::RFC6570::Expression::Basic < ::URITemplate::RFC6570::Expression::Unnamed; end
URITemplate::RFC6570::Expression::Basic::BULK_FOLLOW_UP = URITemplate::RFC6570::Expression::Basic
URITemplate::RFC6570::Expression::Basic::FOLLOW_UP = URITemplate::RFC6570::Expression::Basic
URITemplate::RFC6570::Expression::CHARACTER_CLASS = T.let(T.unsafe(nil), Hash)
URITemplate::RFC6570::Expression::COMMA = T.let(T.unsafe(nil), String)
module URITemplate::RFC6570::Expression::ClassMethods
def generate_hash_extractor(max_length); end
def hash_extractor(max_length); end
def hash_extractors; end
def regex_builder; end
end
class URITemplate::RFC6570::Expression::FormQuery < ::URITemplate::RFC6570::Expression::Named; end
URITemplate::RFC6570::Expression::FormQuery::BASE_LEVEL = T.let(T.unsafe(nil), Integer)
URITemplate::RFC6570::Expression::FormQuery::BULK_FOLLOW_UP = URITemplate::RFC6570::Expression::FormQueryContinuation
URITemplate::RFC6570::Expression::FormQuery::FOLLOW_UP = URITemplate::RFC6570::Expression::Basic
URITemplate::RFC6570::Expression::FormQuery::OPERATOR = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::FormQuery::PREFIX = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::FormQuery::SEPARATOR = T.let(T.unsafe(nil), String)
class URITemplate::RFC6570::Expression::FormQueryContinuation < ::URITemplate::RFC6570::Expression::Named; end
URITemplate::RFC6570::Expression::FormQueryContinuation::BASE_LEVEL = T.let(T.unsafe(nil), Integer)
URITemplate::RFC6570::Expression::FormQueryContinuation::BULK_FOLLOW_UP = URITemplate::RFC6570::Expression::FormQueryContinuation
URITemplate::RFC6570::Expression::FormQueryContinuation::FOLLOW_UP = URITemplate::RFC6570::Expression::Basic
URITemplate::RFC6570::Expression::FormQueryContinuation::OPERATOR = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::FormQueryContinuation::PREFIX = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::FormQueryContinuation::SEPARATOR = T.let(T.unsafe(nil), String)
class URITemplate::RFC6570::Expression::Fragment < ::URITemplate::RFC6570::Expression::Unnamed
def escape(x); end
def unescape(x); end
end
URITemplate::RFC6570::Expression::Fragment::BASE_LEVEL = T.let(T.unsafe(nil), Integer)
URITemplate::RFC6570::Expression::Fragment::BULK_FOLLOW_UP = URITemplate::RFC6570::Expression::Reserved
URITemplate::RFC6570::Expression::Fragment::CHARACTER_CLASS = T.let(T.unsafe(nil), Hash)
URITemplate::RFC6570::Expression::Fragment::FOLLOW_UP = URITemplate::RFC6570::Expression::Reserved
URITemplate::RFC6570::Expression::Fragment::OPERATOR = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::Fragment::PREFIX = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::LIST_CONNECTOR = T.let(T.unsafe(nil), String)
class URITemplate::RFC6570::Expression::Label < ::URITemplate::RFC6570::Expression::Unnamed; end
URITemplate::RFC6570::Expression::Label::BASE_LEVEL = T.let(T.unsafe(nil), Integer)
URITemplate::RFC6570::Expression::Label::BULK_FOLLOW_UP = URITemplate::RFC6570::Expression::Label
URITemplate::RFC6570::Expression::Label::FOLLOW_UP = URITemplate::RFC6570::Expression::Label
URITemplate::RFC6570::Expression::Label::OPERATOR = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::Label::PREFIX = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::Label::SEPARATOR = T.let(T.unsafe(nil), String)
class URITemplate::RFC6570::Expression::Named < ::URITemplate::RFC6570::Expression
def expand_partial(vars); end
def to_r_source; end
protected
def self_pair(key, value, max_length = T.unsafe(nil), &block); end
private
def after_expand(name, splitted); end
def extracted_nil; end
end
URITemplate::RFC6570::Expression::OPERATOR = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::PAIR_CONNECTOR = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::PAIR_IF_EMPTY = T.let(T.unsafe(nil), TrueClass)
URITemplate::RFC6570::Expression::PREFIX = T.let(T.unsafe(nil), String)
class URITemplate::RFC6570::Expression::Path < ::URITemplate::RFC6570::Expression::Unnamed
def starts_with_slash?; end
end
URITemplate::RFC6570::Expression::Path::BASE_LEVEL = T.let(T.unsafe(nil), Integer)
URITemplate::RFC6570::Expression::Path::BULK_FOLLOW_UP = URITemplate::RFC6570::Expression::Path
URITemplate::RFC6570::Expression::Path::FOLLOW_UP = URITemplate::RFC6570::Expression::Path
URITemplate::RFC6570::Expression::Path::OPERATOR = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::Path::PREFIX = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::Path::SEPARATOR = T.let(T.unsafe(nil), String)
class URITemplate::RFC6570::Expression::PathParameters < ::URITemplate::RFC6570::Expression::Named; end
URITemplate::RFC6570::Expression::PathParameters::BASE_LEVEL = T.let(T.unsafe(nil), Integer)
URITemplate::RFC6570::Expression::PathParameters::BULK_FOLLOW_UP = URITemplate::RFC6570::Expression::PathParameters
URITemplate::RFC6570::Expression::PathParameters::FOLLOW_UP = URITemplate::RFC6570::Expression::PathParameters
URITemplate::RFC6570::Expression::PathParameters::OPERATOR = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::PathParameters::PREFIX = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::PathParameters::SEPARATOR = T.let(T.unsafe(nil), String)
class URITemplate::RFC6570::Expression::Reserved < ::URITemplate::RFC6570::Expression::Unnamed
def escape(x); end
def host?; end
def scheme?; end
def unescape(x); end
end
URITemplate::RFC6570::Expression::Reserved::BASE_LEVEL = T.let(T.unsafe(nil), Integer)
URITemplate::RFC6570::Expression::Reserved::BULK_FOLLOW_UP = URITemplate::RFC6570::Expression::Reserved
URITemplate::RFC6570::Expression::Reserved::CHARACTER_CLASS = T.let(T.unsafe(nil), Hash)
URITemplate::RFC6570::Expression::Reserved::FOLLOW_UP = URITemplate::RFC6570::Expression::Reserved
URITemplate::RFC6570::Expression::Reserved::OPERATOR = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::SEPARATOR = T.let(T.unsafe(nil), String)
URITemplate::RFC6570::Expression::SPLITTER = T.let(T.unsafe(nil), Regexp)
class URITemplate::RFC6570::Expression::Unnamed < ::URITemplate::RFC6570::Expression
def self_pair(_, value, max_length = T.unsafe(nil), &block); end
def to_r_source; end
private
def after_expand(name, splitted); end
def transform_array(name, ary, expand, max_length); end
def transform_hash(name, hsh, expand, max_length); end
end
class URITemplate::RFC6570::Invalid < ::StandardError
include ::URITemplate::Invalid
def initialize(source, position); end
def pattern; end
def position; end
end
URITemplate::RFC6570::LITERAL = T.let(T.unsafe(nil), Regexp)
class URITemplate::RFC6570::Literal < ::URITemplate::RFC6570::Token
include ::URITemplate::Token
include ::URITemplate::Literal
def initialize(string); end
def level; end
def to_r_source(*_); end
def to_s; end
end
URITemplate::RFC6570::NO_PROCESSING = T.let(T.unsafe(nil), Array)
URITemplate::RFC6570::OPERATORS = T.let(T.unsafe(nil), Hash)
class URITemplate::RFC6570::RegexBuilder
def initialize(expression_class); end
def <<(arg); end
def capture(&block); end
def character_class(max_length = T.unsafe(nil), min = T.unsafe(nil)); end
def character_class_with_comma(max_length = T.unsafe(nil), min = T.unsafe(nil)); end
def escaped_pair_connector; end
def escaped_prefix; end
def escaped_separator; end
def group(capture = T.unsafe(nil)); end
def join; end
def length(*args); end
def lookahead; end
def negative_lookahead; end
def push(*args); end
def reluctant; end
def separated_list(first = T.unsafe(nil), length = T.unsafe(nil), min = T.unsafe(nil), &block); end
private
def format_length(len, min = T.unsafe(nil)); end
end
URITemplate::RFC6570::TYPE = T.let(T.unsafe(nil), Symbol)
class URITemplate::RFC6570::Token; end
class URITemplate::RFC6570::Tokenizer
include ::Enumerable
def initialize(source, ops); end
def each; end
def source; end
end
URITemplate::RFC6570::URI = T.let(T.unsafe(nil), Regexp)
module URITemplate::RFC6570::Utils
include ::URITemplate::Utils::StringEncoding::Encode
include ::URITemplate::Utils::StringEncoding
include ::URITemplate::Utils::Escaping::Pure
include ::URITemplate::Utils
extend ::URITemplate::Utils::StringEncoding::Encode
extend ::URITemplate::Utils::StringEncoding
extend ::URITemplate::Utils::Escaping::Pure
extend ::URITemplate::Utils
extend ::URITemplate::RFC6570::Utils
def def?(value); end
end
URITemplate::RFC6570::VAR = T.let(T.unsafe(nil), Regexp)
class URITemplate::RegexpEnumerator
include ::Enumerable
def initialize(regexp, options = T.unsafe(nil)); end
def each(str); end
end
URITemplate::SCHEME_REGEX = T.let(T.unsafe(nil), Regexp)
module URITemplate::Token
def ends_with_slash?; end
def expand(variables); end
def expand_partial(variables); end
def host?; end
def scheme?; end
def size; end
def starts_with_slash?; end
def to_s; end
def variables; end
end
URITemplate::Token::EMPTY_ARRAY = T.let(T.unsafe(nil), Array)
URITemplate::URI_SPLIT = T.let(T.unsafe(nil), Regexp)
class URITemplate::Unconvertable < ::StandardError
def initialize(object); end
def object; end
end
module URITemplate::Utils
include ::URITemplate::Utils::StringEncoding::Encode
include ::URITemplate::Utils::StringEncoding
include ::URITemplate::Utils::Escaping::Pure
extend ::URITemplate::Utils::StringEncoding::Encode
extend ::URITemplate::Utils::StringEncoding
extend ::URITemplate::Utils::Escaping::Pure
extend ::URITemplate::Utils
def compact_regexp(rx); end
def object_to_param(object); end
def pair_array?(a); end
def pair_array_to_hash(x, careful = T.unsafe(nil)); end
def pair_array_to_hash2(x); end
def use_unicode?; end
end
module URITemplate::Utils::Escaping; end
module URITemplate::Utils::Escaping::Pure
def escape_uri(s); end
def escape_url(s); end
def unescape_uri(s); end
def unescape_url(s); end
def using_escape_utils?; end
end
URITemplate::Utils::Escaping::Pure::PCT = T.let(T.unsafe(nil), Regexp)
URITemplate::Utils::Escaping::Pure::URI_ESCAPED = T.let(T.unsafe(nil), Regexp)
URITemplate::Utils::Escaping::Pure::URL_ESCAPED = T.let(T.unsafe(nil), Regexp)
URITemplate::Utils::KCODE_UTF8 = T.let(T.unsafe(nil), Integer)
module URITemplate::Utils::StringEncoding
include ::URITemplate::Utils::StringEncoding::Encode
end
module URITemplate::Utils::StringEncoding::Encode
def force_utf8(str); end
def to_ascii(str); end
def to_utf8(str); end
end
module URITemplate::Utils::StringEncoding::Fallback
def force_utf8(str); end
def to_ascii(str); end
def to_utf8(str); end
end
URITemplate::VERSIONS = T.let(T.unsafe(nil), Hash)

View File

@ -1,8 +1,27 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `warning` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module Warning
extend ::Warning
extend ::Warning::Processor
end
module Warning::Processor
def clear; end
def dedup; end
def freeze; end
def ignore(regexp, path = T.unsafe(nil)); end
def process(path = T.unsafe(nil), actions = T.unsafe(nil), &block); end
def warn(str); end
private
def convert_regexp(regexp); end
def synchronize(&block); end
end
Warning::Processor::ACTION_PROC_MAP = T.let(T.unsafe(nil), Hash)
Warning::Processor::IGNORE_MAP = T.let(T.unsafe(nil), Hash)

View File

@ -1,11 +1,490 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `webrick` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
module WEBrick::HTTPUtils
module WEBrick::AccessLog
private
def escape(data); end
def format(format_string, params); end
def setup_params(config, req, res); end
class << self
def escape(data); end
def format(format_string, params); end
def setup_params(config, req, res); end
end
end
class WEBrick::BasicLog
def initialize(log_file = T.unsafe(nil), level = T.unsafe(nil)); end
def <<(obj); end
def close; end
def debug(msg); end
def debug?; end
def error(msg); end
def error?; end
def fatal(msg); end
def fatal?; end
def info(msg); end
def info?; end
def level; end
def level=(_arg0); end
def log(level, data); end
def warn(msg); end
def warn?; end
private
def format(arg); end
end
class WEBrick::GenericServer
def initialize(config = T.unsafe(nil), default = T.unsafe(nil)); end
def [](key); end
def config; end
def listen(address, port); end
def listeners; end
def logger; end
def run(sock); end
def shutdown; end
def start(&block); end
def status; end
def stop; end
def tokens; end
private
def accept_client(svr); end
def alarm_shutdown_pipe; end
def call_callback(callback_name, *args); end
def cleanup_listener; end
def cleanup_shutdown_pipe(shutdown_pipe); end
def setup_shutdown_pipe; end
def start_thread(sock, &block); end
end
module WEBrick::HTMLUtils
private
def escape(string); end
class << self
def escape(string); end
end
end
module WEBrick::HTTPAuth
private
def _basic_auth(req, res, realm, req_field, res_field, err_type, block); end
def basic_auth(req, res, realm, &block); end
def proxy_basic_auth(req, res, realm, &block); end
class << self
def _basic_auth(req, res, realm, req_field, res_field, err_type, block); end
def basic_auth(req, res, realm, &block); end
def proxy_basic_auth(req, res, realm, &block); end
end
end
module WEBrick::HTTPAuth::Authenticator
def logger; end
def realm; end
def userdb; end
private
def check_init(config); end
def check_scheme(req); end
def error(fmt, *args); end
def info(fmt, *args); end
def log(meth, fmt, *args); end
end
WEBrick::HTTPAuth::Authenticator::AuthException = WEBrick::HTTPStatus::Unauthorized
class WEBrick::HTTPAuth::BasicAuth
include ::WEBrick::HTTPAuth::Authenticator
def initialize(config, default = T.unsafe(nil)); end
def authenticate(req, res); end
def challenge(req, res); end
def logger; end
def realm; end
def userdb; end
class << self
def make_passwd(realm, user, pass); end
end
end
class WEBrick::HTTPAuth::DigestAuth
include ::WEBrick::HTTPAuth::Authenticator
def initialize(config, default = T.unsafe(nil)); end
def algorithm; end
def authenticate(req, res); end
def challenge(req, res, stale = T.unsafe(nil)); end
def qop; end
private
def _authenticate(req, res); end
def check_nonce(req, auth_req); end
def check_opaque(opaque_struct, req, auth_req); end
def check_uri(req, auth_req); end
def generate_next_nonce(req); end
def generate_opaque(req); end
def hexdigest(*args); end
def split_param_value(string); end
class << self
def make_passwd(realm, user, pass); end
end
end
class WEBrick::HTTPAuth::DigestAuth::OpaqueInfo < ::Struct
def nc=(_); end
def nonce=(_); end
def time=(_); end
end
class WEBrick::HTTPAuth::Htdigest
include ::WEBrick::HTTPAuth::UserDB
def initialize(path); end
def delete_passwd(realm, user); end
def each; end
def flush(output = T.unsafe(nil)); end
def get_passwd(realm, user, reload_db); end
def reload; end
def set_passwd(realm, user, pass); end
end
class WEBrick::HTTPAuth::Htgroup
def initialize(path); end
def add(group, members); end
def flush(output = T.unsafe(nil)); end
def members(group); end
def reload; end
end
class WEBrick::HTTPAuth::Htpasswd
include ::WEBrick::HTTPAuth::UserDB
def initialize(path, password_hash: T.unsafe(nil)); end
def delete_passwd(realm, user); end
def each; end
def flush(output = T.unsafe(nil)); end
def get_passwd(realm, user, reload_db); end
def reload; end
def set_passwd(realm, user, pass); end
end
WEBrick::HTTPAuth::ProxyAuthenticator::AuthException = WEBrick::HTTPStatus::ProxyAuthenticationRequired
class WEBrick::HTTPAuth::ProxyBasicAuth < ::WEBrick::HTTPAuth::BasicAuth
include ::WEBrick::HTTPAuth::ProxyAuthenticator
end
class WEBrick::HTTPAuth::ProxyDigestAuth < ::WEBrick::HTTPAuth::DigestAuth
include ::WEBrick::HTTPAuth::ProxyAuthenticator
private
def check_uri(req, auth_req); end
end
module WEBrick::HTTPAuth::UserDB
def auth_type; end
def auth_type=(_arg0); end
def get_passwd(realm, user, reload_db = T.unsafe(nil)); end
def make_passwd(realm, user, pass); end
def set_passwd(realm, user, pass); end
end
class WEBrick::HTTPRequest
def initialize(config); end
def [](header_name); end
def accept; end
def accept_charset; end
def accept_encoding; end
def accept_language; end
def addr; end
def attributes; end
def body(&block); end
def body_reader; end
def content_length; end
def content_type; end
def continue; end
def cookies; end
def each; end
def fixup; end
def header; end
def host; end
def http_version; end
def keep_alive; end
def keep_alive?; end
def meta_vars; end
def parse(socket = T.unsafe(nil)); end
def path; end
def path_info; end
def path_info=(_arg0); end
def peeraddr; end
def port; end
def query; end
def query_string; end
def query_string=(_arg0); end
def raw_header; end
def readpartial(size, buf = T.unsafe(nil)); end
def remote_ip; end
def request_line; end
def request_method; end
def request_time; end
def request_uri; end
def script_name; end
def script_name=(_arg0); end
def server_name; end
def ssl?; end
def to_s; end
def unparsed_uri; end
def user; end
def user=(_arg0); end
private
def _read_data(io, method, *arg); end
def parse_query; end
def parse_uri(str, scheme = T.unsafe(nil)); end
def read_body(socket, block); end
def read_chunk_size(socket); end
def read_chunked(socket, block); end
def read_data(io, size); end
def read_header(socket); end
def read_line(io, size = T.unsafe(nil)); end
def read_request_line(socket); end
def setup_forwarded_info; end
end
WEBrick::HTTPRequest::MAX_HEADER_LENGTH = T.let(T.unsafe(nil), Integer)
class WEBrick::HTTPResponse
def initialize(config); end
def [](field); end
def []=(field, value); end
def _rack_setup_header; end
def body; end
def body=(_arg0); end
def chunked=(val); end
def chunked?; end
def config; end
def content_length; end
def content_length=(len); end
def content_type; end
def content_type=(type); end
def cookies; end
def each; end
def filename; end
def filename=(_arg0); end
def header; end
def http_version; end
def keep_alive; end
def keep_alive=(_arg0); end
def keep_alive?; end
def make_body_tempfile; end
def reason_phrase; end
def reason_phrase=(_arg0); end
def remove_body_tempfile; end
def request_http_version; end
def request_http_version=(_arg0); end
def request_method; end
def request_method=(_arg0); end
def request_uri; end
def request_uri=(_arg0); end
def send_body(socket); end
def send_header(socket); end
def send_response(socket); end
def sent_size; end
def set_error(ex, backtrace = T.unsafe(nil)); end
def set_redirect(status, url); end
def status; end
def status=(status); end
def status_line; end
private
def _write_data(socket, data); end
def check_header(header_value); end
def error_body(backtrace, ex, host, port); end
def send_body_io(socket); end
def send_body_proc(socket); end
def send_body_string(socket); end
end
class WEBrick::HTTPResponse::ChunkedWrapper
def initialize(socket, resp); end
def <<(*buf); end
def write(buf); end
end
class WEBrick::HTTPServer < ::WEBrick::GenericServer
def initialize(config = T.unsafe(nil), default = T.unsafe(nil)); end
def access_log(config, req, res); end
def create_request(with_webrick_config); end
def create_response(with_webrick_config); end
def do_OPTIONS(req, res); end
def lookup_server(req); end
def mount(dir, servlet, *options); end
def mount_proc(dir, proc = T.unsafe(nil), &block); end
def run(sock); end
def search_servlet(path); end
def service(req, res); end
def umount(dir); end
def unmount(dir); end
def virtual_host(server); end
end
class WEBrick::HTTPServer::MountTable
def initialize; end
def [](dir); end
def []=(dir, val); end
def delete(dir); end
def scan(path); end
private
def compile; end
def normalize(dir); end
end
class WEBrick::HTTPServlet::AbstractServlet
def initialize(server, *options); end
def do_GET(req, res); end
def do_HEAD(req, res); end
def do_OPTIONS(req, res); end
def service(req, res); end
private
def redirect_to_directory_uri(req, res); end
class << self
def get_instance(server, *options); end
end
end
class WEBrick::HTTPServlet::CGIHandler < ::WEBrick::HTTPServlet::AbstractServlet
def initialize(server, name); end
def do_GET(req, res); end
def do_POST(req, res); end
end
WEBrick::HTTPServlet::CGIHandler::CGIRunnerArray = T.let(T.unsafe(nil), Array)
class WEBrick::HTTPServlet::DefaultFileHandler < ::WEBrick::HTTPServlet::AbstractServlet
def initialize(server, local_path); end
def do_GET(req, res); end
def make_partial_content(req, res, filename, filesize); end
def multipart_body(body, parts, boundary, mtype, filesize); end
def not_modified?(req, res, mtime, etag); end
def prepare_range(range, filesize); end
end
class WEBrick::HTTPServlet::ERBHandler < ::WEBrick::HTTPServlet::AbstractServlet
def initialize(server, name); end
def do_GET(req, res); end
def do_POST(req, res); end
private
def evaluate(erb, servlet_request, servlet_response); end
end
class WEBrick::HTTPServlet::FileHandler < ::WEBrick::HTTPServlet::AbstractServlet
def initialize(server, root, options = T.unsafe(nil), default = T.unsafe(nil)); end
def do_GET(req, res); end
def do_OPTIONS(req, res); end
def do_POST(req, res); end
def service(req, res); end
def set_filesystem_encoding(str); end
private
def call_callback(callback_name, req, res); end
def check_filename(req, res, name); end
def exec_handler(req, res); end
def get_handler(req, res); end
def nondisclosure_name?(name); end
def prevent_directory_traversal(req, res); end
def search_file(req, res, basename); end
def search_index_file(req, res); end
def set_dir_list(req, res); end
def set_filename(req, res); end
def shift_path_info(req, res, path_info, base = T.unsafe(nil)); end
def trailing_pathsep?(path); end
def windows_ambiguous_name?(name); end
class << self
def add_handler(suffix, handler); end
def remove_handler(suffix); end
end
end
module WEBrick::HTTPStatus
private
def client_error?(code); end
def error?(code); end
def info?(code); end
def reason_phrase(code); end
def redirect?(code); end
def server_error?(code); end
def success?(code); end
class << self
def [](code); end
def client_error?(code); end
def error?(code); end
def info?(code); end
def reason_phrase(code); end
def redirect?(code); end
def server_error?(code); end
def success?(code); end
end
end
class WEBrick::HTTPStatus::Status < ::StandardError
def code; end
def reason_phrase; end
def to_i; end
class << self
def code; end
def reason_phrase; end
end
end
module WEBrick::HTTPUtils
private
def _escape(str, regex); end
@ -75,3 +554,48 @@ class WEBrick::HTTPUtils::FormData < ::String
def next_data; end
end
module WEBrick::Utils
private
def create_listeners(address, port); end
def getservername; end
def random_string(len); end
def set_close_on_exec(io); end
def set_non_blocking(io); end
def su(user); end
def timeout(seconds, exception = T.unsafe(nil)); end
class << self
def create_listeners(address, port); end
def getservername; end
def random_string(len); end
def set_close_on_exec(io); end
def set_non_blocking(io); end
def su(user); end
def timeout(seconds, exception = T.unsafe(nil)); end
end
end
class WEBrick::Utils::TimeoutHandler
include ::Singleton
extend ::Singleton::SingletonClassMethods
def initialize; end
def cancel(thread, id); end
def interrupt(thread, id, exception); end
def register(thread, time, exception); end
def terminate; end
private
def watch; end
def watcher; end
class << self
def cancel(id); end
def register(seconds, exception); end
def terminate; end
end
end

View File

@ -1,6 +1,6 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `webrobots` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
@ -23,10 +23,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
@ -56,8 +56,7 @@ class WebRobots
def split_uri(url); end
end
class WebRobots::Error < ::StandardError
end
class WebRobots::Error < ::StandardError; end
class WebRobots::ParseError < ::WebRobots::Error
def initialize(message, site); end
@ -73,7 +72,7 @@ class WebRobots::RobotsTxt
def crawl_delay(user_agent = T.unsafe(nil)); end
def error; end
def error!; end
def error=(_); end
def error=(_arg0); end
def options(user_agent = T.unsafe(nil)); end
def site; end
def sitemaps; end
@ -114,8 +113,7 @@ class WebRobots::RobotsTxt::DisallowLine < ::WebRobots::RobotsTxt::AccessControl
def allow?; end
end
class WebRobots::RobotsTxt::ExtentionLine < ::WebRobots::RobotsTxt::Line
end
class WebRobots::RobotsTxt::ExtentionLine < ::WebRobots::RobotsTxt::Line; end
class WebRobots::RobotsTxt::Line
def initialize(token, value); end
@ -154,11 +152,8 @@ class WebRobots::RobotsTxt::Parser < ::Racc::Parser
end
WebRobots::RobotsTxt::Parser::KNOWN_TOKENS = T.let(T.unsafe(nil), Array)
WebRobots::RobotsTxt::Parser::RE_KNOWN_TOKENS = T.let(T.unsafe(nil), Regexp)
WebRobots::RobotsTxt::Parser::Racc_arg = T.let(T.unsafe(nil), Array)
WebRobots::RobotsTxt::Parser::Racc_token_to_s_table = T.let(T.unsafe(nil), Array)
class WebRobots::RobotsTxt::Record
@ -171,7 +166,5 @@ class WebRobots::RobotsTxt::Record
def options; end
end
module Webrobots
end
module Webrobots; end
Webrobots::VERSION = T.let(T.unsafe(nil), String)

View File

@ -1,8 +1,175 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `zeitwerk` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `bin/tapioca sync`.
# typed: true
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
module Kernel
extend ::Forwardable
private
def require(path); end
class << self
def require(path); end
end
end
module Zeitwerk; end
class Zeitwerk::Error < ::StandardError; end
module Zeitwerk::ExplicitNamespace
extend ::Zeitwerk::RealModName
class << self
def cpaths; end
def mutex; end
def register(cpath, loader); end
def tracer; end
def unregister(loader); end
private
def disable_tracer_if_unneeded; end
def tracepoint_class_callback(event); end
end
end
class Zeitwerk::GemInflector < ::Zeitwerk::Inflector
def initialize(root_file); end
def camelize(basename, abspath); end
end
class Zeitwerk::Inflector
def camelize(basename, _abspath); end
def inflect(inflections); end
private
def overrides; end
end
class Zeitwerk::Loader
include ::Zeitwerk::RealModName
include ::Zeitwerk::Loader::Callbacks
def initialize; end
def autoloaded_dirs; end
def autoloads; end
def collapse(*glob_patterns); end
def collapse_dirs; end
def collapse_glob_patterns; end
def dirs; end
def do_not_eager_load(*paths); end
def eager_load; end
def eager_load_exclusions; end
def enable_reloading; end
def ignore(*glob_patterns); end
def ignored_glob_patterns; end
def ignored_paths; end
def inflector; end
def inflector=(_arg0); end
def lazy_subdirs; end
def log!; end
def logger; end
def logger=(_arg0); end
def manages?(dir); end
def mutex; end
def mutex2; end
def on_load(cpath, &block); end
def on_load_callbacks; end
def preload(*paths); end
def preloads; end
def push_dir(path, namespace: T.unsafe(nil)); end
def reload; end
def reloading_enabled?; end
def root_dirs; end
def setup; end
def tag; end
def tag=(tag); end
def to_unload; end
def unload; end
def unloadable_cpath?(cpath); end
def unloadable_cpaths; end
private
def actual_root_dirs; end
def autoload_file(parent, cname, file); end
def autoload_for?(parent, cname); end
def autoload_subdir(parent, cname, subdir); end
def cdef?(parent, cname); end
def cpath(parent, cname); end
def dir?(path); end
def do_preload; end
def do_preload_abspath(abspath); end
def do_preload_dir(dir); end
def do_preload_file(file); end
def expand_glob_patterns(glob_patterns); end
def expand_paths(paths); end
def log(message); end
def ls(dir); end
def promote_namespace_from_implicit_to_explicit(dir:, file:, parent:, cname:); end
def raise_if_conflicting_directory(dir); end
def recompute_collapse_dirs; end
def recompute_ignored_paths; end
def register_explicit_namespace(cpath); end
def ruby?(path); end
def set_autoload(parent, cname, abspath); end
def set_autoloads_in_dir(dir, parent); end
def strict_autoload_path(parent, cname); end
def unload_autoload(parent, cname); end
def unload_cref(parent, cname); end
class << self
def all_dirs; end
def default_logger; end
def default_logger=(_arg0); end
def eager_load_all; end
def for_gem; end
def mutex; end
def mutex=(_arg0); end
end
end
module Zeitwerk::Loader::Callbacks
include ::Zeitwerk::RealModName
def on_dir_autoloaded(dir); end
def on_file_autoloaded(file); end
def on_namespace_loaded(namespace); end
private
def run_on_load_callbacks(cpath); end
end
class Zeitwerk::NameError < ::NameError; end
module Zeitwerk::RealModName
def real_mod_name(mod); end
end
Zeitwerk::RealModName::UNBOUND_METHOD_MODULE_NAME = T.let(T.unsafe(nil), UnboundMethod)
module Zeitwerk::Registry
class << self
def autoloads; end
def inception?(cpath); end
def inceptions; end
def loader_for(path); end
def loader_for_gem(root_file); end
def loaders; end
def loaders_managing_gems; end
def on_unload(loader); end
def register_autoload(loader, realpath); end
def register_inception(cpath, realpath, loader); end
def register_loader(loader); end
def unregister_autoload(realpath); end
end
end
class Zeitwerk::ReloadingDisabledError < ::Zeitwerk::Error; end

File diff suppressed because it is too large Load Diff