diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 2e0c377db4..d2db611c84 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -9,7 +9,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/minitest-5.15.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/tzinfo-2.0.4/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/zeitwerk-2.5.4/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/activesupport-6.1.5/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/public_suffix-4.0.6/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/public_suffix-4.0.7/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/addressable-2.8.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ast-2.4.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/bindata-2.4.10/lib" diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix.rb similarity index 87% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix.rb index 01f880e3a8..c0f3fab67d 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix.rb @@ -4,7 +4,7 @@ # # Domain name parser based on the Public Suffix List. # -# Copyright (c) 2009-2020 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti require_relative "public_suffix/domain" require_relative "public_suffix/version" @@ -57,15 +57,13 @@ module PublicSuffix # # => PublicSuffix::DomainInvalid: http://www.google.com is not expected to contain a scheme # # - # @param [String, #to_s] name The domain name or fully qualified domain name to parse. - # @param [PublicSuffix::List] list The rule list to search, defaults to the default {PublicSuffix::List} - # @param [Boolean] ignore_private + # @param name [#to_s] The domain name or fully qualified domain name to parse. + # @param list [PublicSuffix::List] The rule list to search, defaults to the default {PublicSuffix::List} + # @param ignore_private [Boolean] # @return [PublicSuffix::Domain] # - # @raise [PublicSuffix::DomainInvalid] - # If domain is not a valid domain. - # @raise [PublicSuffix::DomainNotAllowed] - # If a rule for +domain+ is found, but the rule doesn't allow +domain+. + # @raise [PublicSuffix::DomainInvalid] If domain is not a valid domain. + # @raise [PublicSuffix::DomainNotAllowed] If a rule for +domain+ is found, but the rule doesn't allow +domain+. def self.parse(name, list: List.default, default_rule: list.default_rule, ignore_private: false) what = normalize(name) raise what if what.is_a?(DomainInvalid) @@ -119,8 +117,8 @@ module PublicSuffix # # => false # # - # @param [String, #to_s] name The domain name or fully qualified domain name to validate. - # @param [Boolean] ignore_private + # @param name [#to_s] The domain name or fully qualified domain name to validate. + # @param ignore_private [Boolean] # @return [Boolean] def self.valid?(name, list: List.default, default_rule: list.default_rule, ignore_private: false) what = normalize(name) @@ -135,9 +133,9 @@ module PublicSuffix # # This method doesn't raise. Instead, it returns nil if the domain is not valid for whatever reason. # - # @param [String, #to_s] name The domain name or fully qualified domain name to parse. - # @param [PublicSuffix::List] list The rule list to search, defaults to the default {PublicSuffix::List} - # @param [Boolean] ignore_private + # @param name [#to_s] The domain name or fully qualified domain name to parse. + # @param list [PublicSuffix::List] The rule list to search, defaults to the default {PublicSuffix::List} + # @param ignore_private [Boolean] # @return [String] def self.domain(name, **options) parse(name, **options).domain diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/domain.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/domain.rb similarity index 99% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/domain.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/domain.rb index 3d65eac7ea..f7a9c49418 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/domain.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/domain.rb @@ -4,7 +4,7 @@ # # Domain name parser based on the Public Suffix List. # -# Copyright (c) 2009-2020 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti module PublicSuffix diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/errors.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/errors.rb similarity index 92% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/errors.rb index 2d5798def6..2fca2c13b5 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/errors.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/errors.rb @@ -4,7 +4,7 @@ # # Domain name parser based on the Public Suffix List. # -# Copyright (c) 2009-2020 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti module PublicSuffix diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/list.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/list.rb similarity index 97% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/list.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/list.rb index 321b59a79f..e11f071d43 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/list.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/list.rb @@ -4,7 +4,7 @@ # # Domain name parser based on the Public Suffix List. # -# Copyright (c) 2009-2020 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti module PublicSuffix @@ -63,7 +63,7 @@ module PublicSuffix # # See http://publicsuffix.org/format/ for more details about input format. # - # @param string [#each_line] the list to parse + # @param input [#each_line] the list to parse # @param private_domains [Boolean] whether to ignore the private domains section # @return [PublicSuffix::List] def self.parse(input, private_domains: true) @@ -173,7 +173,7 @@ module PublicSuffix # @return [PublicSuffix::Rule::*] def find(name, default: default_rule, **options) rule = select(name, **options).inject do |l, r| - return r if r.class == Rule::Exception + return r if r.instance_of?(Rule::Exception) l.length > r.length ? l : r end diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/rule.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/rule.rb similarity index 93% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/rule.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/rule.rb index d4c32ca179..d41a48074b 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/rule.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/rule.rb @@ -4,7 +4,7 @@ # # Domain name parser based on the Public Suffix List. # -# Copyright (c) 2009-2020 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti module PublicSuffix @@ -131,10 +131,9 @@ module PublicSuffix # Checks whether this rule is equal to other. # - # @param [PublicSuffix::Rule::*] other The rule to compare - # @return [Boolean] - # Returns true if this rule and other are instances of the same class - # and has the same value, false otherwise. + # @param other [PublicSuffix::Rule::*] The rule to compare + # @return [Boolean] true if this rule and other are instances of the same class + # and has the same value, false otherwise. def ==(other) equal?(other) || (self.class == other.class && value == other.value) end @@ -176,7 +175,7 @@ module PublicSuffix end # @abstract - # @param [String, #to_s] name The domain name to decompose + # @param domain [#to_s] The domain name to decompose # @return [Array] def decompose(*) raise NotImplementedError @@ -196,7 +195,7 @@ module PublicSuffix # Decomposes the domain name according to rule properties. # - # @param [String, #to_s] name The domain name to decompose + # @param domain [#to_s] The domain name to decompose # @return [Array] The array with [trd + sld, tld]. def decompose(domain) suffix = parts.join('\.') @@ -228,6 +227,7 @@ module PublicSuffix # Initializes a new rule. # # @param value [String] + # @param length [Integer] # @param private [Boolean] def initialize(value:, length: nil, private: false) super(value: value, length: length, private: private) @@ -243,7 +243,7 @@ module PublicSuffix # Decomposes the domain name according to rule properties. # - # @param [String, #to_s] name The domain name to decompose + # @param domain [#to_s] The domain name to decompose # @return [Array] The array with [trd + sld, tld]. def decompose(domain) suffix = ([".*?"] + parts).join('\.') @@ -266,7 +266,7 @@ module PublicSuffix # Initializes a new rule from the content. # - # @param content [String] the content of the rule + # @param content [#to_s] the content of the rule # @param private [Boolean] def self.build(content, private: false) new(value: content.to_s[1..-1], private: private) @@ -281,7 +281,7 @@ module PublicSuffix # Decomposes the domain name according to rule properties. # - # @param [String, #to_s] name The domain name to decompose + # @param domain [#to_s] The domain name to decompose # @return [Array] The array with [trd + sld, tld]. def decompose(domain) suffix = parts.join('\.') @@ -321,7 +321,7 @@ module PublicSuffix # PublicSuffix::Rule.factory("!congresodelalengua3.ar") # # => # # - # @param [String] content The rule content. + # @param content [#to_s] the content of the rule # @return [PublicSuffix::Rule::*] A rule instance. def self.factory(content, private: false) case content.to_s[0, 1] diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/version.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/version.rb similarity index 50% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/version.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/version.rb index c9f93f10f5..80d373f7c4 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/lib/public_suffix/version.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/version.rb @@ -5,9 +5,11 @@ # # Domain name parser based on the Public Suffix List. # -# Copyright (c) 2009-2020 Simone Carletti +# Copyright (c) 2009-2022 Simone Carletti module PublicSuffix - # The current library version. - VERSION = "4.0.6" + + # @return [String] The current library version. + VERSION = "4.0.7" + end