brew vendor-gems: commit updates.

This commit is contained in:
BrewTestBot 2024-05-01 15:29:06 +00:00
parent 6037e4fdac
commit df2d720038
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
90 changed files with 11 additions and 39 deletions

View File

@ -159,6 +159,7 @@ GEM
PLATFORMS PLATFORMS
aarch64-linux aarch64-linux
arm-linux
arm64-darwin arm64-darwin
x86_64-darwin x86_64-darwin
x86_64-linux x86_64-linux

View File

@ -63,7 +63,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/racc-1.7.3/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.1.0/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/rainbow-3.1.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11361/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11366/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/parlour-8.1.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")
@ -71,6 +71,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/prism-0.27.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/prism-0.27.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.12/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.1.12/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}/gems/redcarpet-3.6.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/redcarpet-3.6.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-support-3.13.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-support-3.13.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-core-3.13.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-core-3.13.0/lib")
@ -99,9 +100,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_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-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/simplecov-cobertura-2.1.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11361-universal-darwin/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11366-universal-darwin/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11361/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11366/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11361/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11366/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/thor-1.3.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.3.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.3.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.26") $:.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

@ -1,24 +0,0 @@
# frozen_string_literal: true
# typed: true
module T::Private
module Compiler
# If this code ever runs, the caller is running interpreted (or the
# compiler didn't see the call to `running_compiled?` statically.)
#
# The Sorbet Compiler replaces calls to this method unconditionally (no
# runtime guards) to return `true` when compiling a file.
def self.running_compiled?
false
end
# Returns `nil` because the compiler isn't running.
#
# The Sorbet Compiler replaces calls to this method unconditionally (no
# runtime guards) to return a String showing the Sorbet Compiler's version
# string.
def self.compiler_version
nil
end
end
end

View File

@ -117,6 +117,3 @@ require_relative 'types/struct'
require_relative 'types/non_forcing_constants' require_relative 'types/non_forcing_constants'
require_relative 'types/compatibility_patches' require_relative 'types/compatibility_patches'
# Sorbet Compiler support module
require_relative 'types/private/compiler'

View File

@ -113,7 +113,7 @@ module T::Configuration
# statically, so that methods don't have to guard themselves from being # statically, so that methods don't have to guard themselves from being
# called incorrectly by untyped code. # called incorrectly by untyped code.
# #
# @param [:never, :compiled, :tests, :always] default_checked_level # @param [:never, :tests, :always] default_checked_level
def self.default_checked_level=(default_checked_level) def self.default_checked_level=(default_checked_level)
T::Private::RuntimeLevels.default_checked_level = default_checked_level T::Private::RuntimeLevels.default_checked_level = default_checked_level
end end

View File

@ -101,7 +101,7 @@ module T::Private::Methods
if !decl.checked.equal?(ARG_NOT_PROVIDED) if !decl.checked.equal?(ARG_NOT_PROVIDED)
raise BuilderError.new("You can't call .checked multiple times in a signature.") raise BuilderError.new("You can't call .checked multiple times in a signature.")
end end
if (level == :never || level == :compiled) && !decl.on_failure.equal?(ARG_NOT_PROVIDED) if level == :never && !decl.on_failure.equal?(ARG_NOT_PROVIDED)
raise BuilderError.new("You can't use .checked(:#{level}) with .on_failure because .on_failure will have no effect.") raise BuilderError.new("You can't use .checked(:#{level}) with .on_failure because .on_failure will have no effect.")
end end
if !T::Private::RuntimeLevels::LEVELS.include?(level) if !T::Private::RuntimeLevels::LEVELS.include?(level)
@ -119,7 +119,7 @@ module T::Private::Methods
if !decl.on_failure.equal?(ARG_NOT_PROVIDED) if !decl.on_failure.equal?(ARG_NOT_PROVIDED)
raise BuilderError.new("You can't call .on_failure multiple times in a signature.") raise BuilderError.new("You can't call .on_failure multiple times in a signature.")
end end
if decl.checked == :never || decl.checked == :compiled if decl.checked == :never
raise BuilderError.new("You can't use .on_failure with .checked(:#{decl.checked}) because .on_failure will have no effect.") raise BuilderError.new("You can't use .on_failure with .checked(:#{decl.checked}) because .on_failure will have no effect.")
end end
@ -222,7 +222,7 @@ module T::Private::Methods
end end
if decl.checked.equal?(ARG_NOT_PROVIDED) if decl.checked.equal?(ARG_NOT_PROVIDED)
default_checked_level = T::Private::RuntimeLevels.default_checked_level default_checked_level = T::Private::RuntimeLevels.default_checked_level
if (default_checked_level == :never || default_checked_level == :compiled) && !decl.on_failure.equal?(ARG_NOT_PROVIDED) if default_checked_level == :never && !decl.on_failure.equal?(ARG_NOT_PROVIDED)
raise BuilderError.new("To use .on_failure you must additionally call .checked(:tests) or .checked(:always), otherwise, the .on_failure has no effect.") raise BuilderError.new("To use .on_failure you must additionally call .checked(:tests) or .checked(:always), otherwise, the .on_failure has no effect.")
end end
decl.checked = default_checked_level decl.checked = default_checked_level

View File

@ -234,7 +234,7 @@ module T::Private::Methods::SignatureValidation
return if signature.override_allow_incompatible return if signature.override_allow_incompatible
return if super_signature.mode == Modes.untyped return if super_signature.mode == Modes.untyped
return unless [signature, super_signature].all? do |sig| return unless [signature, super_signature].all? do |sig|
sig.check_level == :always || sig.check_level == :compiled || (sig.check_level == :tests && T::Private::RuntimeLevels.check_tests?) sig.check_level == :always || (sig.check_level == :tests && T::Private::RuntimeLevels.check_tests?)
end end
mode_noun = super_signature.mode == Modes.abstract ? 'implementation' : 'override' mode_noun = super_signature.mode == Modes.abstract ? 'implementation' : 'override'

View File

@ -12,9 +12,6 @@ module T::Private::RuntimeLevels
# Don't even validate in tests, b/c too expensive, # Don't even validate in tests, b/c too expensive,
# or b/c we fully trust the static typing # or b/c we fully trust the static typing
:never, :never,
# Validate the sig when the file is using the Sorbet Compiler.
# Behaves like :never when interpreted.
:compiled,
].freeze ].freeze
@check_tests = false @check_tests = false