From 357c610c63e8d6bc4825061ed06d6492edd176cd Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 13 May 2009 11:38:05 -0700 Subject: privatize constants only used by old_rails/static Unicorn proper no longer needs these constants, so don't bother with them. --- lib/unicorn/const.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/unicorn/const.rb') diff --git a/lib/unicorn/const.rb b/lib/unicorn/const.rb index 263ea10..241c52e 100644 --- a/lib/unicorn/const.rb +++ b/lib/unicorn/const.rb @@ -8,13 +8,6 @@ module Unicorn # gave about a 3% to 10% performance improvement over using the strings directly. # Symbols did not really improve things much compared to constants. module Const - # This is the part of the path after the SCRIPT_NAME. - PATH_INFO="PATH_INFO".freeze - - # The original URI requested by the client. - REQUEST_URI='REQUEST_URI'.freeze - REQUEST_PATH='REQUEST_PATH'.freeze - UNICORN_VERSION="0.7.0".freeze DEFAULT_HOST = "0.0.0.0".freeze # default TCP listen host address -- cgit v1.2.3-24-ge0c7