Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Increment SemVer

A gem to increment a version number following the Semantic Versioning scheme

Gem Version Gem Downloads

Install

To install (or update to latest release):

gem install increment_semver

Alternatively, add the following to your GemFile:

gem 'increment_semver', '~> 0.0.4'

Usage

require 'increment_semver'
new_version = increment_semver('1.0.0', 'minor') // Now 1.1.0

Contributing

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 (with VERSION_CODE following SemVer 😉)

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.