diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi index e7a56d85867ea..938cd076f01ff 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi @@ -135,6 +135,15 @@ module Homebrew::EnvConfig sig { returns(T::Boolean) } def force_vendor_ruby?; end + sig { returns(T.nilable(::String)) } + def formula_build_network; end + + sig { returns(T.nilable(::String)) } + def formula_postinstall_network; end + + sig { returns(T.nilable(::String)) } + def formula_test_network; end + sig { returns(T.nilable(::String)) } def ftp_proxy; end diff --git a/Library/Homebrew/sorbet/rbi/gems/elftools@1.3.0.rbi b/Library/Homebrew/sorbet/rbi/gems/elftools@1.3.1.rbi similarity index 100% rename from Library/Homebrew/sorbet/rbi/gems/elftools@1.3.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/elftools@1.3.1.rbi diff --git a/Library/Homebrew/sorbet/rbi/parlour.rbi b/Library/Homebrew/sorbet/rbi/parlour.rbi index 92c7d251b036f..8514d0cca0094 100644 --- a/Library/Homebrew/sorbet/rbi/parlour.rbi +++ b/Library/Homebrew/sorbet/rbi/parlour.rbi @@ -68,6 +68,15 @@ class Formula sig { params(args: T.untyped, options: T.untyped, block: T.untyped).returns(T.untyped) } def version(*args, **options, &block); end + sig { params(args: T.untyped, options: T.untyped, block: T.untyped).returns(T.untyped) } + def allow_network_access!(*args, **options, &block); end + + sig { params(args: T.untyped, options: T.untyped, block: T.untyped).returns(T.untyped) } + def deny_network_access!(*args, **options, &block); end + + sig { params(args: T.untyped, options: T.untyped, block: T.untyped).returns(T::Boolean) } + def network_access_allowed?(*args, **options, &block); end + sig { params(args: T.untyped, options: T.untyped, block: T.untyped).returns(T::Boolean) } def loaded_from_api?(*args, **options, &block); end