Merge branch 'master' into install-size
This commit is contained in:
commit
c575566928
@ -17,7 +17,7 @@ GEM
|
||||
erubi (1.13.1)
|
||||
hana (1.3.7)
|
||||
json (2.9.1)
|
||||
json_schemer (2.3.0)
|
||||
json_schemer (2.4.0)
|
||||
bigdecimal
|
||||
hana (~> 1.3)
|
||||
regexp_parser (~> 2.0)
|
||||
@ -32,7 +32,7 @@ GEM
|
||||
parallel (1.26.3)
|
||||
parallel_tests (4.9.0)
|
||||
parallel
|
||||
parser (3.3.7.0)
|
||||
parser (3.3.7.1)
|
||||
ast (~> 2.4.1)
|
||||
racc
|
||||
patchelf (1.5.1)
|
||||
@ -74,7 +74,7 @@ GEM
|
||||
rspec-support (3.13.2)
|
||||
rspec_junit_formatter (0.6.0)
|
||||
rspec-core (>= 2, < 4, != 2.12.0)
|
||||
rubocop (1.71.1)
|
||||
rubocop (1.71.2)
|
||||
json (~> 2.3)
|
||||
language_server-protocol (>= 3.17.0)
|
||||
parallel (~> 1.10)
|
||||
@ -113,15 +113,15 @@ GEM
|
||||
simplecov-html (0.13.1)
|
||||
simplecov_json_formatter (0.1.4)
|
||||
simpleidn (0.2.3)
|
||||
sorbet (0.5.11796)
|
||||
sorbet-static (= 0.5.11796)
|
||||
sorbet-runtime (0.5.11796)
|
||||
sorbet-static (0.5.11796-aarch64-linux)
|
||||
sorbet-static (0.5.11796-universal-darwin)
|
||||
sorbet-static (0.5.11796-x86_64-linux)
|
||||
sorbet-static-and-runtime (0.5.11796)
|
||||
sorbet (= 0.5.11796)
|
||||
sorbet-runtime (= 0.5.11796)
|
||||
sorbet (0.5.11802)
|
||||
sorbet-static (= 0.5.11802)
|
||||
sorbet-runtime (0.5.11802)
|
||||
sorbet-static (0.5.11802-aarch64-linux)
|
||||
sorbet-static (0.5.11802-universal-darwin)
|
||||
sorbet-static (0.5.11802-x86_64-linux)
|
||||
sorbet-static-and-runtime (0.5.11802)
|
||||
sorbet (= 0.5.11802)
|
||||
sorbet-runtime (= 0.5.11802)
|
||||
spoom (1.5.3)
|
||||
erubi (>= 1.10.0)
|
||||
prism (>= 0.28.0)
|
||||
@ -129,7 +129,7 @@ GEM
|
||||
sorbet-static-and-runtime (>= 0.5.10187)
|
||||
thor (>= 0.19.2)
|
||||
stackprof (0.2.27)
|
||||
tapioca (0.16.8)
|
||||
tapioca (0.16.9)
|
||||
benchmark
|
||||
bundler (>= 2.2.25)
|
||||
netrc (>= 0.11.0)
|
||||
|
||||
@ -32,7 +32,7 @@ module Homebrew
|
||||
switch "--full-name",
|
||||
description: "List dependencies by their full name."
|
||||
switch "--include-implicit",
|
||||
description: "Include implicit dependencies used to download and unpack source files"
|
||||
description: "Include implicit dependencies used to download and unpack source files."
|
||||
switch "--include-build",
|
||||
description: "Include `:build` dependencies for <formula>."
|
||||
switch "--include-optional",
|
||||
|
||||
@ -38,8 +38,8 @@ module Homebrew
|
||||
description: "Evaluate all available formulae and casks, whether installed or not, to show " \
|
||||
"their dependents."
|
||||
switch "--include-implicit",
|
||||
description: "Include formulae that have <formula> as an implicit dependency to " \
|
||||
"download and unpack source files"
|
||||
description: "Include formulae that have <formula> as an implicit dependency for " \
|
||||
"downloading and unpacking source files."
|
||||
switch "--include-build",
|
||||
description: "Include formulae that specify <formula> as a `:build` dependency."
|
||||
switch "--include-test",
|
||||
|
||||
@ -24,9 +24,9 @@ module Homebrew
|
||||
class Audit < AbstractCommand
|
||||
cmd_args do
|
||||
description <<~EOS
|
||||
Check <formula> for Homebrew coding style violations. This should be run before
|
||||
submitting a new formula or cask. If no <formula>|<cask> are provided, check all
|
||||
locally available formulae and casks and skip style checks. Will exit with a
|
||||
Check <formula> or <cask> for Homebrew coding style violations. This should be run
|
||||
before submitting a new formula or cask. If no <formula> or <cask> are provided, check
|
||||
all locally available formulae and casks and skip style checks. Will exit with a
|
||||
non-zero status if any errors are found.
|
||||
EOS
|
||||
flag "--os=",
|
||||
@ -57,11 +57,11 @@ module Homebrew
|
||||
disable: true,
|
||||
hidden: true
|
||||
switch "--[no-]signing",
|
||||
description: "Audit for signed apps, which are required on ARM"
|
||||
description: "Audit for app signatures, which are required by macOS on ARM."
|
||||
switch "--token-conflicts",
|
||||
description: "Audit for token conflicts."
|
||||
flag "--tap=",
|
||||
description: "Check the formulae within the given tap, specified as <user>`/`<repo>."
|
||||
description: "Check formulae and casks within the given tap, specified as <user>`/`<repo>."
|
||||
switch "--fix",
|
||||
description: "Fix style violations automatically using RuboCop's auto-correct feature."
|
||||
switch "--display-cop-names",
|
||||
|
||||
@ -34,11 +34,11 @@ module Homebrew
|
||||
switch "--cask", "--casks",
|
||||
description: "Treat all named arguments as cask tokens."
|
||||
switch "--skip-install",
|
||||
description: "Skip installing casks"
|
||||
description: "Skip installing casks."
|
||||
switch "--new",
|
||||
description: "Run new cask checks"
|
||||
description: "Run new cask checks."
|
||||
switch "--syntax-only",
|
||||
description: "Only run syntax checks"
|
||||
description: "Only run syntax checks."
|
||||
|
||||
conflicts "--url", "--cask"
|
||||
conflicts "--syntax-only", "--skip-install"
|
||||
|
||||
@ -15,6 +15,9 @@ module Homebrew
|
||||
description: "Print the updated resource blocks instead of changing <formula>."
|
||||
switch "-s", "--silent",
|
||||
description: "Suppress any output."
|
||||
switch "--ignore-errors",
|
||||
description: "Record all discovered resources, even those that can't be resolved successfully. " \
|
||||
"This option is ignored for homebrew/core formulae."
|
||||
switch "--ignore-non-pypi-packages",
|
||||
description: "Don't fail if <formula> is not a PyPI package."
|
||||
switch "--install-dependencies",
|
||||
@ -36,6 +39,11 @@ module Homebrew
|
||||
sig { override.void }
|
||||
def run
|
||||
args.named.to_formulae.each do |formula|
|
||||
ignore_errors = if T.must(formula.tap).name == "homebrew/core"
|
||||
false
|
||||
else
|
||||
args.ignore_errors?
|
||||
end
|
||||
PyPI.update_python_resources! formula,
|
||||
version: args.version,
|
||||
package_name: args.package_name,
|
||||
@ -45,6 +53,7 @@ module Homebrew
|
||||
print_only: args.print_only?,
|
||||
silent: args.silent?,
|
||||
verbose: args.verbose?,
|
||||
ignore_errors: ignore_errors,
|
||||
ignore_non_pypi_packages: args.ignore_non_pypi_packages?
|
||||
end
|
||||
end
|
||||
|
||||
@ -43,8 +43,8 @@ module Homebrew
|
||||
"`http://localhost:8080/v2/homebrew/core/gettext/manifests/0.21`",
|
||||
},
|
||||
HOMEBREW_ARTIFACT_DOMAIN_NO_FALLBACK: {
|
||||
description: "If `$HOMEBREW_ARTIFACT_DOMAIN` and `$HOMEBREW_ARTIFACT_DOMAIN_NO_FALLBACK` are both set, " \
|
||||
"if the request to `$HOMEBREW_ARTIFACT_DOMAIN` fails then it Homebrew will error rather than " \
|
||||
description: "When `$HOMEBREW_ARTIFACT_DOMAIN` and `$HOMEBREW_ARTIFACT_DOMAIN_NO_FALLBACK` are both set, " \
|
||||
"if the request to `$HOMEBREW_ARTIFACT_DOMAIN` fails then Homebrew will error rather than " \
|
||||
"trying any other/default URLs.",
|
||||
boolean: true,
|
||||
},
|
||||
@ -426,7 +426,7 @@ module Homebrew
|
||||
boolean: true,
|
||||
},
|
||||
HOMEBREW_NO_VERIFY_ATTESTATIONS: {
|
||||
description: "If set, Homebrew not verify cryptographic attestations of build provenance for bottles " \
|
||||
description: "If set, Homebrew will not verify cryptographic attestations of build provenance for bottles " \
|
||||
"from homebrew-core.",
|
||||
boolean: true,
|
||||
},
|
||||
|
||||
@ -97,6 +97,14 @@ module Homebrew
|
||||
path
|
||||
end
|
||||
|
||||
sig { params(name: String).returns(String) }
|
||||
def latest_versioned_formula(name)
|
||||
name_prefix = "#{name}@"
|
||||
Tap.fetch("homebrew/core").formula_names
|
||||
.select { |f| f.start_with?(name_prefix) }
|
||||
.max_by { |v| Gem::Version.new(v.sub(name_prefix, "")) } || "python"
|
||||
end
|
||||
|
||||
sig { returns(String) }
|
||||
def template
|
||||
# FIXME: https://github.com/errata-ai/vale/issues/818
|
||||
@ -138,7 +146,7 @@ module Homebrew
|
||||
<% elsif @mode == :perl %>
|
||||
uses_from_macos "perl"
|
||||
<% elsif @mode == :python %>
|
||||
depends_on "python@x.y"
|
||||
depends_on "#{latest_versioned_formula("python")}"
|
||||
<% elsif @mode == :ruby %>
|
||||
uses_from_macos "ruby"
|
||||
<% elsif @mode == :rust %>
|
||||
|
||||
@ -48,7 +48,7 @@ module OS
|
||||
# See Linux-CI.md
|
||||
LINUX_CI_OS_VERSION = "Ubuntu 22.04"
|
||||
LINUX_GLIBC_CI_VERSION = "2.35"
|
||||
LINUX_GLIBC_NEXT_CI_VERSION = "2.35"
|
||||
LINUX_GLIBC_NEXT_CI_VERSION = "2.39"
|
||||
LINUX_GCC_CI_VERSION = "11.0"
|
||||
LINUX_PREFERRED_GCC_COMPILER_FORMULA = "gcc@11" # https://packages.ubuntu.com/jammy/gcc
|
||||
LINUX_PREFERRED_GCC_RUNTIME_FORMULA = "gcc"
|
||||
|
||||
@ -17,6 +17,9 @@ class Homebrew::DevCmd::UpdatePythonResources::Args < Homebrew::CLI::Args
|
||||
sig { returns(T.nilable(T::Array[String])) }
|
||||
def extra_packages; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def ignore_errors?; end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def ignore_non_pypi_packages?; end
|
||||
|
||||
|
||||
@ -11,61 +11,61 @@
|
||||
# source://json_schemer//lib/json_schemer/version.rb#2
|
||||
module JSONSchemer
|
||||
class << self
|
||||
# source://json_schemer//lib/json_schemer.rb#234
|
||||
# source://json_schemer//lib/json_schemer.rb#240
|
||||
def configuration; end
|
||||
|
||||
# @yield [configuration]
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer.rb#238
|
||||
# source://json_schemer//lib/json_schemer.rb#244
|
||||
def configure; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#142
|
||||
# source://json_schemer//lib/json_schemer.rb#148
|
||||
def draft201909; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#130
|
||||
# source://json_schemer//lib/json_schemer.rb#136
|
||||
def draft202012; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#178
|
||||
# source://json_schemer//lib/json_schemer.rb#184
|
||||
def draft4; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#166
|
||||
# source://json_schemer//lib/json_schemer.rb#172
|
||||
def draft6; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#154
|
||||
# source://json_schemer//lib/json_schemer.rb#160
|
||||
def draft7; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#230
|
||||
# source://json_schemer//lib/json_schemer.rb#236
|
||||
def openapi(document, **options); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#200
|
||||
# source://json_schemer//lib/json_schemer.rb#206
|
||||
def openapi30; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#222
|
||||
# source://json_schemer//lib/json_schemer.rb#228
|
||||
def openapi30_document; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#190
|
||||
# source://json_schemer//lib/json_schemer.rb#196
|
||||
def openapi31; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#214
|
||||
# source://json_schemer//lib/json_schemer.rb#220
|
||||
def openapi31_document; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#115
|
||||
# source://json_schemer//lib/json_schemer.rb#121
|
||||
def schema(schema, **options); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer.rb#120
|
||||
# source://json_schemer//lib/json_schemer.rb#126
|
||||
def valid_schema?(schema, **options); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#125
|
||||
# source://json_schemer//lib/json_schemer.rb#131
|
||||
def validate_schema(schema, **options); end
|
||||
|
||||
private
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#263
|
||||
# source://json_schemer//lib/json_schemer.rb#269
|
||||
def meta_schema(schema, options); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#244
|
||||
# source://json_schemer//lib/json_schemer.rb#250
|
||||
def resolve(schema, options); end
|
||||
end
|
||||
end
|
||||
@ -946,191 +946,198 @@ JSONSchemer::Draft202012::Vocab::VALIDATION = T.let(T.unsafe(nil), Hash)
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#5
|
||||
module JSONSchemer::Draft202012::Vocab::Validation; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#71
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#75
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::Const < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#72
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#76
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#80
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#264
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#268
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::DependentRequired < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#265
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#269
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#273
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#61
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#65
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::Enum < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#62
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#66
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#70
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#101
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#105
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::ExclusiveMaximum < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#102
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#106
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#110
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#121
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#125
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::ExclusiveMinimum < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#122
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#126
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#130
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#195
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#199
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::MaxContains < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#196
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#200
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#204
|
||||
def validate(instance, instance_location, keyword_location, context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#165
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#169
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::MaxItems < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#166
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#170
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#174
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#131
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#135
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::MaxLength < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#132
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#136
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#140
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#219
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#223
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::MaxProperties < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#220
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#224
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#228
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#91
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#95
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::Maximum < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#92
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#96
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#96
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#100
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#207
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#211
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::MinContains < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#208
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#212
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#212
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#216
|
||||
def validate(instance, instance_location, keyword_location, context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#175
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#179
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::MinItems < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#176
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#180
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#184
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#141
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#145
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::MinLength < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#142
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#146
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#150
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#229
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#233
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::MinProperties < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#230
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#234
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#238
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#111
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#115
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::Minimum < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#112
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#116
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#120
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#81
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#85
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::MultipleOf < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#82
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#86
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#86
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#90
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#151
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#155
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::Pattern < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#152
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#156
|
||||
def parse; end
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#160
|
||||
def parse; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#164
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#239
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#243
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::Required < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#240
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#244
|
||||
def error(formatted_instance_location:, details:, **_arg2); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#244
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#248
|
||||
def validate(instance, instance_location, keyword_location, context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#6
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::Type < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#7
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#11
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#28
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#32
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
|
||||
private
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#39
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#43
|
||||
def valid_type(type, instance); end
|
||||
|
||||
class << self
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#7
|
||||
def valid_integer?(instance); end
|
||||
end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#185
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#189
|
||||
class JSONSchemer::Draft202012::Vocab::Validation::UniqueItems < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#186
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#190
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#190
|
||||
# source://json_schemer//lib/json_schemer/draft202012/vocab/validation.rb#194
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
@ -1161,30 +1168,32 @@ JSONSchemer::Draft4::Vocab::ALL = T.let(T.unsafe(nil), Hash)
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#5
|
||||
module JSONSchemer::Draft4::Vocab::Validation; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#13
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#12
|
||||
class JSONSchemer::Draft4::Vocab::Validation::ExclusiveMaximum < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#14
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#13
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#18
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#17
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#25
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#24
|
||||
class JSONSchemer::Draft4::Vocab::Validation::ExclusiveMinimum < ::JSONSchemer::Keyword
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#26
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#25
|
||||
def error(formatted_instance_location:, **_arg1); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#30
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#29
|
||||
def validate(instance, instance_location, keyword_location, _context); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#6
|
||||
class JSONSchemer::Draft4::Vocab::Validation::Type < ::JSONSchemer::Draft202012::Vocab::Validation::Type
|
||||
private
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#8
|
||||
def valid_type(type, instance); end
|
||||
class << self
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/draft4/vocab/validation.rb#7
|
||||
def valid_integer?(instance); end
|
||||
end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/draft6/meta.rb#3
|
||||
@ -1306,7 +1315,9 @@ module JSONSchemer::Errors
|
||||
end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#106
|
||||
# :nocov:
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer.rb#112
|
||||
JSONSchemer::FILE_URI_REF_RESOLVER = T.let(T.unsafe(nil), Proc)
|
||||
|
||||
# source://json_schemer//lib/json_schemer/format/duration.rb#3
|
||||
@ -1821,19 +1832,19 @@ JSONSchemer::I18N_SCOPE = T.let(T.unsafe(nil), String)
|
||||
# source://json_schemer//lib/json_schemer/result.rb#4
|
||||
JSONSchemer::I18N_SEPARATOR = T.let(T.unsafe(nil), String)
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#76
|
||||
# source://json_schemer//lib/json_schemer.rb#78
|
||||
class JSONSchemer::InvalidEcmaRegexp < ::StandardError; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#75
|
||||
# source://json_schemer//lib/json_schemer.rb#77
|
||||
class JSONSchemer::InvalidFileURI < ::StandardError; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#73
|
||||
# source://json_schemer//lib/json_schemer.rb#75
|
||||
class JSONSchemer::InvalidRefPointer < ::StandardError; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#72
|
||||
# source://json_schemer//lib/json_schemer.rb#74
|
||||
class JSONSchemer::InvalidRefResolution < ::StandardError; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#74
|
||||
# source://json_schemer//lib/json_schemer.rb#76
|
||||
class JSONSchemer::InvalidRegexpResolution < ::StandardError; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/keyword.rb#3
|
||||
@ -1915,10 +1926,10 @@ JSONSchemer::Location::JSON_POINTER_TOKEN_ESCAPE_CHARS = T.let(T.unsafe(nil), Ha
|
||||
# source://json_schemer//lib/json_schemer/location.rb#5
|
||||
JSONSchemer::Location::JSON_POINTER_TOKEN_ESCAPE_REGEX = T.let(T.unsafe(nil), Regexp)
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#285
|
||||
# source://json_schemer//lib/json_schemer.rb#291
|
||||
JSONSchemer::META_SCHEMAS_BY_BASE_URI_STR = T.let(T.unsafe(nil), Hash)
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#273
|
||||
# source://json_schemer//lib/json_schemer.rb#279
|
||||
JSONSchemer::META_SCHEMA_CALLABLES_BY_BASE_URI_STR = T.let(T.unsafe(nil), Hash)
|
||||
|
||||
# source://json_schemer//lib/json_schemer/openapi.rb#3
|
||||
@ -1963,13 +1974,13 @@ JSONSchemer::OpenAPI30::Document::SCHEMAS = T.let(T.unsafe(nil), Hash)
|
||||
# source://json_schemer//lib/json_schemer/openapi30/meta.rb#6
|
||||
JSONSchemer::OpenAPI30::FORMATS = T.let(T.unsafe(nil), Hash)
|
||||
|
||||
# source://json_schemer//lib/json_schemer/openapi30/meta.rb#25
|
||||
# source://json_schemer//lib/json_schemer/openapi30/meta.rb#27
|
||||
module JSONSchemer::OpenAPI30::Meta; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/openapi30/meta.rb#26
|
||||
# source://json_schemer//lib/json_schemer/openapi30/meta.rb#28
|
||||
JSONSchemer::OpenAPI30::Meta::SCHEMAS = T.let(T.unsafe(nil), Hash)
|
||||
|
||||
# source://json_schemer//lib/json_schemer/openapi30/meta.rb#11
|
||||
# source://json_schemer//lib/json_schemer/openapi30/meta.rb#13
|
||||
JSONSchemer::OpenAPI30::SCHEMA = T.let(T.unsafe(nil), Hash)
|
||||
|
||||
# source://json_schemer//lib/json_schemer/openapi30/vocab/base.rb#4
|
||||
@ -2154,6 +2165,28 @@ end
|
||||
# source://json_schemer//lib/json_schemer/output.rb#4
|
||||
JSONSchemer::Output::FRAGMENT_ENCODE_REGEX = T.let(T.unsafe(nil), Regexp)
|
||||
|
||||
# source://json_schemer//lib/json_schemer/resources.rb#3
|
||||
class JSONSchemer::Resources
|
||||
# @return [Resources] a new instance of Resources
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/resources.rb#4
|
||||
def initialize; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/resources.rb#8
|
||||
def [](uri); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/resources.rb#12
|
||||
def []=(uri, resource); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/resources.rb#16
|
||||
def fetch(uri); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/resources.rb#20
|
||||
def key?(uri); end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/result.rb#12
|
||||
class JSONSchemer::Result < ::Struct
|
||||
# Returns the value of attribute annotation
|
||||
@ -2332,217 +2365,200 @@ end
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#3
|
||||
class JSONSchemer::Schema
|
||||
include ::JSONSchemer::Output
|
||||
extend ::Forwardable
|
||||
|
||||
# @return [Schema] a new instance of Schema
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#49
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#51
|
||||
def initialize(value, parent = T.unsafe(nil), root = T.unsafe(nil), keyword = T.unsafe(nil), configuration: T.unsafe(nil), base_uri: T.unsafe(nil), meta_schema: T.unsafe(nil), vocabulary: T.unsafe(nil), format: T.unsafe(nil), formats: T.unsafe(nil), content_encodings: T.unsafe(nil), content_media_types: T.unsafe(nil), keywords: T.unsafe(nil), before_property_validation: T.unsafe(nil), after_property_validation: T.unsafe(nil), insert_property_defaults: T.unsafe(nil), property_default_resolver: T.unsafe(nil), ref_resolver: T.unsafe(nil), regexp_resolver: T.unsafe(nil), output_format: T.unsafe(nil), resolve_enumerators: T.unsafe(nil), access_mode: T.unsafe(nil)); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#267
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#272
|
||||
def absolute_keyword_location; end
|
||||
|
||||
# Returns the value of attribute after_property_validation.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#47
|
||||
def after_property_validation; end
|
||||
# source://forwardable/1.3.3/forwardable.rb#231
|
||||
def after_property_validation(*args, **_arg1, &block); end
|
||||
|
||||
# Returns the value of attribute base_uri.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#45
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#46
|
||||
def base_uri; end
|
||||
|
||||
# Sets the attribute base_uri
|
||||
#
|
||||
# @param value the value to set the attribute base_uri to.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#45
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#46
|
||||
def base_uri=(_arg0); end
|
||||
|
||||
# Returns the value of attribute before_property_validation.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#47
|
||||
def before_property_validation; end
|
||||
# source://forwardable/1.3.3/forwardable.rb#231
|
||||
def before_property_validation(*args, **_arg1, &block); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#218
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#223
|
||||
def bundle; end
|
||||
|
||||
# Returns the value of attribute configuration.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#46
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#47
|
||||
def configuration; end
|
||||
|
||||
# Returns the value of attribute content_encodings.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#47
|
||||
def content_encodings; end
|
||||
# source://forwardable/1.3.3/forwardable.rb#231
|
||||
def content_encodings(*args, **_arg1, &block); end
|
||||
|
||||
# Returns the value of attribute content_media_types.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#47
|
||||
def content_media_types; end
|
||||
# source://forwardable/1.3.3/forwardable.rb#231
|
||||
def content_media_types(*args, **_arg1, &block); end
|
||||
|
||||
# Returns the value of attribute custom_keywords.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#47
|
||||
def custom_keywords; end
|
||||
# source://forwardable/1.3.3/forwardable.rb#231
|
||||
def custom_keywords(*args, **_arg1, &block); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#326
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#331
|
||||
def defs_keyword; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#334
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#339
|
||||
def error(formatted_instance_location:, **options); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#290
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#295
|
||||
def error_key; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#294
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#299
|
||||
def fetch(key); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#306
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#311
|
||||
def fetch_content_encoding(content_encoding, *args, &block); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#314
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#319
|
||||
def fetch_content_media_type(content_media_type, *args, &block); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#298
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#303
|
||||
def fetch_format(format, *args, &block); end
|
||||
|
||||
# Returns the value of attribute format.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#47
|
||||
def format; end
|
||||
# source://forwardable/1.3.3/forwardable.rb#231
|
||||
def format(*args, **_arg1, &block); end
|
||||
|
||||
# Returns the value of attribute formats.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#47
|
||||
def formats; end
|
||||
# source://forwardable/1.3.3/forwardable.rb#231
|
||||
def formats(*args, **_arg1, &block); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#322
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#327
|
||||
def id_keyword; end
|
||||
|
||||
# Returns the value of attribute insert_property_defaults.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#47
|
||||
def insert_property_defaults; end
|
||||
# source://forwardable/1.3.3/forwardable.rb#231
|
||||
def insert_property_defaults(*args, **_arg1, &block); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#357
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#362
|
||||
def inspect; end
|
||||
|
||||
# Returns the value of attribute keyword_order.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#45
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#46
|
||||
def keyword_order; end
|
||||
|
||||
# Sets the attribute keyword_order
|
||||
#
|
||||
# @param value the value to set the attribute keyword_order to.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#45
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#46
|
||||
def keyword_order=(_arg0); end
|
||||
|
||||
# Returns the value of attribute keywords.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#45
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#46
|
||||
def keywords; end
|
||||
|
||||
# Sets the attribute keywords
|
||||
#
|
||||
# @param value the value to set the attribute keywords to.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#45
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#46
|
||||
def keywords=(_arg0); end
|
||||
|
||||
# Returns the value of attribute meta_schema.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#45
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#46
|
||||
def meta_schema; end
|
||||
|
||||
# Sets the attribute meta_schema
|
||||
#
|
||||
# @param value the value to set the attribute meta_schema to.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#45
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#46
|
||||
def meta_schema=(_arg0); end
|
||||
|
||||
# Returns the value of attribute parent.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#46
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#47
|
||||
def parent; end
|
||||
|
||||
# Returns the value of attribute parsed.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#46
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#47
|
||||
def parsed; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#123
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#128
|
||||
def ref(value); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#342
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#347
|
||||
def ref_resolver; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#346
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#351
|
||||
def regexp_resolver; end
|
||||
|
||||
# @raise [InvalidRefPointer]
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#170
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#175
|
||||
def resolve_ref(uri); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#214
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#219
|
||||
def resolve_regexp(pattern); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#330
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#335
|
||||
def resources; end
|
||||
|
||||
# Returns the value of attribute root.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#46
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#47
|
||||
def root; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#280
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#285
|
||||
def schema_pointer; end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#99
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#104
|
||||
def valid?(instance, **options); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#115
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#120
|
||||
def valid_schema?(**options); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#103
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#108
|
||||
def validate(instance, output_format: T.unsafe(nil), resolve_enumerators: T.unsafe(nil), access_mode: T.unsafe(nil)); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#127
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#132
|
||||
def validate_instance(instance, instance_location, keyword_location, context); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#119
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#124
|
||||
def validate_schema(**options); end
|
||||
|
||||
# Returns the value of attribute value.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#46
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#47
|
||||
def value; end
|
||||
|
||||
# Returns the value of attribute vocabulary.
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#47
|
||||
def vocabulary; end
|
||||
# source://forwardable/1.3.3/forwardable.rb#231
|
||||
def vocabulary(*args, **_arg1, &block); end
|
||||
|
||||
private
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#363
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#368
|
||||
def parse; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#409
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#414
|
||||
def property_default_resolver; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#413
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#422
|
||||
def resolve_enumerators!(output); end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#405
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#410
|
||||
def root_keyword_location; end
|
||||
end
|
||||
|
||||
@ -2615,70 +2631,75 @@ class JSONSchemer::Schema::Context < ::Struct
|
||||
end
|
||||
end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#31
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#32
|
||||
JSONSchemer::Schema::DEFAULT_PROPERTY_DEFAULT_RESOLVER = T.let(T.unsafe(nil), Proc)
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#29
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#30
|
||||
JSONSchemer::Schema::ECMA_REGEXP_RESOLVER = T.let(T.unsafe(nil), Proc)
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#22
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#23
|
||||
JSONSchemer::Schema::ID_KEYWORD_CLASS = JSONSchemer::Draft202012::Vocab::Core::Id
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#27
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#28
|
||||
JSONSchemer::Schema::NET_HTTP_REF_RESOLVER = T.let(T.unsafe(nil), Proc)
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#24
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#25
|
||||
JSONSchemer::Schema::NOT_KEYWORD_CLASS = JSONSchemer::Draft202012::Vocab::Applicator::Not
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#25
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#26
|
||||
JSONSchemer::Schema::PROPERTIES_KEYWORD_CLASS = JSONSchemer::Draft202012::Vocab::Applicator::Properties
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#28
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#29
|
||||
JSONSchemer::Schema::RUBY_REGEXP_RESOLVER = T.let(T.unsafe(nil), Proc)
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#20
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#21
|
||||
JSONSchemer::Schema::SCHEMA_KEYWORD_CLASS = JSONSchemer::Draft202012::Vocab::Core::Schema
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#41
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#42
|
||||
JSONSchemer::Schema::SYMBOL_PROPERTY_DEFAULT_RESOLVER = T.let(T.unsafe(nil), Proc)
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#23
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#24
|
||||
JSONSchemer::Schema::UNKNOWN_KEYWORD_CLASS = JSONSchemer::Draft202012::Vocab::Core::UnknownKeyword
|
||||
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#21
|
||||
# source://json_schemer//lib/json_schemer/schema.rb#22
|
||||
JSONSchemer::Schema::VOCABULARY_KEYWORD_CLASS = JSONSchemer::Draft202012::Vocab::Core::Vocabulary
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#69
|
||||
class JSONSchemer::UnknownContentEncoding < ::StandardError; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#70
|
||||
class JSONSchemer::UnknownContentMediaType < ::StandardError; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#67
|
||||
class JSONSchemer::UnknownFormat < ::StandardError; end
|
||||
# :nocov:
|
||||
#
|
||||
# source://json_schemer//lib/json_schemer.rb#109
|
||||
JSONSchemer::URI_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser)
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#71
|
||||
class JSONSchemer::UnknownContentEncoding < ::StandardError; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#72
|
||||
class JSONSchemer::UnknownContentMediaType < ::StandardError; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#69
|
||||
class JSONSchemer::UnknownFormat < ::StandardError; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#73
|
||||
class JSONSchemer::UnknownOutputFormat < ::StandardError; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#66
|
||||
# source://json_schemer//lib/json_schemer.rb#68
|
||||
class JSONSchemer::UnknownRef < ::StandardError; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#68
|
||||
# source://json_schemer//lib/json_schemer.rb#70
|
||||
class JSONSchemer::UnknownVocabulary < ::StandardError; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#65
|
||||
# source://json_schemer//lib/json_schemer.rb#67
|
||||
class JSONSchemer::UnsupportedOpenAPIVersion < ::StandardError; end
|
||||
|
||||
# source://json_schemer//lib/json_schemer/version.rb#3
|
||||
JSONSchemer::VERSION = T.let(T.unsafe(nil), String)
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#78
|
||||
# source://json_schemer//lib/json_schemer.rb#80
|
||||
JSONSchemer::VOCABULARIES = T.let(T.unsafe(nil), Hash)
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#102
|
||||
# source://json_schemer//lib/json_schemer.rb#104
|
||||
JSONSchemer::VOCABULARY_ORDER = T.let(T.unsafe(nil), Hash)
|
||||
|
||||
# source://json_schemer//lib/json_schemer.rb#104
|
||||
# source://json_schemer//lib/json_schemer.rb#106
|
||||
JSONSchemer::WINDOWS_URI_PATH_REGEX = T.let(T.unsafe(nil), Regexp)
|
||||
|
||||
# source://json_schemer//lib/json_schemer/result.rb#7
|
||||
@ -9504,20 +9504,14 @@ RuboCop::Cop::Layout::EmptyLineAfterMultilineCondition::MSG = T.let(T.unsafe(nil
|
||||
# `AllowAdjacentOneLineDefs` configures whether adjacent
|
||||
# one-line definitions are considered an offense.
|
||||
#
|
||||
# @example AllowAdjacentOneLineDefs: false
|
||||
# @example EmptyLineBetweenMethodDefs: true (default)
|
||||
# # checks for empty lines between method definitions.
|
||||
#
|
||||
# # bad
|
||||
# class ErrorA < BaseError; end
|
||||
# class ErrorB < BaseError; end
|
||||
# class ErrorC < BaseError; end
|
||||
#
|
||||
# # good
|
||||
# class ErrorA < BaseError; end
|
||||
#
|
||||
# class ErrorB < BaseError; end
|
||||
#
|
||||
# class ErrorC < BaseError; end
|
||||
# @example
|
||||
# def a
|
||||
# end
|
||||
# def b
|
||||
# end
|
||||
#
|
||||
# # good
|
||||
# def a
|
||||
@ -9535,7 +9529,6 @@ RuboCop::Cop::Layout::EmptyLineAfterMultilineCondition::MSG = T.let(T.unsafe(nil
|
||||
# end
|
||||
# def b
|
||||
# end
|
||||
# @example
|
||||
#
|
||||
# # good
|
||||
# class A
|
||||
@ -9556,7 +9549,6 @@ RuboCop::Cop::Layout::EmptyLineAfterMultilineCondition::MSG = T.let(T.unsafe(nil
|
||||
# end
|
||||
# def b
|
||||
# end
|
||||
# @example
|
||||
#
|
||||
# # good
|
||||
# module A
|
||||
@ -9580,24 +9572,29 @@ RuboCop::Cop::Layout::EmptyLineAfterMultilineCondition::MSG = T.let(T.unsafe(nil
|
||||
# class ErrorB < BaseError; end
|
||||
#
|
||||
# class ErrorC < BaseError; end
|
||||
# @example EmptyLineBetweenMethodDefs: true (default)
|
||||
# # checks for empty lines between method definitions.
|
||||
# @example AllowAdjacentOneLineDefs: false
|
||||
#
|
||||
# # bad
|
||||
# def a
|
||||
# end
|
||||
# def b
|
||||
# end
|
||||
# class ErrorA < BaseError; end
|
||||
# class ErrorB < BaseError; end
|
||||
# class ErrorC < BaseError; end
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#108
|
||||
# # good
|
||||
# class ErrorA < BaseError; end
|
||||
#
|
||||
# class ErrorB < BaseError; end
|
||||
#
|
||||
# class ErrorC < BaseError; end
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#102
|
||||
class RuboCop::Cop::Layout::EmptyLineBetweenDefs < ::RuboCop::Cop::Base
|
||||
include ::RuboCop::Cop::RangeHelp
|
||||
extend ::RuboCop::Cop::AutoCorrector
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#145
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#139
|
||||
def autocorrect(corrector, prev_def, node, count); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#130
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#124
|
||||
def check_defs(nodes); end
|
||||
|
||||
# We operate on `begin` nodes, instead of using `OnMethodDef`,
|
||||
@ -9606,100 +9603,100 @@ class RuboCop::Cop::Layout::EmptyLineBetweenDefs < ::RuboCop::Cop::Base
|
||||
# doing a linear scan over siblings, so we don't want to call
|
||||
# it on each def.
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#123
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#117
|
||||
def on_begin(node); end
|
||||
|
||||
private
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#293
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#287
|
||||
def allowance_range?; end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#275
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#269
|
||||
def autocorrect_insert_lines(corrector, newline_pos, count); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#268
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#262
|
||||
def autocorrect_remove_lines(corrector, newline_pos, count); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#228
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#222
|
||||
def blank_lines_count_between(first_def_node, second_def_node); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#172
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#166
|
||||
def candidate?(node); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#192
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#186
|
||||
def class_candidate?(node); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#256
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#250
|
||||
def def_end(node); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#164
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#158
|
||||
def def_location(correction_node); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#248
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#242
|
||||
def def_start(node); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#179
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#173
|
||||
def empty_line_between_macros; end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#260
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#254
|
||||
def end_loc(node); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#206
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#200
|
||||
def expected_lines; end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#224
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#218
|
||||
def line_count_allowed?(count); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#240
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#234
|
||||
def lines_between_defs(first_def_node, second_def_node); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#183
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#177
|
||||
def macro_candidate?(node); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#236
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#230
|
||||
def maximum_empty_lines; end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#200
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#194
|
||||
def message(node, count: T.unsafe(nil)); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#188
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#182
|
||||
def method_candidate?(node); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#232
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#226
|
||||
def minimum_empty_lines; end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#196
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#190
|
||||
def module_candidate?(node); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#215
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#209
|
||||
def multiple_blank_lines_groups?(first_def_node, second_def_node); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#282
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#276
|
||||
def node_type(node); end
|
||||
|
||||
class << self
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#114
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#108
|
||||
def autocorrect_incompatible_with; end
|
||||
end
|
||||
end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#112
|
||||
# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#106
|
||||
RuboCop::Cop::Layout::EmptyLineBetweenDefs::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
# Checks for two or more consecutive blank lines.
|
||||
@ -19610,7 +19607,6 @@ RuboCop::Cop::Lint::EmptyEnsure::MSG = T.let(T.unsafe(nil), String)
|
||||
# if ()
|
||||
# bar
|
||||
# end
|
||||
# @example
|
||||
#
|
||||
# # good
|
||||
#
|
||||
@ -19619,20 +19615,20 @@ RuboCop::Cop::Lint::EmptyEnsure::MSG = T.let(T.unsafe(nil), String)
|
||||
# bar
|
||||
# end
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#25
|
||||
# source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#23
|
||||
class RuboCop::Cop::Lint::EmptyExpression < ::RuboCop::Cop::Base
|
||||
# source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#28
|
||||
# source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#26
|
||||
def on_begin(node); end
|
||||
|
||||
private
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#36
|
||||
# source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#34
|
||||
def empty_expression?(begin_node); end
|
||||
end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#26
|
||||
# source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#24
|
||||
RuboCop::Cop::Lint::EmptyExpression::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
# Enforces that Ruby source files are not empty.
|
||||
@ -26876,21 +26872,21 @@ class RuboCop::Cop::Lint::Void < ::RuboCop::Cop::Base
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#260
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#255
|
||||
def all_keys_entirely_literal?(node); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#264
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#259
|
||||
def all_values_entirely_literal?(node); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#238
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#233
|
||||
def autocorrect_nonmutating_send(corrector, node, suggestion); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#232
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#227
|
||||
def autocorrect_void_expression(corrector, node); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#219
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#214
|
||||
def autocorrect_void_op(corrector, node); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#101
|
||||
@ -26922,12 +26918,12 @@ class RuboCop::Cop::Lint::Void < ::RuboCop::Cop::Base
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#247
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#242
|
||||
def entirely_literal?(node); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#212
|
||||
# source://rubocop//lib/rubocop/cop/lint/void.rb#207
|
||||
def in_void_context?(node); end
|
||||
end
|
||||
|
||||
@ -36845,34 +36841,34 @@ class RuboCop::Cop::Style::EachWithObject < ::RuboCop::Cop::Base
|
||||
#
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#102
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#101
|
||||
def accumulator_param_assigned_to?(body, args); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#69
|
||||
def autocorrect_block(corrector, node, return_value); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#84
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#83
|
||||
def autocorrect_numblock(corrector, node); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#121
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#120
|
||||
def first_argument_returned?(args, return_value); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#114
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#113
|
||||
def return_value(body); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#129
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#128
|
||||
def return_value_occupies_whole_line?(node); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#96
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#95
|
||||
def simple_method_arg?(method_arg); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#133
|
||||
# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#132
|
||||
def whole_line_expression(node); end
|
||||
end
|
||||
|
||||
@ -37966,9 +37962,12 @@ class RuboCop::Cop::Style::ExplicitBlockArgument < ::RuboCop::Cop::Base
|
||||
# source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#108
|
||||
def add_block_argument(node, corrector, block_name); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#147
|
||||
# source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#160
|
||||
def block_body_range(block_node, send_node); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#153
|
||||
def build_new_arguments_for_zsuper(node); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#125
|
||||
@ -53940,7 +53939,7 @@ RuboCop::Cop::Style::WhileUntilDo::MSG = T.let(T.unsafe(nil), String)
|
||||
#
|
||||
# # good
|
||||
# x += 1 until x > 10
|
||||
# @example
|
||||
#
|
||||
# # bad
|
||||
# x += 100 while x < 500 # a long comment that makes code too long if it were a single line
|
||||
#
|
||||
@ -53949,21 +53948,21 @@ RuboCop::Cop::Style::WhileUntilDo::MSG = T.let(T.unsafe(nil), String)
|
||||
# x += 100
|
||||
# end
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#35
|
||||
# source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#34
|
||||
class RuboCop::Cop::Style::WhileUntilModifier < ::RuboCop::Cop::Base
|
||||
include ::RuboCop::Cop::Alignment
|
||||
include ::RuboCop::Cop::LineLengthHelp
|
||||
include ::RuboCop::Cop::StatementModifier
|
||||
extend ::RuboCop::Cop::AutoCorrector
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#41
|
||||
# source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#40
|
||||
def on_until(node); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#41
|
||||
# source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#40
|
||||
def on_while(node); end
|
||||
end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#39
|
||||
# source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#38
|
||||
RuboCop::Cop::Style::WhileUntilModifier::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
# Checks for array literals made up of word-like
|
||||
@ -56269,93 +56268,101 @@ RuboCop::Cop::VariableForce::VARIABLE_REFERENCE_TYPE = T.let(T.unsafe(nil), Symb
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#8
|
||||
class RuboCop::Cop::VariableForce::Variable
|
||||
extend ::RuboCop::AST::NodePattern::Macros
|
||||
|
||||
# @return [Variable] a new instance of Variable
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#15
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#17
|
||||
def initialize(name, declaration_node, scope); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#98
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#110
|
||||
def argument?; end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#31
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#33
|
||||
def assign(node); end
|
||||
|
||||
# Returns the value of attribute assignments.
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#13
|
||||
def assignments; end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#106
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#118
|
||||
def block_argument?; end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#78
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#49
|
||||
def candidate_condition?(param0 = T.unsafe(nil)); end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#90
|
||||
def capture_with_block!; end
|
||||
|
||||
# Returns the value of attribute captured_by_block.
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#13
|
||||
def captured_by_block; end
|
||||
|
||||
# Returns the value of attribute captured_by_block.
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#13
|
||||
def captured_by_block?; end
|
||||
|
||||
# Returns the value of attribute declaration_node.
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#13
|
||||
def declaration_node; end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#114
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#126
|
||||
def explicit_block_local_variable?; end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#70
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#82
|
||||
def in_modifier_conditional?(assignment); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#110
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#122
|
||||
def keyword_argument?; end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#41
|
||||
def mark_last_as_reassigned!(assignment); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#102
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#114
|
||||
def method_argument?; end
|
||||
|
||||
# Returns the value of attribute name.
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#13
|
||||
def name; end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#44
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#56
|
||||
def reference!(node); end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#39
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#51
|
||||
def referenced?; end
|
||||
|
||||
# Returns the value of attribute references.
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#13
|
||||
def references; end
|
||||
|
||||
# Returns the value of attribute scope.
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#13
|
||||
def scope; end
|
||||
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#94
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#106
|
||||
def should_be_unused?; end
|
||||
|
||||
# This is a convenient way to check whether the variable is used
|
||||
@ -56369,11 +56376,11 @@ class RuboCop::Cop::VariableForce::Variable
|
||||
#
|
||||
# @return [Boolean]
|
||||
#
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#90
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#102
|
||||
def used?; end
|
||||
end
|
||||
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#9
|
||||
# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11
|
||||
RuboCop::Cop::VariableForce::Variable::VARIABLE_DECLARATION_TYPES = T.let(T.unsafe(nil), Array)
|
||||
|
||||
# @api private
|
||||
@ -55,7 +55,7 @@ module RBI; end
|
||||
|
||||
# source://tapioca//lib/tapioca/rbi_ext/model.rb#5
|
||||
class RBI::Tree < ::RBI::NodeWithComments
|
||||
# source://rbi/0.2.3/lib/rbi/model.rb#121
|
||||
# source://rbi/0.2.4/lib/rbi/model.rb#121
|
||||
sig do
|
||||
params(
|
||||
loc: T.nilable(::RBI::Loc),
|
||||
@ -65,15 +65,15 @@ class RBI::Tree < ::RBI::NodeWithComments
|
||||
end
|
||||
def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/model.rb#128
|
||||
# source://rbi/0.2.4/lib/rbi/model.rb#128
|
||||
sig { params(node: ::RBI::Node).void }
|
||||
def <<(node); end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/rewriters/add_sig_templates.rb#66
|
||||
# source://rbi/0.2.4/lib/rbi/rewriters/add_sig_templates.rb#66
|
||||
sig { params(with_todo_comment: T::Boolean).void }
|
||||
def add_sig_templates!(with_todo_comment: T.unsafe(nil)); end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/rewriters/annotate.rb#49
|
||||
# source://rbi/0.2.4/lib/rbi/rewriters/annotate.rb#49
|
||||
sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void }
|
||||
def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end
|
||||
|
||||
@ -138,35 +138,35 @@ class RBI::Tree < ::RBI::NodeWithComments
|
||||
end
|
||||
def create_type_variable(name, type:, variance: T.unsafe(nil), fixed: T.unsafe(nil), upper: T.unsafe(nil), lower: T.unsafe(nil)); end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/rewriters/deannotate.rb#41
|
||||
# source://rbi/0.2.4/lib/rbi/rewriters/deannotate.rb#41
|
||||
sig { params(annotation: ::String).void }
|
||||
def deannotate!(annotation); end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/model.rb#134
|
||||
# source://rbi/0.2.4/lib/rbi/model.rb#134
|
||||
sig { returns(T::Boolean) }
|
||||
def empty?; end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/rewriters/filter_versions.rb#118
|
||||
# source://rbi/0.2.4/lib/rbi/rewriters/filter_versions.rb#118
|
||||
sig { params(version: ::Gem::Version).void }
|
||||
def filter_versions!(version); end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/rewriters/flatten_singleton_methods.rb#60
|
||||
# source://rbi/0.2.4/lib/rbi/rewriters/flatten_singleton_methods.rb#60
|
||||
sig { void }
|
||||
def flatten_singleton_methods!; end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/rewriters/flatten_visibilities.rb#60
|
||||
# source://rbi/0.2.4/lib/rbi/rewriters/flatten_visibilities.rb#60
|
||||
sig { void }
|
||||
def flatten_visibilities!; end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/rewriters/group_nodes.rb#81
|
||||
# source://rbi/0.2.4/lib/rbi/rewriters/group_nodes.rb#81
|
||||
sig { void }
|
||||
def group_nodes!; end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/index.rb#68
|
||||
# source://rbi/0.2.4/lib/rbi/index.rb#68
|
||||
sig { returns(::RBI::Index) }
|
||||
def index; end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/rewriters/merge_trees.rb#324
|
||||
# source://rbi/0.2.4/lib/rbi/rewriters/merge_trees.rb#324
|
||||
sig do
|
||||
params(
|
||||
other: ::RBI::Tree,
|
||||
@ -177,27 +177,27 @@ class RBI::Tree < ::RBI::NodeWithComments
|
||||
end
|
||||
def merge(other, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/rewriters/nest_non_public_members.rb#46
|
||||
# source://rbi/0.2.4/lib/rbi/rewriters/nest_non_public_members.rb#46
|
||||
sig { void }
|
||||
def nest_non_public_members!; end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/rewriters/nest_singleton_methods.rb#36
|
||||
# source://rbi/0.2.4/lib/rbi/rewriters/nest_singleton_methods.rb#36
|
||||
sig { void }
|
||||
def nest_singleton_methods!; end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/rewriters/nest_top_level_members.rb#63
|
||||
# source://rbi/0.2.4/lib/rbi/rewriters/nest_top_level_members.rb#63
|
||||
sig { void }
|
||||
def nest_top_level_members!; end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/model.rb#112
|
||||
# source://rbi/0.2.4/lib/rbi/model.rb#112
|
||||
sig { returns(T::Array[::RBI::Node]) }
|
||||
def nodes; end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/rewriters/attr_to_methods.rb#53
|
||||
# source://rbi/0.2.4/lib/rbi/rewriters/attr_to_methods.rb#53
|
||||
sig { void }
|
||||
def replace_attributes_with_methods!; end
|
||||
|
||||
# source://rbi/0.2.3/lib/rbi/rewriters/sort_nodes.rb#119
|
||||
# source://rbi/0.2.4/lib/rbi/rewriters/sort_nodes.rb#119
|
||||
sig { void }
|
||||
def sort_nodes!; end
|
||||
|
||||
@ -218,7 +218,7 @@ class RBI::TypedParam < ::T::Struct
|
||||
const :type, ::String
|
||||
|
||||
class << self
|
||||
# source://sorbet-runtime/0.5.11758/lib/types/struct.rb#13
|
||||
# source://sorbet-runtime/0.5.11796/lib/types/struct.rb#13
|
||||
def inherited(s); end
|
||||
end
|
||||
end
|
||||
@ -1143,7 +1143,7 @@ class Tapioca::ConfigHelper::ConfigError < ::T::Struct
|
||||
const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
|
||||
|
||||
class << self
|
||||
# source://sorbet-runtime/0.5.11758/lib/types/struct.rb#13
|
||||
# source://sorbet-runtime/0.5.11796/lib/types/struct.rb#13
|
||||
def inherited(s); end
|
||||
end
|
||||
end
|
||||
@ -1154,7 +1154,7 @@ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct
|
||||
const :colors, T::Array[::Symbol]
|
||||
|
||||
class << self
|
||||
# source://sorbet-runtime/0.5.11758/lib/types/struct.rb#13
|
||||
# source://sorbet-runtime/0.5.11796/lib/types/struct.rb#13
|
||||
def inherited(s); end
|
||||
end
|
||||
end
|
||||
@ -2228,7 +2228,7 @@ class Tapioca::GemInfo < ::T::Struct
|
||||
sig { params(spec: ::Bundler::LazySpecification).returns(::Tapioca::GemInfo) }
|
||||
def from_spec(spec); end
|
||||
|
||||
# source://sorbet-runtime/0.5.11758/lib/types/struct.rb#13
|
||||
# source://sorbet-runtime/0.5.11796/lib/types/struct.rb#13
|
||||
def inherited(s); end
|
||||
end
|
||||
end
|
||||
@ -2407,7 +2407,7 @@ module Tapioca::Loaders; end
|
||||
|
||||
# source://tapioca//lib/tapioca/loaders/dsl.rb#6
|
||||
class Tapioca::Loaders::Dsl < ::Tapioca::Loaders::Loader
|
||||
# source://tapioca//lib/tapioca/loaders/dsl.rb#53
|
||||
# source://tapioca//lib/tapioca/loaders/dsl.rb#74
|
||||
sig do
|
||||
params(
|
||||
tapioca_path: ::String,
|
||||
@ -2426,20 +2426,30 @@ class Tapioca::Loaders::Dsl < ::Tapioca::Loaders::Loader
|
||||
sig { void }
|
||||
def load_dsl_extensions_and_compilers; end
|
||||
|
||||
# source://tapioca//lib/tapioca/loaders/dsl.rb#49
|
||||
sig { void }
|
||||
def reload_custom_compilers; end
|
||||
|
||||
protected
|
||||
|
||||
# source://tapioca//lib/tapioca/loaders/dsl.rb#103
|
||||
# source://tapioca//lib/tapioca/loaders/dsl.rb#120
|
||||
sig { void }
|
||||
def load_application; end
|
||||
|
||||
# source://tapioca//lib/tapioca/loaders/dsl.rb#78
|
||||
# source://tapioca//lib/tapioca/loaders/dsl.rb#100
|
||||
sig { void }
|
||||
def load_dsl_compilers; end
|
||||
|
||||
# source://tapioca//lib/tapioca/loaders/dsl.rb#63
|
||||
# source://tapioca//lib/tapioca/loaders/dsl.rb#85
|
||||
sig { void }
|
||||
def load_dsl_extensions; end
|
||||
|
||||
private
|
||||
|
||||
# source://tapioca//lib/tapioca/loaders/dsl.rb#136
|
||||
sig { void }
|
||||
def load_custom_dsl_compilers; end
|
||||
|
||||
class << self
|
||||
# source://tapioca//lib/tapioca/loaders/dsl.rb#20
|
||||
sig do
|
||||
@ -3381,6 +3391,58 @@ Tapioca::SorbetHelper::SORBET_PAYLOAD_URL = T.let(T.unsafe(nil), String)
|
||||
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#22
|
||||
Tapioca::SorbetHelper::SPOOM_CONTEXT = T.let(T.unsafe(nil), Spoom::Context)
|
||||
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#7
|
||||
class Tapioca::SourceURI < ::URI::File
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#72
|
||||
sig { params(v: T.nilable(::String)).returns(T::Boolean) }
|
||||
def check_host(v); end
|
||||
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#55
|
||||
sig { returns(T.nilable(::String)) }
|
||||
def gem_name; end
|
||||
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#29
|
||||
sig { returns(T.nilable(::String)) }
|
||||
def gem_version; end
|
||||
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#60
|
||||
sig { returns(T.nilable(::String)) }
|
||||
def line_number; end
|
||||
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#65
|
||||
sig { params(v: T.nilable(::String)).void }
|
||||
def set_path(v); end
|
||||
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#84
|
||||
sig { returns(::String) }
|
||||
def to_s; end
|
||||
|
||||
class << self
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#42
|
||||
sig do
|
||||
params(
|
||||
gem_name: ::String,
|
||||
gem_version: T.nilable(::String),
|
||||
path: ::String,
|
||||
line_number: T.nilable(::String)
|
||||
).returns(T.attached_class)
|
||||
end
|
||||
def build(gem_name:, gem_version:, path:, line_number:); end
|
||||
end
|
||||
end
|
||||
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#10
|
||||
Tapioca::SourceURI::COMPONENT = T.let(T.unsafe(nil), Array)
|
||||
|
||||
# `uri` for Ruby 3.4 switched the default parser from RFC2396 to RFC3986. The new parser emits a deprecation
|
||||
# warning on a few methods and delegates them to RFC2396, namely `extract`/`make_regexp`/`escape`/`unescape`.
|
||||
# On earlier versions of the uri gem, the RFC2396_PARSER constant doesn't exist, so it needs some special
|
||||
# handling to select a parser that doesn't emit deprecations. While it was backported to Ruby 3.1, users may
|
||||
# have the uri gem in their own bundle and thus not use a compatible version.
|
||||
#
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#26
|
||||
Tapioca::SourceURI::PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser)
|
||||
|
||||
# source://tapioca//lib/tapioca/static/symbol_table_parser.rb#5
|
||||
module Tapioca::Static; end
|
||||
|
||||
@ -3556,55 +3618,3 @@ end
|
||||
|
||||
# source://tapioca//lib/tapioca/version.rb#5
|
||||
Tapioca::VERSION = T.let(T.unsafe(nil), String)
|
||||
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#7
|
||||
class URI::Source < ::URI::File
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#72
|
||||
sig { params(v: T.nilable(::String)).returns(T::Boolean) }
|
||||
def check_host(v); end
|
||||
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#55
|
||||
sig { returns(T.nilable(::String)) }
|
||||
def gem_name; end
|
||||
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#29
|
||||
sig { returns(T.nilable(::String)) }
|
||||
def gem_version; end
|
||||
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#60
|
||||
sig { returns(T.nilable(::String)) }
|
||||
def line_number; end
|
||||
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#65
|
||||
sig { params(v: T.nilable(::String)).void }
|
||||
def set_path(v); end
|
||||
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#84
|
||||
sig { returns(::String) }
|
||||
def to_s; end
|
||||
|
||||
class << self
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#42
|
||||
sig do
|
||||
params(
|
||||
gem_name: ::String,
|
||||
gem_version: T.nilable(::String),
|
||||
path: ::String,
|
||||
line_number: T.nilable(::String)
|
||||
).returns(::URI::Source)
|
||||
end
|
||||
def build(gem_name:, gem_version:, path:, line_number:); end
|
||||
end
|
||||
end
|
||||
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#10
|
||||
URI::Source::COMPONENT = T.let(T.unsafe(nil), Array)
|
||||
|
||||
# `uri` for Ruby 3.4 switched the default parser from RFC2396 to RFC3986. The new parser emits a deprecation
|
||||
# warning on a few methods and delegates them to RFC2396, namely `extract`/`make_regexp`/`escape`/`unescape`.
|
||||
# On earlier versions of the uri gem, the RFC2396_PARSER constant doesn't exist, so it needs some special
|
||||
# handling to select a parser that doesn't emit deprecations. While it was backported to Ruby 3.1, users may
|
||||
# have the uri gem in their own bundle and thus not use a compatible version.
|
||||
#
|
||||
# source://tapioca//lib/tapioca/helpers/source_uri.rb#26
|
||||
URI::Source::PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser)
|
||||
@ -31,7 +31,7 @@ RSpec.describe Homebrew::Cmd::Desc do
|
||||
.and not_to_output.to_stderr
|
||||
end
|
||||
|
||||
it "successfully searches without --eval-all, with API", :integration_test do
|
||||
it "successfully searches without --eval-all, with API", :integration_test, :needs_network do
|
||||
setup_test_formula "testball"
|
||||
|
||||
expect { brew "desc", "--search", "testball", "HOMEBREW_NO_INSTALL_FROM_API" => nil }
|
||||
|
||||
@ -14,4 +14,26 @@ RSpec.describe Homebrew::Cmd::FetchCmd do
|
||||
expect(HOMEBREW_CACHE/"testball--0.1.tbz").to be_a_symlink
|
||||
expect(HOMEBREW_CACHE/"testball--0.1.tbz").to exist
|
||||
end
|
||||
|
||||
it "concurrently downloads formula URLs", :integration_test do
|
||||
setup_test_formula "testball1"
|
||||
setup_test_formula "testball2"
|
||||
|
||||
expect { brew "fetch", "testball1", "testball2", "--concurrency=2" }.to be_a_success
|
||||
|
||||
expect(HOMEBREW_CACHE/"testball1--0.1.tbz").to be_a_symlink
|
||||
expect(HOMEBREW_CACHE/"testball1--0.1.tbz").to exist
|
||||
expect(HOMEBREW_CACHE/"testball2--0.1.tbz").to be_a_symlink
|
||||
expect(HOMEBREW_CACHE/"testball2--0.1.tbz").to exist
|
||||
end
|
||||
|
||||
it "errors when concurrently downloading to the same destination", :integration_test do
|
||||
# This test will fail if the fetch is not performed concurrently.
|
||||
# N.B. this test relies on how we set up test formulae, see the `integration_test` shared context.
|
||||
setup_test_formula "testball1"
|
||||
setup_test_formula "testball3"
|
||||
|
||||
expect { brew "fetch", "testball1", "testball3", "--concurrency=2" }.to be_a_failure
|
||||
.and output(/Error:.*process has already locked/).to_stderr
|
||||
end
|
||||
end
|
||||
|
||||
@ -27,7 +27,7 @@ RSpec.describe Tapioca::Compilers::Args do
|
||||
|
||||
it "returns a mapping of update-python-resources args to default values" do
|
||||
expect(compiler.args_table(update_python_resources_parser)).to contain_exactly(
|
||||
:d?, :debug?, :exclude_packages, :extra_packages, :h?, :help?, :ignore_non_pypi_packages?,
|
||||
:d?, :debug?, :exclude_packages, :extra_packages, :h?, :help?, :ignore_errors?, :ignore_non_pypi_packages?,
|
||||
:install_dependencies?, :p?, :package_name, :print_only?, :q?, :quiet?, :s?, :silent?, :v?, :verbose?,
|
||||
:version
|
||||
)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -134,10 +134,12 @@ RSpec.shared_context "integration test" do # rubocop:disable RSpec/ContextWordin
|
||||
bottle_block: nil, tab_attributes: nil)
|
||||
case name
|
||||
when /^testball/
|
||||
# Use a different tarball for testball2 to avoid lock errors when writing concurrency tests
|
||||
prefix = (name == "testball2") ? "testball2" : "testball"
|
||||
tarball = if OS.linux?
|
||||
TEST_FIXTURE_DIR/"tarballs/testball-0.1-linux.tbz"
|
||||
TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1-linux.tbz"
|
||||
else
|
||||
TEST_FIXTURE_DIR/"tarballs/testball-0.1.tbz"
|
||||
TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1.tbz"
|
||||
end
|
||||
content = <<~RUBY
|
||||
desc "Some test"
|
||||
|
||||
@ -54,8 +54,11 @@ module PyPI
|
||||
# Get name, URL, SHA-256 checksum and latest version for a given package.
|
||||
# This only works for packages from PyPI or from a PyPI URL; packages
|
||||
# derived from non-PyPI URLs will produce `nil` here.
|
||||
sig { params(new_version: T.nilable(T.any(String, Version))).returns(T.nilable(T::Array[String])) }
|
||||
def pypi_info(new_version: nil)
|
||||
sig {
|
||||
params(new_version: T.nilable(T.any(String, Version)),
|
||||
ignore_errors: T.nilable(T::Boolean)).returns(T.nilable(T::Array[String]))
|
||||
}
|
||||
def pypi_info(new_version: nil, ignore_errors: false)
|
||||
return unless valid_pypi_package?
|
||||
return @pypi_info if @pypi_info.present? && new_version.blank?
|
||||
|
||||
@ -86,7 +89,12 @@ module PyPI
|
||||
end
|
||||
end
|
||||
|
||||
return if dist.nil?
|
||||
if dist.nil?
|
||||
return ["", "", "", "", "no suitable source distribution on PyPI"] if ignore_errors
|
||||
|
||||
onoe "#{name} exists on PyPI but lacks a suitable source distribution"
|
||||
return
|
||||
end
|
||||
|
||||
@pypi_info = [
|
||||
PyPI.normalize_python_package(json["info"]["name"]), dist["url"],
|
||||
@ -215,13 +223,14 @@ module PyPI
|
||||
print_only: T.nilable(T::Boolean),
|
||||
silent: T.nilable(T::Boolean),
|
||||
verbose: T.nilable(T::Boolean),
|
||||
ignore_errors: T.nilable(T::Boolean),
|
||||
ignore_non_pypi_packages: T.nilable(T::Boolean),
|
||||
).returns(T.nilable(T::Boolean))
|
||||
}
|
||||
def self.update_python_resources!(formula, version: nil, package_name: nil, extra_packages: nil,
|
||||
exclude_packages: nil, dependencies: nil, install_dependencies: false,
|
||||
print_only: false, silent: false, verbose: false,
|
||||
ignore_non_pypi_packages: false)
|
||||
ignore_errors: false, ignore_non_pypi_packages: false)
|
||||
auto_update_list = formula.tap&.pypi_formula_mappings
|
||||
if auto_update_list.present? && auto_update_list.key?(formula.full_name) &&
|
||||
package_name.blank? && extra_packages.blank? && exclude_packages.blank?
|
||||
@ -347,6 +356,7 @@ module PyPI
|
||||
end
|
||||
|
||||
new_resource_blocks = ""
|
||||
package_errors = ""
|
||||
found_packages.sort.each do |package|
|
||||
if exclude_packages.include? package
|
||||
ohai "Excluding \"#{package}\"" if show_info
|
||||
@ -355,17 +365,28 @@ module PyPI
|
||||
end
|
||||
|
||||
ohai "Getting PyPI info for \"#{package}\"" if show_info
|
||||
name, url, checksum = package.pypi_info
|
||||
name, url, checksum, _, package_error = package.pypi_info(ignore_errors: ignore_errors)
|
||||
if package_error.blank?
|
||||
# Fail if unable to find name, url or checksum for any resource
|
||||
if name.blank?
|
||||
if ignore_errors
|
||||
package_error = "unknown failure"
|
||||
else
|
||||
odie "Unable to resolve some dependencies. Please update the resources for \"#{formula.name}\" manually."
|
||||
end
|
||||
elsif url.blank? || checksum.blank?
|
||||
if ignore_errors
|
||||
package_error = "unable to find URL and/or sha256"
|
||||
else
|
||||
odie <<~EOS
|
||||
Unable to find the URL and/or sha256 for the "#{name}" resource.
|
||||
Please update the resources for "#{formula.name}" manually.
|
||||
EOS
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if package_error.blank?
|
||||
# Append indented resource block
|
||||
new_resource_blocks += <<-EOS
|
||||
resource "#{name}" do
|
||||
@ -374,12 +395,18 @@ module PyPI
|
||||
end
|
||||
|
||||
EOS
|
||||
else
|
||||
# Leave a placeholder for formula author to investigate
|
||||
package_errors += " # RESOURCE-ERROR: Unable to resolve \"#{package}\" (#{package_error})\n"
|
||||
end
|
||||
end
|
||||
|
||||
resource_section = "#{package_errors}\n#{new_resource_blocks}"
|
||||
|
||||
odie "Excluded superfluous packages: #{exclude_packages.join(", ")}" if exclude_packages.any?
|
||||
|
||||
if print_only
|
||||
puts new_resource_blocks.chomp
|
||||
puts resource_section.chomp
|
||||
return
|
||||
end
|
||||
|
||||
@ -387,11 +414,12 @@ module PyPI
|
||||
if formula.resources.all? { |resource| resource.name.start_with?("homebrew-") }
|
||||
# Place resources above install method
|
||||
inreplace_regex = / def install/
|
||||
new_resource_blocks += " def install"
|
||||
resource_section += " def install"
|
||||
else
|
||||
# Replace existing resource blocks with new resource blocks
|
||||
inreplace_regex = /
|
||||
\ \ (
|
||||
(\#\ RESOURCE-ERROR:\ .*\s+)*
|
||||
resource\ .*\ do\s+
|
||||
url\ .*\s+
|
||||
sha256\ .*\s+
|
||||
@ -402,7 +430,7 @@ module PyPI
|
||||
end\s+)*
|
||||
end\s+)+
|
||||
/x
|
||||
new_resource_blocks += " "
|
||||
resource_section += " "
|
||||
end
|
||||
|
||||
ohai "Updating resource blocks" unless silent
|
||||
@ -410,7 +438,11 @@ module PyPI
|
||||
if T.must(s.inreplace_string.split(/^ test do\b/, 2).first).scan(inreplace_regex).length > 1
|
||||
odie "Unable to update resource blocks for \"#{formula.name}\" automatically. Please update them manually."
|
||||
end
|
||||
s.sub! inreplace_regex, new_resource_blocks
|
||||
s.sub! inreplace_regex, resource_section
|
||||
end
|
||||
|
||||
if package_errors.present?
|
||||
ofail "Unable to resolve some dependencies. Please check #{formula.path} for RESOURCE-ERROR comments."
|
||||
end
|
||||
|
||||
true
|
||||
|
||||
16
Library/Homebrew/vendor/bundle/bundler/setup.rb
vendored
16
Library/Homebrew/vendor/bundle/bundler/setup.rb
vendored
@ -53,7 +53,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.9.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/regexp_parser-2.10.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simpleidn-0.2.3/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json_schemer-2.3.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json_schemer-2.4.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rexml-3.4.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/kramdown-2.5.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/language_server-protocol-3.17.0.4/lib")
|
||||
@ -65,14 +65,14 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-4.9.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/racc-1.8.1")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/racc-1.8.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.7.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.7.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/patchelf-1.5.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/plist-3.7.2/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/prism-1.3.0")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/prism-1.3.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pry-0.15.2/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11796/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11802/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib")
|
||||
@ -91,7 +91,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-progressbar-1.13.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-emoji-4.0.4/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-3.1.4/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.71.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.71.2/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-1.2.4/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.23.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.4.0/lib")
|
||||
@ -104,16 +104,16 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11796-universal-darwin/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11796/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11796/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11802-universal-darwin/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11802/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11802/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.3/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/stackprof-0.2.27/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-0.9.37/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-sorbet-0.9.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/tapioca-0.16.8/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/tapioca-0.16.9/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/vernier-1.5.0")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/vernier-1.5.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/warning-1.5.0/lib")
|
||||
|
||||
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