sorbet: update RBI files using Tapioca.

Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
This commit is contained in:
BrewTestBot 2020-08-27 08:14:10 +00:00
parent 2f3fb6f3c2
commit 6e3c272e44
2 changed files with 436 additions and 22 deletions

View File

@ -0,0 +1,94 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `json` gem.
# Please instead update this file by running `tapioca sync`.
# typed: true
class Class < ::Module
def json_creatable?; end
end
module JSON
private
def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil)); end
def fast_generate(obj, opts = T.unsafe(nil)); end
def fast_unparse(obj, opts = T.unsafe(nil)); end
def generate(obj, opts = T.unsafe(nil)); end
def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
def parse(source, opts = T.unsafe(nil)); end
def parse!(source, opts = T.unsafe(nil)); end
def pretty_generate(obj, opts = T.unsafe(nil)); end
def pretty_unparse(obj, opts = T.unsafe(nil)); end
def recurse_proc(result, &proc); end
def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
def unparse(obj, opts = T.unsafe(nil)); end
class << self
def [](object, opts = T.unsafe(nil)); end
def create_id; end
def create_id=(_); end
def deep_const_get(path); end
def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil)); end
def dump_default_options; end
def dump_default_options=(_); end
def fast_generate(obj, opts = T.unsafe(nil)); end
def fast_unparse(obj, opts = T.unsafe(nil)); end
def generate(obj, opts = T.unsafe(nil)); end
def generator; end
def generator=(generator); end
def iconv(to, from, string); end
def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
def load_default_options; end
def load_default_options=(_); end
def parse(source, opts = T.unsafe(nil)); end
def parse!(source, opts = T.unsafe(nil)); end
def parser; end
def parser=(parser); end
def pretty_generate(obj, opts = T.unsafe(nil)); end
def pretty_unparse(obj, opts = T.unsafe(nil)); end
def recurse_proc(result, &proc); end
def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end
def state; end
def state=(_); end
def unparse(obj, opts = T.unsafe(nil)); end
end
end
class JSON::GenericObject < ::OpenStruct
def as_json(*_); end
def to_hash; end
def to_json(*a); end
def |(other); end
class << self
def dump(obj, *args); end
def from_hash(object); end
def json_creatable=(_); end
def json_creatable?; end
def json_create(data); end
def load(source, proc = T.unsafe(nil), opts = T.unsafe(nil)); end
end
end
class JSON::JSONError < ::StandardError
class << self
def wrap(exception); end
end
end
JSON::Parser = JSON::Ext::Parser
JSON::State = JSON::Ext::Generator::State
JSON::UnparserError = JSON::GeneratorError
module Kernel
private
def JSON(object, *args); end
def j(*objs); end
def jj(*objs); end
end

View File

