Description
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.