Merge pull request #8515 from Homebrew/tapioca-update
sorbet: update RBI files using Tapioca.
This commit is contained in:
		
						commit
						309027088c
					
				
							
								
								
									
										40
									
								
								Library/Homebrew/sorbet/rbi/gems/colorize@0.8.1.rbi
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								Library/Homebrew/sorbet/rbi/gems/colorize@0.8.1.rbi
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,40 @@
 | 
			
		||||
# 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`.
 | 
			
		||||
 | 
			
		||||
# typed: true
 | 
			
		||||
 | 
			
		||||
module Colorize
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
module Colorize::ClassMethods
 | 
			
		||||
  def color_codes; end
 | 
			
		||||
  def color_matrix(_ = T.unsafe(nil)); end
 | 
			
		||||
  def color_methods; end
 | 
			
		||||
  def color_samples; end
 | 
			
		||||
  def colors; end
 | 
			
		||||
  def disable_colorization(value = T.unsafe(nil)); end
 | 
			
		||||
  def disable_colorization=(value); end
 | 
			
		||||
  def mode_codes; end
 | 
			
		||||
  def modes; end
 | 
			
		||||
  def modes_methods; end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
module Colorize::InstanceMethods
 | 
			
		||||
  def colorize(params); end
 | 
			
		||||
  def colorized?; end
 | 
			
		||||
  def uncolorize; end
 | 
			
		||||
 | 
			
		||||
  private
 | 
			
		||||
 | 
			
		||||
  def background_color(color); end
 | 
			
		||||
  def color(color); end
 | 
			
		||||
  def color_from_symbol(match, symbol); end
 | 
			
		||||
  def colors_from_hash(match, hash); end
 | 
			
		||||
  def colors_from_params(match, params); end
 | 
			
		||||
  def defaults_colors(match); end
 | 
			
		||||
  def mode(mode); end
 | 
			
		||||
  def require_windows_libs; end
 | 
			
		||||
  def scan_for_colors; end
 | 
			
		||||
  def split_colors(match); end
 | 
			
		||||
end
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
# DO NOT EDIT MANUALLY
 | 
			
		||||
# This is an autogenerated file for types exported from the `elftools` gem.
 | 
			
		||||
# Please instead update this file by running `tapioca generate --exclude json`.
 | 
			
		||||
# Please instead update this file by running `tapioca sync`.
 | 
			
		||||
 | 
			
		||||
# typed: true
 | 
			
		||||
 | 
			
		||||
@ -12,7 +12,9 @@ module ELFTools::Constants
 | 
			
		||||
  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)
 | 
			
		||||
@ -182,6 +184,8 @@ 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
 | 
			
		||||
@ -288,6 +292,15 @@ 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
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
@ -321,6 +334,13 @@ 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
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
# DO NOT EDIT MANUALLY
 | 
			
		||||
# This is an autogenerated file for types exported from the `patchelf` gem.
 | 
			
		||||
# Please instead update this file by running `tapioca generate --exclude json`.
 | 
			
		||||
# Please instead update this file by running `tapioca sync`.
 | 
			
		||||
 | 
			
		||||
# typed: true
 | 
			
		||||
 | 
			
		||||
@ -32,13 +32,17 @@ module PatchELF::Logger
 | 
			
		||||
 | 
			
		||||
  private
 | 
			
		||||
 | 
			
		||||
  def debug(msg); end
 | 
			
		||||
  def error(msg); end
 | 
			
		||||
  def info(msg); end
 | 
			
		||||
  def level=(msg); end
 | 
			
		||||
  def warn(msg); end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    def debug(msg); end
 | 
			
		||||
    def error(msg); end
 | 
			
		||||
    def info(msg); end
 | 
			
		||||
    def level=(msg); end
 | 
			
		||||
    def warn(msg); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
@ -92,7 +96,7 @@ class PatchELF::Patcher
 | 
			
		||||
  def rpath=(rpath); end
 | 
			
		||||
  def runpath; end
 | 
			
		||||
  def runpath=(runpath); end
 | 
			
		||||
  def save(out_file = T.unsafe(nil)); end
 | 
			
		||||
  def save(out_file = T.unsafe(nil), patchelf_compatible: T.unsafe(nil)); end
 | 
			
		||||
  def soname; end
 | 
			
		||||
  def soname=(name); end
 | 
			
		||||
  def use_rpath!; end
 | 
			
		||||
							
								
								
									
										414
									
								
								Library/Homebrew/sorbet/rbi/gems/spoom@1.0.4.rbi
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										414
									
								
								Library/Homebrew/sorbet/rbi/gems/spoom@1.0.4.rbi
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,414 @@
 | 
			
		||||
