From eb32ee7216cf52ba5566178aaad3632855fd1aa3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 18:04:20 +0000 Subject: [PATCH 1/3] build(deps): bump warning from 1.4.0 to 1.5.0 in /Library/Homebrew Bumps [warning](https://github.com/jeremyevans/ruby-warning) from 1.4.0 to 1.5.0. - [Changelog](https://github.com/jeremyevans/ruby-warning/blob/master/CHANGELOG) - [Commits](https://github.com/jeremyevans/ruby-warning/compare/1.4.0...1.5.0) --- updated-dependencies: - dependency-name: warning dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 3aedcb043e196..ae2e12f6b60b9 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 @@ -148,7 +148,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 2c338da605390272f13a8b25240d2948a17a90f7 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 20 Dec 2024 19:40:26 +0000 Subject: [PATCH 2/3] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- .../gems/{warning-1.4.0 => warning-1.5.0}/MIT-LICENSE | 0 .../gems/{warning-1.4.0 => warning-1.5.0}/lib/warning.rb | 7 +++++-- 4 files changed, 7 insertions(+), 3 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{warning-1.4.0 => warning-1.5.0}/MIT-LICENSE (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{warning-1.4.0 => warning-1.5.0}/lib/warning.rb (95%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index ae2e12f6b60b9..0c08732dba847 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -148,6 +148,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 20c8a53ec209b..02f57f3e7c1a1 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 From ece8b0ba27ca3a48686ade807972c59321d06173 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 20 Dec 2024 19:40:33 +0000 Subject: [PATCH 3/3] 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.4.0.rbi => warning@1.5.0.rbi} | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{warning@1.4.0.rbi => warning@1.5.0.rbi} (91%) 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.