git_pissed 1.0.2 → 1.0.3

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: 50d6f4c268823fbd308434608b55d93371699593
4
- data.tar.gz: de1da24f2e8bcd88321f3ee5af1874b927c18e7a
3
+ metadata.gz: d0f5d3bfd9c89f23b00c4d35e47a04a429421333
4
+ data.tar.gz: 0c2656ca68da3dcb89f85c157ab4ecbd7462a352
5
5
  SHA512:
6
- metadata.gz: 7d643dc7906929ae8d470c56d0904733eef4dd9ee64317eaf4ae9bb1aef006508ce8d284d52aeb24873cad32492d9b38f14c098e86bbe2df6ae2b7f0aea64fa6
7
- data.tar.gz: 5530d1a819479e75f8fe912291e86119442e7b67f5546312cf18c2e1665835fd830496dcb63207e9aa7155b4b23bd54a36afa9d81a09ba41b7576e7c331afd52
6
+ metadata.gz: 94a0aed3158ff08132b996f2c163ec9160582171a81fde6205aad0946b8112c538ee530ae834b121d7be95db56e95d7613099b997220f86b8e0f5edb02d58987
7
+ data.tar.gz: 5cbf0a9365b9c9804d53339b1ce96bd5de08fbc150c9f7215eeb9bbe8586c6fb18242823608105e9ed85cd8167633f66097a7605ba70d88f96d1644d2083818b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ##v1.0.3
4
+ *2013-09-03*
5
+
6
+ - Ruby 1.8 compatibility
7
+
8
+ ##v1.0.2
9
+ *2013-09-03*
10
+
11
+ - Fix syntax for some early versions of Ruby 1.9
12
+
3
13
  ##v1.0.1
4
14
  *2013-09-03*
5
15
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- git_pissed (1.0.2)
4
+ git_pissed (1.0.3)
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)
@@ -74,7 +74,7 @@ options:
74
74
  ```
75
75
 
76
76
  ## Requirements
77
- `git-pissed` requires Ruby `1.9` or later. Welcome to the future!
77
+ `git-pissed` requires Ruby `1.8.7` or later. Welcome to the future!
78
78
 
79
79
  ## Installation
80
80
 
@@ -10,7 +10,7 @@ module GitPissed
10
10
  end
11
11
 
12
12
  def formatted_output
13
- public_send options.format
13
+ send options.format
14
14
  end
15
15
 
16
16
  def csv
@@ -11,7 +11,7 @@ module GitPissed
11
11
  FORMATS = %w(
12
12
  html
13
13
  csv
14
- )
14
+ ).freeze
15
15
 
16
16
  def words
17
17
  @words ||= DEFAULT_WORDS
@@ -1,3 +1,3 @@
1
1
  module GitPissed
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
@@ -24,10 +24,9 @@ module GitPissed
24
24
 
25
25
  def progress_bar
26
26
  @progress_bar ||= begin
27
- ProgressBar.create(
28
- total: (revisions.count * options.words.count),
29
- format: '%e <%B> %p%% %t'
30
- )
27
+ ProgressBar.create \
28
+ :total => (revisions.count * options.words.count),
29
+ :format => '%e <%B> %p%% %t'
31
30
  end
32
31
  end
33
32
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_pissed
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Hunt