GitStats is a git repository statistics generator.
Find a file
Tomasz Gieniusz c3aff444fc Bump to 1.0.3
2012-11-01 18:26:07 +01:00
bin activity fix and tests 2012-10-13 11:49:02 +02:00
config/locales pl localization 2012-10-22 23:22:50 +02:00
lib Bump to 1.0.3 2012-11-01 18:26:07 +01:00
spec will create output directory if doesn't exist 2012-11-01 18:23:44 +01:00
templates using author name instead of email in charts 2012-10-23 20:52:34 +02:00
.gitignore gem description 2012-10-08 17:15:29 +02:00
.gitmodules public submodule path 2012-10-23 21:38:15 +02:00
.rspec lazy loading and firsts tests 2012-10-12 18:20:07 +02:00
Gemfile using my version of lazy_high_charts 2012-10-22 20:57:24 +02:00
git_stats.gemspec require ruby version 1.9.2 2012-11-01 18:10:25 +01:00
LICENSE.txt initial gem 2012-10-08 17:11:11 +02:00
Rakefile spec is a default rake task 2012-10-23 21:57:27 +02:00
README.md john example 2012-10-25 16:52:37 +02:00

GitStats Build Status Build Status

GitStats is a git repository statistics generator. It browses the repository and outputs html page with statistics.

Examples

Installation

$ gem install git_stats

Usage

Generator

$ git_stats repo_path output_directory
$ favorite_browser output_directory/index.html

API usage example

> repo = GitStats::GitData::Repo.new(path: '.')
> repo.authors
=> [...]
> repo.commits
=> [...]
> commit.files
=> [...]

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request