Merge pull request #18208 from Homebrew/dependabot/bundler/Library/Homebrew/prism-1.0.0

This commit is contained in:
Patrick Linnane 2024-08-30 13:00:12 -07:00 committed by GitHub
commit ee41b68aa9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 9498 additions and 12405 deletions

View File

@ -43,15 +43,15 @@ GEM
patchelf (1.5.1) patchelf (1.5.1)
elftools (>= 1.3) elftools (>= 1.3)
plist (3.7.1) plist (3.7.1)
prism (0.30.0) prism (1.0.0)
pry (0.14.2) pry (0.14.2)
coderay (~> 1.1) coderay (~> 1.1)
method_source (~> 1.0) method_source (~> 1.0)
public_suffix (6.0.1) public_suffix (6.0.1)
racc (1.8.1) racc (1.8.1)
rainbow (3.1.1) rainbow (3.1.1)
rbi (0.1.14) rbi (0.2.0)
prism (>= 0.18.0, < 1.0.0) prism (~> 1.0)
sorbet-runtime (>= 0.5.9204) sorbet-runtime (>= 0.5.9204)
rbs (3.5.3) rbs (3.5.3)
logger logger
@ -102,9 +102,9 @@ GEM
rubocop (~> 1.61) rubocop (~> 1.61)
rubocop-sorbet (0.8.5) rubocop-sorbet (0.8.5)
rubocop (>= 1) rubocop (>= 1)
ruby-lsp (0.17.16) ruby-lsp (0.17.17)
language_server-protocol (~> 3.17.0) language_server-protocol (~> 3.17.0)
prism (>= 0.29.0, < 0.31) prism (~> 1.0)
rbs (>= 3, < 4) rbs (>= 3, < 4)
sorbet-runtime (>= 0.5.10782) sorbet-runtime (>= 0.5.10782)
ruby-macho (4.1.0) ruby-macho (4.1.0)
@ -136,11 +136,11 @@ GEM
thor (>= 0.19.2) thor (>= 0.19.2)
stackprof (0.2.26) stackprof (0.2.26)
strscan (3.1.0) strscan (3.1.0)
tapioca (0.16.1) tapioca (0.16.2)
bundler (>= 2.2.25) bundler (>= 2.2.25)
netrc (>= 0.11.0) netrc (>= 0.11.0)
parallel (>= 1.21.0) parallel (>= 1.21.0)
rbi (>= 0.1.14, < 0.2) rbi (~> 0.2)
sorbet-static-and-runtime (>= 0.5.11087) sorbet-static-and-runtime (>= 0.5.11087)
spoom (>= 1.2.0) spoom (>= 1.2.0)
thor (>= 1.2.0) thor (>= 1.2.0)

View File

@ -55,7 +55,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.14/lib/rbi/model.rb#121 # source://rbi/0.2.0/lib/rbi/model.rb#121
sig do sig do
params( params(
loc: T.nilable(::RBI::Loc), loc: T.nilable(::RBI::Loc),
@ -65,15 +65,15 @@ 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.14/lib/rbi/model.rb#128 # source://rbi/0.2.0/lib/rbi/model.rb#128
sig { params(node: ::RBI::Node).void } sig { params(node: ::RBI::Node).void }
def <<(node); end def <<(node); end
# source://rbi/0.1.14/lib/rbi/rewriters/add_sig_templates.rb#66 # source://rbi/0.2.0/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.14/lib/rbi/rewriters/annotate.rb#49 # source://rbi/0.2.0/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
@ -138,27 +138,35 @@ 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.14/lib/rbi/rewriters/deannotate.rb#41 # source://rbi/0.2.0/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.14/lib/rbi/model.rb#134 # source://rbi/0.2.0/lib/rbi/model.rb#134
sig { returns(T::Boolean) } sig { returns(T::Boolean) }
def empty?; end def empty?; end
# source://rbi/0.1.14/lib/rbi/rewriters/filter_versions.rb#118 # source://rbi/0.2.0/lib/rbi/rewriters/filter_versions.rb#118
sig { params(version: ::Gem::Version).void } sig { params(version: ::Gem::Version).void }
def filter_versions!(version); end def filter_versions!(version); end
# source://rbi/0.1.14/lib/rbi/rewriters/group_nodes.rb#81 # source://rbi/0.2.0/lib/rbi/rewriters/flatten_singleton_methods.rb#60
sig { void }
def flatten_singleton_methods!; end
# source://rbi/0.2.0/lib/rbi/rewriters/flatten_visibilities.rb#60
sig { void }
def flatten_visibilities!; end
# source://rbi/0.2.0/lib/rbi/rewriters/group_nodes.rb#81
sig { void } sig { void }
def group_nodes!; end def group_nodes!; end
# source://rbi/0.1.14/lib/rbi/index.rb#68 # source://rbi/0.2.0/lib/rbi/index.rb#68
sig { returns(::RBI::Index) } sig { returns(::RBI::Index) }
def index; end def index; end
# source://rbi/0.1.14/lib/rbi/rewriters/merge_trees.rb#324 # source://rbi/0.2.0/lib/rbi/rewriters/merge_trees.rb#324
sig do sig do
params( params(
other: ::RBI::Tree, other: ::RBI::Tree,
@ -169,23 +177,27 @@ 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.14/lib/rbi/rewriters/nest_non_public_methods.rb#46 # source://rbi/0.2.0/lib/rbi/rewriters/nest_non_public_members.rb#46
sig { void } sig { void }
def nest_non_public_methods!; end def nest_non_public_members!; end
# source://rbi/0.1.14/lib/rbi/rewriters/nest_singleton_methods.rb#36 # source://rbi/0.2.0/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.14/lib/rbi/model.rb#112 # source://rbi/0.2.0/lib/rbi/rewriters/nest_top_level_members.rb#63
sig { void }
def nest_top_level_members!; end
# source://rbi/0.2.0/lib/rbi/model.rb#112
sig { returns(T::Array[::RBI::Node]) } sig { returns(T::Array[::RBI::Node]) }
def nodes; end def nodes; end
# source://rbi/0.1.14/lib/rbi/rewriters/attr_to_methods.rb#53 # source://rbi/0.2.0/lib/rbi/rewriters/attr_to_methods.rb#53
sig { void } sig { void }
def replace_attributes_with_methods!; end def replace_attributes_with_methods!; end
# source://rbi/0.1.14/lib/rbi/rewriters/sort_nodes.rb#119 # source://rbi/0.2.0/lib/rbi/rewriters/sort_nodes.rb#119
sig { void } sig { void }
def sort_nodes!; end def sort_nodes!; end
@ -206,7 +218,7 @@ class RBI::TypedParam < ::T::Struct
const :type, ::String const :type, ::String
class << self class << self
# source://sorbet-runtime/0.5.11519/lib/types/struct.rb#13 # source://sorbet-runtime/0.5.11551/lib/types/struct.rb#13
def inherited(s); end def inherited(s); end
end end
end end
@ -867,7 +879,7 @@ class Tapioca::Commands::Command
sig { void } sig { void }
def initialize; end def initialize; end
# source://thor/1.3.1/lib/thor/base.rb#155 # source://thor/1.3.2/lib/thor/base.rb#155
sig { returns(::Thor::Actions) } sig { returns(::Thor::Actions) }
def file_writer; end def file_writer; end
@ -1129,7 +1141,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.11519/lib/types/struct.rb#13 # source://sorbet-runtime/0.5.11551/lib/types/struct.rb#13
def inherited(s); end def inherited(s); end
end end
end end
@ -1140,7 +1152,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.11519/lib/types/struct.rb#13 # source://sorbet-runtime/0.5.11551/lib/types/struct.rb#13
def inherited(s); end def inherited(s); end
end end
end end
@ -1691,7 +1703,7 @@ end
class Tapioca::Gem::Listeners::SorbetEnums < ::Tapioca::Gem::Listeners::Base class Tapioca::Gem::Listeners::SorbetEnums < ::Tapioca::Gem::Listeners::Base
private private
# source://tapioca//lib/tapioca/gem/listeners/sorbet_enums.rb#25 # source://tapioca//lib/tapioca/gem/listeners/sorbet_enums.rb#28
sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) } sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
def ignore?(event); end def ignore?(event); end
@ -2196,7 +2208,7 @@ class Tapioca::GemInfo < ::T::Struct
sig { params(spec: ::Bundler::LazySpecification).returns(::Tapioca::GemInfo) } sig { params(spec: ::Bundler::LazySpecification).returns(::Tapioca::GemInfo) }
def from_spec(spec); end def from_spec(spec); end
# source://sorbet-runtime/0.5.11519/lib/types/struct.rb#13 # source://sorbet-runtime/0.5.11551/lib/types/struct.rb#13
def inherited(s); end def inherited(s); end
end end
end end
@ -3257,9 +3269,9 @@ end
class Tapioca::Runtime::Trackers::Mixin::Type < ::T::Enum class Tapioca::Runtime::Trackers::Mixin::Type < ::T::Enum
enums do enums do
Prepend = new
Include = new
Extend = new Extend = new
Include = new
Prepend = new
end end
end end
@ -3511,9 +3523,9 @@ Tapioca::TypeVariableModule::DEFAULT_BOUNDS_PROC = T.let(T.unsafe(nil), Proc)
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#125 # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#125
class Tapioca::TypeVariableModule::Type < ::T::Enum class Tapioca::TypeVariableModule::Type < ::T::Enum
enums do enums do
HasAttachedClass = new
Member = new Member = new
Template = new Template = new
HasAttachedClass = new
end end
end end

View File

@ -72,10 +72,10 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parlour-9.0.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parlour-9.0.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/patchelf-1.5.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/patchelf-1.5.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/plist-3.7.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/plist-3.7.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/prism-0.30.0") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/prism-1.0.0")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/prism-0.30.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/prism-1.0.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pry-0.14.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pry-0.14.2/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.1.14/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.5.3") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.5.3")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.5.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.5.3/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/redcarpet-3.6.0") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/redcarpet-3.6.0")
@ -97,7 +97,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.21.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.21.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.0.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.0.4/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.8.5/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.8.5/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.17.16/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.17.17/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.1.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/ruby-prof-1.7.0") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/ruby-prof-1.7.0")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-prof-1.7.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-prof-1.7.0/lib")
@ -114,7 +114,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/stackprof-0.2.26/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/stackprof-0.2.26/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-0.9.36/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-0.9.36/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-sorbet-0.9.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-sorbet-0.9.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/tapioca-0.16.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/tapioca-0.16.2/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/vernier-1.1.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/vernier-1.1.2")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/vernier-1.1.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/vernier-1.1.2/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/warning-1.4.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/warning-1.4.0/lib")