buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From boisv...@apache.org
Subject svn commit: r998212 - in /buildr/trunk: CHANGELOG lib/buildr/packaging/gems.rb
Date Fri, 17 Sep 2010 17:28:15 GMT
Author: boisvert
Date: Fri Sep 17 17:28:15 2010
New Revision: 998212

URL: http://svn.apache.org/viewvc?rev=998212&view=rev
Log:
BUILDR-507 Gem packaging should replace dashes with dots in version number (Peter Donald)

Modified:
    buildr/trunk/CHANGELOG
    buildr/trunk/lib/buildr/packaging/gems.rb

Modified: buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=998212&r1=998211&r2=998212&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Fri Sep 17 17:28:15 2010
@@ -43,6 +43,8 @@
 * Fixed:  BUILDR-506 Gem packaging does not work under windows (Peter Donald)
 * Fixed:  BUILDR-508 Remove unnecessary use of Java.classpath in OpenJPA
           extension (Peter Donald)
+* Fixed:  BUILDR-507 Gem packaging should replace dashes with dots in
+          version number (Peter Donald)
 
 1.4.1 (2010-07-07)
 * Added:  BUILDR-420 Support external compiler

Modified: buildr/trunk/lib/buildr/packaging/gems.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/packaging/gems.rb?rev=998212&r1=998211&r2=998212&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/packaging/gems.rb (original)
+++ buildr/trunk/lib/buildr/packaging/gems.rb Fri Sep 17 17:28:15 2010
@@ -87,7 +87,7 @@ module Buildr
         end
         gem.spec do |spec|
           spec.name = id
-          spec.version = version
+          spec.version = version.gsub('-','.') # RubyGems doesn't like '-' in version numbers
           spec.summary = full_comment
           spec.has_rdoc = true
           spec.rdoc_options << '--title' << comment



Mime
View raw message