vitreous_share 0.0.9 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
data/test/indexer_utils_test.rb
CHANGED
@@ -16,6 +16,11 @@ class IndexerUtilsTest < Test::Unit::TestCase
|
|
16
16
|
'pepe-y-jun',
|
17
17
|
Vitreous::Share::IndexerUtils.to_slug( '001 pepe y juán.txt' )
|
18
18
|
)
|
19
|
+
|
20
|
+
assert_equal(
|
21
|
+
'pepe-y-jun',
|
22
|
+
Vitreous::Share::IndexerUtils.to_slug( '001 ¿pepe y juán?.txt' )
|
23
|
+
)
|
19
24
|
end
|
20
25
|
|
21
26
|
def test_remove_extensions
|
@@ -35,6 +40,11 @@ class IndexerUtilsTest < Test::Unit::TestCase
|
|
35
40
|
'/',
|
36
41
|
Vitreous::Share::IndexerUtils.to_link( '/' )
|
37
42
|
)
|
43
|
+
|
44
|
+
assert_equal(
|
45
|
+
'/path-1/path-2/my-file',
|
46
|
+
Vitreous::Share::IndexerUtils.to_link( '/01 Path 1/01 Path 2/01 ¿My File?.thumb.jpg' )
|
47
|
+
)
|
38
48
|
end
|
39
49
|
|
40
50
|
def test_grouping
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 11
|
9
|
+
version: 0.0.11
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Fernando Guillen
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-07-
|
17
|
+
date: 2011-07-30 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|