diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 040b18be150b4..f07031c387f75 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -7,7 +7,7 @@ GEM minitest (>= 5.1) tzinfo (~> 2.0) zeitwerk (~> 2.3) - addressable (2.8.5) + addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) ast (2.4.2) bindata (2.4.15) diff --git a/Library/Homebrew/sorbet/rbi/gems/addressable@2.8.5.rbi b/Library/Homebrew/sorbet/rbi/gems/addressable@2.8.6.rbi similarity index 92% rename from Library/Homebrew/sorbet/rbi/gems/addressable@2.8.5.rbi rename to Library/Homebrew/sorbet/rbi/gems/addressable@2.8.6.rbi index 5614b0f3392ab..bf7d23653cbc1 100644 --- a/Library/Homebrew/sorbet/rbi/gems/addressable@2.8.5.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/addressable@2.8.6.rbi @@ -11,7 +11,7 @@ module Addressable::IDNA def _deprecated_unicode_normalize_kc(value); end def to_ascii(input); end def to_unicode(input); end - def unicode_normalize_kc(*args, &block); end + def unicode_normalize_kc(*args, **_arg1, &block); end private @@ -249,9 +249,20 @@ Addressable::URI::CharacterClasses::PATH = T.let(T.unsafe(nil), String) Addressable::URI::CharacterClasses::PCHAR = T.let(T.unsafe(nil), String) Addressable::URI::CharacterClasses::QUERY = T.let(T.unsafe(nil), String) Addressable::URI::CharacterClasses::RESERVED = T.let(T.unsafe(nil), String) +Addressable::URI::CharacterClasses::RESERVED_AND_UNRESERVED = T.let(T.unsafe(nil), String) Addressable::URI::CharacterClasses::SCHEME = T.let(T.unsafe(nil), String) Addressable::URI::CharacterClasses::SUB_DELIMS = T.let(T.unsafe(nil), String) Addressable::URI::CharacterClasses::UNRESERVED = T.let(T.unsafe(nil), String) +module Addressable::URI::CharacterClassesRegexps; end +Addressable::URI::CharacterClassesRegexps::AUTHORITY = T.let(T.unsafe(nil), Regexp) +Addressable::URI::CharacterClassesRegexps::FRAGMENT = T.let(T.unsafe(nil), Regexp) +Addressable::URI::CharacterClassesRegexps::HOST = T.let(T.unsafe(nil), Regexp) +Addressable::URI::CharacterClassesRegexps::PATH = T.let(T.unsafe(nil), Regexp) +Addressable::URI::CharacterClassesRegexps::QUERY = T.let(T.unsafe(nil), Regexp) +Addressable::URI::CharacterClassesRegexps::RESERVED = T.let(T.unsafe(nil), Regexp) +Addressable::URI::CharacterClassesRegexps::RESERVED_AND_UNRESERVED = T.let(T.unsafe(nil), Regexp) +Addressable::URI::CharacterClassesRegexps::SCHEME = T.let(T.unsafe(nil), Regexp) +Addressable::URI::CharacterClassesRegexps::UNRESERVED = T.let(T.unsafe(nil), Regexp) Addressable::URI::EMPTY_STR = T.let(T.unsafe(nil), String) class Addressable::URI::InvalidURIError < ::StandardError; end module Addressable::URI::NONE; end diff --git a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi index 63298c0fb687b..612be51ae1f46 100644 --- a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi +++ b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi @@ -6383,13 +6383,7 @@ Net::HTTPServerErrorCode = Net::HTTPServerError Net::HTTPSession = Net::HTTP -class Net::HTTPSuccess -end - -Net::HTTPSuccessCode::EXCEPTION_TYPE = Net::HTTPError - -class Net::HTTPSuccess -end +Net::HTTPSuccessCode = Net::HTTPSuccess class Net::HTTPURITooLong HAS_BODY = ::T.let(nil, ::T.untyped) diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index fdc76122242bc..fce377e95ea14 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -34,7 +34,7 @@ def self.extension_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/zeitwerk-2.6.12/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/activesupport-6.1.7.6/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/public_suffix-5.0.4/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/addressable-2.8.5/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/addressable-2.8.6/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ast-2.4.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/bindata-2.4.15/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/x86_64-darwin-15/#{Gem.extension_api_version}/msgpack-1.7.2") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/LICENSE.txt b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/LICENSE.txt similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/LICENSE.txt rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/LICENSE.txt diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/data/unicode.data b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/data/unicode.data similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/data/unicode.data rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/data/unicode.data diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable/idna.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/idna.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable/idna.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/idna.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable/idna/native.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/idna/native.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable/idna/native.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/idna/native.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable/idna/pure.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/idna/pure.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable/idna/pure.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/idna/pure.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable/template.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable/template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable/uri.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/uri.rb similarity index 97% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable/uri.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/uri.rb index 08ee3348a79c0..2fc87eec4c207 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable/uri.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/uri.rb @@ -50,6 +50,7 @@ module CharacterClasses SUB_DELIMS = "\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=" RESERVED = (GEN_DELIMS + SUB_DELIMS).freeze UNRESERVED = (ALPHA + DIGIT + "\\-\\.\\_\\~").freeze + RESERVED_AND_UNRESERVED = RESERVED + UNRESERVED PCHAR = (UNRESERVED + SUB_DELIMS + "\\:\\@").freeze SCHEME = (ALPHA + DIGIT + "\\-\\+\\.").freeze HOST = (UNRESERVED + SUB_DELIMS + "\\[\\:\\]").freeze @@ -68,6 +69,18 @@ module NormalizeCharacterClasses QUERY = %r{[^a-zA-Z0-9\-\.\_\~\!\$\'\(\)\*\+\,\=\:\@\/\?%]|%(?!2B|2b)} end + module CharacterClassesRegexps + AUTHORITY = /[^#{CharacterClasses::AUTHORITY}]/ + FRAGMENT = /[^#{CharacterClasses::FRAGMENT}]/ + HOST = /[^#{CharacterClasses::HOST}]/ + PATH = /[^#{CharacterClasses::PATH}]/ + QUERY = /[^#{CharacterClasses::QUERY}]/ + RESERVED = /[^#{CharacterClasses::RESERVED}]/ + RESERVED_AND_UNRESERVED = /[^#{CharacterClasses::RESERVED_AND_UNRESERVED}]/ + SCHEME = /[^#{CharacterClasses::SCHEME}]/ + UNRESERVED = /[^#{CharacterClasses::UNRESERVED}]/ + end + SLASH = '/' EMPTY_STR = '' @@ -387,9 +400,7 @@ def self.join(*uris) # "simple/example", Addressable::URI::CharacterClasses::UNRESERVED # ) # => "simple%2Fexample" - def self.encode_component(component, character_class= - CharacterClasses::RESERVED + CharacterClasses::UNRESERVED, - upcase_encoded='') + def self.encode_component(component, character_class=CharacterClassesRegexps::RESERVED_AND_UNRESERVED, upcase_encoded='') return nil if component.nil? begin @@ -539,7 +550,7 @@ class << self # ) # => "one two%2Fthree&four" def self.normalize_component(component, character_class= - CharacterClasses::RESERVED + CharacterClasses::UNRESERVED, + CharacterClassesRegexps::RESERVED_AND_UNRESERVED, leave_encoded='') return nil if component.nil? @@ -619,15 +630,15 @@ def self.encode(uri, return_type=String) uri_object = uri.kind_of?(self) ? uri : self.parse(uri) encoded_uri = Addressable::URI.new( :scheme => self.encode_component(uri_object.scheme, - Addressable::URI::CharacterClasses::SCHEME), + Addressable::URI::CharacterClassesRegexps::SCHEME), :authority => self.encode_component(uri_object.authority, - Addressable::URI::CharacterClasses::AUTHORITY), + Addressable::URI::CharacterClassesRegexps::AUTHORITY), :path => self.encode_component(uri_object.path, - Addressable::URI::CharacterClasses::PATH), + Addressable::URI::CharacterClassesRegexps::PATH), :query => self.encode_component(uri_object.query, - Addressable::URI::CharacterClasses::QUERY), + Addressable::URI::CharacterClassesRegexps::QUERY), :fragment => self.encode_component(uri_object.fragment, - Addressable::URI::CharacterClasses::FRAGMENT) + Addressable::URI::CharacterClassesRegexps::FRAGMENT) ) if return_type == String return encoded_uri.to_s @@ -692,19 +703,19 @@ def self.normalized_encode(uri, return_type=String) end encoded_uri = Addressable::URI.new( :scheme => self.encode_component(components[:scheme], - Addressable::URI::CharacterClasses::SCHEME), + Addressable::URI::CharacterClassesRegexps::SCHEME), :user => self.encode_component(components[:user], - Addressable::URI::CharacterClasses::UNRESERVED), + Addressable::URI::CharacterClassesRegexps::UNRESERVED), :password => self.encode_component(components[:password], - Addressable::URI::CharacterClasses::UNRESERVED), + Addressable::URI::CharacterClassesRegexps::UNRESERVED), :host => components[:host], :port => components[:port], :path => self.encode_component(components[:path], - Addressable::URI::CharacterClasses::PATH), + Addressable::URI::CharacterClassesRegexps::PATH), :query => self.encode_component(components[:query], - Addressable::URI::CharacterClasses::QUERY), + Addressable::URI::CharacterClassesRegexps::QUERY), :fragment => self.encode_component(components[:fragment], - Addressable::URI::CharacterClasses::FRAGMENT) + Addressable::URI::CharacterClassesRegexps::FRAGMENT) ) if return_type == String return encoded_uri.to_s @@ -755,11 +766,11 @@ def self.form_encode(form_values, sort=false) [ self.encode_component( key.gsub(/(\r\n|\n|\r)/, "\r\n"), - CharacterClasses::UNRESERVED + CharacterClassesRegexps::UNRESERVED ).gsub("%20", "+"), self.encode_component( value.gsub(/(\r\n|\n|\r)/, "\r\n"), - CharacterClasses::UNRESERVED + CharacterClassesRegexps::UNRESERVED ).gsub("%20", "+") ] end @@ -1734,20 +1745,20 @@ def query_values=(new_query_values) buffer = "".dup new_query_values.each do |key, value| encoded_key = URI.encode_component( - key, CharacterClasses::UNRESERVED + key, CharacterClassesRegexps::UNRESERVED ) if value == nil buffer << "#{encoded_key}&" elsif value.kind_of?(Array) value.each do |sub_value| encoded_value = URI.encode_component( - sub_value, CharacterClasses::UNRESERVED + sub_value, CharacterClassesRegexps::UNRESERVED ) buffer << "#{encoded_key}=#{encoded_value}&" end else encoded_value = URI.encode_component( - value, CharacterClasses::UNRESERVED + value, CharacterClassesRegexps::UNRESERVED ) buffer << "#{encoded_key}=#{encoded_value}&" end diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable/version.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/version.rb similarity index 98% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable/version.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/version.rb index fe6a62f4f429f..9a58120e29190 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.5/lib/addressable/version.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/version.rb @@ -23,7 +23,7 @@ module Addressable module VERSION MAJOR = 2 MINOR = 8 - TINY = 5 + TINY = 6 STRING = [MAJOR, MINOR, TINY].join('.') end