Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit c55a6558b1144bd1c11e02fc347c8b330854f258 1 parent 01bd77a
@rtomayko rtomayko authored
View
24 lib/rack/contrib.rb
@@ -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
View
0  lib/rack/bounce_favicon.rb → lib/rack/contrib/bounce_favicon.rb
File renamed without changes
View
0  lib/rack/etag.rb → lib/rack/contrib/etag.rb
File renamed without changes
View
0  lib/rack/garbagecollector.rb → lib/rack/contrib/garbagecollector.rb
File renamed without changes
View
0  lib/rack/jsonp.rb → lib/rack/contrib/jsonp.rb
File renamed without changes
View
0  lib/rack/lighttpd_script_name_fix.rb → lib/rack/contrib/lighttpd_script_name_fix.rb
File renamed without changes
View
0  lib/rack/locale.rb → lib/rack/contrib/locale.rb
File renamed without changes
View
0  lib/rack/mailexceptions.rb → lib/rack/contrib/mailexceptions.rb
File renamed without changes
View
0  lib/rack/post_body_content_type_parser.rb → lib/rack/contrib/post_body_content_type_parser.rb
File renamed without changes
View
0  lib/rack/proctitle.rb → lib/rack/contrib/proctitle.rb
File renamed without changes
View
0  lib/rack/profiler.rb → lib/rack/contrib/profiler.rb
File renamed without changes
View
0  lib/rack/sendfile.rb → lib/rack/contrib/sendfile.rb
File renamed without changes
View
0  lib/rack/time_zone.rb → lib/rack/contrib/time_zone.rb
File renamed without changes
View
2  test/spec_rack_etag.rb
@@ -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
View
2  test/spec_rack_garbagecollector.rb
@@ -1,5 +1,5 @@
require 'rack/mock'
-require 'rack/garbagecollector'
+require 'rack/contrib/garbagecollector'
context 'Rack::GarbageCollector' do
View
2  test/spec_rack_jsonp.rb
@@ -1,5 +1,5 @@
require 'rack/mock'
-require 'rack/jsonp'
+require 'rack/contrib/jsonp'
context "Rack::JSONP" do
View
2  test/spec_rack_lighttpd_script_name_fix.rb
@@ -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
View
2  test/spec_rack_mailexceptions.rb
@@ -2,7 +2,7 @@
begin
require 'tmail'
- require 'rack/mailexceptions'
+ require 'rack/contrib/mailexceptions'
require File.dirname(__FILE__) + '/mail_settings.rb'
View
2  test/spec_rack_post_body_content_type_parser.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
View
2  test/spec_rack_proctitle.rb
@@ -1,5 +1,5 @@
require 'rack/mock'
-require 'rack/proctitle'
+require 'rack/contrib/proctitle'
context "Rack::ProcTitle" do
F = ::File
View
2  test/spec_rack_profiler.rb
@@ -1,5 +1,5 @@
require 'rack/mock'
-require 'rack/profiler'
+require 'rack/contrib/profiler'
context 'Rack::Profiler' do
View
2  test/spec_rack_sendfile.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.