gem-depclean 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -31,7 +31,7 @@ class Gem::Commands::DepcleanCommand < Gem::Command
31
31
  return unless ask_yes_no 'Would you like to uninstall these gems?'
32
32
 
33
33
  targets.each do |gem|
34
- Gem::Uninstaller.new(gem.name, :version => gem.version, :ignore => true).uninstall
34
+ Gem::Uninstaller.new(gem.name, :version => gem.version, :user_install => true, :ignore => true).uninstall
35
35
  end
36
36
  end
37
37
 
@@ -20,7 +20,7 @@ class Gem::Commands::WorldCommand < Gem::Command
20
20
  end
21
21
 
22
22
  def world_path
23
- File.join(Gem.user_home, '.gem', 'world')
23
+ File.join(Gem.user_dir, 'world')
24
24
  end
25
25
 
26
26
  def world_gems
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-depclean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keita Urashima