Update Sorbet RBI files
This commit is contained in:
parent
987abe7773
commit
594a38bfe1
@ -220,6 +220,7 @@ class Addressable::URI
|
|||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
|
def force_utf8_encoding_if_needed(str); end
|
||||||
def remove_composite_values; end
|
def remove_composite_values; end
|
||||||
def replace_self(uri); end
|
def replace_self(uri); end
|
||||||
def split_path(path); end
|
def split_path(path); end
|
||||||
@ -51,10 +51,12 @@ class Bootsnap::InvalidConfiguration < ::StandardError; end
|
|||||||
|
|
||||||
module Bootsnap::LoadPathCache
|
module Bootsnap::LoadPathCache
|
||||||
class << self
|
class << self
|
||||||
|
def enabled?; end
|
||||||
def load_path_cache; end
|
def load_path_cache; end
|
||||||
def loaded_features_index; end
|
def loaded_features_index; end
|
||||||
def setup(cache_path:, development_mode:); end
|
def setup(cache_path:, development_mode:); end
|
||||||
def supported?; end
|
def supported?; end
|
||||||
|
def unload!; end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -63,7 +65,7 @@ Bootsnap::LoadPathCache::CACHED_EXTENSIONS = T.let(T.unsafe(nil), Array)
|
|||||||
class Bootsnap::LoadPathCache::Cache
|
class Bootsnap::LoadPathCache::Cache
|
||||||
def initialize(store, path_obj, development_mode: T.unsafe(nil)); end
|
def initialize(store, path_obj, development_mode: T.unsafe(nil)); end
|
||||||
|
|
||||||
def find(feature, try_extensions: T.unsafe(nil)); end
|
def find(feature); end
|
||||||
def load_dir(dir); end
|
def load_dir(dir); end
|
||||||
def push_paths(sender, *paths); end
|
def push_paths(sender, *paths); end
|
||||||
def reinitialize(path_obj = T.unsafe(nil)); end
|
def reinitialize(path_obj = T.unsafe(nil)); end
|
||||||
@ -76,7 +78,7 @@ class Bootsnap::LoadPathCache::Cache
|
|||||||
def maybe_append_extension(feature); end
|
def maybe_append_extension(feature); end
|
||||||
def now; end
|
def now; end
|
||||||
def push_paths_locked(*paths); end
|
def push_paths_locked(*paths); end
|
||||||
def search_index(feature, try_extensions: T.unsafe(nil)); end
|
def search_index(feature); end
|
||||||
def stale?; end
|
def stale?; end
|
||||||
def try_ext(feature); end
|
def try_ext(feature); end
|
||||||
def try_index(feature); end
|
def try_index(feature); end
|
||||||
@ -88,7 +90,8 @@ Bootsnap::LoadPathCache::Cache::BUILTIN_FEATURES = T.let(T.unsafe(nil), Hash)
|
|||||||
|
|
||||||
module Bootsnap::LoadPathCache::ChangeObserver
|
module Bootsnap::LoadPathCache::ChangeObserver
|
||||||
class << self
|
class << self
|
||||||
def register(observer, arr); end
|
def register(arr, observer); end
|
||||||
|
def unregister(arr); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1288,6 +1288,7 @@ class Nokogiri::XML::Reader
|
|||||||
def attribute(_arg0); end
|
def attribute(_arg0); end
|
||||||
def attribute_at(_arg0); end
|
def attribute_at(_arg0); end
|
||||||
def attribute_count; end
|
def attribute_count; end
|
||||||
|
def attribute_hash; end
|
||||||
def attribute_nodes; end
|
def attribute_nodes; end
|
||||||
def attributes; end
|
def attributes; end
|
||||||
def attributes?; end
|
def attributes?; end
|
||||||
@ -1430,6 +1430,7 @@ end
|
|||||||
class Parser::Source::Range
|
class Parser::Source::Range
|
||||||
include ::Comparable
|
include ::Comparable
|
||||||
include ::RuboCop::AST::Ext::Range
|
include ::RuboCop::AST::Ext::Range
|
||||||
|
include ::RuboCop::Ext::Range
|
||||||
|
|
||||||
def initialize(source_buffer, begin_pos, end_pos); end
|
def initialize(source_buffer, begin_pos, end_pos); end
|
||||||
|
|
||||||
@ -1679,6 +1679,7 @@ class RuboCop::AST::RegexpNode < ::RuboCop::AST::Node
|
|||||||
def delimiter?(char); end
|
def delimiter?(char); end
|
||||||
def delimiters; end
|
def delimiters; end
|
||||||
def extended?; end
|
def extended?; end
|
||||||
|
def fixed_encoding?; end
|
||||||
def ignore_case?; end
|
def ignore_case?; end
|
||||||
def interpolation?; end
|
def interpolation?; end
|
||||||
def multiline_mode?; end
|
def multiline_mode?; end
|
||||||
@ -1771,6 +1772,7 @@ class RuboCop::AST::Token
|
|||||||
def column; end
|
def column; end
|
||||||
def comma?; end
|
def comma?; end
|
||||||
def comment?; end
|
def comment?; end
|
||||||
|
def dot?; end
|
||||||
def end?; end
|
def end?; end
|
||||||
def end_pos; end
|
def end_pos; end
|
||||||
def equal_sign?; end
|
def equal_sign?; end
|
||||||
File diff suppressed because it is too large
Load Diff
@ -1,8 +0,0 @@
|
|||||||
# typed: true
|
|
||||||
|
|
||||||
# DO NOT EDIT MANUALLY
|
|
||||||
# This is an autogenerated file for types exported from the `sorbet-runtime-stub` gem.
|
|
||||||
# Please instead update this file by running `bin/tapioca gem sorbet-runtime-stub`.
|
|
||||||
|
|
||||||
# THIS IS AN EMPTY RBI FILE.
|
|
||||||
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
|
||||||
@ -151,8 +151,8 @@ RBI::VERSION = T.let(T.unsafe(nil), String)
|
|||||||
|
|
||||||
module T::Generic::TypeStoragePatch
|
module T::Generic::TypeStoragePatch
|
||||||
def [](*types); end
|
def [](*types); end
|
||||||
def type_member(variance = T.unsafe(nil), fixed: T.unsafe(nil), lower: T.unsafe(nil), upper: T.unsafe(nil), &blk); end
|
def type_member(variance = T.unsafe(nil), fixed: T.unsafe(nil), lower: T.unsafe(nil), upper: T.unsafe(nil), &bounds_proc); end
|
||||||
def type_template(variance = T.unsafe(nil), fixed: T.unsafe(nil), lower: T.unsafe(nil), upper: T.unsafe(nil), &blk); end
|
def type_template(variance = T.unsafe(nil), fixed: T.unsafe(nil), lower: T.unsafe(nil), upper: T.unsafe(nil), &bounds_proc); end
|
||||||
end
|
end
|
||||||
|
|
||||||
module T::Types::Simple::GenericPatch
|
module T::Types::Simple::GenericPatch
|
||||||
@ -1678,10 +1678,11 @@ class Tapioca::TypeVariableModule < ::Module
|
|||||||
variance: ::Symbol,
|
variance: ::Symbol,
|
||||||
fixed: T.untyped,
|
fixed: T.untyped,
|
||||||
lower: T.untyped,
|
lower: T.untyped,
|
||||||
upper: T.untyped
|
upper: T.untyped,
|
||||||
|
bounds_proc: T.nilable(T.proc.returns(T::Hash[::Symbol, T.untyped]))
|
||||||
).void
|
).void
|
||||||
end
|
end
|
||||||
def initialize(context, type, variance, fixed: T.unsafe(nil), lower: T.unsafe(nil), upper: T.unsafe(nil)); end
|
def initialize(context, type, variance, fixed, lower, upper, bounds_proc); end
|
||||||
|
|
||||||
sig { returns(::Tapioca::TypeVariable) }
|
sig { returns(::Tapioca::TypeVariable) }
|
||||||
def coerce_to_type_variable; end
|
def coerce_to_type_variable; end
|
||||||
@ -1694,6 +1695,15 @@ class Tapioca::TypeVariableModule < ::Module
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
sig do
|
||||||
|
params(
|
||||||
|
fixed: T.untyped,
|
||||||
|
lower: T.untyped,
|
||||||
|
upper: T.untyped
|
||||||
|
).returns(T.proc.returns(T::Hash[::Symbol, T.untyped]))
|
||||||
|
end
|
||||||
|
def build_bounds_proc(fixed, lower, upper); end
|
||||||
|
|
||||||
sig do
|
sig do
|
||||||
type_parameters(:Result)
|
type_parameters(:Result)
|
||||||
.params(
|
.params(
|
||||||
File diff suppressed because it is too large
Load Diff
@ -18,6 +18,9 @@ module Debrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
class Formula
|
class Formula
|
||||||
|
sig { returns(T::Boolean) }
|
||||||
|
def self.on_system_blocks_exist?; end
|
||||||
|
|
||||||
sig { params(arg: T.untyped).returns(T.untyped) }
|
sig { params(arg: T.untyped).returns(T.untyped) }
|
||||||
def self.desc(arg = T.unsafe(nil)); end
|
def self.desc(arg = T.unsafe(nil)); end
|
||||||
|
|
||||||
@ -68,6 +71,9 @@ class FormulaInstaller
|
|||||||
sig { returns(T::Boolean) }
|
sig { returns(T::Boolean) }
|
||||||
def keep_tmp?; end
|
def keep_tmp?; end
|
||||||
|
|
||||||
|
sig { returns(T::Boolean) }
|
||||||
|
def debug_symbols?; end
|
||||||
|
|
||||||
sig { returns(T::Boolean) }
|
sig { returns(T::Boolean) }
|
||||||
def verbose?; end
|
def verbose?; end
|
||||||
|
|
||||||
@ -122,6 +128,9 @@ module Cask
|
|||||||
sig { returns(T::Boolean) }
|
sig { returns(T::Boolean) }
|
||||||
def strict?; end
|
def strict?; end
|
||||||
|
|
||||||
|
sig { returns(T::Boolean) }
|
||||||
|
def signing?; end
|
||||||
|
|
||||||
sig { returns(T::Boolean) }
|
sig { returns(T::Boolean) }
|
||||||
def online?; end
|
def online?; end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user