Merge pull request #16965 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-and-sorbet-runtime-0.5.11316

This commit is contained in:
Patrick Linnane 2024-03-28 09:43:20 -07:00 committed by GitHub
commit c3094acbaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
90 changed files with 19 additions and 19 deletions

View File

@ -119,15 +119,15 @@ GEM
simplecov_json_formatter (0.1.4)
simpleidn (0.2.1)
unf (~> 0.1.4)
sorbet (0.5.11305)
sorbet-static (= 0.5.11305)
sorbet-runtime (0.5.11305)
sorbet-static (0.5.11305-aarch64-linux)
sorbet-static (0.5.11305-universal-darwin)
sorbet-static (0.5.11305-x86_64-linux)
sorbet-static-and-runtime (0.5.11305)
sorbet (= 0.5.11305)
sorbet-runtime (= 0.5.11305)
sorbet (0.5.11316)
sorbet-static (= 0.5.11316)
sorbet-runtime (0.5.11316)
sorbet-static (0.5.11316-aarch64-linux)
sorbet-static (0.5.11316-universal-darwin)
sorbet-static (0.5.11316-x86_64-linux)
sorbet-static-and-runtime (0.5.11316)
sorbet (= 0.5.11316)
sorbet-runtime (= 0.5.11316)
spoom (1.3.0)
erubi (>= 1.10.0)
prism (>= 0.19.0)

View File

@ -65,7 +65,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/racc-1.7.3/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.0.5/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11305/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11316/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parlour-8.1.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/patchelf-1.5.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/plist-3.7.1/lib")
@ -99,9 +99,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11305-universal-darwin/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11305/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11305/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11316-universal-darwin/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11316/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11316/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.3.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.26")

View File

@ -7,13 +7,13 @@ module T::Props::PrettyPrintable
# Override the PP gem with something that's similar, but gives us a hook to do redaction and customization
def pretty_print(pp)
clazz = T.unsafe(T.cast(self, Object).class).decorator
klass = T.unsafe(T.cast(self, Object).class).decorator
multiline = pp.is_a?(PP)
pp.group(1, "<#{clazz.inspect_class_with_decoration(self)}", ">") do
clazz.all_props.sort.each do |prop|
pp.group(1, "<#{klass.inspect_class_with_decoration(self)}", ">") do
klass.all_props.sort.each do |prop|
pp.breakable
val = clazz.get(self, prop)
rules = clazz.prop_rules(prop)
val = klass.get(self, prop)
rules = klass.prop_rules(prop)
pp.text("#{prop}=")
if (custom_inspect = rules[:inspect])
inspected = if T::Utils.arity(custom_inspect) == 1
@ -28,7 +28,7 @@ module T::Props::PrettyPrintable
val.pretty_print(pp)
end
end
clazz.pretty_print_extra(self, pp)
klass.pretty_print_extra(self, pp)
end
end