A gem to increment a version number following the Semantic Versioning scheme
To install (or update to latest release):
gem install increment_semver
Alternatively, add the following to your GemFile:
gem 'increment_semver', '~> 0.0.4'
require 'increment_semver'
new_version = increment_semver('1.0.0', 'minor') // Now 1.1.0
From reporting an issue to contributing new code, your collaboration is more than welcome!
-
To run the tests:
rake
-
To release a new version:
./release.sh VERSION_CODE
(withVERSION_CODE
following SemVer 😉)