about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--Rakefile3
-rw-r--r--bin/mongrel_rails2
-rw-r--r--doc/site/src/default.template9
-rw-r--r--doc/site/src/news.page11
-rw-r--r--lib/mongrel.rb2
5 files changed, 23 insertions, 4 deletions
diff --git a/Rakefile b/Rakefile
index d8f8320..be1533f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -35,6 +35,7 @@ summary = "A small fast HTTP library and server that runs Rails, Camping, and Ni
 test_file = "test/test_ws.rb"
 author="Zed A. Shaw"
 name="mongrel"
+scripts=['mongrel_rails']
 
 setup_gem(name, version,  author, summary, ['mongrel_rails'], test_file) do |spec|
   spec.add_dependency('daemons', '>= 0.4.2')
@@ -44,7 +45,7 @@ desc "Build a binary gem for Win32"
 task :win32_gem => [:clean, :compile, :test, :package_win32]
 
 task :package_win32 do
-  setup_win32_gem(name, version,  version, summary, ['mongrel_rails'], test_file) do |spec|
+  setup_win32_gem(name, version,  version, summary, scripts, test_file) do |spec|
     spec.add_dependency('daemons', '>= 0.4.2')
     spec.files << 'ext/http11/http11.so'
     spec.extensions = []
diff --git a/bin/mongrel_rails b/bin/mongrel_rails
index 6e0eb71..e9d4fa9 100644
--- a/bin/mongrel_rails
+++ b/bin/mongrel_rails
@@ -173,6 +173,4 @@ class StopCommand < Mongrel::Command::Command
 end
 
 
-
-
 Mongrel::Command::Registry.instance.run ARGV
diff --git a/doc/site/src/default.template b/doc/site/src/default.template
index fe991de..109180c 100644
--- a/doc/site/src/default.template
+++ b/doc/site/src/default.template
@@ -46,6 +46,15 @@
         <h4>NEWS</h4>
 
         <dl>
+          <dt>Feb-18-2006</dt>
+          <dd>
+            <h5><a href="{relocatable: news.html}">Mongrel 0.3.5 -- CGI Fixed</a></h5>
+
+            <p>A complete rewrite of the CGIWrapper that actually works.</p>
+              <a href="http://rubyforge.org/frs/?group_id=1306" title="Downloads">Download</a>
+              <a href="{relocatable: news.html}"><img src="images/li4.gif" alt="more" /><br /></a></p>
+          </dd>
+
           <dt>Feb-16-2006</dt>
           <dd>
             <h5><a href="{relocatable: news.html}">Mongrel 0.3.4 -- Win32 Baby</a></h5>
diff --git a/doc/site/src/news.page b/doc/site/src/news.page
index cb874a7..ad8051f 100644
--- a/doc/site/src/news.page
+++ b/doc/site/src/news.page
@@ -7,6 +7,17 @@ ordering: 2
 
 h1. Latest News
 
+h2.  Feb-18: Mongrel 0.3.5 -- CGI Actually Works
+
+The CGIWrapper code I had written was complete and utter crap, so
+I rewrote it and now it should be very correct.  After looking at
+more CGI code I think I'll set my sights on the CGI::process, CGI::Cookie::process,
+and read_multipart functions as the next place to put my efforts.  These
+three functions are so full of hand coded parsing that rewriting them with
+a Ragel processor would be a huge gain.
+
+"Download 0.3.3":http://rubyforge.org/frs/?group_id=1306
+
 h2.  Feb-16: Mongrel 0.3.4 -- Win32 Pre-built Gems
 
 This release has pre-built win32 gems thanks to Wilson Bilkovich attacking the
diff --git a/lib/mongrel.rb b/lib/mongrel.rb
index 2584dde..50827ef 100644
--- a/lib/mongrel.rb
+++ b/lib/mongrel.rb
@@ -488,7 +488,7 @@ module Mongrel
           if File.exist? index
             # serve the index
             return index
-          elsif @listing_allows
+          elsif @listing_allowed
             # serve the directory
             req
           else