Permalink
Browse files

Move all sources into rack/contrib/

WARNING: This may break your code. The rack-contrib classes
still define themselves under the Rack module but the file
locations have changed.
  • Loading branch information...
1 parent 01bd77a commit c55a6558b1144bd1c11e02fc347c8b330854f258 @rtomayko rtomayko committed Jan 12, 2009
View
@@ -6,16 +6,16 @@ def self.release
end
end
- autoload :BounceFavicon, "rack/bounce_favicon"
- autoload :ETag, "rack/etag"
- autoload :GarbageCollector, "rack/garbagecollector"
- autoload :JSONP, "rack/jsonp"
- autoload :LighttpdScriptNameFix, "rack/lighttpd_script_name_fix"
- autoload :Locale, "rack/locale"
- autoload :MailExceptions, "rack/mailexceptions"
- autoload :PostBodyContentTypeParser, "rack/post_body_content_type_parser"
- autoload :ProcTitle, "rack/proctitle"
- autoload :Profiler, "rack/profiler"
- autoload :Sendfile, "rack/sendfile"
- autoload :TimeZone, "rack/time_zone"
+ autoload :BounceFavicon, "rack/contrib/bounce_favicon"
+ autoload :ETag, "rack/contrib/etag"
+ autoload :GarbageCollector, "rack/contrib/garbagecollector"
+ autoload :JSONP, "rack/contrib/jsonp"
+ autoload :LighttpdScriptNameFix, "rack/contrib/lighttpd_script_name_fix"
+ autoload :Locale, "rack/contrib/locale"
+ autoload :MailExceptions, "rack/contrib/mailexceptions"
+ autoload :PostBodyContentTypeParser, "rack/contrib/post_body_content_type_parser"
+ autoload :ProcTitle, "rack/contrib/proctitle"
+ autoload :Profiler, "rack/contrib/profiler"
+ autoload :Sendfile, "rack/contrib/sendfile"
+ autoload :TimeZone, "rack/contrib/time_zone"
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -1,5 +1,5 @@
require 'rack/mock'
-require 'rack/etag'
+require 'rack/contrib/etag'
context "Rack::ETag" do
specify "sets ETag if none is set" do
@@ -1,5 +1,5 @@
require 'rack/mock'
-require 'rack/garbagecollector'
+require 'rack/contrib/garbagecollector'
context 'Rack::GarbageCollector' do
View
@@ -1,5 +1,5 @@
require 'rack/mock'
-require 'rack/jsonp'
+require 'rack/contrib/jsonp'
context "Rack::JSONP" do
@@ -1,5 +1,5 @@
require 'rack/mock'
-require 'rack/lighttpd_script_name_fix'
+require 'rack/contrib/lighttpd_script_name_fix'
context "Rack::LighttpdScriptNameFix" do
specify "corrects SCRIPT_NAME and PATH_INFO set by lighttpd " do
@@ -2,7 +2,7 @@
begin
require 'tmail'
- require 'rack/mailexceptions'
+ require 'rack/contrib/mailexceptions'
require File.dirname(__FILE__) + '/mail_settings.rb'
@@ -1,7 +1,7 @@
require 'rack/mock'
begin
- require 'rack/post_body_content_type_parser'
+ require 'rack/contrib/post_body_content_type_parser'
context "Rack::PostBodyContentTypeParser" do
@@ -1,5 +1,5 @@
require 'rack/mock'
-require 'rack/proctitle'
+require 'rack/contrib/proctitle'
context "Rack::ProcTitle" do
F = ::File
@@ -1,5 +1,5 @@
require 'rack/mock'
-require 'rack/profiler'
+require 'rack/contrib/profiler'
context 'Rack::Profiler' do
@@ -1,5 +1,5 @@
require 'rack/mock'
-require 'rack/sendfile'
+require 'rack/contrib/sendfile'
context "Rack::File" do
specify "should respond to #to_path" do

0 comments on commit c55a655

Please sign in to comment.