about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--Rakefile2
-rw-r--r--doc/site/src/news.page31
-rw-r--r--ext/http11/http11.c2
-rw-r--r--lib/mongrel.rb2
4 files changed, 34 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 6e7c3dd..a0eafea 100644
--- a/Rakefile
+++ b/Rakefile
@@ -53,7 +53,7 @@ task :site => [:site_webgen, :site_rdoc, :site_coverage, :site_projects_rdoc]
 setup_extension("http11", "http11")
 
 name="mongrel"
-version="0.3.13"
+version="0.3.13.1"
 
 setup_gem(name, version) do |spec|
   spec.summary = "A small fast HTTP library and server that runs Rails, Camping, and Nitro apps."
diff --git a/doc/site/src/news.page b/doc/site/src/news.page
index bfd4632..9faa0cc 100644
--- a/doc/site/src/news.page
+++ b/doc/site/src/news.page
@@ -7,6 +7,37 @@ ordering: 2
 
 h1. Latest News
 
+h2. Jun 20: Mongrel 0.3.13.1 -- Small Fixes
+
+This is a small release that fixes a little bug, some of the documentation,
+and adds the new RedirectHandler code and a @redirect@ call for the mongrel.conf
+files.  It's fresh so don't rely on it.  Everyone should upgrade with the
+usual *gem update* command (which tells you it's "Upgrading...") and tell
+me how it works.
+
+This release fixes:
+
+* The -C configure file option was busted because of an errant line move.
+* Adds RedirectHandler thanks to (Author Soon) and a new redirect call to Configurator.
+* Fixes mongrel_servic documentation which was referring to -r instead of -c and -C instead of -u.
+
+h3. Using RedirectHandler
+
+Redirects are pretty simple.  You simply have either a new RedirectHandler class you can
+use or you can put this in a mongrel.conf and pass that to -S:
+
+  redirect "/from", "/to"
+
+It also accepts regex for the @from@ parameter and can take a block.  Play with it
+if you're interested.
+
+h3. Deflate And Safari
+
+It looks like Safari does not honor the @Content-Encoding: deflate@ response, so
+avoid using DeflateFilter until I can find out why.  *This* is why you don't hand
+code network protocol parsers.
+
+
 h2. Jun 16: Mongrel 0.3.13 -- Finally Out!
 
 After a huge push, tons of delays to fix bugs and add enhancements, and lots of
diff --git a/ext/http11/http11.c b/ext/http11/http11.c
index 870b8d2..5e4e510 100644
--- a/ext/http11/http11.c
+++ b/ext/http11/http11.c
@@ -554,7 +554,7 @@ void Init_http11()
   DEF_GLOBAL(server_protocol, "SERVER_PROTOCOL");
   DEF_GLOBAL(server_protocol_value, "HTTP/1.1");
   DEF_GLOBAL(http_host, "HTTP_HOST");
-  DEF_GLOBAL(mongrel_version, "Mongrel 0.3.13");
+  DEF_GLOBAL(mongrel_version, "Mongrel 0.3.13.1");
   DEF_GLOBAL(server_software, "SERVER_SOFTWARE");
   DEF_GLOBAL(port_80, "80");
 
diff --git a/lib/mongrel.rb b/lib/mongrel.rb
index 4432a2e..94bc85f 100644
--- a/lib/mongrel.rb
+++ b/lib/mongrel.rb
@@ -131,7 +131,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".freeze
+    MONGREL_VERSION="0.3.13.1".freeze
 
     # TODO: this use of a base for tempfiles needs to be looked at for security problems
     MONGREL_TMP_BASE="mongrel".freeze