about summary refs log tree commit homepage
path: root/lib/mongrel.rb
diff options
context:
space:
mode:
authorzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-06-30 21:25:14 +0000
committerzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-06-30 21:25:14 +0000
commit111af72fbbbc64438a74ca035eacc1691d895ea1 (patch)
treebb7175b7f6a667e071fcef80f679bd131361f790 /lib/mongrel.rb
parentddd5c9a46cfbb471f83a50d0a890a55628c22738 (diff)
downloadunicorn-111af72fbbbc64438a74ca035eacc1691d895ea1.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@269 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'lib/mongrel.rb')
-rw-r--r--lib/mongrel.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/mongrel.rb b/lib/mongrel.rb
index 03b053a..f2f1a02 100644
--- a/lib/mongrel.rb
+++ b/lib/mongrel.rb
@@ -120,7 +120,7 @@ module Mongrel
     # The original URI requested by the client.  Passed to URIClassifier to build PATH_INFO and SCRIPT_NAME.
     REQUEST_URI='REQUEST_URI'.freeze
 
-    MONGREL_VERSION="0.3.13.2".freeze
+    MONGREL_VERSION="0.3.13.3".freeze
 
     # TODO: this use of a base for tempfiles needs to be looked at for security problems
     MONGREL_TMP_BASE="mongrel".freeze
@@ -995,21 +995,21 @@ module Mongrel
     #   debug "/", what = [:rails]
     #
     # And it will only produce the log/mongrel_debug/rails.log file.
-    # Available options are:  :object, :rails, :files, :threads, :params
+    # Available options are:  :objects, :rails, :files, :threads, :params
     #
     # NOTE: Use [:files] to get accesses dumped to stderr like with WEBrick.
-    def debug(location, what = [:object, :rails, :files, :threads, :params])
+    def debug(location, what = [:objects, :rails, :files, :threads, :params])
       require 'mongrel/debug'
       handlers = {
         :files => "/handlers/requestlog::access",
         :rails => "/handlers/requestlog::files",
-        :object => "/handlers/requestlog::objects",
+        :objects => "/handlers/requestlog::objects",
         :threads => "/handlers/requestlog::threads",
         :params => "/handlers/requestlog::params"
       }
 
       # turn on the debugging infrastructure, and ObjectTracker is a pig
-      ObjectTracker.configure if what.include? :object
+      ObjectTracker.configure if what.include? :objects
       MongrelDbg.configure
 
       # now we roll through each requested debug type, turn it on and load that plugin