rg_stats 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/rg_stats +4 -2
  2. data/lib/rg_stats/version.rb +1 -1
  3. metadata +1 -1
data/bin/rg_stats CHANGED
@@ -45,12 +45,14 @@ stat = Statistic.new
45
45
  stat.load data_as_json
46
46
 
47
47
  puts ""
48
- puts "*" * (stat.max_gem_name_size + 30)
48
+ puts "\e[32m#{user_name}\e[0m"
49
+ puts "-" *(stat.max_gem_name_size + 30)
49
50
  stat.gem_infos.each do |gem_info|
50
51
  broj_izmjena = gem_info[1] - (old_map[gem_info[0]].nil? ? 0 : old_map[gem_info[0]])
51
52
  diff_from_last_time = broj_izmjena == 0 ? "" : " (+\e[32m#{broj_izmjena}\e[0m)"
52
53
  puts "%-#{stat.max_gem_name_size + 1}s=> %6d %6s" % [ gem_info[0] , gem_info[1], diff_from_last_time ]
54
+ puts "-" *(stat.max_gem_name_size + 30)
53
55
  end
54
- puts "*" * (stat.max_gem_name_size + 30)
56
+ puts ""
55
57
  PersistDataBetweenSessions.save(stat.gem_infos)
56
58
 
@@ -1,3 +1,3 @@
1
1
  module RgStats
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rg_stats
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: