Permalink
Browse files

Bump to version 0.1.0

  • Loading branch information...
1 parent b81b2c7 commit f674312bd0d88872d35c01cdc3f33cf9536e2299 @DAddYE committed Jan 23, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/rubygems/commands/cleanstale_command.rb
@@ -30,7 +30,8 @@ def execute
gem_to_atime.sort_by { |_, atime| atime }.each do |spec, atime|
break unless (Time.now.to_i-atime.to_i) > 3600 * 24 * days.to_i
say "#{spec[:name]} #{spec[:version]} last access was on #{atime.strftime '%d/%m/%Y at %H:%M'}"
- system "gem uninstall #{spec[:name]} #{spec[:version]}"
+ cmd = "gem uninstall #{spec[:name]} -v #{spec[:version]}"
+ system cmd
end
end
end

0 comments on commit f674312

Please sign in to comment.