git_pissed 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +11 -8
- data/lib/git_pissed/version.rb +1 -1
- data/lib/git_pissed/word_finder.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50d6f4c268823fbd308434608b55d93371699593
|
4
|
+
data.tar.gz: de1da24f2e8bcd88321f3ee5af1874b927c18e7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d643dc7906929ae8d470c56d0904733eef4dd9ee64317eaf4ae9bb1aef006508ce8d284d52aeb24873cad32492d9b38f14c098e86bbe2df6ae2b7f0aea64fa6
|
7
|
+
data.tar.gz: 5530d1a819479e75f8fe912291e86119442e7b67f5546312cf18c2e1665835fd830496dcb63207e9aa7155b4b23bd54a36afa9d81a09ba41b7576e7c331afd52
|
data/Gemfile.lock
CHANGED
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
|
7
|
+
code? Answer these questions *today* with `git pissed`
|
8
8
|
|
9
|
-
`git
|
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
|
22
|
+
$ git pissed && open git-pissed.html
|
23
23
|
```
|
24
24
|
|
25
|
-
Sometimes we want to track happiness instead of **ANGER!!** `git
|
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
|
29
|
+
$ git pissed --words=love,hate,rainbow
|
30
30
|
```
|
31
31
|
|
32
32
|

|
@@ -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
|
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
|
52
|
+
$ git pissed --max-revisions=100
|
53
53
|
```
|
54
54
|
|
55
55
|

|
56
56
|
|
57
57
|
```bash
|
58
|
-
$ git
|
58
|
+
$ git pissed --max-revisions=15
|
59
59
|
```
|
60
60
|
|
61
61
|

|
@@ -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
|
data/lib/git_pissed/version.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2013-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-progressbar
|