]> git.cworth.org Git - sup/commitdiff
use "999" instead of 999 for gem version identifier
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Thu, 10 Jan 2008 17:40:55 +0000 (09:40 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Thu, 10 Jan 2008 17:40:55 +0000 (09:40 -0800)
This is necessary for earlier rubygems versions, which require a string
version identifier.

Rakefile

index 33e988320986b569d1cc7f7e0c045326bae4bbb3..69f0b687bdbc60febe3cf3f55bb3b8e9a122e362 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -10,7 +10,7 @@ end # thanks to "Mike H"
 ## allow people who use development versions by running "rake gem"
 ## and installing the resulting gem it to be able to do this. (gem
 ## versions must be in dotted-digit notation only).
-version = Redwood::VERSION == "git" ? 999 : Redwood::VERSION
+version = Redwood::VERSION == "git" ? "999" : Redwood::VERSION
 
 Hoe.new('sup', version) do |p|
   p.rubyforge_name = 'sup'