From 3ddf12e9603a44e7045a71b54d518ab8fc596788 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 28 Sep 2023 00:25:23 +0000 Subject: [PATCH] sorbet: Update RBI files. Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow. --- .../sorbet/rbi/hidden-definitions/hidden.rbi | 28 +++++++++++++++---- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi index 921d887614..673f8f34ac 100644 --- a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi +++ b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi @@ -5623,6 +5623,8 @@ end class Net::HTTPRangeNotSatisfiable end +Net::HTTPRedirection::EXCEPTION_TYPE = Net::HTTPRetriableError + Net::HTTPRedirectionCode = Net::HTTPRedirection Net::HTTPRequestURITooLarge = Net::HTTPURITooLong @@ -5637,13 +5639,9 @@ Net::HTTPServerErrorCode = Net::HTTPServerError Net::HTTPSession = Net::HTTP -class Net::HTTPSuccess -end +Net::HTTPSuccess::EXCEPTION_TYPE = Net::HTTPError -Net::HTTPSuccessCode::EXCEPTION_TYPE = Net::HTTPError - -class Net::HTTPSuccess -end +Net::HTTPSuccessCode = Net::HTTPSuccess class Net::HTTPURITooLong HAS_BODY = ::T.let(nil, ::T.untyped) @@ -7049,6 +7047,14 @@ module RuboCop::AST::CollectionNode def extract_options!(*args, &block); end + def fifth(*args, &block); end + + def forty_two(*args, &block); end + + def fourth(*args, &block); end + + def from(*args, &block); end + def including(*args, &block); end def index_by(*args, &block); end @@ -7061,6 +7067,16 @@ module RuboCop::AST::CollectionNode def pluck(*args, &block); end + def second(*args, &block); end + + def second_to_last(*args, &block); end + + def third(*args, &block); end + + def third_to_last(*args, &block); end + + def to(*args, &block); end + def to_default_s(*args, &block); end def to_formatted_s(*args, &block); end