From c4c57b3cc4c63051bd0926420f59a83201dc5d64 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 25 Apr 2009 11:44:03 -0700 Subject: Rack 1.0.0 compatibility Keep in mind that it's plenty possible to use Unicorn as a library without using Rack itself. Most of the unit tests do not depend on Rack, for example. --- lib/unicorn/http_request.rb | 2 +- local.mk.sample | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb index e53cb1e..424a54f 100644 --- a/lib/unicorn/http_request.rb +++ b/lib/unicorn/http_request.rb @@ -18,7 +18,7 @@ module Unicorn "rack.multiprocess" => true, "rack.multithread" => false, "rack.run_once" => false, - "rack.version" => [0, 1].freeze, + "rack.version" => [1, 0].freeze, "SCRIPT_NAME" => "".freeze, # this is not in the Rack spec, but some apps may rely on it diff --git a/local.mk.sample b/local.mk.sample index 4c89e0e..84bcf44 100644 --- a/local.mk.sample +++ b/local.mk.sample @@ -5,7 +5,7 @@ # This is depends on a bunch of GNU-isms from bash, sed, touch. DLEXT := so -rack_ver := 0.9.1 +rack_ver := 1.0.0 # Avoid loading rubygems to speed up tests because gmake is # fork+exec heavy with Ruby. -- cgit v1.2.3-24-ge0c7