Merge pull request #19787 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-185e0b1891

build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
This commit is contained in:
Patrick Linnane 2025-04-18 21:38:43 +00:00 committed by GitHub
commit 2f0c160739
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
89 changed files with 15 additions and 15 deletions

View File

@ -121,15 +121,15 @@ GEM
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
simpleidn (0.2.3)
sorbet (0.5.12020)
sorbet-static (= 0.5.12020)
sorbet-runtime (0.5.12020)
sorbet-static (0.5.12020-aarch64-linux)
sorbet-static (0.5.12020-universal-darwin)
sorbet-static (0.5.12020-x86_64-linux)
sorbet-static-and-runtime (0.5.12020)
sorbet (= 0.5.12020)
sorbet-runtime (= 0.5.12020)
sorbet (0.5.12024)
sorbet-static (= 0.5.12024)
sorbet-runtime (0.5.12024)
sorbet-static (0.5.12024-aarch64-linux)
sorbet-static (0.5.12024-universal-darwin)
sorbet-static (0.5.12024-x86_64-linux)
sorbet-static-and-runtime (0.5.12024)
sorbet (= 0.5.12024)
sorbet-runtime (= 0.5.12024)
spoom (1.6.1)
erubi (>= 1.10.0)
prism (>= 0.28.0)

View File

@ -77,7 +77,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
$:.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}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.9.2")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.9.2/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.12020/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.12024/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.3.2/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/redcarpet-3.6.1")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/redcarpet-3.6.1/lib")
@ -107,9 +107,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.12020-universal-darwin/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.12020/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.12020/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.12024-universal-darwin/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.12024/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.12024/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.6.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27")

View File

@ -21,14 +21,14 @@ module T::Types
# overrides Base
def valid?(obj)
obj.is_a?(Module) && (obj <= @type || false)
obj.is_a?(Module) && (obj.is_a?(@type.singleton_class) || false)
end
# overrides Base
def subtype_of_single?(other)
case other
when ClassOf
@type <= other.type
@type.is_a?(other.type.singleton_class)
when Simple
@type.is_a?(other.raw_type)
when TypedClass