filerary 0.0.4 → 0.0.5
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c0e71d2319658916f1c7b5280c5a03cfa5d22bc
|
4
|
+
data.tar.gz: b35f8e013d049adf3051f29c254f8910df6bc2a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55687ba581394e327e50e79552077f8d3fd50d3e9f08b7ca8d0b3bcd4abc8a42b07f326387e74131841d16bd3f60a7bca50c4147bcd4f5a55540e553f9f4b2db
|
7
|
+
data.tar.gz: 9b1c92c656ac0be51eb7ab7b216bf4e98a36d15252ec43c6c121589933d5e8c463d752e4561b45ac265efcfdacf674a5ed7f70de551c7360527a1a330b989845
|
data/lib/filerary/version.rb
CHANGED
data/test/test-librarian.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require "filerary"
|
4
4
|
require "fileutils"
|
5
|
+
require "tmpdir"
|
5
6
|
|
6
7
|
class FileraryTest < Test::Unit::TestCase
|
7
8
|
include FileraryTestUtils
|
@@ -38,8 +39,11 @@ class FileraryTest < Test::Unit::TestCase
|
|
38
39
|
|
39
40
|
class FilePathTest < self
|
40
41
|
def test_multibyte
|
41
|
-
|
42
|
-
|
42
|
+
Dir.mktmpdir do |tmpdir|
|
43
|
+
path = File.join(tmpdir, "マルチバイト.txt")
|
44
|
+
FileUtils.touch(path)
|
45
|
+
assert_equal([path], @librarian.collect(path))
|
46
|
+
end
|
43
47
|
end
|
44
48
|
end
|
45
49
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: filerary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masafumi Yokoyama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grn_mini
|
@@ -174,7 +174,6 @@ files:
|
|
174
174
|
- test/filerary-test-utils.rb
|
175
175
|
- test/fixtures/test-excel.xls
|
176
176
|
- test/fixtures/test-pdf.pdf
|
177
|
-
- test/fixtures/マルチバイト.txt
|
178
177
|
- test/run-test.rb
|
179
178
|
- test/test-librarian.rb
|
180
179
|
homepage: https://github.com/myokoym/filerary
|
@@ -207,7 +206,6 @@ test_files:
|
|
207
206
|
- test/filerary-test-utils.rb
|
208
207
|
- test/fixtures/test-excel.xls
|
209
208
|
- test/fixtures/test-pdf.pdf
|
210
|
-
- test/fixtures/マルチバイト.txt
|
211
209
|
- test/run-test.rb
|
212
210
|
- test/test-librarian.rb
|
213
211
|
has_rdoc:
|
data/test/fixtures//343/203/236/343/203/253/343/203/201/343/203/220/343/202/244/343/203/210.txt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
UTF-8のファイル名
|