Merge pull request #16586 from dduugg/no-hidden-rbi
Remove use of hidden-definitions
This commit is contained in:
commit
77e27656fb
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,7 +21,6 @@
|
|||||||
/Library/Taps
|
/Library/Taps
|
||||||
/Library/PinnedTaps
|
/Library/PinnedTaps
|
||||||
/Library/Homebrew/.byebug_history
|
/Library/Homebrew/.byebug_history
|
||||||
/Library/Homebrew/sorbet/rbi/hidden-definitions/errors.txt
|
|
||||||
|
|
||||||
# Ignore Bundler files
|
# Ignore Bundler files
|
||||||
**/.bundle/bin
|
**/.bundle/bin
|
||||||
|
|||||||
@ -18,7 +18,6 @@ AllCops:
|
|||||||
- "**/*.rbi"
|
- "**/*.rbi"
|
||||||
Exclude:
|
Exclude:
|
||||||
- "Homebrew/sorbet/rbi/gems/**/*.rbi"
|
- "Homebrew/sorbet/rbi/gems/**/*.rbi"
|
||||||
- "Homebrew/sorbet/rbi/hidden-definitions/*.rbi"
|
|
||||||
- "Homebrew/bin/*"
|
- "Homebrew/bin/*"
|
||||||
- "Homebrew/vendor/**/*"
|
- "Homebrew/vendor/**/*"
|
||||||
- "Taps/*/*/vendor/**/*"
|
- "Taps/*/*/vendor/**/*"
|
||||||
@ -69,6 +68,7 @@ Homebrew/NegateInclude:
|
|||||||
# `exclude?` is not available here:
|
# `exclude?` is not available here:
|
||||||
- "Homebrew/standalone/init.rb"
|
- "Homebrew/standalone/init.rb"
|
||||||
- "Homebrew/rubocops/**/*"
|
- "Homebrew/rubocops/**/*"
|
||||||
|
- "Homebrew/sorbet/tapioca/**/*"
|
||||||
|
|
||||||
# `system` is a special case and aligns on second argument, so allow this for formulae.
|
# `system` is a special case and aligns on second argument, so allow this for formulae.
|
||||||
Layout/ArgumentAlignment:
|
Layout/ArgumentAlignment:
|
||||||
|
|||||||
@ -60,6 +60,7 @@ group :tests, optional: true do
|
|||||||
gem "simplecov-cobertura", require: false
|
gem "simplecov-cobertura", require: false
|
||||||
end
|
end
|
||||||
group :typecheck, optional: true do
|
group :typecheck, optional: true do
|
||||||
|
gem "method_source", require: false
|
||||||
gem "parlour", require: false
|
gem "parlour", require: false
|
||||||
gem "sorbet-static-and-runtime", require: false
|
gem "sorbet-static-and-runtime", require: false
|
||||||
gem "spoom", require: false
|
gem "spoom", require: false
|
||||||
|
|||||||
@ -176,6 +176,7 @@ DEPENDENCIES
|
|||||||
bootsnap
|
bootsnap
|
||||||
byebug
|
byebug
|
||||||
json_schemer
|
json_schemer
|
||||||
|
method_source
|
||||||
minitest
|
minitest
|
||||||
parallel_tests
|
parallel_tests
|
||||||
parlour
|
parlour
|
||||||
|
|||||||
@ -45,8 +45,11 @@ module Homebrew
|
|||||||
|
|
||||||
HOMEBREW_LIBRARY_PATH.cd do
|
HOMEBREW_LIBRARY_PATH.cd do
|
||||||
if update
|
if update
|
||||||
|
safe_system "bundle", "exec", "tapioca", "dsl"
|
||||||
|
# RBI files already provided by Sorbet:
|
||||||
excluded_gems = [
|
excluded_gems = [
|
||||||
"json", # RBI file is already provided by Sorbet
|
"json",
|
||||||
|
"msgpack",
|
||||||
]
|
]
|
||||||
tapioca_args = ["--exclude", *excluded_gems, "--pre", "sorbet/tapioca/prerequire.rb"]
|
tapioca_args = ["--exclude", *excluded_gems, "--pre", "sorbet/tapioca/prerequire.rb"]
|
||||||
tapioca_args << "--all" if args.update_all?
|
tapioca_args << "--all" if args.update_all?
|
||||||
@ -59,18 +62,6 @@ module Homebrew
|
|||||||
safe_system "bundle", "exec", "tapioca", "gem", *tapioca_args
|
safe_system "bundle", "exec", "tapioca", "gem", *tapioca_args
|
||||||
safe_system "bundle", "exec", "parlour"
|
safe_system "bundle", "exec", "parlour"
|
||||||
|
|
||||||
safe_system({ "RUBYLIB" => "#{HOMEBREW_LIBRARY_PATH}/sorbet/hidden_definitions_hacks" },
|
|
||||||
"bundle", "exec", "srb", "rbi", "hidden-definitions")
|
|
||||||
# HACK: we'll phase out hidden-definitions soon
|
|
||||||
tmp_file = "sorbet/rbi/hidden-definitions/hidden.rbi.tmp"
|
|
||||||
orig_file = "sorbet/rbi/hidden-definitions/hidden.rbi"
|
|
||||||
File.open(tmp_file, "w") do |out_file|
|
|
||||||
File.foreach(orig_file) do |line|
|
|
||||||
out_file.puts line unless line.include?("def self.new(*args, **arg, &blk); end")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
File.rename(tmp_file, orig_file)
|
|
||||||
|
|
||||||
if args.suggest_typed?
|
if args.suggest_typed?
|
||||||
ohai "Bumping Sorbet `typed` sigils..."
|
ohai "Bumping Sorbet `typed` sigils..."
|
||||||
# --sorbet needed because of https://github.com/Shopify/spoom/issues/488
|
# --sorbet needed because of https://github.com/Shopify/spoom/issues/488
|
||||||
|
|||||||
@ -60,7 +60,7 @@ module SharedEnvExtension
|
|||||||
end
|
end
|
||||||
private :reset
|
private :reset
|
||||||
|
|
||||||
sig { returns(T::Hash[String, String]) }
|
sig { returns(T::Hash[String, T.nilable(String)]) }
|
||||||
def remove_cc_etc
|
def remove_cc_etc
|
||||||
keys = %w[CC CXX OBJC OBJCXX LD CPP CFLAGS CXXFLAGS OBJCFLAGS OBJCXXFLAGS LDFLAGS CPPFLAGS]
|
keys = %w[CC CXX OBJC OBJCXX LD CPP CFLAGS CXXFLAGS OBJCFLAGS OBJCXXFLAGS LDFLAGS CPPFLAGS]
|
||||||
keys.to_h { |key| [key, delete(key)] }
|
keys.to_h { |key| [key, delete(key)] }
|
||||||
|
|||||||
@ -355,11 +355,11 @@ module FormulaCellarChecks
|
|||||||
else
|
else
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
return if mismatches.empty? && universal_binaries_expected
|
return if T.must(mismatches).empty? && universal_binaries_expected
|
||||||
|
|
||||||
mismatches_expected = formula.tap.blank? ||
|
mismatches_expected = formula.tap.blank? ||
|
||||||
formula.tap.audit_exception(:mismatched_binary_allowlist, formula.name)
|
formula.tap.audit_exception(:mismatched_binary_allowlist, formula.name)
|
||||||
return if compatible_universal_binaries.empty? && mismatches_expected
|
return if T.must(compatible_universal_binaries).empty? && mismatches_expected
|
||||||
|
|
||||||
return if universal_binaries_expected && mismatches_expected
|
return if universal_binaries_expected && mismatches_expected
|
||||||
|
|
||||||
|
|||||||
@ -8,17 +8,11 @@ module RuboCop
|
|||||||
include RuboCop::Cask::Constants
|
include RuboCop::Cask::Constants
|
||||||
|
|
||||||
def_node_matcher :method_node, "{$(send ...) (block $(send ...) ...)}"
|
def_node_matcher :method_node, "{$(send ...) (block $(send ...) ...)}"
|
||||||
def_node_matcher :block_args, "(block _ $_ _)"
|
|
||||||
def_node_matcher :block_body, "(block _ _ $_)"
|
def_node_matcher :block_body, "(block _ _ $_)"
|
||||||
|
|
||||||
def_node_matcher :key_node, "{(pair $_ _) (hash (pair $_ _) ...)}"
|
|
||||||
def_node_matcher :val_node, "{(pair _ $_) (hash (pair _ $_) ...)}"
|
|
||||||
|
|
||||||
def_node_matcher :cask_block?, "(block (send nil? :cask ...) args ...)"
|
def_node_matcher :cask_block?, "(block (send nil? :cask ...) args ...)"
|
||||||
def_node_matcher :on_system_block?,
|
def_node_matcher :on_system_block?,
|
||||||
"(block (send nil? {#{ON_SYSTEM_METHODS.map(&:inspect).join(" ")}} ...) args ...)"
|
"(block (send nil? {#{ON_SYSTEM_METHODS.map(&:inspect).join(" ")}} ...) args ...)"
|
||||||
def_node_matcher :arch_variable?, "(lvasgn _ (send nil? :on_arch_conditional ...))"
|
def_node_matcher :arch_variable?, "(lvasgn _ (send nil? :on_arch_conditional ...))"
|
||||||
|
|
||||||
def_node_matcher :begin_block?, "(begin ...)"
|
def_node_matcher :begin_block?, "(begin ...)"
|
||||||
|
|
||||||
sig { returns(T::Boolean) }
|
sig { returns(T::Boolean) }
|
||||||
|
|||||||
21
Library/Homebrew/rubocops/cask/extend/node.rbi
Normal file
21
Library/Homebrew/rubocops/cask/extend/node.rbi
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# typed: strict
|
||||||
|
|
||||||
|
class RuboCop::AST::Node
|
||||||
|
sig { returns(T.nilable(RuboCop::AST::SendNode)) }
|
||||||
|
def method_node; end
|
||||||
|
|
||||||
|
sig { returns(T.nilable(RuboCop::AST::Node)) }
|
||||||
|
def block_body; end
|
||||||
|
|
||||||
|
sig { returns(T::Boolean) }
|
||||||
|
def cask_block?; end
|
||||||
|
|
||||||
|
sig { returns(T::Boolean) }
|
||||||
|
def on_system_block?; end
|
||||||
|
|
||||||
|
sig { returns(T::Boolean) }
|
||||||
|
def arch_variable?; end
|
||||||
|
|
||||||
|
sig { returns(T::Boolean) }
|
||||||
|
def begin_block?; end
|
||||||
|
end
|
||||||
@ -6,7 +6,7 @@ module RuboCop
|
|||||||
module Cask
|
module Cask
|
||||||
# Common functionality for cops checking casks.
|
# Common functionality for cops checking casks.
|
||||||
module CaskHelp
|
module CaskHelp
|
||||||
prepend CommentsHelp
|
prepend CommentsHelp # Update the rbi file if changing this: https://github.com/sorbet/sorbet/issues/259
|
||||||
|
|
||||||
sig { overridable.params(cask_block: RuboCop::Cask::AST::CaskBlock).void }
|
sig { overridable.params(cask_block: RuboCop::Cask::AST::CaskBlock).void }
|
||||||
def on_cask(cask_block); end
|
def on_cask(cask_block); end
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
# typed: strict
|
# typed: strict
|
||||||
|
|
||||||
module RuboCop::Cop::Cask::CaskHelp
|
module RuboCop::Cop::Cask::CaskHelp
|
||||||
|
# Sorbet doesn't understand `prepend`: https://github.com/sorbet/sorbet/issues/259
|
||||||
|
include RuboCop::Cop::CommentsHelp
|
||||||
requires_ancestor { RuboCop::Cop::Base }
|
requires_ancestor { RuboCop::Cop::Base }
|
||||||
end
|
end
|
||||||
|
|||||||
@ -192,7 +192,7 @@ class SoftwareSpec
|
|||||||
def uses_from_macos(deps, bounds = {})
|
def uses_from_macos(deps, bounds = {})
|
||||||
if deps.is_a?(Hash)
|
if deps.is_a?(Hash)
|
||||||
bounds = deps.dup
|
bounds = deps.dup
|
||||||
deps = [bounds.shift].to_h
|
deps = [T.unsafe(bounds).shift].to_h
|
||||||
end
|
end
|
||||||
|
|
||||||
spec, tags = deps.is_a?(Hash) ? deps.first : deps
|
spec, tags = deps.is_a?(Hash) ? deps.first : deps
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
# typed: strict
|
|
||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
# This file intentionally left blank
|
|
||||||
1
Library/Homebrew/sorbet/rbi/dsl/.gitattributes
vendored
Normal file
1
Library/Homebrew/sorbet/rbi/dsl/.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
**/*.rbi linguist-generated=true
|
||||||
17
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/cask/variables.rbi
generated
Normal file
17
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/cask/variables.rbi
generated
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::Cask::Variables`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::Cask::Variables`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::Cask::Variables
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def variable_assignment(node, *pattern, **kwargs, &block); end
|
||||||
|
end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/assert_statements.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/assert_statements.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::AssertStatements`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::AssertStatements`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::AssertStatements; end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/class_inheritance.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/class_inheritance.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::ClassInheritance`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::ClassInheritance`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::ClassInheritance; end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/class_name.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/class_name.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::ClassName`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::ClassName`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::ClassName; end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/comments.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/comments.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::Comments`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Comments`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::Comments; end
|
||||||
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/components_order.rbi
generated
Normal file
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/components_order.rbi
generated
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::ComponentsOrder`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::ComponentsOrder`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::ComponentsOrder
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def depends_on_node?(node, **kwargs, &block); end
|
||||||
|
end
|
||||||
83
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/dependency_order.rbi
generated
Normal file
83
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/dependency_order.rbi
generated
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::DependencyOrder`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::DependencyOrder`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::DependencyOrder
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def build_with_dependency_node(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def buildtime_dependency?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def dependency_name_node(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def depends_on_node?(node, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def negate_normal_dependency?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def optional_dependency?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def recommended_dependency?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def test_dependency?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def uses_from_macos_node?(node, **kwargs, &block); end
|
||||||
|
end
|
||||||
17
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/deprecate_disable_date.rbi
generated
Normal file
17
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/deprecate_disable_date.rbi
generated
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::DeprecateDisableDate`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::DeprecateDisableDate`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::DeprecateDisableDate
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def date(node, *pattern, **kwargs, &block); end
|
||||||
|
end
|
||||||
17
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/deprecate_disable_reason.rbi
generated
Normal file
17
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/deprecate_disable_reason.rbi
generated
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::DeprecateDisableReason`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::DeprecateDisableReason`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::DeprecateDisableReason
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def reason(node, *pattern, **kwargs, &block); end
|
||||||
|
end
|
||||||
27
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/generate_completions_dsl.rbi
generated
Normal file
27
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/generate_completions_dsl.rbi
generated
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::GenerateCompletionsDSL`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::GenerateCompletionsDSL`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::GenerateCompletionsDSL
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def correctable_shell_completion_node(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def shell_completion_node(node, *pattern, **kwargs, &block); end
|
||||||
|
end
|
||||||
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/git_urls.rbi
generated
Normal file
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/git_urls.rbi
generated
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::GitUrls`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::GitUrls`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::GitUrls
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def url_has_revision?(node, **kwargs, &block); end
|
||||||
|
end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/license_arrays.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/license_arrays.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::LicenseArrays`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::LicenseArrays`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::LicenseArrays; end
|
||||||
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/licenses.rbi
generated
Normal file
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/licenses.rbi
generated
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::Licenses`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Licenses`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::Licenses
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def license_exception?(node, **kwargs, &block); end
|
||||||
|
end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/lines.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/lines.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::Lines`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Lines`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::Lines; end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/mac_os_on_linux.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/mac_os_on_linux.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::MacOSOnLinux`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::MacOSOnLinux`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::MacOSOnLinux; end
|
||||||
43
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/miscellaneous.rbi
generated
Normal file
43
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/miscellaneous.rbi
generated
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::Miscellaneous`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Miscellaneous`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::Miscellaneous
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def conditional_dependencies(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def destructure_hash(node, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def formula_path_strings(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def hash_dep(node, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def languageNodeModule?(node, *pattern, **kwargs, &block); end
|
||||||
|
end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/mpi_check.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/mpi_check.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::MpiCheck`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::MpiCheck`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::MpiCheck; end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/on_system_conditionals.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/on_system_conditionals.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::OnSystemConditionals`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::OnSystemConditionals`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::OnSystemConditionals; end
|
||||||
17
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/option_declarations.rbi
generated
Normal file
17
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/option_declarations.rbi
generated
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::OptionDeclarations`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::OptionDeclarations`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::OptionDeclarations
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def depends_on_build_with(node, *pattern, **kwargs, &block); end
|
||||||
|
end
|
||||||
17
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/patches.rbi
generated
Normal file
17
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/patches.rbi
generated
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::Patches`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Patches`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::Patches
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def patch_data?(node, *pattern, **kwargs, &block); end
|
||||||
|
end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/py_pi_urls.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/py_pi_urls.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::PyPiUrls`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::PyPiUrls`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::PyPiUrls; end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/pyoxidizer_check.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/pyoxidizer_check.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::PyoxidizerCheck`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::PyoxidizerCheck`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::PyoxidizerCheck; end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/python_versions.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/python_versions.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::PythonVersions`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::PythonVersions`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::PythonVersions; end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/quic_tls_check.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/quic_tls_check.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::QuicTLSCheck`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::QuicTLSCheck`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::QuicTLSCheck; end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/safe_popen_commands.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/safe_popen_commands.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::SafePopenCommands`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::SafePopenCommands`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::SafePopenCommands; end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/shell_variables.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/shell_variables.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::ShellVariables`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::ShellVariables`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::ShellVariables; end
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::SingleGenerateCompletionsDSLCall`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::SingleGenerateCompletionsDSLCall`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::SingleGenerateCompletionsDSLCall; end
|
||||||
17
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/test.rbi
generated
Normal file
17
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/test.rbi
generated
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::Test`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Test`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::Test
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def test_calls(node, *pattern, **kwargs, &block); end
|
||||||
|
end
|
||||||
17
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/text.rbi
generated
Normal file
17
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/text.rbi
generated
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::Text`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Text`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::Text
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def prefix_path(node, *pattern, **kwargs, &block); end
|
||||||
|
end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/urls.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit/urls.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAudit::Urls`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Urls`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAudit::Urls; end
|
||||||
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit_strict/git_urls.rbi
generated
Normal file
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit_strict/git_urls.rbi
generated
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAuditStrict::GitUrls`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAuditStrict::GitUrls`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAuditStrict::GitUrls
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def url_has_tag?(node, **kwargs, &block); end
|
||||||
|
end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit_strict/make_check.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit_strict/make_check.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAuditStrict::MakeCheck`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAuditStrict::MakeCheck`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAuditStrict::MakeCheck; end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit_strict/requirements.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit_strict/requirements.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAuditStrict::Requirements`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAuditStrict::Requirements`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAuditStrict::Requirements; end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit_strict/rust_check.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit_strict/rust_check.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAuditStrict::RustCheck`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAuditStrict::RustCheck`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAuditStrict::RustCheck; end
|
||||||
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit_strict/test_present.rbi
generated
Normal file
7
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit_strict/test_present.rbi
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAuditStrict::TestPresent`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAuditStrict::TestPresent`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAuditStrict::TestPresent; end
|
||||||
27
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit_strict/text.rbi
generated
Normal file
27
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_audit_strict/text.rbi
generated
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaAuditStrict::Text`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAuditStrict::Text`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaAuditStrict::Text
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def interpolated_share_path_starts_with(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def share_path_starts_with(node, *pattern, **kwargs, &block); end
|
||||||
|
end
|
||||||
47
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_cop.rbi
generated
Normal file
47
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/formula_cop.rbi
generated
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::FormulaCop`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaCop`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::FormulaCop
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def dependency_name_hash_match?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def dependency_type_hash_match?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def required_dependency?(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T::Boolean)
|
||||||
|
end
|
||||||
|
def required_dependency_name?(node, *pattern, **kwargs, &block); end
|
||||||
|
end
|
||||||
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/homebrew/blank.rbi
generated
Normal file
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/homebrew/blank.rbi
generated
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::Homebrew::Blank`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::Homebrew::Blank`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::Homebrew::Blank
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def nil_or_empty?(node, **kwargs, &block); end
|
||||||
|
end
|
||||||
13
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/homebrew/compact_blank.rbi
generated
Normal file
13
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/homebrew/compact_blank.rbi
generated
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::Homebrew::CompactBlank`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::Homebrew::CompactBlank`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::Homebrew::CompactBlank
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def reject_with_block?(node, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def reject_with_block_pass?(node, **kwargs, &block); end
|
||||||
|
end
|
||||||
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/homebrew/move_to_extend_os.rbi
generated
Normal file
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/homebrew/move_to_extend_os.rbi
generated
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::Homebrew::MoveToExtendOS`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::Homebrew::MoveToExtendOS`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::Homebrew::MoveToExtendOS
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def os_check?(node, **kwargs, &block); end
|
||||||
|
end
|
||||||
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/homebrew/negate_include.rbi
generated
Normal file
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/homebrew/negate_include.rbi
generated
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::Homebrew::NegateInclude`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::Homebrew::NegateInclude`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::Homebrew::NegateInclude
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def negate_include_call?(node, **kwargs, &block); end
|
||||||
|
end
|
||||||
13
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/homebrew/presence.rbi
generated
Normal file
13
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/homebrew/presence.rbi
generated
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::Homebrew::Presence`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::Homebrew::Presence`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::Homebrew::Presence
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def redundant_negative_receiver_and_other(node, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def redundant_receiver_and_other(node, **kwargs, &block); end
|
||||||
|
end
|
||||||
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/homebrew/present.rbi
generated
Normal file
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/homebrew/present.rbi
generated
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::Homebrew::Present`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::Homebrew::Present`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::Homebrew::Present
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def exists_and_not_empty?(node, **kwargs, &block); end
|
||||||
|
end
|
||||||
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/homebrew/safe_navigation_with_blank.rbi
generated
Normal file
10
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/homebrew/safe_navigation_with_blank.rbi
generated
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::Homebrew::SafeNavigationWithBlank`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::Homebrew::SafeNavigationWithBlank`.
|
||||||
|
|
||||||
|
class RuboCop::Cop::Homebrew::SafeNavigationWithBlank
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def safe_navigation_blank_in_conditional?(node, **kwargs, &block); end
|
||||||
|
end
|
||||||
63
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/on_system_conditionals_helper.rbi
generated
Normal file
63
Library/Homebrew/sorbet/rbi/dsl/rubo_cop/cop/on_system_conditionals_helper.rbi
generated
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for dynamic methods in `RuboCop::Cop::OnSystemConditionalsHelper`.
|
||||||
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::OnSystemConditionalsHelper`.
|
||||||
|
|
||||||
|
module RuboCop::Cop::OnSystemConditionalsHelper
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def hardware_cpu_search(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def if_arch_node_search(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def if_base_os_node_search(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def if_macos_version_node_search(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
node: RuboCop::AST::Node,
|
||||||
|
pattern: T.any(String, Symbol),
|
||||||
|
kwargs: T.untyped,
|
||||||
|
block: T.untyped
|
||||||
|
).returns(T.untyped)
|
||||||
|
end
|
||||||
|
def macos_version_comparison_search(node, *pattern, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def on_macos_version_method_call(node, **kwargs, &block); end
|
||||||
|
|
||||||
|
sig { params(node: RuboCop::AST::Node, kwargs: T.untyped, block: T.untyped).returns(T.untyped) }
|
||||||
|
def on_system_method_call(node, **kwargs, &block); end
|
||||||
|
end
|
||||||
319
Library/Homebrew/sorbet/rbi/gems/msgpack@1.7.2.rbi
generated
319
Library/Homebrew/sorbet/rbi/gems/msgpack@1.7.2.rbi
generated
@ -1,319 +0,0 @@
|
|||||||
# typed: false
|
|
||||||
|
|
||||||
# DO NOT EDIT MANUALLY
|
|
||||||
# This is an autogenerated file for types exported from the `msgpack` gem.
|
|
||||||
# Please instead update this file by running `bin/tapioca gem msgpack`.
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#67
|
|
||||||
class Array
|
|
||||||
include ::Enumerable
|
|
||||||
include ::MessagePack::CoreExt
|
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#71
|
|
||||||
def to_msgpack_with_packer(packer); end
|
|
||||||
end
|
|
||||||
|
|
||||||
Bignum = Integer
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#37
|
|
||||||
class FalseClass
|
|
||||||
include ::MessagePack::CoreExt
|
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#41
|
|
||||||
def to_msgpack_with_packer(packer); end
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#47
|
|
||||||
class Float < ::Numeric
|
|
||||||
include ::MessagePack::CoreExt
|
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#51
|
|
||||||
def to_msgpack_with_packer(packer); end
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#77
|
|
||||||
class Hash
|
|
||||||
include ::Enumerable
|
|
||||||
include ::MessagePack::CoreExt
|
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#81
|
|
||||||
def to_msgpack_with_packer(packer); end
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#98
|
|
||||||
class Integer < ::Numeric
|
|
||||||
include ::MessagePack::CoreExt
|
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#102
|
|
||||||
def to_msgpack_with_packer(packer); end
|
|
||||||
end
|
|
||||||
|
|
||||||
# MessagePack extention packer and unpacker for built-in Time class
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/version.rb#1
|
|
||||||
module MessagePack
|
|
||||||
private
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack.rb#39
|
|
||||||
def dump(v, io = T.unsafe(nil), options = T.unsafe(nil)); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack.rb#22
|
|
||||||
def load(src, param = T.unsafe(nil)); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack.rb#39
|
|
||||||
def pack(v, io = T.unsafe(nil), options = T.unsafe(nil)); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack.rb#22
|
|
||||||
def unpack(src, param = T.unsafe(nil)); end
|
|
||||||
|
|
||||||
class << self
|
|
||||||
# source://msgpack//lib/msgpack.rb#39
|
|
||||||
def dump(v, io = T.unsafe(nil), options = T.unsafe(nil)); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack.rb#22
|
|
||||||
def load(src, param = T.unsafe(nil)); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack.rb#39
|
|
||||||
def pack(v, io = T.unsafe(nil), options = T.unsafe(nil)); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack.rb#22
|
|
||||||
def unpack(src, param = T.unsafe(nil)); end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#2
|
|
||||||
module MessagePack::CoreExt
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#3
|
|
||||||
def to_msgpack(packer_or_io = T.unsafe(nil)); end
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#130
|
|
||||||
class MessagePack::ExtensionValue < ::Struct
|
|
||||||
include ::MessagePack::CoreExt
|
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#134
|
|
||||||
def to_msgpack_with_packer(packer); end
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#2
|
|
||||||
class MessagePack::Factory
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#113
|
|
||||||
def dump(v, *rest); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#99
|
|
||||||
def load(src, param = T.unsafe(nil)); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#113
|
|
||||||
def pack(v, *rest); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#120
|
|
||||||
def pool(size = T.unsafe(nil), **options); end
|
|
||||||
|
|
||||||
# see ext for other methods
|
|
||||||
#
|
|
||||||
# @raise [FrozenError]
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#5
|
|
||||||
def register_type(type, klass, options = T.unsafe(nil)); end
|
|
||||||
|
|
||||||
# [ {type: id, class: Class(or nil), packer: arg, unpacker: arg}, ... ]
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#41
|
|
||||||
def registered_types(selector = T.unsafe(nil)); end
|
|
||||||
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#86
|
|
||||||
def type_registered?(klass_or_type, selector = T.unsafe(nil)); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#99
|
|
||||||
def unpack(src, param = T.unsafe(nil)); end
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#128
|
|
||||||
class MessagePack::Factory::Pool
|
|
||||||
# @return [Pool] a new instance of Pool
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#181
|
|
||||||
def initialize(factory, size, options = T.unsafe(nil)); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#195
|
|
||||||
def dump(object); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#188
|
|
||||||
def load(data); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#206
|
|
||||||
def packer(&block); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#202
|
|
||||||
def unpacker(&block); end
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#130
|
|
||||||
class MessagePack::Factory::Pool::MemberPool
|
|
||||||
# @return [MemberPool] a new instance of MemberPool
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#131
|
|
||||||
def initialize(size, &block); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/factory.rb#137
|
|
||||||
def with; end
|
|
||||||
end
|
|
||||||
|
|
||||||
class MessagePack::HeldBuffer < ::BasicObject; end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/packer.rb#2
|
|
||||||
class MessagePack::Packer
|
|
||||||
# @raise [ArgumentError]
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/packer.rb#9
|
|
||||||
def register_type(type, klass, method_name = T.unsafe(nil), &block); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/packer.rb#14
|
|
||||||
def registered_types; end
|
|
||||||
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/packer.rb#24
|
|
||||||
def type_registered?(klass_or_type); end
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/time.rb#5
|
|
||||||
module MessagePack::Time; end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/time.rb#25
|
|
||||||
MessagePack::Time::Packer = T.let(T.unsafe(nil), Proc)
|
|
||||||
|
|
||||||
# 3-arg Time.at is available Ruby >= 2.5
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/time.rb#7
|
|
||||||
MessagePack::Time::TIME_AT_3_AVAILABLE = T.let(T.unsafe(nil), TrueClass)
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/time.rb#13
|
|
||||||
MessagePack::Time::Unpacker = T.let(T.unsafe(nil), Proc)
|
|
||||||
|
|
||||||
# a.k.a. "TimeSpec"
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/timestamp.rb#4
|
|
||||||
class MessagePack::Timestamp
|
|
||||||
# @param sec [Integer]
|
|
||||||
# @param nsec [Integer]
|
|
||||||
# @return [Timestamp] a new instance of Timestamp
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/timestamp.rb#24
|
|
||||||
def initialize(sec, nsec); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/timestamp.rb#72
|
|
||||||
def ==(other); end
|
|
||||||
|
|
||||||
# @return [Integer]
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/timestamp.rb#20
|
|
||||||
def nsec; end
|
|
||||||
|
|
||||||
# @return [Integer]
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/timestamp.rb#17
|
|
||||||
def sec; end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/timestamp.rb#68
|
|
||||||
def to_msgpack_ext; end
|
|
||||||
|
|
||||||
class << self
|
|
||||||
# source://msgpack//lib/msgpack/timestamp.rb#29
|
|
||||||
def from_msgpack_ext(data); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/timestamp.rb#50
|
|
||||||
def to_msgpack_ext(sec, nsec); end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/timestamp.rb#13
|
|
||||||
MessagePack::Timestamp::TIMESTAMP32_MAX_SEC = T.let(T.unsafe(nil), Integer)
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/timestamp.rb#14
|
|
||||||
MessagePack::Timestamp::TIMESTAMP64_MAX_SEC = T.let(T.unsafe(nil), Integer)
|
|
||||||
|
|
||||||
# The timestamp extension type defined in the MessagePack spec.
|
|
||||||
# See https://github.com/msgpack/msgpack/blob/master/spec.md#timestamp-extension-type for details.
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/timestamp.rb#11
|
|
||||||
MessagePack::Timestamp::TYPE = T.let(T.unsafe(nil), Integer)
|
|
||||||
|
|
||||||
class MessagePack::UnexpectedTypeError < ::MessagePack::UnpackError
|
|
||||||
include ::MessagePack::TypeError
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/unpacker.rb#2
|
|
||||||
class MessagePack::Unpacker
|
|
||||||
# source://msgpack//lib/msgpack/unpacker.rb#9
|
|
||||||
def register_type(type, klass = T.unsafe(nil), method_name = T.unsafe(nil), &block); end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/unpacker.rb#18
|
|
||||||
def registered_types; end
|
|
||||||
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
# source://msgpack//lib/msgpack/unpacker.rb#28
|
|
||||||
def type_registered?(klass_or_type); end
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#17
|
|
||||||
class NilClass
|
|
||||||
include ::MessagePack::CoreExt
|
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#21
|
|
||||||
def to_msgpack_with_packer(packer); end
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#57
|
|
||||||
class String
|
|
||||||
include ::Comparable
|
|
||||||
include ::MessagePack::CoreExt
|
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#61
|
|
||||||
def to_msgpack_with_packer(packer); end
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/symbol.rb#1
|
|
||||||
class Symbol
|
|
||||||
include ::Comparable
|
|
||||||
include ::MessagePack::CoreExt
|
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#91
|
|
||||||
def to_msgpack_with_packer(packer); end
|
|
||||||
|
|
||||||
class << self
|
|
||||||
# source://msgpack//lib/msgpack/symbol.rb#12
|
|
||||||
def from_msgpack_ext(data); end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#27
|
|
||||||
class TrueClass
|
|
||||||
include ::MessagePack::CoreExt
|
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
# source://msgpack//lib/msgpack/core_ext.rb#31
|
|
||||||
def to_msgpack_with_packer(packer); end
|
|
||||||
end
|
|
||||||
16
Library/Homebrew/sorbet/rbi/gems/parlour@8.1.0.rbi
generated
16
Library/Homebrew/sorbet/rbi/gems/parlour@8.1.0.rbi
generated
@ -913,7 +913,7 @@ class Parlour::RbiGenerator::Namespace < ::Parlour::RbiGenerator::RbiObject
|
|||||||
# @param block [T.proc.params(x: Attribute).void, nil]
|
# @param block [T.proc.params(x: Attribute).void, nil]
|
||||||
# @return [Attribute]
|
# @return [Attribute]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def create_attr(*args, **_arg1, &blk); end
|
def create_attr(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
# source://parlour//lib/parlour/rbi_generator/namespace.rb#472
|
# source://parlour//lib/parlour/rbi_generator/namespace.rb#472
|
||||||
@ -1121,7 +1121,7 @@ class Parlour::RbiGenerator::Namespace < ::Parlour::RbiGenerator::RbiObject
|
|||||||
|
|
||||||
# @return [Array<RbiGenerator::TypeAlias>]
|
# @return [Array<RbiGenerator::TypeAlias>]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def type_aliases(*args, **_arg1, &blk); end
|
def type_aliases(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -1885,7 +1885,7 @@ class Parlour::RbsGenerator::Namespace < ::Parlour::RbsGenerator::RbsObject
|
|||||||
# @param block [T.proc.params(x: Attribute).void, nil]
|
# @param block [T.proc.params(x: Attribute).void, nil]
|
||||||
# @return [Attribute]
|
# @return [Attribute]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def create_attr(*args, **_arg1, &blk); end
|
def create_attr(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
# source://parlour//lib/parlour/rbs_generator/namespace.rb#347
|
# source://parlour//lib/parlour/rbs_generator/namespace.rb#347
|
||||||
@ -2052,7 +2052,7 @@ class Parlour::RbsGenerator::Namespace < ::Parlour::RbsGenerator::RbsObject
|
|||||||
|
|
||||||
# @return [Array<RbsGenerator::TypeAlias>]
|
# @return [Array<RbsGenerator::TypeAlias>]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def type_aliases(*args, **_arg1, &blk); end
|
def type_aliases(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -2395,7 +2395,7 @@ class Parlour::TypeParser::IntermediateSig < ::T::Struct
|
|||||||
prop :params, T.nilable(T::Array[::Parser::AST::Node])
|
prop :params, T.nilable(T::Array[::Parser::AST::Node])
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2450,7 +2450,7 @@ class Parlour::TypedObject
|
|||||||
# @param comment [String, Array<String>]
|
# @param comment [String, Array<String>]
|
||||||
# @return [void]
|
# @return [void]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def add_comments(*args, **_arg1, &blk); end
|
def add_comments(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
# source://parlour//lib/parlour/typed_object.rb#32
|
# source://parlour//lib/parlour/typed_object.rb#32
|
||||||
@ -2471,7 +2471,7 @@ class Parlour::TypedObject
|
|||||||
|
|
||||||
# @return [String]
|
# @return [String]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def inspect(*args, **_arg1, &blk); end
|
def inspect(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
# source://parlour//lib/parlour/typed_object.rb#26
|
# source://parlour//lib/parlour/typed_object.rb#26
|
||||||
@ -2480,7 +2480,7 @@ class Parlour::TypedObject
|
|||||||
|
|
||||||
# @return [String]
|
# @return [String]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def to_s(*args, **_arg1, &blk); end
|
def to_s(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|||||||
4
Library/Homebrew/sorbet/rbi/gems/rbi@0.1.8.rbi
generated
4
Library/Homebrew/sorbet/rbi/gems/rbi@0.1.8.rbi
generated
@ -1820,7 +1820,7 @@ class RBI::Rewriters::Merge::Conflict < ::T::Struct
|
|||||||
def to_s; end
|
def to_s; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11230/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2037,7 +2037,7 @@ class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct
|
|||||||
def to_s; end
|
def to_s; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11230/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -7,70 +7,70 @@
|
|||||||
# source://rspec-github//lib/rspec/github/version.rb#3
|
# source://rspec-github//lib/rspec/github/version.rb#3
|
||||||
module RSpec
|
module RSpec
|
||||||
class << self
|
class << self
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#70
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#70
|
||||||
def clear_examples; end
|
def clear_examples; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#85
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#85
|
||||||
def configuration; end
|
def configuration; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#49
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#49
|
||||||
def configuration=(_arg0); end
|
def configuration=(_arg0); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#97
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#97
|
||||||
def configure; end
|
def configure; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#194
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#194
|
||||||
def const_missing(name); end
|
def const_missing(name); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def context(*args, &example_group_block); end
|
def context(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#122
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#122
|
||||||
def current_example; end
|
def current_example; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#128
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#128
|
||||||
def current_example=(example); end
|
def current_example=(example); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#154
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#154
|
||||||
def current_scope; end
|
def current_scope; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#134
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#134
|
||||||
def current_scope=(scope); end
|
def current_scope=(scope); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def describe(*args, &example_group_block); end
|
def describe(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def example_group(*args, &example_group_block); end
|
def example_group(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def fcontext(*args, &example_group_block); end
|
def fcontext(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def fdescribe(*args, &example_group_block); end
|
def fdescribe(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#58
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#58
|
||||||
def reset; end
|
def reset; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
|
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
|
||||||
def shared_context(name, *args, &block); end
|
def shared_context(name, *args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
|
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
|
||||||
def shared_examples(name, *args, &block); end
|
def shared_examples(name, *args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
|
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
|
||||||
def shared_examples_for(name, *args, &block); end
|
def shared_examples_for(name, *args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#160
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#160
|
||||||
def world; end
|
def world; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#49
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#49
|
||||||
def world=(_arg0); end
|
def world=(_arg0); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def xcontext(*args, &example_group_block); end
|
def xcontext(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def xdescribe(*args, &example_group_block); end
|
def xdescribe(*args, &example_group_block); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
44
Library/Homebrew/sorbet/rbi/gems/rspec-its@1.3.0.rbi
generated
44
Library/Homebrew/sorbet/rbi/gems/rspec-its@1.3.0.rbi
generated
@ -7,70 +7,70 @@
|
|||||||
# source://rspec-its//lib/rspec/its/version.rb#1
|
# source://rspec-its//lib/rspec/its/version.rb#1
|
||||||
module RSpec
|
module RSpec
|
||||||
class << self
|
class << self
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#70
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#70
|
||||||
def clear_examples; end
|
def clear_examples; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#85
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#85
|
||||||
def configuration; end
|
def configuration; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#49
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#49
|
||||||
def configuration=(_arg0); end
|
def configuration=(_arg0); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#97
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#97
|
||||||
def configure; end
|
def configure; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#194
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#194
|
||||||
def const_missing(name); end
|
def const_missing(name); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def context(*args, &example_group_block); end
|
def context(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#122
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#122
|
||||||
def current_example; end
|
def current_example; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#128
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#128
|
||||||
def current_example=(example); end
|
def current_example=(example); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#154
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#154
|
||||||
def current_scope; end
|
def current_scope; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#134
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#134
|
||||||
def current_scope=(scope); end
|
def current_scope=(scope); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def describe(*args, &example_group_block); end
|
def describe(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def example_group(*args, &example_group_block); end
|
def example_group(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def fcontext(*args, &example_group_block); end
|
def fcontext(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def fdescribe(*args, &example_group_block); end
|
def fdescribe(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#58
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#58
|
||||||
def reset; end
|
def reset; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
|
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
|
||||||
def shared_context(name, *args, &block); end
|
def shared_context(name, *args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
|
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
|
||||||
def shared_examples(name, *args, &block); end
|
def shared_examples(name, *args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
|
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
|
||||||
def shared_examples_for(name, *args, &block); end
|
def shared_examples_for(name, *args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#160
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#160
|
||||||
def world; end
|
def world; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#49
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#49
|
||||||
def world=(_arg0); end
|
def world=(_arg0); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def xcontext(*args, &example_group_block); end
|
def xcontext(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def xdescribe(*args, &example_group_block); end
|
def xdescribe(*args, &example_group_block); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
380
Library/Homebrew/sorbet/rbi/gems/rspec-retry@0.6.2.rbi
generated
380
Library/Homebrew/sorbet/rbi/gems/rspec-retry@0.6.2.rbi
generated
@ -7,70 +7,70 @@
|
|||||||
# source://rspec-retry//lib/rspec/retry/version.rb#1
|
# source://rspec-retry//lib/rspec/retry/version.rb#1
|
||||||
module RSpec
|
module RSpec
|
||||||
class << self
|
class << self
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#70
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#70
|
||||||
def clear_examples; end
|
def clear_examples; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#85
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#85
|
||||||
def configuration; end
|
def configuration; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#49
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#49
|
||||||
def configuration=(_arg0); end
|
def configuration=(_arg0); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#97
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#97
|
||||||
def configure; end
|
def configure; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#194
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#194
|
||||||
def const_missing(name); end
|
def const_missing(name); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def context(*args, &example_group_block); end
|
def context(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#122
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#122
|
||||||
def current_example; end
|
def current_example; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#128
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#128
|
||||||
def current_example=(example); end
|
def current_example=(example); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#154
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#154
|
||||||
def current_scope; end
|
def current_scope; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#134
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#134
|
||||||
def current_scope=(scope); end
|
def current_scope=(scope); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def describe(*args, &example_group_block); end
|
def describe(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def example_group(*args, &example_group_block); end
|
def example_group(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def fcontext(*args, &example_group_block); end
|
def fcontext(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def fdescribe(*args, &example_group_block); end
|
def fdescribe(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#58
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#58
|
||||||
def reset; end
|
def reset; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
|
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
|
||||||
def shared_context(name, *args, &block); end
|
def shared_context(name, *args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
|
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
|
||||||
def shared_examples(name, *args, &block); end
|
def shared_examples(name, *args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
|
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
|
||||||
def shared_examples_for(name, *args, &block); end
|
def shared_examples_for(name, *args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#160
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#160
|
||||||
def world; end
|
def world; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#49
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#49
|
||||||
def world=(_arg0); end
|
def world=(_arg0); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def xcontext(*args, &example_group_block); end
|
def xcontext(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def xdescribe(*args, &example_group_block); end
|
def xdescribe(*args, &example_group_block); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -78,14 +78,14 @@ end
|
|||||||
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#2
|
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#2
|
||||||
module RSpec::Core
|
module RSpec::Core
|
||||||
class << self
|
class << self
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#181
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#181
|
||||||
def path_to_executable; end
|
def path_to_executable; end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#3
|
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#3
|
||||||
class RSpec::Core::Example
|
class RSpec::Core::Example
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#186
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#186
|
||||||
def initialize(example_group_class, description, user_metadata, example_block = T.unsafe(nil)); end
|
def initialize(example_group_class, description, user_metadata, example_block = T.unsafe(nil)); end
|
||||||
|
|
||||||
# Returns the value of attribute attempts.
|
# Returns the value of attribute attempts.
|
||||||
@ -103,305 +103,305 @@ class RSpec::Core::Example
|
|||||||
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#6
|
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#6
|
||||||
def clear_exception; end
|
def clear_exception; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#174
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#174
|
||||||
def clock; end
|
def clock; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#174
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#174
|
||||||
def clock=(_arg0); end
|
def clock=(_arg0); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#76
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#76
|
||||||
def description; end
|
def description; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#388
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#388
|
||||||
def display_exception; end
|
def display_exception; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#396
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#396
|
||||||
def display_exception=(ex); end
|
def display_exception=(ex); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#132
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#132
|
||||||
def duplicate_with(metadata_overrides = T.unsafe(nil)); end
|
def duplicate_with(metadata_overrides = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#230
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#230
|
||||||
def example_group; end
|
def example_group; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#170
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#170
|
||||||
def example_group_instance; end
|
def example_group_instance; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#158
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#158
|
||||||
def exception; end
|
def exception; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#49
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#49
|
||||||
def execution_result; end
|
def execution_result; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#439
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#439
|
||||||
def fail_with_exception(reporter, exception); end
|
def fail_with_exception(reporter, exception); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#49
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#49
|
||||||
def file_path; end
|
def file_path; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#49
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#49
|
||||||
def full_description; end
|
def full_description; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#117
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#117
|
||||||
def id; end
|
def id; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#220
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#220
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#87
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#87
|
||||||
def inspect_output; end
|
def inspect_output; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#456
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#456
|
||||||
def instance_exec(*args, &block); end
|
def instance_exec(*args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#49
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#49
|
||||||
def location; end
|
def location; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#96
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#96
|
||||||
def location_rerun_argument; end
|
def location_rerun_argument; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#163
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#163
|
||||||
def metadata; end
|
def metadata; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#49
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#49
|
||||||
def pending; end
|
def pending; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#234
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#234
|
||||||
def pending?; end
|
def pending?; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#226
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#226
|
||||||
def reporter; end
|
def reporter; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#111
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#111
|
||||||
def rerun_argument; end
|
def rerun_argument; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#246
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#246
|
||||||
def run(example_group_instance, reporter); end
|
def run(example_group_instance, reporter); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#425
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#425
|
||||||
def set_aggregate_failures_exception(exception); end
|
def set_aggregate_failures_exception(exception); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#412
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#412
|
||||||
def set_exception(exception); end
|
def set_exception(exception); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#49
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#49
|
||||||
def skip; end
|
def skip; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#449
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#449
|
||||||
def skip_with_exception(reporter, exception); end
|
def skip_with_exception(reporter, exception); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#238
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#238
|
||||||
def skipped?; end
|
def skipped?; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#220
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#220
|
||||||
def to_s; end
|
def to_s; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#148
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#148
|
||||||
def update_inherited_metadata(updates); end
|
def update_inherited_metadata(updates); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#534
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#534
|
||||||
def assign_generated_description; end
|
def assign_generated_description; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#478
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#478
|
||||||
def finish(reporter); end
|
def finish(reporter); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#543
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#543
|
||||||
def generate_description; end
|
def generate_description; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#462
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#462
|
||||||
def hooks; end
|
def hooks; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#550
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#550
|
||||||
def location_description; end
|
def location_description; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#530
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#530
|
||||||
def mocks_need_verification?; end
|
def mocks_need_verification?; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#498
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#498
|
||||||
def record_finished(status, reporter); end
|
def record_finished(status, reporter); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#516
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#516
|
||||||
def run_after_example; end
|
def run_after_example; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#503
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#503
|
||||||
def run_before_example; end
|
def run_before_example; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#473
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#473
|
||||||
def start(reporter); end
|
def start(reporter); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#524
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#524
|
||||||
def verify_mocks; end
|
def verify_mocks; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#508
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#508
|
||||||
def with_around_and_singleton_context_hooks; end
|
def with_around_and_singleton_context_hooks; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#466
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#466
|
||||||
def with_around_example_hooks; end
|
def with_around_example_hooks; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#48
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#48
|
||||||
def delegate_to_metadata(key); end
|
def delegate_to_metadata(key); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#122
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#122
|
||||||
def parse_id(id); end
|
def parse_id(id); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#10
|
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#10
|
||||||
class RSpec::Core::Example::Procsy
|
class RSpec::Core::Example::Procsy
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#362
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#362
|
||||||
def initialize(example, &block); end
|
def initialize(example, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def <<(*a, &b); end
|
def <<(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def ==(*a, &b); end
|
def ==(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def ===(*a, &b); end
|
def ===(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def >>(*a, &b); end
|
def >>(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def [](*a, &b); end
|
def [](*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def arity(*a, &b); end
|
def arity(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#15
|
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#15
|
||||||
def attempts; end
|
def attempts; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def binding(*a, &b); end
|
def binding(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#350
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#350
|
||||||
def call(*args, &block); end
|
def call(*args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def clock(*a, &b); end
|
def clock(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def clock=(*a, &b); end
|
def clock=(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def clone(*a, &b); end
|
def clone(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def curry(*a, &b); end
|
def curry(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def description(*a, &b); end
|
def description(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def dup(*a, &b); end
|
def dup(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def duplicate_with(*a, &b); end
|
def duplicate_with(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def eql?(*a, &b); end
|
def eql?(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#333
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#333
|
||||||
def example; end
|
def example; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def example_group(*a, &b); end
|
def example_group(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def example_group_instance(*a, &b); end
|
def example_group_instance(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def exception(*a, &b); end
|
def exception(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#374
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#374
|
||||||
def executed?; end
|
def executed?; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def execution_result(*a, &b); end
|
def execution_result(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def file_path(*a, &b); end
|
def file_path(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def full_description(*a, &b); end
|
def full_description(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def hash(*a, &b); end
|
def hash(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def id(*a, &b); end
|
def id(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#379
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#379
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def inspect_output(*a, &b); end
|
def inspect_output(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def lambda?(*a, &b); end
|
def lambda?(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def location(*a, &b); end
|
def location(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def location_rerun_argument(*a, &b); end
|
def location_rerun_argument(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def metadata(*a, &b); end
|
def metadata(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def parameters(*a, &b); end
|
def parameters(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def pending(*a, &b); end
|
def pending(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def pending?(*a, &b); end
|
def pending?(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def reporter(*a, &b); end
|
def reporter(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def rerun_argument(*a, &b); end
|
def rerun_argument(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def ruby2_keywords(*a, &b); end
|
def ruby2_keywords(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#350
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#350
|
||||||
def run(*args, &block); end
|
def run(*args, &block); end
|
||||||
|
|
||||||
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#11
|
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#11
|
||||||
def run_with_retry(opts = T.unsafe(nil)); end
|
def run_with_retry(opts = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def skip(*a, &b); end
|
def skip(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def skipped?(*a, &b); end
|
def skipped?(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def source_location(*a, &b); end
|
def source_location(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#358
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#358
|
||||||
def to_proc; end
|
def to_proc; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#339
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#339
|
||||||
def update_inherited_metadata(*a, &b); end
|
def update_inherited_metadata(*a, &b); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#369
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#369
|
||||||
def wrap(&block); end
|
def wrap(&block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example.rb#346
|
# source://rspec-core/3.13.0/lib/rspec/core/example.rb#346
|
||||||
def yield(*a, &b); end
|
def yield(*a, &b); end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#25
|
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#25
|
||||||
class RSpec::Core::ExampleGroup
|
class RSpec::Core::ExampleGroup
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#707
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#707
|
||||||
def initialize(inspect_output = T.unsafe(nil)); end
|
def initialize(inspect_output = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#34
|
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#34
|
||||||
@ -410,222 +410,222 @@ class RSpec::Core::ExampleGroup
|
|||||||
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#26
|
# source://rspec-retry//lib/rspec_ext/rspec_ext.rb#26
|
||||||
def clear_memoized; end
|
def clear_memoized; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#99
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#99
|
||||||
def described_class; end
|
def described_class; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#713
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#713
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#758
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#758
|
||||||
def method_missing(name, *args, **_arg2); end
|
def method_missing(name, *args, **_arg2); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#367
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#367
|
||||||
def add_example(example); end
|
def add_example(example); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#529
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#529
|
||||||
def before_context_ivars; end
|
def before_context_ivars; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#466
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#466
|
||||||
def children; end
|
def children; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#247
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#247
|
||||||
def context(*args, &example_group_block); end
|
def context(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#542
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#542
|
||||||
def currently_executing_a_context_hook?; end
|
def currently_executing_a_context_hook?; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#667
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#667
|
||||||
def declaration_locations; end
|
def declaration_locations; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#246
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#246
|
||||||
def define_example_group_method(name, metadata = T.unsafe(nil)); end
|
def define_example_group_method(name, metadata = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#145
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#145
|
||||||
def define_example_method(name, extra_options = T.unsafe(nil)); end
|
def define_example_method(name, extra_options = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#317
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#317
|
||||||
def define_nested_shared_group_method(new_name, report_label = T.unsafe(nil)); end
|
def define_nested_shared_group_method(new_name, report_label = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#76
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#76
|
||||||
def delegate_to_metadata(*names); end
|
def delegate_to_metadata(*names); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#460
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#460
|
||||||
def descendant_filtered_examples; end
|
def descendant_filtered_examples; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#503
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#503
|
||||||
def descendants; end
|
def descendants; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#247
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#247
|
||||||
def describe(*args, &example_group_block); end
|
def describe(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#78
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#78
|
||||||
def described_class; end
|
def described_class; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#85
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#85
|
||||||
def description; end
|
def description; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#700
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#700
|
||||||
def each_instance_variable_for_example(group); end
|
def each_instance_variable_for_example(group); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#518
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#518
|
||||||
def ensure_example_groups_are_configured; end
|
def ensure_example_groups_are_configured; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#146
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#146
|
||||||
def example(*all_args, &block); end
|
def example(*all_args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#247
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#247
|
||||||
def example_group(*args, &example_group_block); end
|
def example_group(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#450
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#450
|
||||||
def examples; end
|
def examples; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#247
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#247
|
||||||
def fcontext(*args, &example_group_block); end
|
def fcontext(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#247
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#247
|
||||||
def fdescribe(*args, &example_group_block); end
|
def fdescribe(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#146
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#146
|
||||||
def fexample(*all_args, &block); end
|
def fexample(*all_args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#78
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#78
|
||||||
def file_path; end
|
def file_path; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#455
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#455
|
||||||
def filtered_examples; end
|
def filtered_examples; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#379
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#379
|
||||||
def find_and_eval_shared(label, name, inclusion_location, *args, &customization_block); end
|
def find_and_eval_shared(label, name, inclusion_location, *args, &customization_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#146
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#146
|
||||||
def fit(*all_args, &block); end
|
def fit(*all_args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#146
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#146
|
||||||
def focus(*all_args, &block); end
|
def focus(*all_args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#655
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#655
|
||||||
def for_filtered_examples(reporter, &block); end
|
def for_filtered_examples(reporter, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#146
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#146
|
||||||
def fspecify(*all_args, &block); end
|
def fspecify(*all_args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#675
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#675
|
||||||
def id; end
|
def id; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#40
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#40
|
||||||
def idempotently_define_singleton_method(name, &definition); end
|
def idempotently_define_singleton_method(name, &definition); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#343
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#343
|
||||||
def include_context(name, *args, &block); end
|
def include_context(name, *args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#353
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#353
|
||||||
def include_examples(name, *args, &block); end
|
def include_examples(name, *args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#146
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#146
|
||||||
def it(*all_args, &block); end
|
def it(*all_args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#318
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#318
|
||||||
def it_behaves_like(name, *args, &customization_block); end
|
def it_behaves_like(name, *args, &customization_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#318
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#318
|
||||||
def it_should_behave_like(name, *args, &customization_block); end
|
def it_should_behave_like(name, *args, &customization_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#78
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#78
|
||||||
def location; end
|
def location; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#51
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#51
|
||||||
def metadata; end
|
def metadata; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#485
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#485
|
||||||
def next_runnable_index_for(file); end
|
def next_runnable_index_for(file); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#625
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#625
|
||||||
def ordering_strategy; end
|
def ordering_strategy; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#508
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#508
|
||||||
def parent_groups; end
|
def parent_groups; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#146
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#146
|
||||||
def pending(*all_args, &block); end
|
def pending(*all_args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#373
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#373
|
||||||
def remove_example(example); end
|
def remove_example(example); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#359
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#359
|
||||||
def reset_memoized; end
|
def reset_memoized; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#599
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#599
|
||||||
def run(reporter = T.unsafe(nil)); end
|
def run(reporter = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#585
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#585
|
||||||
def run_after_context_hooks(example_group_instance); end
|
def run_after_context_hooks(example_group_instance); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#547
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#547
|
||||||
def run_before_context_hooks(example_group_instance); end
|
def run_before_context_hooks(example_group_instance); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#641
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#641
|
||||||
def run_examples(reporter); end
|
def run_examples(reporter); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#410
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#410
|
||||||
def set_it_up(description, args, registration_collection, &example_group_block); end
|
def set_it_up(description, args, registration_collection, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#685
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#685
|
||||||
def set_ivars(instance, ivars); end
|
def set_ivars(instance, ivars); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#146
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#146
|
||||||
def skip(*all_args, &block); end
|
def skip(*all_args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#146
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#146
|
||||||
def specify(*all_args, &block); end
|
def specify(*all_args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#534
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#534
|
||||||
def store_before_context_ivars(example_group_instance); end
|
def store_before_context_ivars(example_group_instance); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#395
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#395
|
||||||
def subclass(parent, description, args, registration_collection, &example_group_block); end
|
def subclass(parent, description, args, registration_collection, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#562
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#562
|
||||||
def superclass_before_context_ivars; end
|
def superclass_before_context_ivars; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#71
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#71
|
||||||
def superclass_metadata; end
|
def superclass_metadata; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#513
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#513
|
||||||
def top_level?; end
|
def top_level?; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#680
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#680
|
||||||
def top_level_description; end
|
def top_level_description; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#476
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#476
|
||||||
def traverse_tree_until(&block); end
|
def traverse_tree_until(&block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#727
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#727
|
||||||
def update_inherited_metadata(updates); end
|
def update_inherited_metadata(updates); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#61
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#61
|
||||||
def with_replaced_metadata(meta); end
|
def with_replaced_metadata(meta); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#247
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#247
|
||||||
def xcontext(*args, &example_group_block); end
|
def xcontext(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#247
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#247
|
||||||
def xdescribe(*args, &example_group_block); end
|
def xdescribe(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#146
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#146
|
||||||
def xexample(*all_args, &block); end
|
def xexample(*all_args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#146
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#146
|
||||||
def xit(*all_args, &block); end
|
def xit(*all_args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#146
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#146
|
||||||
def xspecify(*all_args, &block); end
|
def xspecify(*all_args, &block); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/example_group.rb#742
|
# source://rspec-core/3.13.0/lib/rspec/core/example_group.rb#742
|
||||||
def method_missing(name, *args); end
|
def method_missing(name, *args); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -7,70 +7,70 @@
|
|||||||
# source://rspec-sorbet//lib/rspec/sorbet/doubles.rb#6
|
# source://rspec-sorbet//lib/rspec/sorbet/doubles.rb#6
|
||||||
module RSpec
|
module RSpec
|
||||||
class << self
|
class << self
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#70
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#70
|
||||||
def clear_examples; end
|
def clear_examples; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#85
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#85
|
||||||
def configuration; end
|
def configuration; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#49
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#49
|
||||||
def configuration=(_arg0); end
|
def configuration=(_arg0); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#97
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#97
|
||||||
def configure; end
|
def configure; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#194
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#194
|
||||||
def const_missing(name); end
|
def const_missing(name); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def context(*args, &example_group_block); end
|
def context(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#122
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#122
|
||||||
def current_example; end
|
def current_example; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#128
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#128
|
||||||
def current_example=(example); end
|
def current_example=(example); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#154
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#154
|
||||||
def current_scope; end
|
def current_scope; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#134
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#134
|
||||||
def current_scope=(scope); end
|
def current_scope=(scope); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def describe(*args, &example_group_block); end
|
def describe(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def example_group(*args, &example_group_block); end
|
def example_group(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def fcontext(*args, &example_group_block); end
|
def fcontext(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def fdescribe(*args, &example_group_block); end
|
def fdescribe(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#58
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#58
|
||||||
def reset; end
|
def reset; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
|
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
|
||||||
def shared_context(name, *args, &block); end
|
def shared_context(name, *args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
|
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
|
||||||
def shared_examples(name, *args, &block); end
|
def shared_examples(name, *args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
|
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
|
||||||
def shared_examples_for(name, *args, &block); end
|
def shared_examples_for(name, *args, &block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#160
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#160
|
||||||
def world; end
|
def world; end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core.rb#49
|
# source://rspec-core/3.13.0/lib/rspec/core.rb#49
|
||||||
def world=(_arg0); end
|
def world=(_arg0); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def xcontext(*args, &example_group_block); end
|
def xcontext(*args, &example_group_block); end
|
||||||
|
|
||||||
# source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
|
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
|
||||||
def xdescribe(*args, &example_group_block); end
|
def xdescribe(*args, &example_group_block); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -90,7 +90,7 @@ module RSpec::Sorbet::Doubles
|
|||||||
|
|
||||||
# @return [void]
|
# @return [void]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def allow_instance_doubles!(*args, **_arg1, &blk); end
|
def allow_instance_doubles!(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
# source://rspec-sorbet//lib/rspec/sorbet/doubles.rb#36
|
# source://rspec-sorbet//lib/rspec/sorbet/doubles.rb#36
|
||||||
|
|||||||
@ -6027,6 +6027,9 @@ class RuboCop::AST::ProcessedSource
|
|||||||
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#49
|
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#49
|
||||||
def lines; end
|
def lines; end
|
||||||
|
|
||||||
|
# source://rubocop-md/1.2.2/lib/rubocop/markdown/rubocop_ext.rb#95
|
||||||
|
def parse(src, *args); end
|
||||||
|
|
||||||
# Returns the value of attribute parser_error.
|
# Returns the value of attribute parser_error.
|
||||||
#
|
#
|
||||||
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
|
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
|
||||||
@ -6089,9 +6092,6 @@ class RuboCop::AST::ProcessedSource
|
|||||||
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#299
|
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#299
|
||||||
def last_token_index(range_or_node); end
|
def last_token_index(range_or_node); end
|
||||||
|
|
||||||
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#196
|
|
||||||
def parse(source, ruby_version); end
|
|
||||||
|
|
||||||
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#230
|
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#230
|
||||||
def parser_class(ruby_version); end
|
def parser_class(ruby_version); end
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
# typed: false
|
# typed: true
|
||||||
|
|
||||||
# DO NOT EDIT MANUALLY
|
# DO NOT EDIT MANUALLY
|
||||||
# This is an autogenerated file for types exported from the `rubocop-md` gem.
|
# This is an autogenerated file for types exported from the `rubocop-md` gem.
|
||||||
|
|||||||
32
Library/Homebrew/sorbet/rbi/gems/rubocop@1.60.2.rbi
generated
32
Library/Homebrew/sorbet/rbi/gems/rubocop@1.60.2.rbi
generated
@ -1,4 +1,4 @@
|
|||||||
# typed: false
|
# typed: true
|
||||||
|
|
||||||
# DO NOT EDIT MANUALLY
|
# DO NOT EDIT MANUALLY
|
||||||
# This is an autogenerated file for types exported from the `rubocop` gem.
|
# This is an autogenerated file for types exported from the `rubocop` gem.
|
||||||
@ -41602,7 +41602,7 @@ class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base
|
|||||||
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
||||||
extend ::RuboCop::Cop::AutoCorrector
|
extend ::RuboCop::Cop::AutoCorrector
|
||||||
|
|
||||||
# source://rubocop-sorbet/0.7.6/lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#18
|
# source://rubocop-sorbet/0.7.7/lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#18
|
||||||
def on_assignment(value); end
|
def on_assignment(value); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#127
|
# source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#127
|
||||||
@ -41620,7 +41620,7 @@ class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base
|
|||||||
# source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#217
|
# source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#217
|
||||||
def splat_value(param0 = T.unsafe(nil)); end
|
def splat_value(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rubocop-sorbet/0.7.6/lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#12
|
# source://rubocop-sorbet/0.7.7/lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#12
|
||||||
def t_let(param0 = T.unsafe(nil)); end
|
def t_let(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -56928,6 +56928,18 @@ class RuboCop::Runner
|
|||||||
# source://rubocop//lib/rubocop/runner.rb#56
|
# source://rubocop//lib/rubocop/runner.rb#56
|
||||||
def errors; end
|
def errors; end
|
||||||
|
|
||||||
|
# source://rubocop-md/1.2.2/lib/rubocop/markdown/rubocop_ext.rb#74
|
||||||
|
def file_finished(file, offenses); end
|
||||||
|
|
||||||
|
# source://rubocop-md/1.2.2/lib/rubocop/markdown/rubocop_ext.rb#56
|
||||||
|
def file_offense_cache(file); end
|
||||||
|
|
||||||
|
# source://rubocop-md/1.2.2/lib/rubocop/markdown/rubocop_ext.rb#48
|
||||||
|
def get_processed_source(*args); end
|
||||||
|
|
||||||
|
# source://rubocop-md/1.2.2/lib/rubocop/markdown/rubocop_ext.rb#62
|
||||||
|
def inspect_file(*args); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#67
|
# source://rubocop//lib/rubocop/runner.rb#67
|
||||||
def run(paths); end
|
def run(paths); end
|
||||||
|
|
||||||
@ -56982,12 +56994,6 @@ class RuboCop::Runner
|
|||||||
# source://rubocop//lib/rubocop/runner.rb#357
|
# source://rubocop//lib/rubocop/runner.rb#357
|
||||||
def extract_ruby_sources(processed_source); end
|
def extract_ruby_sources(processed_source); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#245
|
|
||||||
def file_finished(file, offenses); end
|
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#174
|
|
||||||
def file_offense_cache(file); end
|
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#162
|
# source://rubocop//lib/rubocop/runner.rb#162
|
||||||
def file_offenses(file); end
|
def file_offenses(file); end
|
||||||
|
|
||||||
@ -57003,12 +57009,6 @@ class RuboCop::Runner
|
|||||||
# source://rubocop//lib/rubocop/runner.rb#414
|
# source://rubocop//lib/rubocop/runner.rb#414
|
||||||
def formatter_set; end
|
def formatter_set; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#470
|
|
||||||
def get_processed_source(file); end
|
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#342
|
|
||||||
def inspect_file(processed_source, team = T.unsafe(nil)); end
|
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#115
|
# source://rubocop//lib/rubocop/runner.rb#115
|
||||||
def inspect_files(files); end
|
def inspect_files(files); end
|
||||||
|
|
||||||
@ -57250,7 +57250,7 @@ class RuboCop::TargetFinder
|
|||||||
# @api private
|
# @api private
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#172
|
# source://rubocop-md/1.2.2/lib/rubocop/markdown/rubocop_ext.rb#88
|
||||||
def ruby_file?(file); end
|
def ruby_file?(file); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
|
|||||||
30
Library/Homebrew/sorbet/rbi/gems/spoom@1.2.4.rbi
generated
30
Library/Homebrew/sorbet/rbi/gems/spoom@1.2.4.rbi
generated
@ -958,7 +958,7 @@ class Spoom::Coverage::D3::ColorPalette < ::T::Struct
|
|||||||
prop :strong, ::String
|
prop :strong, ::String
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -1298,7 +1298,7 @@ class Spoom::Coverage::Snapshot < ::T::Struct
|
|||||||
sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) }
|
sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) }
|
||||||
def from_obj(obj); end
|
def from_obj(obj); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -1450,7 +1450,7 @@ class Spoom::Deadcode::Definition < ::T::Struct
|
|||||||
def module?; end
|
def module?; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2343,7 +2343,7 @@ class Spoom::Deadcode::Reference < ::T::Struct
|
|||||||
def method?; end
|
def method?; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2593,7 +2593,7 @@ class Spoom::Deadcode::Send < ::T::Struct
|
|||||||
def each_arg_assoc(&block); end
|
def each_arg_assoc(&block); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2613,7 +2613,7 @@ class Spoom::ExecResult < ::T::Struct
|
|||||||
def to_s; end
|
def to_s; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2821,7 +2821,7 @@ class Spoom::FileTree::Node < ::T::Struct
|
|||||||
def path; end
|
def path; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2887,7 +2887,7 @@ class Spoom::Git::Commit < ::T::Struct
|
|||||||
def timestamp; end
|
def timestamp; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
|
|
||||||
# Parse a line formated as `%h %at` into a `Commit`
|
# Parse a line formated as `%h %at` into a `Commit`
|
||||||
@ -2999,7 +2999,7 @@ class Spoom::LSP::Diagnostic < ::T::Struct
|
|||||||
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) }
|
||||||
def from_json(json); end
|
def from_json(json); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -3032,7 +3032,7 @@ class Spoom::LSP::DocumentSymbol < ::T::Struct
|
|||||||
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) }
|
||||||
def from_json(json); end
|
def from_json(json); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -3090,7 +3090,7 @@ class Spoom::LSP::Hover < ::T::Struct
|
|||||||
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) }
|
||||||
def from_json(json); end
|
def from_json(json); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -3115,7 +3115,7 @@ class Spoom::LSP::Location < ::T::Struct
|
|||||||
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) }
|
||||||
def from_json(json); end
|
def from_json(json); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -3178,7 +3178,7 @@ class Spoom::LSP::Position < ::T::Struct
|
|||||||
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) }
|
||||||
def from_json(json); end
|
def from_json(json); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -3216,7 +3216,7 @@ class Spoom::LSP::Range < ::T::Struct
|
|||||||
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) }
|
||||||
def from_json(json); end
|
def from_json(json); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -3282,7 +3282,7 @@ class Spoom::LSP::SignatureHelp < ::T::Struct
|
|||||||
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) }
|
||||||
def from_json(json); end
|
def from_json(json); end
|
||||||
|
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
40
Library/Homebrew/sorbet/rbi/gems/tapioca@0.12.0.rbi
generated
40
Library/Homebrew/sorbet/rbi/gems/tapioca@0.12.0.rbi
generated
@ -54,7 +54,7 @@ module RBI; end
|
|||||||
|
|
||||||
# source://tapioca//lib/tapioca/rbi_ext/model.rb#5
|
# source://tapioca//lib/tapioca/rbi_ext/model.rb#5
|
||||||
class RBI::Tree < ::RBI::NodeWithComments
|
class RBI::Tree < ::RBI::NodeWithComments
|
||||||
# source://rbi/0.1.6/lib/rbi/model.rb#119
|
# source://rbi/0.1.8/lib/rbi/model.rb#119
|
||||||
sig do
|
sig do
|
||||||
params(
|
params(
|
||||||
loc: T.nilable(::RBI::Loc),
|
loc: T.nilable(::RBI::Loc),
|
||||||
@ -64,19 +64,19 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|||||||
end
|
end
|
||||||
def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
||||||
|
|
||||||
# source://rbi/0.1.6/lib/rbi/model.rb#126
|
# source://rbi/0.1.8/lib/rbi/model.rb#126
|
||||||
sig { params(node: ::RBI::Node).void }
|
sig { params(node: ::RBI::Node).void }
|
||||||
def <<(node); end
|
def <<(node); end
|
||||||
|
|
||||||
# source://rbi/0.1.6/lib/rbi/printer.rb#226
|
# source://rbi/0.1.8/lib/rbi/printer.rb#226
|
||||||
sig { override.params(v: ::RBI::Printer).void }
|
sig { override.params(v: ::RBI::Printer).void }
|
||||||
def accept_printer(v); end
|
def accept_printer(v); end
|
||||||
|
|
||||||
# source://rbi/0.1.6/lib/rbi/rewriters/add_sig_templates.rb#66
|
# source://rbi/0.1.8/lib/rbi/rewriters/add_sig_templates.rb#66
|
||||||
sig { params(with_todo_comment: T::Boolean).void }
|
sig { params(with_todo_comment: T::Boolean).void }
|
||||||
def add_sig_templates!(with_todo_comment: T.unsafe(nil)); end
|
def add_sig_templates!(with_todo_comment: T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rbi/0.1.6/lib/rbi/rewriters/annotate.rb#49
|
# source://rbi/0.1.8/lib/rbi/rewriters/annotate.rb#49
|
||||||
sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void }
|
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
|
def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end
|
||||||
|
|
||||||
@ -140,23 +140,23 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|||||||
end
|
end
|
||||||
def create_type_variable(name, type:, variance: T.unsafe(nil), fixed: T.unsafe(nil), upper: T.unsafe(nil), lower: T.unsafe(nil)); 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.1.6/lib/rbi/rewriters/deannotate.rb#41
|
# source://rbi/0.1.8/lib/rbi/rewriters/deannotate.rb#41
|
||||||
sig { params(annotation: ::String).void }
|
sig { params(annotation: ::String).void }
|
||||||
def deannotate!(annotation); end
|
def deannotate!(annotation); end
|
||||||
|
|
||||||
# source://rbi/0.1.6/lib/rbi/model.rb#132
|
# source://rbi/0.1.8/lib/rbi/model.rb#132
|
||||||
sig { returns(T::Boolean) }
|
sig { returns(T::Boolean) }
|
||||||
def empty?; end
|
def empty?; end
|
||||||
|
|
||||||
# source://rbi/0.1.6/lib/rbi/rewriters/group_nodes.rb#38
|
# source://rbi/0.1.8/lib/rbi/rewriters/group_nodes.rb#38
|
||||||
sig { void }
|
sig { void }
|
||||||
def group_nodes!; end
|
def group_nodes!; end
|
||||||
|
|
||||||
# source://rbi/0.1.6/lib/rbi/index.rb#68
|
# source://rbi/0.1.8/lib/rbi/index.rb#68
|
||||||
sig { returns(::RBI::Index) }
|
sig { returns(::RBI::Index) }
|
||||||
def index; end
|
def index; end
|
||||||
|
|
||||||
# source://rbi/0.1.6/lib/rbi/rewriters/merge_trees.rb#324
|
# source://rbi/0.1.8/lib/rbi/rewriters/merge_trees.rb#324
|
||||||
sig do
|
sig do
|
||||||
params(
|
params(
|
||||||
other: ::RBI::Tree,
|
other: ::RBI::Tree,
|
||||||
@ -167,23 +167,23 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|||||||
end
|
end
|
||||||
def merge(other, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end
|
def merge(other, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rbi/0.1.6/lib/rbi/rewriters/nest_non_public_methods.rb#46
|
# source://rbi/0.1.8/lib/rbi/rewriters/nest_non_public_methods.rb#46
|
||||||
sig { void }
|
sig { void }
|
||||||
def nest_non_public_methods!; end
|
def nest_non_public_methods!; end
|
||||||
|
|
||||||
# source://rbi/0.1.6/lib/rbi/rewriters/nest_singleton_methods.rb#36
|
# source://rbi/0.1.8/lib/rbi/rewriters/nest_singleton_methods.rb#36
|
||||||
sig { void }
|
sig { void }
|
||||||
def nest_singleton_methods!; end
|
def nest_singleton_methods!; end
|
||||||
|
|
||||||
# source://rbi/0.1.6/lib/rbi/model.rb#110
|
# source://rbi/0.1.8/lib/rbi/model.rb#110
|
||||||
sig { returns(T::Array[::RBI::Node]) }
|
sig { returns(T::Array[::RBI::Node]) }
|
||||||
def nodes; end
|
def nodes; end
|
||||||
|
|
||||||
# source://rbi/0.1.6/lib/rbi/printer.rb#233
|
# source://rbi/0.1.8/lib/rbi/printer.rb#233
|
||||||
sig { override.returns(T::Boolean) }
|
sig { override.returns(T::Boolean) }
|
||||||
def oneline?; end
|
def oneline?; end
|
||||||
|
|
||||||
# source://rbi/0.1.6/lib/rbi/rewriters/sort_nodes.rb#119
|
# source://rbi/0.1.8/lib/rbi/rewriters/sort_nodes.rb#119
|
||||||
sig { void }
|
sig { void }
|
||||||
def sort_nodes!; end
|
def sort_nodes!; end
|
||||||
|
|
||||||
@ -204,7 +204,7 @@ class RBI::TypedParam < ::T::Struct
|
|||||||
const :type, ::String
|
const :type, ::String
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -1121,7 +1121,7 @@ class Tapioca::ConfigHelper::ConfigError < ::T::Struct
|
|||||||
const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
|
const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -1132,7 +1132,7 @@ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct
|
|||||||
const :colors, T::Array[::Symbol]
|
const :colors, T::Array[::Symbol]
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2432,7 +2432,7 @@ class Tapioca::Loaders::Loader
|
|||||||
# @param engine [T.class_of(Rails::Engine)]
|
# @param engine [T.class_of(Rails::Engine)]
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def eager_load_paths(*args, **_arg1, &blk); end
|
def eager_load_paths(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
# source://tapioca//lib/tapioca/loaders/loader.rb#198
|
# source://tapioca//lib/tapioca/loaders/loader.rb#198
|
||||||
@ -3340,7 +3340,7 @@ module Tapioca::Static::SymbolLoader
|
|||||||
|
|
||||||
# @return [Array<T.class_of(Rails::Engine)>]
|
# @return [Array<T.class_of(Rails::Engine)>]
|
||||||
#
|
#
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/private/methods/_methods.rb#252
|
# source://sorbet-runtime/0.5.11247/lib/types/private/methods/_methods.rb#252
|
||||||
def engines(*args, **_arg1, &blk); end
|
def engines(*args, **_arg1, &blk); end
|
||||||
|
|
||||||
# source://tapioca//lib/tapioca/static/symbol_loader.rb#82
|
# source://tapioca//lib/tapioca/static/symbol_loader.rb#82
|
||||||
|
|||||||
@ -381,7 +381,7 @@ class YARDSorbet::TStructProp < ::T::Struct
|
|||||||
const :types, T::Array[::String]
|
const :types, T::Array[::String]
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://sorbet-runtime/0.5.11222/lib/types/struct.rb#13
|
# source://sorbet-runtime/0.5.11247/lib/types/struct.rb#13
|
||||||
def inherited(s); end
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -3,6 +3,32 @@
|
|||||||
# This file contains temporary definitions for fixes that have
|
# This file contains temporary definitions for fixes that have
|
||||||
# been submitted upstream to https://github.com/sorbet/sorbet.
|
# been submitted upstream to https://github.com/sorbet/sorbet.
|
||||||
|
|
||||||
|
# https://github.com/sorbet/sorbet/pull/7682
|
||||||
|
class Array
|
||||||
|
include JSON::Ext::Generator::GeneratorMethods::Array
|
||||||
|
end
|
||||||
|
class Hash
|
||||||
|
include JSON::Ext::Generator::GeneratorMethods::Hash
|
||||||
|
end
|
||||||
|
|
||||||
|
# https://github.com/sorbet/sorbet/pull/7650
|
||||||
|
class Etc::Group < Struct
|
||||||
|
sig { returns(Integer) }
|
||||||
|
def gid; end
|
||||||
|
sig { returns(T::Array[String]) }
|
||||||
|
def mem; end
|
||||||
|
sig { returns(String) }
|
||||||
|
def name; end
|
||||||
|
sig { returns(String) }
|
||||||
|
def passwd; end
|
||||||
|
end
|
||||||
|
|
||||||
|
# https://github.com/sorbet/sorbet/pull/7647
|
||||||
|
module IRB
|
||||||
|
sig { params(ap_path: T.nilable(String), argv: T::Array[String]).void }
|
||||||
|
def self.setup(ap_path, argv: ::ARGV); end
|
||||||
|
end
|
||||||
|
|
||||||
# https://github.com/sorbet/sorbet/pull/7678
|
# https://github.com/sorbet/sorbet/pull/7678
|
||||||
class String
|
class String
|
||||||
sig do
|
sig do
|
||||||
|
|||||||
72
Library/Homebrew/sorbet/tapioca/compilers/rubocop.rb
Normal file
72
Library/Homebrew/sorbet/tapioca/compilers/rubocop.rb
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
# typed: strict
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require "method_source"
|
||||||
|
require "rubocop"
|
||||||
|
require_relative "../../../rubocops"
|
||||||
|
|
||||||
|
module Tapioca
|
||||||
|
module Compilers
|
||||||
|
class RuboCop < Tapioca::Dsl::Compiler
|
||||||
|
# FIXME: Enable cop again when https://github.com/sorbet/sorbet/issues/3532 is fixed.
|
||||||
|
# rubocop:disable Style/MutableConstant
|
||||||
|
# This should be a module whose singleton class contains RuboCop::AST::NodePattern::Macros,
|
||||||
|
# but I don't know how to express that in Sorbet.
|
||||||
|
ConstantType = type_member { { fixed: Module } }
|
||||||
|
# rubocop:enable Style/MutableConstant
|
||||||
|
|
||||||
|
sig { override.returns(T::Enumerable[Module]) }
|
||||||
|
def self.gather_constants
|
||||||
|
all_modules.select do |klass|
|
||||||
|
next unless klass.singleton_class < ::RuboCop::AST::NodePattern::Macros
|
||||||
|
|
||||||
|
path = T.must(Object.const_source_location(klass.to_s)).fetch(0).to_s
|
||||||
|
# exclude vendored code, to avoid contradicting their RBI files
|
||||||
|
!path.include?("/vendor/bundle/ruby/") &&
|
||||||
|
# exclude source code that already has an RBI file
|
||||||
|
!File.exist?("#{path}i") &&
|
||||||
|
# exclude source code that doesn't use the DSLs
|
||||||
|
File.readlines(path).any?(/def_node_/)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
sig { override.void }
|
||||||
|
def decorate
|
||||||
|
root.create_path(constant) do |klass|
|
||||||
|
constant.instance_methods(false).each do |method_name|
|
||||||
|
source = constant.instance_method(method_name).source.lstrip
|
||||||
|
# For more info on these DSLs:
|
||||||
|
# https://www.rubydoc.info/gems/rubocop-ast/RuboCop/AST/NodePattern/Macros
|
||||||
|
# https://github.com/rubocop/rubocop-ast/blob/master/lib/rubocop/ast/node_pattern.rb
|
||||||
|
# https://github.com/rubocop/rubocop-ast/blob/master/lib/rubocop/ast/node_pattern/method_definer.rb
|
||||||
|
# The type signatures below could maybe be stronger, but I only wanted to avoid errors:
|
||||||
|
case source
|
||||||
|
when /\Adef_node_matcher/
|
||||||
|
# https://github.com/Shopify/tapioca/blob/3341a9b/lib/tapioca/rbi_ext/model.rb#L89
|
||||||
|
klass.create_method(
|
||||||
|
method_name.to_s,
|
||||||
|
parameters: [
|
||||||
|
create_param("node", type: "RuboCop::AST::Node"),
|
||||||
|
create_kw_rest_param("kwargs", type: "T.untyped"),
|
||||||
|
create_block_param("block", type: "T.untyped"),
|
||||||
|
],
|
||||||
|
return_type: "T.untyped",
|
||||||
|
)
|
||||||
|
when /\Adef_node_search/
|
||||||
|
klass.create_method(
|
||||||
|
method_name.to_s,
|
||||||
|
parameters: [
|
||||||
|
create_param("node", type: "RuboCop::AST::Node"),
|
||||||
|
create_rest_param("pattern", type: "T.any(String, Symbol)"),
|
||||||
|
create_kw_rest_param("kwargs", type: "T.untyped"),
|
||||||
|
create_block_param("block", type: "T.untyped"),
|
||||||
|
],
|
||||||
|
return_type: method_name.to_s.end_with?("?") ? "T::Boolean" : "T.untyped",
|
||||||
|
)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
Loading…
x
Reference in New Issue
Block a user