diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock
index 0f3157d186ae5..3b51063d32ba9 100644
--- a/Library/Homebrew/Gemfile.lock
+++ b/Library/Homebrew/Gemfile.lock
@@ -140,7 +140,7 @@ GEM
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
vernier (1.5.0)
- warning (1.4.0)
+ warning (1.5.0)
yard (0.9.37)
yard-sorbet (0.9.0)
sorbet-runtime
diff --git a/Library/Homebrew/sorbet/rbi/gems/warning@1.4.0.rbi b/Library/Homebrew/sorbet/rbi/gems/warning@1.5.0.rbi
similarity index 91%
rename from Library/Homebrew/sorbet/rbi/gems/warning@1.4.0.rbi
rename to Library/Homebrew/sorbet/rbi/gems/warning@1.5.0.rbi
index cc47d5eff23ad..aa351146f7c75 100644
--- a/Library/Homebrew/sorbet/rbi/gems/warning@1.4.0.rbi
+++ b/Library/Homebrew/sorbet/rbi/gems/warning@1.5.0.rbi
@@ -29,17 +29,17 @@ module Warning::Processor
# end
# # Previous warning state restored when block exists
#
- # source://warning//lib/warning.rb#49
+ # source://warning//lib/warning.rb#50
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#80
+ # source://warning//lib/warning.rb#81
def dedup; end
- # source://warning//lib/warning.rb#84
+ # source://warning//lib/warning.rb#85
def freeze; end
# Ignore any warning messages matching the given regexp, if they
@@ -50,6 +50,8 @@ module Warning::Processor
# :arg_prefix :: Ignore warnings when using * or & as an argument prefix
# :ambiguous_slash :: Ignore warnings for things like method /regexp/
# :bignum :: Ignore warnings when referencing the ::Bignum constant.
+ # :default_gem_removal :: Ignore warnings that a gem will be removed from the default gems
+ # in a future Ruby version.
# :fixnum :: Ignore warnings when referencing the ::Fixnum constant.
# :keyword_separation :: Ignore warnings related to keyword argument separation.
# :method_redefined :: Ignore warnings when defining a method in a class/module where a
@@ -82,7 +84,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#129
+ # source://warning//lib/warning.rb#132
def ignore(regexp, path = T.unsafe(nil)); end
# Handle all warnings starting with the given path, instead of
@@ -126,26 +128,26 @@ module Warning::Processor
#
# Warning.process(__FILE__, :missing_ivar=>:backtrace, :keyword_separation=>:raise)
#
- # source://warning//lib/warning.rb#180
+ # source://warning//lib/warning.rb#183
def process(path = T.unsafe(nil), actions = T.unsafe(nil), &block); end
- # source://warning//lib/warning.rb#221
+ # source://warning//lib/warning.rb#224
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#273
+ # source://warning//lib/warning.rb#276
def convert_regexp(regexp); end
- # source://warning//lib/warning.rb#286
+ # source://warning//lib/warning.rb#289
def synchronize(&block); end
end
# Map of action symbols to procs that return the symbol
#
-# source://warning//lib/warning.rb#27
+# source://warning//lib/warning.rb#28
Warning::Processor::ACTION_PROC_MAP = T.let(T.unsafe(nil), Hash)
# Map of symbols to regexps for warning messages to ignore.
diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb
index b249a880057a6..7d31fed7ccb4b 100644
--- a/Library/Homebrew/vendor/bundle/bundler/setup.rb
+++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb
@@ -114,4 +114,4 @@ def self.extension_api_version
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/tapioca-0.16.5/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/vernier-1.5.0")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/vernier-1.5.0/lib")
-$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/warning-1.4.0/lib")
+$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/warning-1.5.0/lib")
diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.4.0/MIT-LICENSE b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.5.0/MIT-LICENSE
similarity index 100%
rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.4.0/MIT-LICENSE
rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.5.0/MIT-LICENSE
diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.4.0/lib/warning.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.5.0/lib/warning.rb
similarity index 95%
rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.4.0/lib/warning.rb
rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.5.0/lib/warning.rb
index db5794c5c5ca6..8aaa317d0eb63 100644
--- a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.4.0/lib/warning.rb
+++ b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.5.0/lib/warning.rb
@@ -4,9 +4,10 @@ module Warning
module Processor
# Map of symbols to regexps for warning messages to ignore.
IGNORE_MAP = {
- ambiguous_slash: /: warning: ambiguous first argument; put parentheses or a space even after [`']\/' operator\n\z|: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after [`']\/' operator\n\z/,
- arg_prefix: /: warning: [`'][&\*]' interpreted as argument prefix\n\z/,
+ ambiguous_slash: /: warning: ambiguous first argument; put parentheses or a space even after [`']\/' operator\n\z|: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after [`']\/' operator\n\z|ambiguous `\/`; wrap regexp in parentheses or add a space after `\/` operator\n\z/,
+ arg_prefix: /: warning: ([`'][&\*]'||ambiguous `[\*&]` has been) interpreted as( an)? argument prefix\n\z/,
bignum: /: warning: constant ::Bignum is deprecated\n\z/,
+ default_gem_removal: /: warning: .+? was loaded from the standard library, but will no longer be part of the default gems starting from Ruby [\d.]+\./,
fixnum: /: warning: constant ::Fixnum is deprecated\n\z/,
ignored_block: /: warning: the block passed to '.+' defined at .+:\d+ may be ignored\n\z/,
method_redefined: /: warning: method redefined; discarding old .+\n\z|: warning: previous definition of .+ was here\n\z/,
@@ -95,6 +96,8 @@ def freeze
# :arg_prefix :: Ignore warnings when using * or & as an argument prefix
# :ambiguous_slash :: Ignore warnings for things like method /regexp/
# :bignum :: Ignore warnings when referencing the ::Bignum constant.
+ # :default_gem_removal :: Ignore warnings that a gem will be removed from the default gems
+ # in a future Ruby version.
# :fixnum :: Ignore warnings when referencing the ::Fixnum constant.
# :keyword_separation :: Ignore warnings related to keyword argument separation.
# :method_redefined :: Ignore warnings when defining a method in a class/module where a