From ddcd6ed49bd28ca0a19bccbd1f1f8dc6cfd43a8b Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 23 Apr 2024 18:07:52 +0000 Subject: [PATCH] Update RBI files for multi. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi | 9 +++++++++ Library/Homebrew/sorbet/rbi/parlour.rbi | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi index e7a56d8586..938cd076f0 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/parlour.rbi b/Library/Homebrew/sorbet/rbi/parlour.rbi index 92c7d251b0..8514d0cca0 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