Merge pull request #12195 from Homebrew/dependabot/bundler/Library/Homebrew/warning-1.2.1

build(deps): bump warning from 1.2.0 to 1.2.1 in /Library/Homebrew
This commit is contained in:
Mike McQuaid 2021-10-07 18:15:11 +01:00 committed by GitHub
commit a365770446
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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"

View File

@ -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