# DO NOT EDIT MANUALLY
 | 
			
		||||
# This is an autogenerated file for types exported from the `spoom` gem.
 | 
			
		||||
# Please instead update this file by running `tapioca sync`.
 | 
			
		||||
 | 
			
		||||
# typed: true
 | 
			
		||||
 | 
			
		||||
module Spoom
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
module Spoom::Cli
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
module Spoom::Cli::Commands
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::Cli::Commands::Base < ::Thor
 | 
			
		||||
  def in_sorbet_project!; end
 | 
			
		||||
  def in_sorbet_project?; end
 | 
			
		||||
  def say_error(message, status = T.unsafe(nil)); end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::Cli::Commands::Config < ::Spoom::Cli::Commands::Base
 | 
			
		||||
  def files; end
 | 
			
		||||
  def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end
 | 
			
		||||
  def show; end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::Cli::Commands::LSP < ::Spoom::Cli::Commands::Base
 | 
			
		||||
  def defs(file, line, col); end
 | 
			
		||||
  def find(query); end
 | 
			
		||||
  def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end
 | 
			
		||||
  def hover(file, line, col); end
 | 
			
		||||
  def list; end
 | 
			
		||||
  def lsp_client; end
 | 
			
		||||
  def refs(file, line, col); end
 | 
			
		||||
  def run(&block); end
 | 
			
		||||
  def show; end
 | 
			
		||||
  def sigs(file, line, col); end
 | 
			
		||||
  def symbols(file); end
 | 
			
		||||
  def types(file, line, col); end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::Cli::Commands::Run < ::Spoom::Cli::Commands::Base
 | 
			
		||||
  def colorize_code(code, colors = T.unsafe(nil)); end
 | 
			
		||||
  def colorize_message(message, colors = T.unsafe(nil)); end
 | 
			
		||||
  def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end
 | 
			
		||||
  def metrics; end
 | 
			
		||||
  def tc; end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::Cli::Main < ::Thor
 | 
			
		||||
  def config(*args); end
 | 
			
		||||
  def lsp(*args); end
 | 
			
		||||
  def tc(*args); end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    def exit_on_failure?; end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::Cli::SymbolPrinter
 | 
			
		||||
  def initialize(default_indent, no_color = T.unsafe(nil)); end
 | 
			
		||||
 | 
			
		||||
  def dedent; end
 | 
			
		||||
  def indent; end
 | 
			
		||||
  def no_color; end
 | 
			
		||||
  def no_color=(_); end
 | 
			
		||||
  def print(string); end
 | 
			
		||||
  def printn; end
 | 
			
		||||
  def printt; end
 | 
			
		||||
  def seen; end
 | 
			
		||||
  def seen=(_); end
 | 
			
		||||
  def visit(object); end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    def print_list(list, no_color); end
 | 
			
		||||
    def print_object(object, no_color); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
module Spoom::Config
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
Spoom::Config::SORBET_CONFIG = T.let(T.unsafe(nil), String)
 | 
			
		||||
 | 
			
		||||
Spoom::Config::SORBET_GEM_PATH = T.let(T.unsafe(nil), String)
 | 
			
		||||
 | 
			
		||||
Spoom::Config::SORBET_PATH = T.let(T.unsafe(nil), String)
 | 
			
		||||
 | 
			
		||||
Spoom::Config::WORKSPACE_PATH = T.let(T.unsafe(nil), String)
 | 
			
		||||
 | 
			
		||||
class Spoom::Error < ::StandardError
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
module Spoom::LSP
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::Client
 | 
			
		||||
  def initialize(sorbet_cmd, *sorbet_args); end
 | 
			
		||||
 | 
			
		||||
  def close; end
 | 
			
		||||
  def definitions(uri, line, column); end
 | 
			
		||||
  def document_symbols(uri); end
 | 
			
		||||
  def hover(uri, line, column); end
 | 
			
		||||
  def next_id; end
 | 
			
		||||
  def open(workspace_path); end
 | 
			
		||||
  def read; end
 | 
			
		||||
  def read_raw; end
 | 
			
		||||
  def references(uri, line, column, include_decl = T.unsafe(nil)); end
 | 
			
		||||
  def send(message); end
 | 
			
		||||
  def send_raw(json_string); end
 | 
			
		||||
  def signatures(uri, line, column); end
 | 
			
		||||
  def symbols(query); end
 | 
			
		||||
  def type_definitions(uri, line, column); end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::Diagnostic < ::T::Struct
 | 
			
		||||
  const :range, Spoom::LSP::Range
 | 
			
		||||
  const :code, Integer
 | 
			
		||||
  const :message, String
 | 
			
		||||
  const :informations, Object
 | 
			
		||||
 | 
			
		||||
  def to_s; end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    def from_json(json); end
 | 
			
		||||
    def inherited(s); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::DocumentSymbol < ::T::Struct
 | 
			
		||||
  const :name, String
 | 
			
		||||
  const :detail, T.nilable(String)
 | 
			
		||||
  const :kind, Integer
 | 
			
		||||
  const :location, T.nilable(Spoom::LSP::Location)
 | 
			
		||||
  const :range, T.nilable(Spoom::LSP::Range)
 | 
			
		||||
  const :children, T::Array[Spoom::LSP::DocumentSymbol]
 | 
			
		||||
 | 
			
		||||
  def accept_printer(printer); end
 | 
			
		||||
  def kind_string; end
 | 
			
		||||
  def to_s; end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    def from_json(json); end
 | 
			
		||||
    def inherited(s); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
