From c14fe8088191e81f2cd8d0c3a6229e2021595b0c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 24 May 2024 18:14:19 +0000 Subject: [PATCH 1/3] build(deps): bump warning from 1.3.0 to 1.4.0 in /Library/Homebrew Bumps [warning](https://github.com/jeremyevans/ruby-warning) from 1.3.0 to 1.4.0. - [Changelog](https://github.com/jeremyevans/ruby-warning/blob/master/CHANGELOG) - [Commits](https://github.com/jeremyevans/ruby-warning/compare/1.3.0...1.4.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 0259423baa..aa27e289c9 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -154,7 +154,7 @@ GEM thor (1.3.1) unicode-display_width (2.5.0) vernier (1.0.1) - warning (1.3.0) + warning (1.4.0) yard (0.9.36) yard-sorbet (0.8.1) sorbet-runtime (>= 0.5) @@ -162,7 +162,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From e2da608b26101337674ccd4a81acd7ae7e3c104a Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 24 May 2024 18:15:07 +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.3.0 => warning-1.4.0}/MIT-LICENSE | 0 .../{warning-1.3.0 => warning-1.4.0}/lib/warning.rb | 11 ++++++----- 4 files changed, 8 insertions(+), 6 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{warning-1.3.0 => warning-1.4.0}/MIT-LICENSE (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{warning-1.3.0 => warning-1.4.0}/lib/warning.rb (92%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index aa27e289c9..f0f2064b52 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -162,6 +162,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 01759df119..b3fdf5b8d5 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -121,4 +121,4 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/tapioca-0.14.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/vernier-1.0.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/vernier-1.0.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/warning-1.3.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/warning-1.4.0/lib") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.3.0/MIT-LICENSE b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.4.0/MIT-LICENSE similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.3.0/MIT-LICENSE rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.4.0/MIT-LICENSE diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.3.0/lib/warning.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.4.0/lib/warning.rb similarity index 92% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.3.0/lib/warning.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.4.0/lib/warning.rb index 9179aa3773..db5794c5c5 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.3.0/lib/warning.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/warning-1.4.0/lib/warning.rb @@ -4,18 +4,19 @@ 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/, + arg_prefix: /: warning: [`'][&\*]' interpreted as argument prefix\n\z/, bignum: /: warning: constant ::Bignum is deprecated\n\z/, 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/, - missing_gvar: /: warning: global variable `\$.+' not initialized\n\z/, + missing_gvar: /: warning: global variable [`']\$.+' not initialized\n\z/, missing_ivar: /: warning: instance variable @.+ not initialized\n\z/, not_reached: /: warning: statement not reached\n\z/, shadow: /: warning: shadowing outer local variable - \w+\n\z/, unused_var: /: warning: assigned but unused variable - \w+\n\z/, useless_operator: /: warning: possibly useless use of [> 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 # ) 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 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.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.