From 2f744014331cc9a66262cf36bb28302ecf7d56d8 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 5 Dec 2022 18:09:00 +0000 Subject: [PATCH] brew vendor-gems: commit updates. --- .../Homebrew/vendor/bundle/bundler/setup.rb | 2 +- .../{rack-3.0.1 => rack-3.0.2}/lib/rack.rb | 0 .../lib/rack/auth/abstract/handler.rb | 0 .../lib/rack/auth/abstract/request.rb | 0 .../lib/rack/auth/basic.rb | 2 - .../lib/rack/auth/digest.rb | 0 .../lib/rack/auth/digest/md5.rb | 0 .../lib/rack/auth/digest/nonce.rb | 0 .../lib/rack/auth/digest/params.rb | 0 .../lib/rack/auth/digest/request.rb | 0 .../lib/rack/body_proxy.rb | 0 .../lib/rack/builder.rb | 64 ++++++++++--------- .../lib/rack/cascade.rb | 0 .../lib/rack/chunked.rb | 0 .../lib/rack/common_logger.rb | 0 .../lib/rack/conditional_get.rb | 0 .../lib/rack/config.rb | 0 .../lib/rack/constants.rb | 2 +- .../lib/rack/content_length.rb | 0 .../lib/rack/content_type.rb | 0 .../lib/rack/deflater.rb | 0 .../lib/rack/directory.rb | 0 .../lib/rack/etag.rb | 0 .../lib/rack/events.rb | 0 .../lib/rack/file.rb | 0 .../lib/rack/files.rb | 0 .../lib/rack/head.rb | 0 .../lib/rack/headers.rb | 24 +++---- .../lib/rack/lint.rb | 4 +- .../lib/rack/lock.rb | 0 .../lib/rack/logger.rb | 0 .../lib/rack/media_type.rb | 0 .../lib/rack/method_override.rb | 0 .../lib/rack/mime.rb | 0 .../lib/rack/mock.rb | 0 .../lib/rack/mock_request.rb | 0 .../lib/rack/mock_response.rb | 0 .../lib/rack/multipart.rb | 0 .../lib/rack/multipart/generator.rb | 0 .../lib/rack/multipart/parser.rb | 0 .../lib/rack/multipart/uploaded_file.rb | 0 .../lib/rack/null_logger.rb | 0 .../lib/rack/query_parser.rb | 0 .../lib/rack/recursive.rb | 0 .../lib/rack/reloader.rb | 0 .../lib/rack/request.rb | 4 +- .../lib/rack/response.rb | 11 +++- .../lib/rack/rewindable_input.rb | 0 .../lib/rack/runtime.rb | 0 .../lib/rack/sendfile.rb | 0 .../lib/rack/show_exceptions.rb | 0 .../lib/rack/show_status.rb | 0 .../lib/rack/static.rb | 0 .../lib/rack/tempfile_reaper.rb | 0 .../lib/rack/urlmap.rb | 0 .../lib/rack/utils.rb | 8 +-- .../lib/rack/version.rb | 2 +- 57 files changed, 64 insertions(+), 59 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/auth/abstract/handler.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/auth/abstract/request.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/auth/basic.rb (95%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/auth/digest.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/auth/digest/md5.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/auth/digest/nonce.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/auth/digest/params.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/auth/digest/request.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/body_proxy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/builder.rb (91%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/cascade.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/chunked.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/common_logger.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/conditional_get.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/config.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/constants.rb (99%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/content_length.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/content_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/deflater.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/directory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/etag.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/events.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/file.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/files.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/head.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/headers.rb (96%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/lint.rb (99%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/lock.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/logger.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/media_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/method_override.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/mime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/mock.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/mock_request.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/mock_response.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/multipart.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/multipart/generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/multipart/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/multipart/uploaded_file.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/null_logger.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/query_parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/recursive.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/reloader.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/request.rb (99%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/response.rb (97%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/rewindable_input.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/sendfile.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/show_exceptions.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/show_status.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/static.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/tempfile_reaper.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/urlmap.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/utils.rb (99%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{rack-3.0.1 => rack-3.0.2}/lib/rack/version.rb (97%) diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 306e05c07b..752c4f97f3 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -83,7 +83,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/patchelf-1.4.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/plist-3.6.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pry-0.14.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rack-3.0.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rack-3.0.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unparser-0.6.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.0.14/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/universal-darwin-21/#{Gem.extension_api_version}/rdiscount-2.2.7") diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/abstract/handler.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/abstract/handler.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/abstract/handler.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/abstract/handler.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/abstract/request.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/abstract/request.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/abstract/request.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/abstract/request.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/basic.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/basic.rb similarity index 95% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/basic.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/basic.rb index d5b4ea16da..019efde75e 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/basic.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/basic.rb @@ -10,8 +10,6 @@ module Rack # # Initialize with the Rack application that you want protecting, # and a block that checks if a username and password pair are valid. - # - # See also: example/protectedlobster.rb class Basic < AbstractHandler diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/digest.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/digest.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/digest.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/digest.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/digest/md5.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/digest/md5.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/digest/md5.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/digest/md5.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/digest/nonce.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/digest/nonce.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/digest/nonce.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/digest/nonce.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/digest/params.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/digest/params.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/digest/params.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/digest/params.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/digest/request.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/digest/request.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/auth/digest/request.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/auth/digest/request.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/body_proxy.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/body_proxy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/body_proxy.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/body_proxy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/builder.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/builder.rb similarity index 91% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/builder.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/builder.rb index 6d40b534ac..0b9c3d24a2 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/builder.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/builder.rb @@ -10,26 +10,23 @@ module Rack # # Example: # - # require 'rack/lobster' - # app = Rack::Builder.new do - # use Rack::CommonLogger - # use Rack::ShowExceptions - # map "/lobster" do - # use Rack::Lint - # run Rack::Lobster.new - # end - # end + # app = Rack::Builder.new do + # use Rack::CommonLogger + # map "/ok" do + # run lambda { |env| [200, {'content-type' => 'text/plain'}, ['OK']] } + # end + # end # - # run app + # run app # # Or # - # app = Rack::Builder.app do - # use Rack::CommonLogger - # run lambda { |env| [200, {'Content-Type' => 'text/plain'}, ['OK']] } - # end + # app = Rack::Builder.app do + # use Rack::CommonLogger + # run lambda { |env| [200, {'content-type' => 'text/plain'}, ['OK']] } + # end # - # run app + # run app # # +use+ adds middleware to the stack, +run+ dispatches to an application. # You can use +map+ to construct a Rack::URLMap in a convenient way. @@ -180,15 +177,6 @@ module Rack # # run Heartbeat.new # - # It could also be a module: - # - # module HelloWorld - # def call(env) - # [200, { "content-type" => "text/plain" }, ["Hello World"]] - # end - # end - # - # run HelloWorld def run(app = nil, &block) raise ArgumentError, "Both app and block given!" if app && block_given? @@ -213,21 +201,35 @@ module Rack # the Rack application specified by run inside the block. Other requests will be sent to the # default application specified by run outside the block. # - # Rack::Builder.app do - # map '/heartbeat' do - # run Heartbeat + # class App + # def call(env) + # [200, {'content-type' => 'text/plain'}, ["Hello World"]] # end - # run App # end # + # class Heartbeat + # def call(env) + # [200, { "content-type" => "text/plain" }, ["OK"]] + # end + # end + # + # app = Rack::Builder.app do + # map '/heartbeat' do + # run Heartbeat.new + # end + # run App.new + # end + # + # run app + # # The +use+ method can also be used inside the block to specify middleware to run under a specific path: # - # Rack::Builder.app do + # app = Rack::Builder.app do # map '/heartbeat' do # use Middleware - # run Heartbeat + # run Heartbeat.new # end - # run App + # run App.new # end # # This example includes a piece of middleware which will run before +/heartbeat+ requests hit +Heartbeat+. diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/cascade.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/cascade.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/cascade.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/cascade.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/chunked.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/chunked.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/chunked.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/chunked.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/common_logger.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/common_logger.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/common_logger.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/common_logger.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/conditional_get.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/conditional_get.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/conditional_get.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/conditional_get.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/config.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/config.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/config.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/config.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/constants.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/constants.rb similarity index 99% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/constants.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/constants.rb index d99b636733..6aa9281f61 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/constants.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/constants.rb @@ -14,7 +14,7 @@ module Rack SERVER_NAME = 'SERVER_NAME' SERVER_PORT = 'SERVER_PORT' HTTP_COOKIE = 'HTTP_COOKIE' - + # Response Header Keys CACHE_CONTROL = 'cache-control' CONTENT_LENGTH = 'content-length' diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/content_length.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/content_length.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/content_length.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/content_length.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/content_type.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/content_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/content_type.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/content_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/deflater.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/deflater.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/deflater.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/deflater.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/directory.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/directory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/directory.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/directory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/etag.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/etag.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/etag.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/etag.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/events.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/events.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/events.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/events.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/file.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/file.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/file.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/file.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/files.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/files.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/files.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/files.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/head.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/head.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/head.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/head.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/headers.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/headers.rb similarity index 96% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/headers.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/headers.rb index 153c1b2233..ae1a89d12f 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/headers.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/headers.rb @@ -31,7 +31,7 @@ module Rack super(key.downcase.freeze, value) end alias store []= - + def assoc(key) super(downcase_key(key)) end @@ -43,7 +43,7 @@ module Rack def delete(key) super(downcase_key(key)) end - + def dig(key, *a) super(downcase_key(key), *a) end @@ -52,7 +52,7 @@ module Rack key = downcase_key(key) super end - + def fetch_values(*a) super(*a.map!{|key| downcase_key(key)}) end @@ -63,34 +63,34 @@ module Rack alias include? has_key? alias key? has_key? alias member? has_key? - + def invert hash = self.class.new each{|key, value| hash[value] = key} hash end - + def merge(hash, &block) dup.merge!(hash, &block) end - + def reject(&block) hash = dup hash.reject!(&block) hash end - + def replace(hash) clear update(hash) end - + def select(&block) hash = dup hash.select!(&block) hash end - + def to_proc lambda{|x| self[x]} end @@ -100,10 +100,10 @@ module Rack end def update(hash, &block) - hash.each do |key, value| + hash.each do |key, value| self[key] = if block_given? && include?(key) block.call(key, self[key], value) - else + else value end end @@ -114,7 +114,7 @@ module Rack def values_at(*keys) keys.map{|key| self[key]} end - + # :nocov: if RUBY_VERSION >= '2.5' # :nocov: diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/lint.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/lint.rb similarity index 99% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/lint.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/lint.rb index 75eed20869..ed3c7f421a 100755 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/lint.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/lint.rb @@ -629,7 +629,7 @@ module Rack unless headers.kind_of?(Hash) raise LintError, "headers object should be a hash, but isn't (got #{headers.class} as headers)" end - + if headers.frozen? raise LintError, "headers object should not be frozen, but is" end @@ -889,7 +889,7 @@ module Rack def initialize(stream) @stream = stream - + REQUIRED_METHODS.each do |method_name| raise LintError, "Stream must respond to #{method_name}" unless stream.respond_to?(method_name) end diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/lock.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/lock.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/lock.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/lock.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/logger.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/logger.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/logger.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/logger.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/media_type.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/media_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/media_type.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/media_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/method_override.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/method_override.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/method_override.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/method_override.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/mime.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/mime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/mime.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/mime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/mock.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/mock.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/mock.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/mock.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/mock_request.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/mock_request.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/mock_request.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/mock_request.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/mock_response.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/mock_response.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/mock_response.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/mock_response.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/multipart.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/multipart.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/multipart.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/multipart.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/multipart/generator.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/multipart/generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/multipart/generator.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/multipart/generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/multipart/parser.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/multipart/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/multipart/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/multipart/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/multipart/uploaded_file.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/multipart/uploaded_file.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/multipart/uploaded_file.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/multipart/uploaded_file.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/null_logger.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/null_logger.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/null_logger.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/null_logger.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/query_parser.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/query_parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/query_parser.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/query_parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/recursive.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/recursive.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/recursive.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/recursive.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/reloader.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/reloader.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/reloader.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/reloader.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/request.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/request.rb similarity index 99% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/request.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/request.rb index 452140149d..6641b5fcd9 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/request.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/request.rb @@ -44,7 +44,7 @@ module Rack @x_forwarded_proto_priority = [:proto, :scheme] valid_ipv4_octet = /\.(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])/ - + trusted_proxies = Regexp.union( /\A127#{valid_ipv4_octet}{3}\z/, # localhost IPv4 range 127.x.x.x, per RFC-3330 /\A::1\z/, # localhost IPv6 ::1 @@ -54,7 +54,7 @@ module Rack /\A192\.168#{valid_ipv4_octet}{2}\z/, # private IPv4 range 192.168.x.x /\Alocalhost\z|\Aunix(\z|:)/i, # localhost hostname, and unix domain sockets ) - + self.ip_filter = lambda { |ip| trusted_proxies.match?(ip) } ALLOWED_SCHEMES = %w(https http wss ws).freeze diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/response.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/response.rb similarity index 97% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/response.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/response.rb index 2b7057a2f4..f24683bcb5 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/response.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/response.rb @@ -43,7 +43,7 @@ module Rack # # If the +body+ is +nil+, construct an empty response object with internal # buffering. - # + # # If the +body+ responds to +to_str+, assume it's a string-like object and # construct a buffered response object containing using that string as the # initial contents of the buffer. @@ -102,11 +102,16 @@ module Rack CHUNKED == get_header(TRANSFER_ENCODING) end + def no_entity_body? + # The response body is an enumerable body and it is not allowed to have an entity body. + @body.respond_to?(:each) && STATUS_WITH_NO_ENTITY_BODY[@status] + end + # Generate a response array consistent with the requirements of the SPEC. # @return [Array] a 3-tuple suitable of `[status, headers, body]` # which is suitable to be returned from the middleware `#call(env)` method. def finish(&block) - if STATUS_WITH_NO_ENTITY_BODY[@status] + if no_entity_body? delete_header CONTENT_TYPE delete_header CONTENT_LENGTH close @@ -333,7 +338,7 @@ module Rack end body.close if body.respond_to?(:close) - + @buffered = true else @buffered = false diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/rewindable_input.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/rewindable_input.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/rewindable_input.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/rewindable_input.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/runtime.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/sendfile.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/sendfile.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/sendfile.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/sendfile.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/show_exceptions.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/show_exceptions.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/show_exceptions.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/show_exceptions.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/show_status.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/show_status.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/show_status.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/show_status.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/static.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/static.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/static.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/static.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/tempfile_reaper.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/tempfile_reaper.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/tempfile_reaper.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/tempfile_reaper.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/urlmap.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/urlmap.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/urlmap.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/urlmap.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/utils.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/utils.rb similarity index 99% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/utils.rb index 648b70590d..82597450dd 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/utils.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/utils.rb @@ -121,13 +121,13 @@ module Rack }.join("&") when Hash value.map { |k, v| - build_nested_query(v, prefix ? "#{prefix}[#{escape(k)}]" : escape(k)) + build_nested_query(v, prefix ? "#{prefix}[#{k}]" : k) }.delete_if(&:empty?).join('&') when nil - prefix + escape(prefix) else raise ArgumentError, "value must be a Hash" if prefix.nil? - "#{prefix}=#{escape(value)}" + "#{escape(prefix)}=#{escape(value)}" end end @@ -278,7 +278,7 @@ module Rack # If the cookie +value+ is an instance of +Hash+, it considers the following # cookie attribute keys: +domain+, +max_age+, +expires+ (must be instance # of +Time+), +secure+, +http_only+, +same_site+ and +value+. For more - # details about the interpretation of these fields, consult + # details about the interpretation of these fields, consult # [RFC6265 Section 5.2](https://datatracker.ietf.org/doc/html/rfc6265#section-5.2). # # An extra cookie attribute +escape_key+ can be provided to control whether diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/version.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/version.rb similarity index 97% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/version.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/version.rb index cd73e2e1e0..97bd47eb23 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.1/lib/rack/version.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rack-3.0.2/lib/rack/version.rb @@ -25,7 +25,7 @@ module Rack VERSION end - RELEASE = "3.0.1" + RELEASE = "3.0.2" # Return the Rack release as a dotted string. def self.release