Spoom::LSP::DocumentSymbol::SYMBOL_KINDS = T.let(T.unsafe(nil), Hash)
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::Error < ::StandardError
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::Error::AlreadyOpen < ::Spoom::LSP::Error
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::Error::BadHeaders < ::Spoom::LSP::Error
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::Error::Diagnostics < ::Spoom::LSP::Error
 | 
			
		||||
  def initialize(uri, diagnostics); end
 | 
			
		||||
 | 
			
		||||
  def diagnostics; end
 | 
			
		||||
  def uri; end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    def from_json(json); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::Hover < ::T::Struct
 | 
			
		||||
  const :contents, String
 | 
			
		||||
  const :range, T.nilable(T::Range[T.untyped])
 | 
			
		||||
 | 
			
		||||
  def accept_printer(printer); end
 | 
			
		||||
  def to_s; end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    def from_json(json); end
 | 
			
		||||
    def inherited(s); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::Location < ::T::Struct
 | 
			
		||||
  const :uri, String
 | 
			
		||||
  const :range, Spoom::LSP::Range
 | 
			
		||||
 | 
			
		||||
  def accept_printer(printer); end
 | 
			
		||||
  def to_s; end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    def from_json(json); end
 | 
			
		||||
    def inherited(s); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::Message
 | 
			
		||||
  def initialize; end
 | 
			
		||||
 | 
			
		||||
  def as_json; end
 | 
			
		||||
  def jsonrpc; end
 | 
			
		||||
  def to_json(*args); end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::Notification < ::Spoom::LSP::Message
 | 
			
		||||
  def initialize(method, params); end
 | 
			
		||||
 | 
			
		||||
  def method; end
 | 
			
		||||
  def params; end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::Position < ::T::Struct
 | 
			
		||||
  const :line, Integer
 | 
			
		||||
  const :char, Integer
 | 
			
		||||
 | 
			
		||||
  def accept_printer(printer); end
 | 
			
		||||
  def to_s; end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    def from_json(json); end
 | 
			
		||||
    def inherited(s); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::Range < ::T::Struct
 | 
			
		||||
  const :start, Spoom::LSP::Position
 | 
			
		||||
  const :end, Spoom::LSP::Position
 | 
			
		||||
 | 
			
		||||
  def accept_printer(printer); end
 | 
			
		||||
  def to_s; end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    def from_json(json); end
 | 
			
		||||
    def inherited(s); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::Request < ::Spoom::LSP::Message
 | 
			
		||||
  def initialize(id, method, params); end
 | 
			
		||||
 | 
			
		||||
  def id; end
 | 
			
		||||
  def method; end
 | 
			
		||||
  def params; end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::ResponseError < ::Spoom::LSP::Error
 | 
			
		||||
  def initialize(code, message, data); end
 | 
			
		||||
 | 
			
		||||
  def code; end
 | 
			
		||||
  def data; end
 | 
			
		||||
  def message; end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    def from_json(json); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::LSP::SignatureHelp < ::T::Struct
 | 
			
		||||
  const :label, T.nilable(String)
 | 
			
		||||
  const :doc, Object
 | 
			
		||||
  const :params, T::Array[T.untyped]
 | 
			
		||||
 | 
			
		||||
  def accept_printer(printer); end
 | 
			
		||||
  def to_s; end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    def from_json(json); end
 | 
			
		||||
    def inherited(s); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
