about summary refs log tree commit homepage
path: root/Rakefile
diff options
context:
space:
mode:
authorzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-02-16 07:04:18 +0000
committerzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-02-16 07:04:18 +0000
commitf5262f2b6d4c3fe233fc15286b3919b419d05214 (patch)
tree5b966af7a3c7915e97f09ed9b4fdda519e1a1b48 /Rakefile
parent0c11d7cdf74490cd2a81570f15149331596f17b3 (diff)
downloadunicorn-f5262f2b6d4c3fe233fc15286b3919b419d05214.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@42 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index b568829..1d4db35 100644
--- a/Rakefile
+++ b/Rakefile
@@ -30,9 +30,13 @@ end
 
 setup_extension("http11", "http11")
 
+version="0.3.4"
 summary = "A small fast HTTP library and server that runs Rails, Camping, and Nitro apps."
 test_file = "test/test_ws.rb"
-setup_gem("mongrel", "0.3.3",  "Zed A. Shaw", summary, ['mongrel_rails'], test_file) do |spec|
+author="Zed A. Shaw"
+name="mongrel"
+
+setup_gem(name, version,  author, summary, ['mongrel_rails'], test_file) do |spec|
   spec.add_dependency('daemons', '>= 0.4.2')
 end
 
@@ -40,8 +44,7 @@ desc "Build a binary gem for Win32"
 task :win32_gem => [:clean, :compile, :test, :package_win32]
 
 task :package_win32 do
-  setup_win32_gem("mongrel", "0.3.3",  "Zed A. Shaw", summary,
-                  ['mongrel_rails'], test_file) do |spec|
+  setup_win32_gem(name, version,  version, summary, ['mongrel_rails'], test_file) do |spec|
     spec.add_dependency('daemons', '>= 0.4.2')
     spec.files << 'ext/http11/http11.so'
     spec.extensions = []