brew vendor-gems: commit updates.
This commit is contained in:
parent
400ecadbc9
commit
7d3a9d2e8e
@ -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.0/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/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")
|
||||
|
||||
@ -817,8 +817,14 @@ module Rack
|
||||
verify_to_path
|
||||
end
|
||||
|
||||
BODY_METHODS = {to_ary: true, each: true, call: true, to_path: true}
|
||||
|
||||
def to_path
|
||||
@body.to_path
|
||||
end
|
||||
|
||||
def respond_to?(name, *)
|
||||
if name == :to_ary
|
||||
if BODY_METHODS.key?(name)
|
||||
@body.respond_to?(name)
|
||||
else
|
||||
super
|
||||
@ -46,7 +46,7 @@ module Rack
|
||||
end
|
||||
|
||||
def method_override_param(req)
|
||||
req.POST[METHOD_OVERRIDE_PARAM_KEY]
|
||||
req.POST[METHOD_OVERRIDE_PARAM_KEY] if req.form_data? || req.parseable_data?
|
||||
rescue Utils::InvalidParameterError, Utils::ParameterTypeError
|
||||
req.get_header(RACK_ERRORS).puts "Invalid or incomplete POST params"
|
||||
rescue EOFError
|
||||
@ -25,7 +25,7 @@ module Rack
|
||||
VERSION
|
||||
end
|
||||
|
||||
RELEASE = "3.0.0"
|
||||
RELEASE = "3.0.1"
|
||||
|
||||
# Return the Rack release as a dotted string.
|
||||
def self.release
|
||||
Loading…
x
Reference in New Issue
Block a user