module Spoom::Sorbet
 | 
			
		||||
  class << self
 | 
			
		||||
    sig { params(path: String, capture_err: T::Boolean, arg: String).returns([String, T::Boolean]) }
 | 
			
		||||
    def srb(*arg, path: T.unsafe(nil), capture_err: T.unsafe(nil)); end
 | 
			
		||||
    sig { params(config: Spoom::Sorbet::Config, path: String).returns(T::Array[String]) }
 | 
			
		||||
    def srb_files(config, path: T.unsafe(nil)); end
 | 
			
		||||
    sig { params(path: String, capture_err: T::Boolean, arg: String).returns(T.nilable(Spoom::Sorbet::Metrics)) }
 | 
			
		||||
    def srb_metrics(*arg, path: T.unsafe(nil), capture_err: T.unsafe(nil)); end
 | 
			
		||||
    sig { params(path: String, capture_err: T::Boolean, arg: String).returns([String, T::Boolean]) }
 | 
			
		||||
    def srb_tc(*arg, path: T.unsafe(nil), capture_err: T.unsafe(nil)); end
 | 
			
		||||
    sig { params(path: String, capture_err: T::Boolean, arg: String).returns(T.nilable(String)) }
 | 
			
		||||
    def srb_version(*arg, path: T.unsafe(nil), capture_err: T.unsafe(nil)); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::Sorbet::Config
 | 
			
		||||
  sig { void }
 | 
			
		||||
  def initialize; end
 | 
			
		||||
 | 
			
		||||
  def allowed_extensions; end
 | 
			
		||||
  def ignore; end
 | 
			
		||||
  sig { returns(T::Array[String]) }
 | 
			
		||||
  def paths; end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    sig { params(sorbet_config_path: String).returns(Spoom::Sorbet::Config) }
 | 
			
		||||
    def parse_file(sorbet_config_path); end
 | 
			
		||||
    sig { params(sorbet_config: String).returns(Spoom::Sorbet::Config) }
 | 
			
		||||
    def parse_string(sorbet_config); end
 | 
			
		||||
 | 
			
		||||
    private
 | 
			
		||||
 | 
			
		||||
    sig { params(line: String).returns(String) }
 | 
			
		||||
    def parse_option(line); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
module Spoom::Sorbet::Errors
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::Sorbet::Errors::Error
 | 
			
		||||
  include(::Comparable)
 | 
			
		||||
 | 
			
		||||
  sig { params(file: T.nilable(String), line: T.nilable(Integer), message: T.nilable(String), code: T.nilable(Integer), more: T::Array[String]).void }
 | 
			
		||||
  def initialize(file, line, message, code, more = T.unsafe(nil)); end
 | 
			
		||||
 | 
			
		||||
  sig { params(other: T.untyped).returns(Integer) }
 | 
			
		||||
  def <=>(other); end
 | 
			
		||||
  def code; end
 | 
			
		||||
  sig { returns(T.nilable(String)) }
 | 
			
		||||
  def file; end
 | 
			
		||||
  sig { returns(T.nilable(Integer)) }
 | 
			
		||||
  def line; end
 | 
			
		||||
  def message; end
 | 
			
		||||
  sig { returns(T::Array[String]) }
 | 
			
		||||
  def more; end
 | 
			
		||||
  sig { returns(String) }
 | 
			
		||||
  def to_s; end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    sig { params(line: String).returns(Spoom::Sorbet::Errors::Error) }
 | 
			
		||||
    def from_error_line(line); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::Sorbet::Errors::Parser
 | 
			
		||||
  sig { void }
 | 
			
		||||
  def initialize; end
 | 
			
		||||
 | 
			
		||||
  sig { params(output: String).returns(T::Array[Spoom::Sorbet::Errors::Error]) }
 | 
			
		||||
  def parse(output); end
 | 
			
		||||
 | 
			
		||||
  private
 | 
			
		||||
 | 
			
		||||
  sig { params(line: String).void }
 | 
			
		||||
  def append_error(line); end
 | 
			
		||||
  sig { void }
 | 
			
		||||
  def close_error; end
 | 
			
		||||
  sig { params(line: String).returns(T.nilable(Integer)) }
 | 
			
		||||
  def leading_spaces(line); end
 | 
			
		||||
  sig { params(line: String).void }
 | 
			
		||||
  def open_error(line); end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    sig { params(output: String).returns(T::Array[Spoom::Sorbet::Errors::Error]) }
 | 
			
		||||
    def parse_string(output); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
Spoom::Sorbet::Errors::Parser::HEADER = T.let(T.unsafe(nil), Array)
 | 
			
		||||
 | 
			
		||||
