From d60b14d1a3d91c599bd51dca636389b7e47c0b83 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 24 May 2024 18:15:19 +0000 Subject: [PATCH] Update RBI files for warning. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../{warning@1.3.0.rbi => warning@1.4.0.rbi} | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{warning@1.3.0.rbi => warning@1.4.0.rbi} (92%) diff --git a/Library/Homebrew/sorbet/rbi/gems/warning@1.3.0.rbi b/Library/Homebrew/sorbet/rbi/gems/warning@1.4.0.rbi similarity index 92% rename from Library/Homebrew/sorbet/rbi/gems/warning@1.3.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/warning@1.4.0.rbi index b0cc819fe3..cc47d5eff2 100644 --- a/Library/Homebrew/sorbet/rbi/gems/warning@1.3.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/warning@1.4.0.rbi @@ -4,6 +4,7 @@ # This is an autogenerated file for types exported from the `warning` gem. # Please instead update this file by running `bin/tapioca gem warning`. + # source://warning//lib/warning.rb#3 module Warning extend ::Warning @@ -28,17 +29,17 @@ module Warning::Processor # end # # Previous warning state restored when block exists # - # source://warning//lib/warning.rb#48 + # source://warning//lib/warning.rb#49 def clear; end # Deduplicate warnings, suppress warning messages if the same warning message # has already occurred. Note that this can lead to unbounded memory use # if unique warnings are generated. # - # source://warning//lib/warning.rb#79 + # source://warning//lib/warning.rb#80 def dedup; end - # source://warning//lib/warning.rb#83 + # source://warning//lib/warning.rb#84 def freeze; end # Ignore any warning messages matching the given regexp, if they @@ -81,7 +82,7 @@ module Warning::Processor # # Ignore all uninitialized instance variable and method redefined warnings in current file # Warning.ignore([:missing_ivar, :method_redefined], __FILE__) # - # source://warning//lib/warning.rb#128 + # source://warning//lib/warning.rb#129 def ignore(regexp, path = T.unsafe(nil)); end # Handle all warnings starting with the given path, instead of @@ -114,7 +115,7 @@ module Warning::Processor # /instance variable @\w+ not initialized/ => proc do |warning| # LOGGER.warning(warning) # end, - # /global variable `\$\w+' not initialized/ => proc do |warning| + # /global variable [`']\$\w+' not initialized/ => proc do |warning| # LOGGER.error(warning) # end # ) @@ -125,26 +126,26 @@ module Warning::Processor # # Warning.process(__FILE__, :missing_ivar=>:backtrace, :keyword_separation=>:raise) # - # source://warning//lib/warning.rb#179 + # source://warning//lib/warning.rb#180 def process(path = T.unsafe(nil), actions = T.unsafe(nil), &block); end - # source://warning//lib/warning.rb#220 + # source://warning//lib/warning.rb#221 def warn(str, category: T.unsafe(nil)); end private # Convert the given Regexp, Symbol, or Array of Symbols into a Regexp. # - # source://warning//lib/warning.rb#272 + # source://warning//lib/warning.rb#273 def convert_regexp(regexp); end - # source://warning//lib/warning.rb#285 + # source://warning//lib/warning.rb#286 def synchronize(&block); end end # Map of action symbols to procs that return the symbol # -# source://warning//lib/warning.rb#26 +# source://warning//lib/warning.rb#27 Warning::Processor::ACTION_PROC_MAP = T.let(T.unsafe(nil), Hash) # Map of symbols to regexps for warning messages to ignore.