vain 0.0.5 → 0.0.6

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 +1 -1
  2. data/lib/vain/version.rb +7 -1
  3. 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
@@ -1,5 +1,11 @@
1
1
  module Vain
2
2
 
3
- VERSION = '0.0.5'
3
+ def self.version
4
+ VERSION.join('.')
5
+ end
6
+
7
+ private
8
+
9
+ VERSION = [0, 0, 6]
4
10
 
5
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: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - John Crepezzi