mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Move bundled rack into ActionDispatch
This commit is contained in:
parent
1120aaceae
commit
4839fe2e82
53 changed files with 7 additions and 13 deletions
|
@ -32,13 +32,6 @@ rescue LoadError
|
|||
end
|
||||
|
||||
require File.join(File.dirname(__FILE__), "action_pack")
|
||||
$:.unshift "#{File.dirname(__FILE__)}/action_controller/vendor/rack-1.0"
|
||||
begin
|
||||
gem 'rack', '~> 1.0.0'
|
||||
require 'rack'
|
||||
rescue Gem::LoadError
|
||||
require 'action_controller/vendor/rack-1.0/rack'
|
||||
end
|
||||
|
||||
module ActionController
|
||||
# TODO: Review explicit to see if they will automatically be handled by
|
||||
|
|
|
@ -31,9 +31,13 @@ rescue LoadError
|
|||
end
|
||||
end
|
||||
|
||||
gem 'rack', '>= 0.9.0'
|
||||
require 'rack'
|
||||
require 'action_dispatch/rack'
|
||||
$:.unshift "#{File.dirname(__FILE__)}/action_dispatch/vendor/rack-1.0"
|
||||
begin
|
||||
gem 'rack', '~> 1.0.0'
|
||||
require 'rack'
|
||||
rescue Gem::LoadError
|
||||
require 'action_dispatch/vendor/rack-1.0/rack'
|
||||
end
|
||||
|
||||
module ActionDispatch
|
||||
autoload :Request, 'action_dispatch/http/request'
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
# require 'action_dispatch/rack/lock'
|
||||
# require 'action_dispatch/rack/multipart'
|
||||
# require 'action_dispatch/rack/parse_query'
|
Loading…
Reference in a new issue