class Spoom::Sorbet::Metrics < ::T::Struct
 | 
			
		||||
  const :repo, String
 | 
			
		||||
  const :sha, String
 | 
			
		||||
  const :status, String
 | 
			
		||||
  const :branch, String
 | 
			
		||||
  const :timestamp, Integer
 | 
			
		||||
  const :uuid, String
 | 
			
		||||
  const :metrics, T::Hash[String, T.nilable(Integer)]
 | 
			
		||||
 | 
			
		||||
  sig { params(key: String).returns(T.nilable(Integer)) }
 | 
			
		||||
  def [](key); end
 | 
			
		||||
  sig { returns(T::Hash[String, T.nilable(Integer)]) }
 | 
			
		||||
  def files_by_strictness; end
 | 
			
		||||
  sig { returns(Integer) }
 | 
			
		||||
  def files_count; end
 | 
			
		||||
  sig { params(out: T.any(IO, StringIO)).void }
 | 
			
		||||
  def show(out = T.unsafe(nil)); end
 | 
			
		||||
  sig { returns(String) }
 | 
			
		||||
  def to_s; end
 | 
			
		||||
 | 
			
		||||
  private
 | 
			
		||||
 | 
			
		||||
  sig { params(value: T.nilable(Integer), total: T.nilable(Integer)).returns(String) }
 | 
			
		||||
  def percent(value, total); end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    def inherited(s); end
 | 
			
		||||
    sig { params(path: String, prefix: String).returns(Spoom::Sorbet::Metrics) }
 | 
			
		||||
    def parse_file(path, prefix = T.unsafe(nil)); end
 | 
			
		||||
    sig { params(obj: T::Hash[String, T.untyped], prefix: String).returns(Spoom::Sorbet::Metrics) }
 | 
			
		||||
    def parse_hash(obj, prefix = T.unsafe(nil)); end
 | 
			
		||||
    sig { params(string: String, prefix: String).returns(Spoom::Sorbet::Metrics) }
 | 
			
		||||
    def parse_string(string, prefix = T.unsafe(nil)); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
Spoom::Sorbet::Metrics::DEFAULT_PREFIX = T.let(T.unsafe(nil), String)
 | 
			
		||||
 | 
			
		||||
Spoom::Sorbet::Metrics::SIGILS = T.let(T.unsafe(nil), Array)
 | 
			
		||||
 | 
			
		||||
Spoom::VERSION = T.let(T.unsafe(nil), String)
 | 
			
		||||
 | 
			
		||||
class String
 | 
			
		||||
  include(::Comparable)
 | 
			
		||||
  include(::Colorize::InstanceMethods)
 | 
			
		||||
  include(::JSON::Ext::Generator::GeneratorMethods::String)
 | 
			
		||||
  extend(::Colorize::ClassMethods)
 | 
			
		||||
  extend(::JSON::Ext::Generator::GeneratorMethods::String::Extend)
 | 
			
		||||
 | 
			
		||||
  def from_uri; end
 | 
			
		||||
  def to_uri; end
 | 
			
		||||
end
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
# DO NOT EDIT MANUALLY
 | 
			
		||||
# This is an autogenerated file for types exported from the `tapioca` gem.
 | 
			
		||||
# Please instead update this file by running `tapioca sync --exclude json`.
 | 
			
		||||
# Please instead update this file by running `tapioca sync`.
 | 
			
		||||
 | 
			
		||||
# typed: true
 | 
			
		||||
 | 
			
		||||
@ -104,11 +104,11 @@ class Tapioca::Compilers::RequiresCompiler
 | 
			
		||||
 | 
			
		||||
  private
 | 
			
		||||
 | 
			
		||||
  sig { params(config: Tapioca::SorbetConfig).returns(T::Array[String]) }
 | 
			
		||||
  sig { params(config: Spoom::Sorbet::Config).returns(T::Array[String]) }
 | 
			
		||||
  def collect_files(config); end
 | 
			
		||||
  sig { params(file_path: String).returns(T::Enumerable[String]) }
 | 
			
		||||
  def collect_requires(file_path); end
 | 
			
		||||
  sig { params(config: Tapioca::SorbetConfig, file: String).returns(T::Boolean) }
 | 
			
		||||
  sig { params(config: Spoom::Sorbet::Config, file: String).returns(T::Boolean) }
 | 
			
		||||
  def file_ignored_by_sorbet?(config, file); end
 | 
			
		||||
  sig { params(files: T::Enumerable[String], name: String).returns(T::Boolean) }
 | 
			
		||||
  def name_in_project?(files, name); end
 | 
			
		||||
@ -225,6 +225,8 @@ class Tapioca::Compilers::SymbolTable::SymbolGenerator
 | 
			
		||||
  def symbol_ignored?(symbol_name); end
 | 
			
		||||
  sig { returns(T::Set[String]) }
 | 
			
		||||
  def symbols; end
 | 
			
		||||
  sig { params(constant: Module).returns(String) }
 | 
			
		||||
  def type_of(constant); end
 | 
			
		||||
  sig { params(name: String).returns(T::Boolean) }
 | 
			
		||||
  def valid_method_name?(name); end
 | 
			
		||||
  sig { type_parameters(:U).params(step: Integer, _blk: T.proc.params().returns(T.type_parameter(:U))).returns(T.type_parameter(:U)) }
 | 
			
		||||
