git_pissed 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff8de403fbb71fa3672b240c8e7cc50eb3c07259
4
- data.tar.gz: a1d4dc44a483c0b9667ca4589ead6c5042c99f36
3
+ metadata.gz: 50d6f4c268823fbd308434608b55d93371699593
4
+ data.tar.gz: de1da24f2e8bcd88321f3ee5af1874b927c18e7a
5
5
  SHA512:
6
- metadata.gz: 593e21b750c6e4fa7edc6a22efff134aedb5a06823da4ca9159aac6e223f4db7dd7335e47942bfee296ab04add08277bc46788afa6204d959b1e742e0b13f850
7
- data.tar.gz: c358a5360ea5fc76cd4fda568761008e2246e5afa18e1a5ceb23f09586d5672bf632114440f9e1a82be97dae7454b37492a062a5279b7d6af388952402322792
6
+ metadata.gz: 7d643dc7906929ae8d470c56d0904733eef4dd9ee64317eaf4ae9bb1aef006508ce8d284d52aeb24873cad32492d9b38f14c098e86bbe2df6ae2b7f0aea64fa6
7
+ data.tar.gz: 5530d1a819479e75f8fe912291e86119442e7b67f5546312cf18c2e1665835fd830496dcb63207e9aa7155b4b23bd54a36afa9d81a09ba41b7576e7c331afd52
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- git_pissed (1.0.1)
4
+ git_pissed (1.0.2)
5
5
  ruby-progressbar
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  Are the developers on your team frustrated? Do you wish you had better tests?
6
6
  Do rainy days get you down? Do you have enough stackoverflow links in your
7
- code? Answer these questions *today* with `git-pissed`
7
+ code? Answer these questions *today* with `git pissed`
8
8
 
9
- `git-pissed` tracks any number of words across your entire git history. The
9
+ `git pissed` tracks any number of words across your entire git history. The
10
10
  defaults are **wildly offensive** and inspired by [Vidar Holen's Linux Kernel
11
11
  Swear Counts](http://www.vidarholen.net/contents/wordcount).
12
12
 
@@ -19,14 +19,14 @@ Install the gem, open a git repo, and git pissed.
19
19
  ```bash
20
20
  $ gem install git_pissed
21
21
  $ cd my/git/repo
22
- $ git-pissed && open git-pissed.html
22
+ $ git pissed && open git-pissed.html
23
23
  ```
24
24
 
25
- Sometimes we want to track happiness instead of **ANGER!!** `git-pissed` allows
25
+ Sometimes we want to track happiness instead of **ANGER!!** `git pissed` allows
26
26
  the tracking of any set of words.
27
27
 
28
28
  ```bash
29
- $ git-pissed --words=love,hate,rainbow
29
+ $ git pissed --words=love,hate,rainbow
30
30
  ```
31
31
 
32
32
  ![](https://raw.github.com/chrishunt/git-pissed/master/img/graph-love-hate-rainbow.png)
@@ -34,7 +34,7 @@ $ git-pissed --words=love,hate,rainbow
34
34
  If you are a graphing wizard and just want the data, generate a CSV instead.
35
35
 
36
36
  ```bash
37
- $ git-pissed --format=csv
37
+ $ git pissed --format=csv
38
38
  $ cat git-pissed.csv
39
39
  date,love,hate,rainbow
40
40
  2010-12-27,37,3,2
@@ -49,13 +49,13 @@ amount specified in `max-revisions` (defaults to 30) will be scanned evenly
49
49
  throughout the entire git history.
50
50
 
51
51
  ```bash
52
- $ git-pissed --max-revisions=100
52
+ $ git pissed --max-revisions=100
53
53
  ```
54
54
 
55
55
  ![](https://raw.github.com/chrishunt/git-pissed/master/img/graph-100res.png)
56
56
 
57
57
  ```bash
58
- $ git-pissed --max-revisions=15
58
+ $ git pissed --max-revisions=15
59
59
  ```
60
60
 
61
61
  ![](https://raw.github.com/chrishunt/git-pissed/master/img/graph-15res.png)
@@ -73,6 +73,9 @@ options:
73
73
  --version Show version
74
74
  ```
75
75
 
76
+ ## Requirements
77
+ `git-pissed` requires Ruby `1.9` or later. Welcome to the future!
78
+
76
79
  ## Installation
77
80
 
78
81
  ```bash
@@ -1,3 +1,3 @@
1
1
  module GitPissed
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
@@ -24,9 +24,10 @@ module GitPissed
24
24
 
25
25
  def progress_bar
26
26
  @progress_bar ||= begin
27
- ProgressBar.create \
28
- total: revisions.count * options.words.count,
27
+ ProgressBar.create(
28
+ total: (revisions.count * options.words.count),
29
29
  format: '%e <%B> %p%% %t'
30
+ )
30
31
  end
31
32
  end
32
33
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_pissed
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Hunt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-03 00:00:00.000000000 Z
11
+ date: 2013-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-progressbar