vain 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/vain/cli.rb +2 -2
  2. data/lib/vain/version.rb +1 -1
  3. metadata +4 -4
data/lib/vain/cli.rb CHANGED
@@ -30,8 +30,8 @@ module Vain
30
30
  [
31
31
  NameColor + repo.name + DefaultColor,
32
32
  ' ',
33
- "#{repo.watchers} watchers",
34
- "#{repo.forks} forks",
33
+ "#{repo.watchers} #{repo.watchers == 1 ? 'watcher' : 'watchers'}",
34
+ "#{repo.forks} #{repo.forks == 1 ? 'fork' : 'forks'}",
35
35
  ErrorColor + (repo.fork ? '(FORK)' : '')
36
36
  ]
37
37
  end
data/lib/vain/version.rb CHANGED
@@ -6,6 +6,6 @@ module Vain
6
6
 
7
7
  private
8
8
 
9
- VERSION = [0, 0, 6]
9
+ VERSION = [0, 0, 7]
10
10
 
11
11
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vain
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - John Crepezzi
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-04 00:00:00 -05:00
18
+ date: 2011-01-14 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency