Merge remote-tracking branch 'upstream/master' into fix-inconsistent-shell-style
This commit is contained in:
commit
c2d5d84b21
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -234,7 +234,7 @@ jobs:
|
||||
env:
|
||||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: codecov/codecov-action@5a8bb4701eca7ba3673f21664b887f652c58d0a3
|
||||
- uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b
|
||||
|
||||
test-default-formula-linux:
|
||||
name: test default formula (Linux)
|
||||
@ -340,4 +340,4 @@ jobs:
|
||||
|
||||
- run: brew test-bot --only-formulae --test-default-formula
|
||||
|
||||
- uses: codecov/codecov-action@5a8bb4701eca7ba3673f21664b887f652c58d0a3
|
||||
- uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b
|
||||
|
||||
@ -66,7 +66,7 @@ GEM
|
||||
nokogiri (1.11.7)
|
||||
mini_portile2 (~> 2.5.0)
|
||||
racc (~> 1.4)
|
||||
parallel (1.20.1)
|
||||
parallel (1.21.0)
|
||||
parallel_tests (3.7.1)
|
||||
parallel
|
||||
parlour (6.0.1)
|
||||
@ -134,7 +134,7 @@ GEM
|
||||
rubocop-performance (1.11.5)
|
||||
rubocop (>= 1.7.0, < 2.0)
|
||||
rubocop-ast (>= 0.4.0)
|
||||
rubocop-rails (2.12.1)
|
||||
rubocop-rails (2.12.2)
|
||||
activesupport (>= 4.2.0)
|
||||
rack (>= 1.1)
|
||||
rubocop (>= 1.7.0, < 2.0)
|
||||
@ -154,11 +154,11 @@ GEM
|
||||
simplecov (~> 0.8)
|
||||
simplecov-html (0.12.3)
|
||||
simplecov_json_formatter (0.1.3)
|
||||
sorbet (0.5.9120)
|
||||
sorbet-static (= 0.5.9120)
|
||||
sorbet-runtime (0.5.9120)
|
||||
sorbet (0.5.9130)
|
||||
sorbet-static (= 0.5.9130)
|
||||
sorbet-runtime (0.5.9130)
|
||||
sorbet-runtime-stub (0.2.0)
|
||||
sorbet-static (0.5.9120-universal-darwin-14)
|
||||
sorbet-static (0.5.9130-universal-darwin-14)
|
||||
spoom (1.1.2)
|
||||
colorize
|
||||
sorbet (>= 0.5.6347)
|
||||
@ -177,7 +177,7 @@ GEM
|
||||
concurrent-ruby (~> 1.0)
|
||||
unf (0.1.4)
|
||||
unf_ext
|
||||
unf_ext (0.0.7.7)
|
||||
unf_ext (0.0.8)
|
||||
unicode-display_width (2.0.0)
|
||||
uri_template (0.7.0)
|
||||
warning (1.2.0)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Homebrew
|
||||
|
||||
@ -138,6 +138,12 @@ git() {
|
||||
"${HOMEBREW_LIBRARY}/Homebrew/shims/scm/git" "$@"
|
||||
}
|
||||
|
||||
# Search given executable in PATH (remove dependency for `which` command)
|
||||
which() {
|
||||
# Alias to Bash built-in command `type -P`
|
||||
type -P "$@"
|
||||
}
|
||||
|
||||
numeric() {
|
||||
# Condense the exploded argument into a single return value.
|
||||
# shellcheck disable=SC2086,SC2183
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/moved"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/abstract_uninstall"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask/artifact/abstract_uninstall"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "optparse"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Cask
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "utils/user"
|
||||
|
||||
@ -290,6 +290,9 @@ module Homebrew
|
||||
|
||||
sig { returns(T.nilable(T::Array[String])) }
|
||||
def groups; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def write_only?; end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@ -18,9 +18,13 @@ module Homebrew
|
||||
EOS
|
||||
switch "-n", "--dry-run",
|
||||
description: "Print what would be done rather than doing it."
|
||||
switch "--write-only",
|
||||
description: "Make the expected file modifications without taking any Git actions."
|
||||
flag "--message=",
|
||||
description: "Append <message> to the default commit message."
|
||||
|
||||
conflicts "--dry-run", "--write-only"
|
||||
|
||||
named_args :formula, min: 1
|
||||
end
|
||||
end
|
||||
@ -62,7 +66,7 @@ module Homebrew
|
||||
message = "#{formula.name}: revision bump #{args.message}"
|
||||
if args.dry_run?
|
||||
ohai "git commit --no-edit --verbose --message=#{message} -- #{formula.path}"
|
||||
else
|
||||
elsif !args.write_only?
|
||||
formula.path.parent.cd do
|
||||
safe_system "git", "commit", "--no-edit", "--verbose",
|
||||
"--message=#{message}", "--", formula.path
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "formula"
|
||||
|
||||
@ -28,13 +28,6 @@ def with_monkey_patch
|
||||
define_method(:parse_symbol_spec) { |*| }
|
||||
end
|
||||
|
||||
if defined?(DependencyCollector::Compat)
|
||||
DependencyCollector::Compat.class_eval do
|
||||
alias_method :old_parse_string_spec, :parse_string_spec if method_defined?(:parse_string_spec)
|
||||
define_method(:parse_string_spec) { |*| }
|
||||
end
|
||||
end
|
||||
|
||||
yield
|
||||
ensure
|
||||
BottleSpecification.class_eval do
|
||||
@ -64,15 +57,6 @@ ensure
|
||||
undef :old_parse_symbol_spec
|
||||
end
|
||||
end
|
||||
|
||||
if defined?(DependencyCollector::Compat)
|
||||
DependencyCollector::Compat.class_eval do
|
||||
if method_defined?(:old_parse_string_spec)
|
||||
alias_method :parse_string_spec, :old_parse_string_spec
|
||||
undef :old_parse_string_spec
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
module Homebrew
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Homebrew
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "extend/ENV"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
class Module
|
||||
|
||||
@ -1,21 +1,25 @@
|
||||
# typed: true
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
module OnOS
|
||||
extend T::Sig
|
||||
|
||||
# Block only executed on macOS. No-op on Linux.
|
||||
# <pre>on_macos do
|
||||
# # Do something Mac-specific
|
||||
# end</pre>
|
||||
sig { params(block: T.proc.void).void }
|
||||
def on_macos(&block)
|
||||
raise "No block content defined for 'on_macos' block" unless block
|
||||
raise "No block content defined for 'on_macos' block" unless T.unsafe(block)
|
||||
end
|
||||
|
||||
# Block only executed on Linux. No-op on macOS.
|
||||
# <pre>on_linux do
|
||||
# # Do something Linux-specific
|
||||
# end</pre>
|
||||
sig { params(block: T.proc.void).void }
|
||||
def on_linux(&block)
|
||||
raise "No block content defined for 'on_linux' block" unless block
|
||||
raise "No block content defined for 'on_linux' block" unless T.unsafe(block)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Homebrew
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Homebrew
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Homebrew
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stdenv
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Superenv
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
module OnOS
|
||||
def on_linux(&block)
|
||||
raise "No block content defined for 'on_linux' block" unless block
|
||||
raise "No block content defined for 'on_linux' block" unless T.unsafe(block)
|
||||
|
||||
yield
|
||||
end
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Language
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
module OnOS
|
||||
def on_macos(&block)
|
||||
raise "No block content defined for 'on_macos' block" unless block
|
||||
raise "No block content defined for 'on_macos' block" unless T.unsafe(block)
|
||||
|
||||
yield
|
||||
end
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
# The Library/Homebrew/extend/os/software_spec.rb conditional logic will need to be more nuanced
|
||||
@ -7,19 +7,21 @@ class SoftwareSpec
|
||||
undef uses_from_macos
|
||||
|
||||
def uses_from_macos(deps, bounds = {})
|
||||
@uses_from_macos_elements ||= []
|
||||
|
||||
if deps.is_a?(Hash)
|
||||
bounds = deps.dup
|
||||
deps = bounds.shift
|
||||
deps = [bounds.shift].to_h
|
||||
end
|
||||
|
||||
@uses_from_macos_elements << deps
|
||||
|
||||
bounds = bounds.transform_values { |v| MacOS::Version.from_symbol(v) }
|
||||
if MacOS.version >= bounds[:since] ||
|
||||
(Homebrew::EnvConfig.simulate_macos_on_linux? && !bounds.key?(:since))
|
||||
@uses_from_macos_elements << deps
|
||||
else
|
||||
depends_on deps
|
||||
end
|
||||
|
||||
# Linux simulating macOS. Assume oldest macOS version.
|
||||
return if Homebrew::EnvConfig.simulate_macos_on_linux? && !bounds.key?(:since)
|
||||
|
||||
# macOS new enough for dependency to not be required.
|
||||
return if MacOS.version >= bounds[:since]
|
||||
|
||||
depends_on deps
|
||||
end
|
||||
end
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Homebrew
|
||||
|
||||
@ -487,6 +487,9 @@ class Formula
|
||||
# Dependencies provided by macOS for the currently active {SoftwareSpec}.
|
||||
delegate uses_from_macos_elements: :active_spec
|
||||
|
||||
# Dependency names provided by macOS for the currently active {SoftwareSpec}.
|
||||
delegate uses_from_macos_names: :active_spec
|
||||
|
||||
# The {Requirement}s for the currently active {SoftwareSpec}.
|
||||
delegate requirements: :active_spec
|
||||
|
||||
@ -1903,7 +1906,6 @@ class Formula
|
||||
# @private
|
||||
def to_hash
|
||||
dependencies = deps
|
||||
uses_from_macos = uses_from_macos_elements || []
|
||||
|
||||
hsh = {
|
||||
"name" => name,
|
||||
@ -1941,7 +1943,7 @@ class Formula
|
||||
"optional_dependencies" => dependencies.select(&:optional?)
|
||||
.map(&:name)
|
||||
.uniq,
|
||||
"uses_from_macos" => uses_from_macos.uniq,
|
||||
"uses_from_macos" => uses_from_macos_elements.uniq,
|
||||
"requirements" => [],
|
||||
"conflicts_with" => conflicts.map(&:name),
|
||||
"caveats" => caveats&.gsub(HOMEBREW_PREFIX, "$(brew --prefix)"),
|
||||
|
||||
@ -264,8 +264,7 @@ module Homebrew
|
||||
next unless @core_tap
|
||||
|
||||
# we want to allow uses_from_macos for aliases but not bare dependencies
|
||||
if self.class.aliases.include?(dep.name) &&
|
||||
(spec.uses_from_macos_elements.blank? || spec.uses_from_macos_elements.exclude?(dep.name))
|
||||
if self.class.aliases.include?(dep.name) && spec.uses_from_macos_names.exclude?(dep.name)
|
||||
problem "Dependency '#{dep.name}' is an alias; use the canonical name '#{dep.to_formula.full_name}'."
|
||||
end
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "utils/curl"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "utils/github"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
require_relative "startup"
|
||||
|
||||
@ -299,6 +299,7 @@ module Homebrew
|
||||
fi
|
||||
rescue CannotInstallFormulaError => e
|
||||
ofail e.message
|
||||
nil
|
||||
rescue UnsatisfiedRequirements, DownloadError, ChecksumMismatchError => e
|
||||
ofail "#{f}: #{e}"
|
||||
nil
|
||||
@ -314,10 +315,6 @@ module Homebrew
|
||||
def install_formula(formula_installer)
|
||||
f = formula_installer.formula
|
||||
|
||||
formula_installer.check_installation_already_attempted
|
||||
|
||||
f.print_tap_action
|
||||
|
||||
upgrade = f.linked? && f.outdated? && !f.head? && !Homebrew::EnvConfig.no_install_upgrade?
|
||||
|
||||
Upgrade.install_formula(formula_installer, upgrade: upgrade)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cask_dependent"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Language
|
||||
@ -6,6 +6,9 @@ module Language
|
||||
#
|
||||
# @api public
|
||||
module Java
|
||||
extend T::Sig
|
||||
|
||||
sig { params(version: T.nilable(String)).returns(T.nilable(Formula)) }
|
||||
def self.find_openjdk_formula(version = nil)
|
||||
can_be_newer = version&.end_with?("+")
|
||||
version = version.to_i
|
||||
@ -27,19 +30,23 @@ module Language
|
||||
end
|
||||
private_class_method :find_openjdk_formula
|
||||
|
||||
sig { params(version: T.nilable(String)).returns(T.nilable(Pathname)) }
|
||||
def self.java_home(version = nil)
|
||||
find_openjdk_formula(version)&.opt_libexec
|
||||
end
|
||||
|
||||
sig { params(version: T.nilable(String)).returns(String) }
|
||||
def self.java_home_shell(version = nil)
|
||||
java_home(version).to_s
|
||||
end
|
||||
private_class_method :java_home_shell
|
||||
|
||||
sig { params(version: T.nilable(String)).returns({ JAVA_HOME: String }) }
|
||||
def self.java_home_env(version = nil)
|
||||
{ JAVA_HOME: java_home_shell(version) }
|
||||
end
|
||||
|
||||
sig { params(version: T.nilable(String)).returns({ JAVA_HOME: String }) }
|
||||
def self.overridable_java_home_env(version = nil)
|
||||
{ JAVA_HOME: "${JAVA_HOME:-#{java_home_shell(version)}}" }
|
||||
end
|
||||
|
||||
@ -11,10 +11,10 @@ module Language
|
||||
module_function
|
||||
|
||||
def detected_perl_shebang(formula = self)
|
||||
perl_path = if formula.uses_from_macos_elements&.include? "perl"
|
||||
"/usr/bin/perl#{MacOS.preferred_perl_version}"
|
||||
elsif formula.deps.map(&:name).include? "perl"
|
||||
perl_path = if formula.deps.map(&:name).include? "perl"
|
||||
Formula["perl"].opt_bin/"perl"
|
||||
elsif formula.uses_from_macos_names.include? "perl"
|
||||
"/usr/bin/perl#{MacOS.preferred_perl_version}"
|
||||
else
|
||||
raise ShebangDetectionError.new("Perl", "formula does not depend on Perl")
|
||||
end
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Homebrew
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "lock_file"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "formulary"
|
||||
|
||||
@ -40,11 +40,11 @@ module OS
|
||||
raise "Loaded OS::Linux on generic OS!" if ENV["HOMEBREW_TEST_GENERIC_OS"]
|
||||
|
||||
def version
|
||||
Version::NULL
|
||||
::Version::NULL
|
||||
end
|
||||
|
||||
def full_version
|
||||
Version::NULL
|
||||
::Version::NULL
|
||||
end
|
||||
|
||||
def languages
|
||||
@ -71,7 +71,7 @@ module OS
|
||||
module_function
|
||||
|
||||
def version
|
||||
Version::NULL
|
||||
::Version::NULL
|
||||
end
|
||||
|
||||
def installed?
|
||||
@ -83,7 +83,7 @@ module OS
|
||||
module_function
|
||||
|
||||
def version
|
||||
Version::NULL
|
||||
::Version::NULL
|
||||
end
|
||||
|
||||
def installed?
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Helper functions for generating release notes.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "rubocops/extend/formula"
|
||||
|
||||
@ -394,6 +394,12 @@ module RuboCop
|
||||
end
|
||||
end
|
||||
|
||||
# Don't restrict OS.mac? or OS.linux? usage in taps; they don't care
|
||||
# as much as we do about e.g. formulae.brew.sh generation, often use
|
||||
# platform-specific URLs and we don't want to add DSLs to support
|
||||
# that case.
|
||||
next if formula_tap != "homebrew-core"
|
||||
|
||||
find_instance_method_call(body_node, "OS", if_method_name) do |method|
|
||||
valid = T.let(false, T::Boolean)
|
||||
method.each_ancestor do |ancestor|
|
||||
|
||||
@ -81,11 +81,9 @@ module RuboCop
|
||||
groff
|
||||
gzip
|
||||
openssl
|
||||
openssl@1.1
|
||||
perl
|
||||
php
|
||||
python
|
||||
python@3
|
||||
rsync
|
||||
vim
|
||||
xz
|
||||
|
||||
1
Library/Homebrew/shims/linux/super/swift
Symbolic link
1
Library/Homebrew/shims/linux/super/swift
Symbolic link
@ -0,0 +1 @@
|
||||
../../super/swift
|
||||
1
Library/Homebrew/shims/linux/super/swiftc
Symbolic link
1
Library/Homebrew/shims/linux/super/swiftc
Symbolic link
@ -0,0 +1 @@
|
||||
swift
|
||||
@ -12,5 +12,5 @@ then
|
||||
export SDKROOT="${HOMEBREW_SDKROOT}"
|
||||
fi
|
||||
|
||||
try_exec_non_system "swift" "$@"
|
||||
safe_exec "/usr/bin/swift" "$@"
|
||||
try_exec_non_system "${SHIM_FILE}" "$@"
|
||||
safe_exec "/usr/bin/${SHIM_FILE}" "$@"
|
||||
|
||||
1
Library/Homebrew/shims/mac/super/swiftc
Symbolic link
1
Library/Homebrew/shims/mac/super/swiftc
Symbolic link
@ -0,0 +1 @@
|
||||
swift
|
||||
@ -79,6 +79,8 @@ class Cmd
|
||||
"#{ENV["HOMEBREW_PREFIX"]}/opt/llvm/bin/#{Regexp.last_match(1)}"
|
||||
when /\w\+\+(-\d+(\.\d)?)?$/
|
||||
case ENV["HOMEBREW_CC"]
|
||||
when "swift_clang"
|
||||
"#{ENV["HOMEBREW_PREFIX"]}/opt/swift/libexec/bin/clang++"
|
||||
when /clang/
|
||||
"clang++"
|
||||
when /llvm-gcc/
|
||||
@ -91,6 +93,8 @@ class Cmd
|
||||
# HOMEBREW_CC regardless of what name under which the tool was invoked.
|
||||
if ENV["HOMEBREW_CC"] == "llvm_clang"
|
||||
"#{ENV["HOMEBREW_PREFIX"]}/opt/llvm/bin/clang"
|
||||
elsif ENV["HOMEBREW_CC"] == "swift_clang"
|
||||
"#{ENV["HOMEBREW_PREFIX"]}/opt/swift/libexec/bin/clang"
|
||||
else
|
||||
ENV["HOMEBREW_CC"]
|
||||
end
|
||||
|
||||
15
Library/Homebrew/shims/super/swift
Executable file
15
Library/Homebrew/shims/super/swift
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Ensure we use Swift's clang when performing Swift builds.
|
||||
|
||||
export CC="clang"
|
||||
export CXX="clang++"
|
||||
|
||||
# swift_clang isn't a shim but is used to ensure the cc shim
|
||||
# points to the compiler inside the swift keg
|
||||
export HOMEBREW_CC="swift_clang"
|
||||
export HOMEBREW_CXX="swift_clang++"
|
||||
|
||||
# HOMEBREW_OPT is set by extend/ENV/super.rb
|
||||
# shellcheck disable=SC2154
|
||||
exec "${HOMEBREW_OPT}/swift/bin/${0##*/}" "$@"
|
||||
1
Library/Homebrew/shims/super/swiftc
Symbolic link
1
Library/Homebrew/shims/super/swiftc
Symbolic link
@ -0,0 +1 @@
|
||||
swift
|
||||
@ -1,4 +1,4 @@
|
||||
# typed: false
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "resource"
|
||||
@ -47,6 +47,7 @@ class SoftwareSpec
|
||||
@deprecated_options = []
|
||||
@build = BuildOptions.new(Options.create(@flags), options)
|
||||
@compiler_failures = []
|
||||
@uses_from_macos_elements = []
|
||||
@bottle_disable_reason = nil
|
||||
end
|
||||
|
||||
@ -178,10 +179,17 @@ class SoftwareSpec
|
||||
end
|
||||
|
||||
def uses_from_macos(spec, _bounds = {})
|
||||
spec = spec.dup.shift if spec.is_a?(Hash)
|
||||
spec = [spec.dup.shift].to_h if spec.is_a?(Hash)
|
||||
|
||||
@uses_from_macos_elements << spec
|
||||
|
||||
depends_on(spec)
|
||||
end
|
||||
|
||||
def uses_from_macos_names
|
||||
uses_from_macos_elements.flat_map { |e| e.is_a?(Hash) ? e.keys : e }
|
||||
end
|
||||
|
||||
def deps
|
||||
dependency_collector.deps
|
||||
end
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
@ -27,7 +27,7 @@ module Parallel
|
||||
def create_workers(job_factory, options, &block); end
|
||||
def extract_count_from_options(options); end
|
||||
def process_incoming_jobs(read, write, job_factory, options, &block); end
|
||||
def replace_worker(job_factory, workers, i, options, blk); end
|
||||
def replace_worker(job_factory, workers, index, options, blk); end
|
||||
def with_instrumentation(item, index, options); end
|
||||
def work_direct(job_factory, options, &block); end
|
||||
def work_in_processes(job_factory, options, &blk); 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
|
||||
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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
@ -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)
|
||||
|
||||
@ -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
@ -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)
|
||||
|
||||
@ -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
@ -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
|
||||
|
||||
|
||||
@ -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
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user