gem-maintenance 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,5 +9,5 @@ Gem::Specification.new do |gem|
9
9
  gem.files = `git ls-files`.split("\n")
10
10
  gem.name = "gem-maintenance"
11
11
  gem.require_paths = ["lib"]
12
- gem.version = '0.1.1'
12
+ gem.version = '0.1.2'
13
13
  end
@@ -31,6 +31,7 @@ class Gem::Commands::CleanstaleCommand < Gem::Command
31
31
  break unless (Time.now.to_i-atime.to_i) > 3600 * 24 * days.to_i
32
32
  say "#{spec[:name]} #{spec[:version]} last access was on #{atime.strftime '%d/%m/%Y at %H:%M'}"
33
33
  cmd = "gem uninstall #{spec[:name]} -v #{spec[:version]}"
34
+ say cmd
34
35
  system cmd
35
36
  end
36
37
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-maintenance
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Davide D'Agostino