You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Alex Boisvert (JIRA)" <ji...@apache.org> on 2010/09/17 19:29:35 UTC

[jira] Resolved: (BUILDR-507) Gem packaging should replace dashes with dots in version number

     [ https://issues.apache.org/jira/browse/BUILDR-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert resolved BUILDR-507.
----------------------------------

    Resolution: Fixed

Patch applied.  Thanks Peter!

boisvert@smudge:~/svn/buildr-trunk$ svn commit -m "BUILDR-507 Gem packaging should replace dashes with dots in version number (Peter Donald)" CHANGELOG lib/buildr/packaging/gems.rb
Sending        CHANGELOG
Sending        lib/buildr/packaging/gems.rb
Transmitting file data ..
Committed revision 998212.


> Gem packaging should replace dashes with dots in version number
> ---------------------------------------------------------------
>
>                 Key: BUILDR-507
>                 URL: https://issues.apache.org/jira/browse/BUILDR-507
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Peter Donald
>             Fix For: 1.4.2
>
>         Attachments: FixGemVersion.diff
>
>
> Ruby gems can not have a - in the version. So setting the version of a gem as 1.0.7-SNAPSHOT will result in a build failure. This patch replaces occurrences of '-' in version string with . so that the gem version will be 1.0.7.SNAPSHOT which is acceptable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.