Project

gitv

0.0
No commit activity in last 3 years
No release in over 3 years
Yet another gem for versioning based on git tags
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 11.2.2, ~> 11.2
>= 0.2.4, ~> 0.2
>= 1.8.2, ~> 1.8

Runtime

~> 0.8.1
 Project Readme

Gem Version Build Status Build Status

gitv is yet another gem for versioning based on git tags.

Installation

Run

gem install gitv

Usage

From shell:

gitv

From ruby code:

gitv = GitV.new(src_root, version_file) # src_root defaults to PWD
                                        # version_file defaults to PWD/lib/data/version
gitv.version # Retrieve version (either from git tags or cached)
gitv.cache   # Cache version number and return cache file name

See also gitv.gemspec for usage example.


This gem is licensed under the Apache License, Version 2.0.
See LICENSE for the full license text.