diff options
author | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-02-12 20:02:56 +0000 |
---|---|---|
committer | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-02-12 20:02:56 +0000 |
commit | 2c3825b9fe6cb37d068eb906920884b823453afe (patch) | |
tree | 5686ff464b794b01f8098dc40529871c753b19bf | |
parent | 6120599b9c27496ae2cb49354803de3793dbdb7f (diff) | |
download | unicorn-2c3825b9fe6cb37d068eb906920884b823453afe.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@34 19e92222-5c0b-0410-8929-a290d50e31e9
-rw-r--r-- | Rakefile | 9 | ||||
-rw-r--r-- | doc/site/src/default.template | 14 | ||||
-rw-r--r-- | doc/site/src/index.page | 10 | ||||
-rw-r--r-- | doc/site/src/news.page | 10 | ||||
-rw-r--r-- | tools/rakehelp.rb | 2 |
5 files changed, 40 insertions, 5 deletions
@@ -8,7 +8,7 @@ require 'fileutils' include FileUtils setup_tests -setup_clean ["ext/http11/Makefile", "pkg", "lib/*.bundle", "ext/http11/*.bundle"] +setup_clean ["ext/http11/Makefile", "pkg", "lib/*.bundle", "ext/http11/*.bundle", "doc/site/output"] setup_rdoc ['README', 'LICENSE', 'COPYING', 'lib/*.rb', 'doc/**/*.rdoc', 'ext/http11/http11.c'] desc "Does a full compile, test run" @@ -19,7 +19,12 @@ task :compile => [:http11] task :package => [:clean] task :ragel do - sh %{/usr/local/bin/ragel ext/http11/http11_parser.rl | /usr/local/bin/rlcodegen -G2 -o ext/http11/http11_parser.c} + sh %{/usr/local/bin/ragel ext/http11/http11_parser.rl | /usr/local/bin/rlcodegen -G2 -o ext/http11/http11_parser.c} +end + +task :site do + sh %{pushd doc/site; webgen; scp -r output/* #{ENV['SSH_USER']}@rubyforge.org:/var/www/gforge-projects/mongrel/; popd } + sh %{ scp -r doc/rdoc/* #{ENV['SSH_USER']}@rubyforge.org:/var/www/gforge-projects/mongrel/rdoc/ } end setup_extension("http11", "http11") diff --git a/doc/site/src/default.template b/doc/site/src/default.template index 403a7d1..4fe26ec 100644 --- a/doc/site/src/default.template +++ b/doc/site/src/default.template @@ -46,7 +46,19 @@ <h4>NEWS</h4> <dl> - <dt>2006-03-24</dt> + <dt>Feb-12-2006</dt> + + <dd> + <h5><a href="{relocatable: news.html}">Mongrel 0.3.1 Released</a></h5> + + <p><a href="http://rubyforge.org/frs/?group_id=1306" title="Downloads"> + Download</a> the 0.3.1 release featuring better Rails support and a + major bug fix.<a href="{relocatable: news.html}"><img src="images/li4.gif" alt="more" /><br /></a></p> + </dd> + </dl> + + <dl> + <dt>Feb-12-2006</dt> <dd> <h5><a href="{relocatable: news.html}">Site now up!</a></h5> diff --git a/doc/site/src/index.page b/doc/site/src/index.page index a39dd56..210f673 100644 --- a/doc/site/src/index.page +++ b/doc/site/src/index.page @@ -9,7 +9,7 @@ h1. What is Mongrel? Mongrel is a fast HTTP library and server for Ruby that is intended for hosting Ruby web applications of any kind using plain HTTP rather than FastCGI or SCGI. It is framework agnostic and already supports -Ruby On Rails, Og+Nitro, and Camping frameworks. By using +Ruby On Rails, Og+Nitro, and Camping frameworks. h2. Getting Started @@ -28,6 +28,14 @@ Which runs Mongrel in the background. You can stop it with: And you're all set. +h3. Win32 Folks + +The only thing you people need to do right now is avoid the -d +option to start. Win32 doesn't support POSIX fork so it won't +go into the background. I'll be adding support for making +Mongrel a service in a few releases. + + h2. Performance Mongrel's main competitor is WEBrick and "Tomcat":http://tomcat.apache.org/ but not diff --git a/doc/site/src/news.page b/doc/site/src/news.page index 28eb3b0..03bed1b 100644 --- a/doc/site/src/news.page +++ b/doc/site/src/news.page @@ -7,6 +7,16 @@ ordering: 2 h1. Latest News +h2. Feb-12: Mongrel 0.3.1 Released + +This release improves the support for Ruby On Rails, creates a new +Command/Plugin functionality, and fixes a huge nasty bug in how content +was served with Rails. If you saw weird file serving such as broken +images and other bad downloads then this is the fix for you. + +"Download 0.3.1":http://rubyforge.org/frs/?group_id=1306 + + h2. Feb-12: New site created. This is kind of an experiment in seeing what type of site is possible diff --git a/tools/rakehelp.rb b/tools/rakehelp.rb index 7b36230..577acb7 100644 --- a/tools/rakehelp.rb +++ b/tools/rakehelp.rb @@ -80,7 +80,7 @@ def setup_gem(pkg_name, pkg_version, author, summary, executables, test_file) s.extra_rdoc_files = [ "README" ] s.files = %w(COPYING LICENSE ext/http11/MANIFEST README Rakefile setup.rb) + - Dir.glob("{bin,doc,test,lib}/**/*") + + Dir.glob("{bin,doc/rdoc,test,lib}/**/*") + Dir.glob("ext/**/*.{h,c,rb}") + Dir.glob("examples/**/*.rb") + Dir.glob("tools/*.rb") |