@ -513,25 +515,4 @@ class Tapioca::Loader
 | 
			
		||||
  def silence_deprecations; end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Tapioca::SorbetConfig
 | 
			
		||||
  sig { void }
 | 
			
		||||
  def initialize; end
 | 
			
		||||
 | 
			
		||||
  def ignore; end
 | 
			
		||||
  sig { returns(T::Array[String]) }
 | 
			
		||||
  def paths; end
 | 
			
		||||
 | 
			
		||||
  class << self
 | 
			
		||||
    sig { params(sorbet_config_path: String).returns(Tapioca::SorbetConfig) }
 | 
			
		||||
    def parse_file(sorbet_config_path); end
 | 
			
		||||
    sig { params(sorbet_config: String).returns(Tapioca::SorbetConfig) }
 | 
			
		||||
    def parse_string(sorbet_config); end
 | 
			
		||||
 | 
			
		||||
    private
 | 
			
		||||
 | 
			
		||||
    sig { params(line: String).returns(String) }
 | 
			
		||||
    def parse_option(line); end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
Tapioca::VERSION = T.let(T.unsafe(nil), String)
 | 
			
		||||
@ -6480,7 +6480,6 @@ class Date
 | 
			
		||||
  def to_default_s(); end
 | 
			
		||||
 | 
			
		||||
  def to_formatted_s(format=T.unsafe(nil)); end
 | 
			
		||||
 | 
			
		||||
  DATE_FORMATS = ::T.let(nil, ::T.untyped)
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
@ -6734,7 +6733,6 @@ end
 | 
			
		||||
 | 
			
		||||
class Dir
 | 
			
		||||
  def self.exists?(_); end
 | 
			
		||||
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
module Docile
 | 
			
		||||
@ -6903,7 +6901,6 @@ class ERB
 | 
			
		||||
  def def_method(mod, methodname, fname=T.unsafe(nil)); end
 | 
			
		||||
 | 
			
		||||
  def def_module(methodname=T.unsafe(nil)); end
 | 
			
		||||
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class ERB::Compiler::Scanner
 | 
			
		||||
@ -7106,7 +7103,6 @@ end
 | 
			
		||||
 | 
			
		||||
module Exception2MessageMapper
 | 
			
		||||
  def bind(cl); end
 | 
			
		||||
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
Exception2MessageMapper::E2MM = Exception2MessageMapper
 | 
			
		||||
@ -13571,6 +13567,58 @@ module OpenSSL
 | 
			
		||||
  def self.fips_mode(); end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class OpenURI::Buffer
 | 
			
		||||
  def <<(str); end
 | 
			
		||||
 | 
			
		||||
  def io(); end
 | 
			
		||||
 | 
			
		||||
  def size(); end
 | 
			
		||||
  StringMax = ::T.let(nil, ::T.untyped)
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class OpenURI::Buffer
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class OpenURI::HTTPError
 | 
			
		||||
  def initialize(message, io); end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class OpenURI::HTTPRedirect
 | 
			
		||||
  def initialize(message, io, uri); end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
module OpenURI::Meta
 | 
			
		||||
  def content_type_parse(); end
 | 
			
		||||
 | 
			
		||||
  def meta_add_field(name, value); end
 | 
			
		||||
 | 
			
		||||
  def meta_add_field2(name, values); end
 | 
			
		||||
 | 
			
		||||
  def meta_setup_encoding(); end
 | 
			
		||||
  RE_LWS = ::T.let(nil, ::T.untyped)
 | 
			
		||||
  RE_PARAMETERS = ::T.let(nil, ::T.untyped)
 | 
			
		||||
  RE_QUOTED_STRING = ::T.let(nil, ::T.untyped)
 | 
			
		||||
  RE_TOKEN = ::T.let(nil, ::T.untyped)
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
module OpenURI::Meta
 | 
			
		||||
  def self.init(obj, src=T.unsafe(nil)); end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
module OpenURI
 | 
			
		||||
  def self.check_options(options); end
 | 
			
		||||
 | 
			
		||||
  def self.open_http(buf, target, proxy, options); end
 | 
			
		||||
 | 
			
		||||
  def self.open_loop(uri, options); end
 | 
			
		||||
 | 
			
		||||
  def self.open_uri(name, *rest); end
 | 
			
		||||
 | 
			
		||||
  def self.redirectable?(uri1, uri2); end
 | 
			
		||||
 | 
			
		||||
  def self.scan_open_optional_arguments(*rest); end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class PATH
 | 
			
		||||
  def each(*args, &block); end
 | 
			
		||||
