diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index deff3eb81f..1b495a28fe 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -188,7 +188,7 @@ GEM diff-lcs (~> 1.3) parser (>= 3.0.0) uri_template (0.7.0) - warning (1.2.0) + warning (1.2.1) webrick (1.7.0) webrobots (0.1.2) zeitwerk (2.4.2) diff --git a/Library/Homebrew/sorbet/rbi/gems/warning@1.2.0.rbi b/Library/Homebrew/sorbet/rbi/gems/warning@1.2.1.rbi similarity index 100% rename from Library/Homebrew/sorbet/rbi/gems/warning@1.2.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/warning@1.2.1.rbi diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 0cab1c2e5f..6b3dc36b53 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -101,4 +101,4 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-runtime-stub-0 $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/thor-1.1.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/spoom-1.1.3/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/tapioca-0.5.2/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/warning-1.2.0/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/warning-1.2.1/lib" diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/warning-1.2.0/lib/warning.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/warning-1.2.1/lib/warning.rb similarity index 98% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/warning-1.2.0/lib/warning.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/warning-1.2.1/lib/warning.rb index 7fac4f5fcf..7bd53be147 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/warning-1.2.0/lib/warning.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/warning-1.2.1/lib/warning.rb @@ -19,7 +19,7 @@ module Warning safe: /: warning: (?:rb_safe_level_2_warning|rb_safe_level|rb_set_safe_level_force|rb_set_safe_level|rb_secure|rb_insecure_operation|rb_check_safe_obj|\$SAFE) will (?:be removed|become a normal global variable) in Ruby 3\.0\n\z/, taint: /: warning: (?:rb_error_untrusted|rb_check_trusted|Pathname#taint|Pathname#untaint|rb_env_path_tainted|Object#tainted\?|Object#taint|Object#untaint|Object#untrusted\?|Object#untrust|Object#trust|rb_obj_infect|rb_tainted_str_new|rb_tainted_str_new_cstr) is deprecated and will be removed in Ruby 3\.2\.?\n\z/, mismatched_indentations: /: warning: mismatched indentations at '.+' with '.+' at \d+\n\z/, - void_context: /possibly useless use of :: in void context/, + void_context: /possibly useless use of (?:a )?\S+ in void context/, } # Map of action symbols to procs that return the symbol @@ -40,7 +40,7 @@ module Warning end end - # Deduplicate warnings, supress warning messages if the same warning message + # 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. def dedup