semver

Version, currently master branch1 version
  • master branchlatestSep 21, 2015

github.com/rosylilly/semver

Semantic Versioning module for Crystal

3 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  semver:
    github: rosylilly/semver
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
no constraint declared
License
MIT
Author
Sho Kusano

Dependencies

Development Dependencies

README

semver

Semantic Versioning module for Crystal.

Installation

Add this to your application's shard.yml:

dependencies:
  semver:
    github: rosylilly/semver

Usage

require "semver"

v1_0_0 = Semver::Version.new("1.0.0")

# or

v1_0_0 = Semver::Version.new(1, 0, 0)

Contributing

  1. Fork it ( https://github.com/rosylilly/semver/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • rosylilly(https://github.com/rosylilly) Sho Kusano - creator, maintainer