end
 | 
			
		||||
@ -22075,6 +22123,40 @@ class SortedSet
 | 
			
		||||
  def self.setup(); end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::Cli::Main
 | 
			
		||||
  extend ::T::Sig
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::Sorbet::Config
 | 
			
		||||
  extend ::T::Sig
 | 
			
		||||
  extend ::T::Private::Methods::MethodHooks
 | 
			
		||||
  extend ::T::Private::Methods::SingletonMethodHooks
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::Sorbet::Errors::Error
 | 
			
		||||
  extend ::T::Sig
 | 
			
		||||
  extend ::T::Private::Methods::MethodHooks
 | 
			
		||||
  extend ::T::Private::Methods::SingletonMethodHooks
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::Sorbet::Errors::Parser
 | 
			
		||||
  extend ::T::Sig
 | 
			
		||||
  extend ::T::Private::Methods::MethodHooks
 | 
			
		||||
  extend ::T::Private::Methods::SingletonMethodHooks
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Spoom::Sorbet::Metrics
 | 
			
		||||
  extend ::T::Sig
 | 
			
		||||
  extend ::T::Private::Methods::MethodHooks
 | 
			
		||||
  extend ::T::Private::Methods::SingletonMethodHooks
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
module Spoom::Sorbet
 | 
			
		||||
  extend ::T::Sig
 | 
			
		||||
  extend ::T::Private::Methods::MethodHooks
 | 
			
		||||
  extend ::T::Private::Methods::SingletonMethodHooks
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
module Stdenv
 | 
			
		||||
  def O0(); end
 | 
			
		||||
 | 
			
		||||
@ -22095,6 +22177,12 @@ class String
 | 
			
		||||
 | 
			
		||||
  def black(); end
 | 
			
		||||
 | 
			
		||||
  def blink(); end
 | 
			
		||||
 | 
			
		||||
  def blue(); end
 | 
			
		||||
 | 
			
		||||
  def bold(); end
 | 
			
		||||
 | 
			
		||||
  def camelcase(first_letter=T.unsafe(nil)); end
 | 
			
		||||
 | 
			
		||||
  def camelize(first_letter=T.unsafe(nil)); end
 | 
			
		||||
@ -22105,6 +22193,8 @@ class String
 | 
			
		||||
 | 
			
		||||
  def constantize(); end
 | 
			
		||||
 | 
			
		||||
  def cyan(); end
 | 
			
		||||
 | 
			
		||||
  def dasherize(); end
 | 
			
		||||
 | 
			
		||||
  def deconstantize(); end
 | 
			
		||||
@ -22123,6 +22213,8 @@ class String
 | 
			
		||||
 | 
			
		||||
  def green(); end
 | 
			
		||||
 | 
			
		||||
  def hide(); end
 | 
			
		||||
 | 
			
		||||
  def html_safe(); end
 | 
			
		||||
 | 
			
		||||
  def humanize(capitalize: T.unsafe(nil), keep_id_suffix: T.unsafe(nil)); end
 | 
			
		||||
