fxn-unmac 0.3 → 0.4

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.
Files changed (3) hide show
  1. data/lib/unmacer.rb +2 -1
  2. data/unmac.gemspec +1 -1
  3. metadata +1 -1
data/lib/unmacer.rb CHANGED
@@ -73,7 +73,8 @@ private
73
73
  if pretend
74
74
  puts "would delete #{name}"
75
75
  else
76
- FileUtils.rm_r(name)
76
+ # Vanilla rm_r cannot delete a directory that has AppleDoubles.
77
+ FileUtils.rmtree(name)
77
78
  puts "deleted #{name}" if verbose
78
79
  end
79
80
  end
data/unmac.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'unmac'
3
- spec.version = '0.3'
3
+ spec.version = '0.4'
4
4
  spec.summary = 'Delete spurious Mac files under a directory or volume'
5
5
  spec.homepage = 'http://github.com/fxn/unmac/tree/master'
6
6
  spec.executables = %w(unmac)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fxn-unmac
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.3"
4
+ version: "0.4"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xavier Noria