git_stats 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # GitStats
1
+ # GitStats [![Build Status](https://secure.travis-ci.org/tomgi/git_stats.png)](https://secure.travis-ci.org/tomgi/git_stats) [![Build Status](https://codeclimate.com/badge.png)](https://codeclimate.com/github/tomgi/git_stats)
2
2
 
3
3
  GitStats is a git repository statistics generator.
4
4
  It browses the repository and outputs html page with statistics.
@@ -7,6 +7,7 @@ It browses the repository and outputs html page with statistics.
7
7
  * [devise](http://tomgi.github.com/git_stats/examples/devise/index.html)
8
8
  * [devise_invitable](http://tomgi.github.com/git_stats/examples/devise_invitable/index.html)
9
9
  * [jquery](http://tomgi.github.com/git_stats/examples/jquery/index.html)
10
+ * [merit](http://tomgi.github.com/git_stats/examples/merit/index.html)
10
11
  * [paperclip](http://tomgi.github.com/git_stats/examples/paperclip/index.html)
11
12
  * [rails](http://tomgi.github.com/git_stats/examples/rails/index.html)
12
13
 
@@ -31,8 +32,6 @@ It browses the repository and outputs html page with statistics.
31
32
  > commit.files
32
33
  => [...]
33
34
 
34
- ## Build Status
35
- [![Build Status](https://secure.travis-ci.org/tomgi/git_stats.png)](https://secure.travis-ci.org/tomgi/git_stats)
36
35
 
37
36
  ## Contributing
38
37
 
@@ -3,6 +3,11 @@ module GitStats
3
3
  module GitData
4
4
  class CommandRunner
5
5
  def run(path, command)
6
+ execute(command, path).encode!('UTF-8', 'UTF-8', :invalid => :replace)
7
+ end
8
+
9
+ private
10
+ def execute(command, path)
6
11
  Dir.chdir(path) { %x[#{command}] }
7
12
  end
8
13
  end
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module GitStats
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_stats
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-23 00:00:00.000000000 Z
12
+ date: 2012-10-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport