aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/vendor/rack-1.0/rack/handler/thin.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-04-25 13:56:37 -0500
committerJoshua Peek <josh@joshpeek.com>2009-04-25 13:56:37 -0500
commitb69da86ea545b342036fb37a472ec5abefaf3bd5 (patch)
tree91590afc783500eb48700fe93f1cc66bf493fcf2 /actionpack/lib/action_dispatch/vendor/rack-1.0/rack/handler/thin.rb
parent044794fc9e1235981d20172b96f3b34b044ad19c (diff)
downloadrails-b69da86ea545b342036fb37a472ec5abefaf3bd5.tar.gz
rails-b69da86ea545b342036fb37a472ec5abefaf3bd5.tar.bz2
rails-b69da86ea545b342036fb37a472ec5abefaf3bd5.zip
Remove vendored version of Rack
Diffstat (limited to 'actionpack/lib/action_dispatch/vendor/rack-1.0/rack/handler/thin.rb')
-rw-r--r--actionpack/lib/action_dispatch/vendor/rack-1.0/rack/handler/thin.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/actionpack/lib/action_dispatch/vendor/rack-1.0/rack/handler/thin.rb b/actionpack/lib/action_dispatch/vendor/rack-1.0/rack/handler/thin.rb
deleted file mode 100644
index 3d4fedff75..0000000000
--- a/actionpack/lib/action_dispatch/vendor/rack-1.0/rack/handler/thin.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-require "thin"
-require "rack/content_length"
-require "rack/chunked"
-
-module Rack
- module Handler
- class Thin
- def self.run(app, options={})
- app = Rack::Chunked.new(Rack::ContentLength.new(app))
- server = ::Thin::Server.new(options[:Host] || '0.0.0.0',
- options[:Port] || 8080,
- app)
- yield server if block_given?
- server.start
- end
- end
- end
-end