@ -22137,12 +22229,64 @@ class String
 | 
			
		||||
 | 
			
		||||
  def isutf8(); end
 | 
			
		||||
 | 
			
		||||
  def italic(); end
 | 
			
		||||
 | 
			
		||||
  def kconv(to_enc, from_enc=T.unsafe(nil)); end
 | 
			
		||||
 | 
			
		||||
  def last(limit=T.unsafe(nil)); end
 | 
			
		||||
 | 
			
		||||
  def light_black(); end
 | 
			
		||||
 | 
			
		||||
  def light_blue(); end
 | 
			
		||||
 | 
			
		||||
  def light_cyan(); end
 | 
			
		||||
 | 
			
		||||
  def light_green(); end
 | 
			
		||||
 | 
			
		||||
  def light_magenta(); end
 | 
			
		||||
 | 
			
		||||
  def light_red(); end
 | 
			
		||||
 | 
			
		||||
  def light_white(); end
 | 
			
		||||
 | 
			
		||||
  def light_yellow(); end
 | 
			
		||||
 | 
			
		||||
  def magenta(); end
 | 
			
		||||
 | 
			
		||||
  def mb_chars(); end
 | 
			
		||||
 | 
			
		||||
  def on_black(); end
 | 
			
		||||
 | 
			
		||||
  def on_blue(); end
 | 
			
		||||
 | 
			
		||||
  def on_cyan(); end
 | 
			
		||||
 | 
			
		||||
  def on_green(); end
 | 
			
		||||
 | 
			
		||||
  def on_light_black(); end
 | 
			
		||||
 | 
			
		||||
  def on_light_blue(); end
 | 
			
		||||
 | 
			
		||||
  def on_light_cyan(); end
 | 
			
		||||
 | 
			
		||||
  def on_light_green(); end
 | 
			
		||||
 | 
			
		||||
  def on_light_magenta(); end
 | 
			
		||||
 | 
			
		||||
  def on_light_red(); end
 | 
			
		||||
 | 
			
		||||
  def on_light_white(); end
 | 
			
		||||
 | 
			
		||||
  def on_light_yellow(); end
 | 
			
		||||
 | 
			
		||||
  def on_magenta(); end
 | 
			
		||||
 | 
			
		||||
  def on_red(); end
 | 
			
		||||
 | 
			
		||||
  def on_white(); end
 | 
			
		||||
 | 
			
		||||
  def on_yellow(); end
 | 
			
		||||
 | 
			
		||||
  def parameterize(separator: T.unsafe(nil), preserve_case: T.unsafe(nil), locale: T.unsafe(nil)); end
 | 
			
		||||
 | 
			
		||||
  def pluralize(count=T.unsafe(nil), locale=T.unsafe(nil)); end
 | 
			
		||||
@ -22167,6 +22311,8 @@ class String
 | 
			
		||||
 | 
			
		||||
  def starts_with?(*_); end
 | 
			
		||||
 | 
			
		||||
  def swap(); end
 | 
			
		||||
 | 
			
		||||
  def tableize(); end
 | 
			
		||||
 | 
			
		||||
  def titlecase(keep_id_suffix: T.unsafe(nil)); end
 | 
			
		||||
@ -22209,9 +22355,15 @@ class String
 | 
			
		||||
 | 
			
		||||
  def truncate_words(words_count, options=T.unsafe(nil)); end
 | 
			
		||||
 | 
			
		||||
  def underline(); end
 | 
			
		||||
 | 
			
		||||
  def underscore(); end
 | 
			
		||||
 | 
			
		||||
  def upcase_first(); end
 | 
			
		||||
 | 
			
		||||
  def white(); end
 | 
			
		||||
 | 
			
		||||
  def yellow(); end
 | 
			
		||||
  BLANK_RE = ::T.let(nil, ::T.untyped)
 | 
			
		||||
  ENCODED_BLANKS = ::T.let(nil, ::T.untyped)
 | 
			
		||||
end
 | 
			
		||||
@ -23055,12 +23207,6 @@ class Tapioca::Loader
 | 
			
		||||
  extend ::T::Private::Methods::SingletonMethodHooks
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Tapioca::SorbetConfig
 | 
			
		||||
  extend ::T::Sig
 | 
			
		||||
  extend ::T::Private::Methods::MethodHooks
 | 
			
		||||
  extend ::T::Private::Methods::SingletonMethodHooks
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class Tempfile
 | 
			
		||||
  def _close(); end
 | 
			
		||||
 | 
			
		||||
@ -23520,7 +23666,6 @@ class Time
 | 
			
		||||
  def to_default_s(); end
 | 
			
		||||
 | 
			
		||||
  def to_formatted_s(format=T.unsafe(nil)); end
 | 
			
		||||
 | 
			
		||||
  COMMON_YEAR_DAYS_IN_MONTH = ::T.let(nil, ::T.untyped)
 | 
			
		||||
  DATE_FORMATS = ::T.let(nil, ::T.untyped)
 | 
			
		||||
end
 | 
			
		||||
@ -23553,7 +23698,6 @@ class Time
 | 
			
		||||
  def self.zone_default(); end
 | 
			
		||||
 | 
			
		||||
  def self.zone_default=(zone_default); end
 | 
			
		||||
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class TracePoint
 | 
			
		||||
@ -23602,6 +23746,10 @@ module URI
 | 
			
		||||
  include ::URI::RFC2396_REGEXP
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class URI::FTP
 | 
			
		||||
  def buffer_open(buf, proxy, options); end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class URI::FTP
 | 
			
		||||
  def self.new2(user, password, host, port, path, typecode=T.unsafe(nil), arg_check=T.unsafe(nil)); end
 | 
			
		||||
end
 | 
			
		||||
@ -23621,6 +23769,10 @@ end
 | 
			
		||||
class URI::File
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class URI::HTTP
 | 
			
		||||
  def buffer_open(buf, proxy, options); end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class URI::LDAP
 | 
			
		||||
  def attributes(); end
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user