@ -3019,6 +3019,28 @@ class Binding
def irb(); end def irb(); end
end end
class Bottle
def cached_download(*args, &block); end
def clear_cache(*args, &block); end
def fetch(*args, &block); end
def url(*args, &block); end
def verify_download_integrity(*args, &block); end
end
class BottleSpecification
def cellar(val=T.unsafe(nil)); end
def prefix(val=T.unsafe(nil)); end
def rebuild(val=T.unsafe(nil)); end
def sha256(val); end
end
Bundler::Deprecate = Gem::Deprecate Bundler::Deprecate = Gem::Deprecate
class Bundler::Env class Bundler::Env
@ -3520,7 +3542,6 @@ class Bundler::Retry
end end
class Bundler::RubyGemsGemInstaller class Bundler::RubyGemsGemInstaller
def initialize(gem, options=T.unsafe(nil)); end
end end
class Bundler::RubyGemsGemInstaller class Bundler::RubyGemsGemInstaller
@ -5756,6 +5777,32 @@ class Cask::DSL::Version
def underscores_to_hyphens(); end def underscores_to_hyphens(); end
end end
class Cask::Installer
def binaries?(); end
def force?(); end
def installed_as_dependency?(); end
def quarantine?(); end
def reinstall?(); end
def require_sha?(); end
def skip_cask_deps?(); end
def upgrade?(); end
def verbose?(); end
end
class Caveats
def empty?(*args, &block); end
def to_s(*args, &block); end
end
class Checksum class Checksum
def empty?(*args, &block); end def empty?(*args, &block); end
@ -5766,8 +5813,6 @@ class Class
def any_instance(); end def any_instance(); end
def class_attribute(*attrs, instance_accessor: T.unsafe(nil), instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_predicate: T.unsafe(nil), default: T.unsafe(nil)); end def class_attribute(*attrs, instance_accessor: T.unsafe(nil), instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_predicate: T.unsafe(nil), default: T.unsafe(nil)); end
def json_creatable?(); end
end end
module CodeRay module CodeRay
@ -6653,10 +6698,34 @@ class DateTime
def self.civil_from_format(utc_or_local, year, month=T.unsafe(nil), day=T.unsafe(nil), hour=T.unsafe(nil), min=T.unsafe(nil), sec=T.unsafe(nil)); end def self.civil_from_format(utc_or_local, year, month=T.unsafe(nil), day=T.unsafe(nil), hour=T.unsafe(nil), min=T.unsafe(nil), sec=T.unsafe(nil)); end
end end
class Debrew::Menu::Entry
def self.[](*_); end
def self.members(); end
end
module Debrew
def self.active?(); end
def self.lock(); end
def self.locked?(); end
def self.synchronize(&block); end
def self.try_lock(); end
def self.unlock(); end
end
class Delegator class Delegator
include ::ActiveSupport::Tryable include ::ActiveSupport::Tryable
end end
module DependenciesHelpers
include ::DependenciesHelpers::Compat
end
class Dir class Dir
def children(); end def children(); end
@ -7098,6 +7167,18 @@ class Fiber
def self.current(); end def self.current(); end
end end
module Fiddle
NULL = ::T.let(nil, ::T.untyped)
RTLD_GLOBAL = ::T.let(nil, ::T.untyped)
RTLD_LAZY = ::T.let(nil, ::T.untyped)
RTLD_NOW = ::T.let(nil, ::T.untyped)
WINDOWS = ::T.let(nil, ::T.untyped)
end
class Fiddle::Function
STDCALL = ::T.let(nil, ::T.untyped)
end
class File class File
def self.atomic_write(file_name, temp_dir=T.unsafe(nil)); end def self.atomic_write(file_name, temp_dir=T.unsafe(nil)); end
@ -7152,7 +7233,97 @@ module FileUtils
end end
class Formula class Formula
include ::FileUtils::StreamUtils_
include ::Formula::Compat include ::Formula::Compat
def bottle_defined?(*args, &block); end
def bottle_disable_reason(*args, &block); end
def bottle_disabled?(*args, &block); end
def bottle_specification(*args, &block); end
def bottle_unneeded?(*args, &block); end
def bottled?(*args, &block); end
def cached_download(*args, &block); end
def clear_cache(*args, &block); end
def compiler_failures(*args, &block); end
def conflicts(*args, &block); end
def deprecated?(*args, &block); end
def deprecated_flags(*args, &block); end
def deprecated_options(*args, &block); end
def deps(*args, &block); end
def desc(*args, &block); end
def disabled?(*args, &block); end
def downloader(*args, &block); end
def env(*args, &block); end
def homepage(*args, &block); end
def keg_only_reason(*args, &block); end
def license(*args, &block); end
def livecheck(*args, &block); end
def livecheckable?(*args, &block); end
def option_defined?(*args, &block); end
def options(*args, &block); end
def patchlist(*args, &block); end
def pin(*args, &block); end
def pinnable?(*args, &block); end
def pinned?(*args, &block); end
def pinned_version(*args, &block); end
def plist_manual(*args, &block); end
def plist_startup(*args, &block); end
def pour_bottle_check_unsatisfied_reason(*args, &block); end
def requirements(*args, &block); end
def resource(*args, &block); end
def resources(*args, &block); end
def unpin(*args, &block); end
def uses_from_macos_elements(*args, &block); end
def version(*args, &block); end
end
class Formula
def self.desc(val=T.unsafe(nil)); end
def self.homepage(val=T.unsafe(nil)); end
def self.revision(val=T.unsafe(nil)); end
def self.sha256(val); end
def self.version_scheme(val=T.unsafe(nil)); end
end end
class FormulaConflict class FormulaConflict
@ -7161,6 +7332,34 @@ class FormulaConflict
def self.members(); end def self.members(); end
end end
class FormulaInstaller
def debug=(debug); end
def force=(force); end
def force_bottle=(force_bottle); end
def git=(git); end
def hold_locks?(); end
def ignore_deps=(ignore_deps); end
def interactive=(interactive); end
def keep_tmp=(keep_tmp); end
def only_deps=(only_deps); end
def quiet=(quiet); end
def show_header=(show_header); end
def show_summary_heading=(show_summary_heading); end
def verbose=(verbose); end
end
module Forwardable module Forwardable
VERSION = ::T.let(nil, ::T.untyped) VERSION = ::T.let(nil, ::T.untyped)
end end
@ -7858,6 +8057,12 @@ class Homebrew::CLI::Parser
include ::Homebrew::CLI::Parser::Compat include ::Homebrew::CLI::Parser::Compat
end end
class Homebrew::Cleanup
def dry_run?(); end
def scrub?(); end
end
module Homebrew::EnvConfig module Homebrew::EnvConfig
def self.all_proxy(); end def self.all_proxy(); end
@ -7974,6 +8179,12 @@ module Homebrew::EnvConfig
def self.verbose_using_dots?(); end def self.verbose_using_dots?(); end
end end
module Homebrew
extend ::FileUtils::StreamUtils_
extend ::DependenciesHelpers::Compat
def self.default_prefix?(prefix=T.unsafe(nil)); end
end
module HostEnvironmentSimulatorHelper module HostEnvironmentSimulatorHelper
def in_its_own_process_with(*files); end def in_its_own_process_with(*files); end
end end
@ -10074,12 +10285,6 @@ class JSON::Ext::Parser
def initialize(*_); end def initialize(*_); end
end end
JSON::Parser = JSON::Ext::Parser
JSON::State = JSON::Ext::Generator::State
JSON::UnparserError = JSON::GeneratorError
class JavaRequirement::CaskSuggestion class JavaRequirement::CaskSuggestion
def self.[](*_); end def self.[](*_); end
@ -10092,6 +10297,30 @@ module Kconv
UNKNOWN = ::T.let(nil, ::T.untyped) UNKNOWN = ::T.let(nil, ::T.untyped)
end end
class Keg
def /(*args, &block); end
def abv(*args, &block); end
def directory?(*args, &block); end
def disk_usage(*args, &block); end
def exist?(*args, &block); end
def file_count(*args, &block); end
def find(*args, &block); end
def hash(*args, &block); end
def join(*args, &block); end
def rename(*args, &block); end
def to_s(*args, &block); end
end
class Keg::Relocation class Keg::Relocation
def self.[](*_); end def self.[](*_); end
@ -12374,8 +12603,6 @@ end
module MonitorMixin module MonitorMixin
def initialize(*args); end def initialize(*args); end
EXCEPTION_IMMEDIATE = ::T.let(nil, ::T.untyped)
EXCEPTION_NEVER = ::T.let(nil, ::T.untyped)
end end
class MonitorMixin::ConditionVariable class MonitorMixin::ConditionVariable
@ -13118,36 +13345,94 @@ class Object
def to_query(key); end def to_query(key); end
def to_yaml(options=T.unsafe(nil)); end def to_yaml(options=T.unsafe(nil)); end
APPLY_A = ::T.let(nil, ::T.untyped)
APPLY_B = ::T.let(nil, ::T.untyped)
APPLY_C = ::T.let(nil, ::T.untyped)
ARGF = ::T.let(nil, ::T.untyped) ARGF = ::T.let(nil, ::T.untyped)
ARGV = ::T.let(nil, ::T.untyped) ARGV = ::T.let(nil, ::T.untyped)
BOTTLE_ERB = ::T.let(nil, ::T.untyped)
BUG_REPORTS_URL = ::T.let(nil, ::T.untyped) BUG_REPORTS_URL = ::T.let(nil, ::T.untyped)
COMMAND_DESC_WIDTH = ::T.let(nil, ::T.untyped)
CROSS_COMPILING = ::T.let(nil, ::T.untyped) CROSS_COMPILING = ::T.let(nil, ::T.untyped)
DEPRECATED_OFFICIAL_TAPS = ::T.let(nil, ::T.untyped) DEPRECATED_OFFICIAL_TAPS = ::T.let(nil, ::T.untyped)
ENV = ::T.let(nil, ::T.untyped) ENV = ::T.let(nil, ::T.untyped)
HEAD_URL = ::T.let(nil, ::T.untyped)
HOMEBREW_BOTTLE_DEFAULT_DOMAIN = ::T.let(nil, ::T.untyped) HOMEBREW_BOTTLE_DEFAULT_DOMAIN = ::T.let(nil, ::T.untyped)
HOMEBREW_BREW_DEFAULT_GIT_REMOTE = ::T.let(nil, ::T.untyped) HOMEBREW_BREW_DEFAULT_GIT_REMOTE = ::T.let(nil, ::T.untyped)
HOMEBREW_BREW_FILE = ::T.let(nil, ::T.untyped)
HOMEBREW_CACHE = ::T.let(nil, ::T.untyped)
HOMEBREW_CACHE_FORMULA = ::T.let(nil, ::T.untyped)
HOMEBREW_CASK_TAP_CASK_REGEX = ::T.let(nil, ::T.untyped)
HOMEBREW_CELLAR = ::T.let(nil, ::T.untyped)
HOMEBREW_CORE_DEFAULT_GIT_REMOTE = ::T.let(nil, ::T.untyped) HOMEBREW_CORE_DEFAULT_GIT_REMOTE = ::T.let(nil, ::T.untyped)
HOMEBREW_DATA_PATH = ::T.let(nil, ::T.untyped)
HOMEBREW_DEFAULT_CACHE = ::T.let(nil, ::T.untyped) HOMEBREW_DEFAULT_CACHE = ::T.let(nil, ::T.untyped)
HOMEBREW_DEFAULT_LOGS = ::T.let(nil, ::T.untyped) HOMEBREW_DEFAULT_LOGS = ::T.let(nil, ::T.untyped)
HOMEBREW_DEFAULT_PREFIX = ::T.let(nil, ::T.untyped)
HOMEBREW_DEFAULT_TEMP = ::T.let(nil, ::T.untyped) HOMEBREW_DEFAULT_TEMP = ::T.let(nil, ::T.untyped)
HOMEBREW_LIBRARY = ::T.let(nil, ::T.untyped)
HOMEBREW_LIBRARY_PATH = ::T.let(nil, ::T.untyped) HOMEBREW_LIBRARY_PATH = ::T.let(nil, ::T.untyped)
HOMEBREW_LINKED_KEGS = ::T.let(nil, ::T.untyped)
HOMEBREW_LOCKS = ::T.let(nil, ::T.untyped)
HOMEBREW_LOGS = ::T.let(nil, ::T.untyped)
HOMEBREW_OFFICIAL_REPO_PREFIXES_REGEX = ::T.let(nil, ::T.untyped)
HOMEBREW_PINNED_KEGS = ::T.let(nil, ::T.untyped)
HOMEBREW_PREFIX = ::T.let(nil, ::T.untyped)
HOMEBREW_PRODUCT = ::T.let(nil, ::T.untyped)
HOMEBREW_PULL_API_REGEX = ::T.let(nil, ::T.untyped)
HOMEBREW_PULL_OR_COMMIT_URL_REGEX = ::T.let(nil, ::T.untyped)
HOMEBREW_REPOSITORY = ::T.let(nil, ::T.untyped)
HOMEBREW_SHIMS_PATH = ::T.let(nil, ::T.untyped)
HOMEBREW_TAP_CASK_REGEX = ::T.let(nil, ::T.untyped) HOMEBREW_TAP_CASK_REGEX = ::T.let(nil, ::T.untyped)
HOMEBREW_TAP_DIR_REGEX = ::T.let(nil, ::T.untyped)
HOMEBREW_TAP_FORMULA_REGEX = ::T.let(nil, ::T.untyped) HOMEBREW_TAP_FORMULA_REGEX = ::T.let(nil, ::T.untyped)
HOMEBREW_TAP_PATH_REGEX = ::T.let(nil, ::T.untyped)
HOMEBREW_TEMP = ::T.let(nil, ::T.untyped)
HOMEBREW_USER_AGENT_CURL = ::T.let(nil, ::T.untyped)
HOMEBREW_USER_AGENT_FAKE_SAFARI = ::T.let(nil, ::T.untyped)
HOMEBREW_USER_AGENT_RUBY = ::T.let(nil, ::T.untyped)
HOMEBREW_VERSION = ::T.let(nil, ::T.untyped)
HOMEBREW_WWW = ::T.let(nil, ::T.untyped)
HOMEPAGE_URL = ::T.let(nil, ::T.untyped)
LINUXBREW_DEFAULT_PREFIX = ::T.let(nil, ::T.untyped)
MAXIMUM_STRING_MATCHES = ::T.let(nil, ::T.untyped)
OFFICIAL_CASK_TAPS = ::T.let(nil, ::T.untyped) OFFICIAL_CASK_TAPS = ::T.let(nil, ::T.untyped)
OFFICIAL_CMD_TAPS = ::T.let(nil, ::T.untyped) OFFICIAL_CMD_TAPS = ::T.let(nil, ::T.untyped)
OPTION_DESC_WIDTH = ::T.let(nil, ::T.untyped)
ORIGINAL_PATHS = ::T.let(nil, ::T.untyped)
OS_VERSION = ::T.let(nil, ::T.untyped) OS_VERSION = ::T.let(nil, ::T.untyped)
PATCH_A_CONTENTS = ::T.let(nil, ::T.untyped)
PATCH_A_SHA256 = ::T.let(nil, ::T.untyped)
PATCH_B_CONTENTS = ::T.let(nil, ::T.untyped)
PATCH_B_SHA256 = ::T.let(nil, ::T.untyped)
PATCH_URL_A = ::T.let(nil, ::T.untyped)
PATCH_URL_B = ::T.let(nil, ::T.untyped)
RUBY_BIN = ::T.let(nil, ::T.untyped)
RUBY_COPYRIGHT = ::T.let(nil, ::T.untyped) RUBY_COPYRIGHT = ::T.let(nil, ::T.untyped)
RUBY_DESCRIPTION = ::T.let(nil, ::T.untyped) RUBY_DESCRIPTION = ::T.let(nil, ::T.untyped)
RUBY_ENGINE = ::T.let(nil, ::T.untyped) RUBY_ENGINE = ::T.let(nil, ::T.untyped)
RUBY_ENGINE_VERSION = ::T.let(nil, ::T.untyped) RUBY_ENGINE_VERSION = ::T.let(nil, ::T.untyped)
RUBY_PATCHLEVEL = ::T.let(nil, ::T.untyped) RUBY_PATCHLEVEL = ::T.let(nil, ::T.untyped)
RUBY_PATH = ::T.let(nil, ::T.untyped)
RUBY_PLATFORM = ::T.let(nil, ::T.untyped) RUBY_PLATFORM = ::T.let(nil, ::T.untyped)
RUBY_RELEASE_DATE = ::T.let(nil, ::T.untyped) RUBY_RELEASE_DATE = ::T.let(nil, ::T.untyped)
RUBY_REVISION = ::T.let(nil, ::T.untyped) RUBY_REVISION = ::T.let(nil, ::T.untyped)
RUBY_VERSION = ::T.let(nil, ::T.untyped) RUBY_VERSION = ::T.let(nil, ::T.untyped)
RUBY_X = ::T.let(nil, ::T.untyped)
RUBY_Y = ::T.let(nil, ::T.untyped)
STABLE_URL = ::T.let(nil, ::T.untyped)
STDERR = ::T.let(nil, ::T.untyped) STDERR = ::T.let(nil, ::T.untyped)
STDIN = ::T.let(nil, ::T.untyped) STDIN = ::T.let(nil, ::T.untyped)
STDOUT = ::T.let(nil, ::T.untyped) STDOUT = ::T.let(nil, ::T.untyped)
TESTBALL_PATCHES_SHA256 = ::T.let(nil, ::T.untyped)
TESTBALL_PATCHES_URL = ::T.let(nil, ::T.untyped)
TESTBALL_SHA256 = ::T.let(nil, ::T.untyped)
TESTBALL_URL = ::T.let(nil, ::T.untyped)
TEST_DIRECTORIES = ::T.let(nil, ::T.untyped)
TEST_FIXTURE_DIR = ::T.let(nil, ::T.untyped)
TEST_SHA1 = ::T.let(nil, ::T.untyped)
TEST_SHA256 = ::T.let(nil, ::T.untyped)
TEST_TMPDIR = ::T.let(nil, ::T.untyped)
TOPLEVEL_BINDING = ::T.let(nil, ::T.untyped) TOPLEVEL_BINDING = ::T.let(nil, ::T.untyped)
end end
@ -15568,6 +15853,7 @@ end
class Pathname class Pathname
include ::ELFShim include ::ELFShim
include ::MachOShim
def fnmatch?(*_); end def fnmatch?(*_); end
def glob(*_); end def glob(*_); end
@ -19152,6 +19438,18 @@ end
module RSpec::Its module RSpec::Its
end end
module RSpec::Matchers
def a_json_string(*expected, &block_arg); end
def a_string_containing(*args, &block); end
def be_a_failure(*args, &block); end
def have_failed(*args, &block); end
def not_to_output(*args, &block); end
end
class RSpec::Retry class RSpec::Retry
def attempts(); end def attempts(); end
@ -19303,6 +19601,10 @@ module Readline
def self.completion_quote_character(); end def self.completion_quote_character(); end
end end
class ReporterHub
def empty?(*args, &block); end
end
class Requirement class Requirement
def self.cask(val=T.unsafe(nil)); end def self.cask(val=T.unsafe(nil)); end
@ -21733,18 +22035,36 @@ module Singleton
def self.__init__(klass); end def self.__init__(klass); end
end end
class Socket class SoftwareSpec
IPV6_DONTFRAG = ::T.let(nil, ::T.untyped) def cached_download(*args, &block); end
IPV6_PATHMTU = ::T.let(nil, ::T.untyped)
IPV6_RECVPATHMTU = ::T.let(nil, ::T.untyped)
SO_BPF_EXTENSIONS = ::T.let(nil, ::T.untyped)
end
module Socket::Constants def checksum(*args, &block); end
IPV6_DONTFRAG = ::T.let(nil, ::T.untyped)
IPV6_PATHMTU = ::T.let(nil, ::T.untyped) def clear_cache(*args, &block); end
IPV6_RECVPATHMTU = ::T.let(nil, ::T.untyped)
SO_BPF_EXTENSIONS = ::T.let(nil, ::T.untyped) def download_name(*args, &block); end
def downloader(*args, &block); end
def fetch(*args, &block); end
def mirror(*args, &block); end
def mirrors(*args, &block); end
def sha256(*args, &block); end
def source_modified_time(*args, &block); end
def specs(*args, &block); end
def stage(*args, &block); end
def using(*args, &block); end
def verify_download_integrity(*args, &block); end
def version(*args, &block); end
end end
class SortedSet class SortedSet