From c1c35b5473e1f6732b8b13ede7d84f153a1608ca Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 27 Mar 2025 21:16:43 +0000 Subject: [PATCH] Update RBI files for rubocop. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../rbi/dsl/homebrew/cmd/update_if_needed.rbi | 13 +++++++++++ ...{rubocop@1.75.0.rbi => rubocop@1.75.1.rbi} | 22 +++++++++---------- 2 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/update_if_needed.rbi rename Library/Homebrew/sorbet/rbi/gems/{rubocop@1.75.0.rbi => rubocop@1.75.1.rbi} (99%) diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/update_if_needed.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/update_if_needed.rbi new file mode 100644 index 0000000000..b5ee0044c1 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/update_if_needed.rbi @@ -0,0 +1,13 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for dynamic methods in `Homebrew::Cmd::UpdateIfNeeded`. +# Please instead update this file by running `bin/tapioca dsl Homebrew::Cmd::UpdateIfNeeded`. + + +class Homebrew::Cmd::UpdateIfNeeded + sig { returns(Homebrew::Cmd::UpdateIfNeeded::Args) } + def args; end +end + +class Homebrew::Cmd::UpdateIfNeeded::Args < Homebrew::CLI::Args; end diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.75.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.75.1.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/rubocop@1.75.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop@1.75.1.rbi index db1cd5a023..c5daaab6eb 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.75.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.75.1.rbi @@ -42275,13 +42275,13 @@ RuboCop::Cop::Style::ItAssignment::MSG = T.let(T.unsafe(nil), String) # # It provides three `EnforcedStyle` options: # -# 1. `allow_named_parameter` (default) ... Detects only numbered block parameters. +# 1. `only_numbered_parameters` (default) ... Detects only numbered block parameters. # 2. `always` ... Always uses the `it` block parameter. # 3. `disallow` ... Disallows the `it` block parameter. # -# A single numbered parameter is detected when `allow_named_parameter` or `always`. +# A single numbered parameter is detected when `only_numbered_parameters` or `always`. # -# @example EnforcedStyle: allow_named_parameter (default) +# @example EnforcedStyle: only_numbered_parameters (default) # # bad # block { do_something(_1) } # @@ -47592,15 +47592,15 @@ RuboCop::Cop::Style::QuotedSymbols::MSG_DOUBLE = T.let(T.unsafe(nil), String) # source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#39 RuboCop::Cop::Style::QuotedSymbols::MSG_SINGLE = T.let(T.unsafe(nil), String) -# Checks the args passed to `fail` and `raise`. For exploded -# style (default), it recommends passing the exception class and message -# to `raise`, rather than construct an instance of the error. It will -# still allow passing just a message, or the construction of an error -# with more than one argument. +# Checks the args passed to `fail` and `raise`. # -# The exploded style works identically, but with the addition that it -# will also suggest constructing error objects when the exception is -# passed multiple arguments. +# Exploded style (default) enforces passing the exception class and message +# arguments separately, rather than constructing an instance of the error. +# +# Compact style enforces constructing an error instance. +# +# Both styles allow passing just a message, or an error instance when there is more +# than one argument. # # The exploded style has an `AllowedCompactTypes` configuration # option that takes an `Array` of exception name Strings.