Sha256: dd0596b735814b546859a011063bae61dc8dda1e4c60351c767e45a000a9250a

Contents?: true

Size: 1.58 KB

Versions: 3

Compression:

Stored size: 1.58 KB

Contents

# Gistory

[![Gem Version](https://badge.fury.io/rb/gistory.svg)](https://rubygems.org/gems/gistory)
[![Code Climate](https://codeclimate.com/github/serch/gistory/badges/gpa.svg)](https://codeclimate.com/github/serch/gistory)
[![Build Status](https://travis-ci.org/serch/gistory.svg?branch=master)](https://travis-ci.org/serch/gistory)
[![Coverage Status](https://coveralls.io/repos/github/serch/gistory/badge.svg?branch=master)](https://coveralls.io/github/serch/gistory?branch=master)

If you use bundler and git, and want to know when a gem you are using was updated, `gistory` comes to your rescue, simply:

```shell
gem install gistory
cd /path/to/repo
gistory sidekiq
```

and you'll see something like:
```
Gem: sidekiq
Current version: 4.2.7

Change history:
4.2.7 on Tue,  7 Feb 2017 16:05 +01:00 (commit c6edf321)
4.2.6 on Wed, 30 Nov 2016 13:47 +01:00 (commit bf6a0d17)
4.2.5 on Tue, 22 Nov 2016 14:48 -05:00 (commit 20ff5148)
4.1.4 on Wed,  9 Nov 2016 14:31 +01:00 (commit 05a3c549)
```

By default `gistory` only looks at the 100 last changes to Gemfile.lock
if you want to see farther in the past run:

```shell
gistory sidekiq -m10000
```

Note that if the gem was added, then removed, and then added again, `gistory` will
only show the latest version changes up until it was removed.

## Roadmap

- use red for changes in the major version, blue for changes in the minor version
- support other VCSs like subversion, mercurial, etc.
- detect if the gem was added, then removed and then added again
- use a libgit2 binding instead of the git cli, how much faster it is?
- remove bundler dep
- add yard doc

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gistory-0.1.3 README.md
gistory-0.1.2 README.md
gistory-0.1.1 README.md