unmac 0.7 → 0.8
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/README +1 -1
- data/Rakefile +4 -0
- data/lib/unmacer.rb +1 -1
- data/test/test_unmacer.rb +3 -3
- data/unmac.gemspec +1 -1
- metadata +17 -7
data/README
CHANGED
data/Rakefile
CHANGED
data/lib/unmacer.rb
CHANGED
data/test/test_unmacer.rb
CHANGED
@@ -63,7 +63,7 @@ class TestUnmacer < Test::Unit::TestCase
|
|
63
63
|
@unmacer.pretend = true
|
64
64
|
unmac!
|
65
65
|
$> = $stdout
|
66
|
-
|
66
|
+
assert_equal Set.new(dirs + ['._dummy']), Set.new(read_struct)
|
67
67
|
assert_match /^would delete.*\.Spotlight/, buf
|
68
68
|
assert_match /^would delete.*\.fsevents/, buf
|
69
69
|
assert_match /^would delete.*\.Trashes/, buf
|
@@ -88,7 +88,7 @@ class TestUnmacer < Test::Unit::TestCase
|
|
88
88
|
create_struct(Unmacer::SPOTLIGHT)
|
89
89
|
@unmacer.keep_spotlight = true
|
90
90
|
unmac!
|
91
|
-
|
91
|
+
assert_equal [Unmacer::SPOTLIGHT], read_struct
|
92
92
|
end
|
93
93
|
|
94
94
|
def test_fsevents
|
@@ -180,7 +180,7 @@ class TestUnmacer < Test::Unit::TestCase
|
|
180
180
|
create_struct([], '._foo.txt')
|
181
181
|
@unmacer.keep_apple_double = true
|
182
182
|
unmac!
|
183
|
-
|
183
|
+
assert_equal ['._foo.txt'], read_struct
|
184
184
|
end
|
185
185
|
|
186
186
|
def test_keep_apple_double_orphans
|
data/unmac.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unmac
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 8
|
8
|
+
version: "0.8"
|
5
9
|
platform: ruby
|
6
10
|
authors:
|
7
11
|
- Xavier Noria
|
@@ -9,7 +13,7 @@ autorequire:
|
|
9
13
|
bindir: bin
|
10
14
|
cert_chain: []
|
11
15
|
|
12
|
-
date:
|
16
|
+
date: 2011-04-28 00:00:00 +02:00
|
13
17
|
default_executable:
|
14
18
|
dependencies: []
|
15
19
|
|
@@ -30,31 +34,37 @@ files:
|
|
30
34
|
- lib/unmacer.rb
|
31
35
|
- test/test_unmacer.rb
|
32
36
|
- test/test_unmac.rb
|
33
|
-
has_rdoc:
|
37
|
+
has_rdoc: true
|
34
38
|
homepage: http://github.com/fxn/unmac/tree/master
|
39
|
+
licenses: []
|
40
|
+
|
35
41
|
post_install_message:
|
36
42
|
rdoc_options: []
|
37
43
|
|
38
44
|
require_paths:
|
39
45
|
- lib
|
40
46
|
required_ruby_version: !ruby/object:Gem::Requirement
|
47
|
+
none: false
|
41
48
|
requirements:
|
42
49
|
- - ">="
|
43
50
|
- !ruby/object:Gem::Version
|
51
|
+
segments:
|
52
|
+
- 0
|
44
53
|
version: "0"
|
45
|
-
version:
|
46
54
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
47
56
|
requirements:
|
48
57
|
- - ">="
|
49
58
|
- !ruby/object:Gem::Version
|
59
|
+
segments:
|
60
|
+
- 0
|
50
61
|
version: "0"
|
51
|
-
version:
|
52
62
|
requirements: []
|
53
63
|
|
54
64
|
rubyforge_project: unmac
|
55
|
-
rubygems_version: 1.3.
|
65
|
+
rubygems_version: 1.3.7
|
56
66
|
signing_key:
|
57
|
-
specification_version:
|
67
|
+
specification_version: 3
|
58
68
|
summary: Delete spurious Mac files under a directory or volume
|
59
69
|
test_files:
|
60
70
|
- test/test_unmacer.rb
|