From a297162ead92331a3b5946d233a23d976958cbb7 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 18 Dec 2023 16:36:31 +0000 Subject: [PATCH] Update RBI files for parallel. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../gems/{parallel@1.23.0.rbi => parallel@1.24.0.rbi} | 9 ++++++++- Library/Homebrew/sorbet/rbi/parlour.rbi | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) rename Library/Homebrew/sorbet/rbi/gems/{parallel@1.23.0.rbi => parallel@1.24.0.rbi} (95%) diff --git a/Library/Homebrew/sorbet/rbi/gems/parallel@1.23.0.rbi b/Library/Homebrew/sorbet/rbi/gems/parallel@1.24.0.rbi similarity index 95% rename from Library/Homebrew/sorbet/rbi/gems/parallel@1.23.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/parallel@1.24.0.rbi index c8b319a36c31f..5dd73750fd403 100644 --- a/Library/Homebrew/sorbet/rbi/gems/parallel@1.23.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/parallel@1.24.0.rbi @@ -78,7 +78,14 @@ module Parallel # source://parallel//lib/parallel.rb#642 def instrument_finish(item, index, result, options); end - # source://parallel//lib/parallel.rb#647 + # yield results in the order of the input items + # needs to use `options` to store state between executions + # needs to use `done` index since a nil result would also be valid + # + # source://parallel//lib/parallel.rb#651 + def instrument_finish_in_order(item, index, result, options); end + + # source://parallel//lib/parallel.rb#671 def instrument_start(item, index, options); end # source://parallel//lib/parallel.rb#590 diff --git a/Library/Homebrew/sorbet/rbi/parlour.rbi b/Library/Homebrew/sorbet/rbi/parlour.rbi index f4989f693a5f2..92c7d251b036f 100644 --- a/Library/Homebrew/sorbet/rbi/parlour.rbi +++ b/Library/Homebrew/sorbet/rbi/parlour.rbi @@ -363,6 +363,9 @@ module Cask sig { returns(T::Boolean) } def on_system_blocks_exist?; end + sig { returns(T::Boolean) } + def deprecated?; end + sig { returns(T::Boolean) } def disabled?; end