vain 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vain/cli.rb +1 -1
- data/lib/vain/version.rb +7 -1
- metadata +3 -3
data/lib/vain/cli.rb
CHANGED
@@ -23,7 +23,7 @@ module Vain
|
|
23
23
|
def status(user_handle)
|
24
24
|
user = GitHub.user(user_handle)
|
25
25
|
return failtown("Unknown user: #{user_handle}") if user.login.nil?
|
26
|
-
puts "#{CommandColor}#{user.login}#{DefaultColor} - #{user.followers_count} followers"
|
26
|
+
puts "#{CommandColor}#{user.login}#{DefaultColor} - #{user.followers_count} followers - #{user.public_repo_count} public repositories"
|
27
27
|
# get the repositories sorted by watcher count
|
28
28
|
repositories = user.repositories.sort_by { |r| 1.0 / r.watchers }
|
29
29
|
data = repositories.map do |repo|
|
data/lib/vain/version.rb
CHANGED
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:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- John Crepezzi
|