libis-format 0.9.19 → 0.9.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/types.yml +4 -1
- data/lib/libis/format/version.rb +1 -1
- data/spec/data/NikonRaw-CameraRaw.TIF +0 -0
- data/spec/data/NikonRaw-CaptureOne.tif +0 -0
- data/spec/identifier_spec.rb +2 -0
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86362989ffe452b37e82bc647c5abebc480d2a5f
|
4
|
+
data.tar.gz: d9d19fd300c54b12e26a2c0b1dcce7416452fe55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42eb64630ab74678939d4e9b7144296c20f803fe48aef907d1e28dac329f96607442a5b1286eded9729fe9005d7f6cac7b094767b0bc2f51c1c9a29c77470b44
|
7
|
+
data.tar.gz: cbc01c829480e78cbb15b1d0905aa3b9823b148084ddbab4d0aae9d9a76fcb86bb8ab9dcfe35cea2e3f2a2d1f6280c0ca89f6818bd88a3e1e5a01d7550039c73
|
data/data/types.yml
CHANGED
@@ -11,16 +11,19 @@ IMAGE:
|
|
11
11
|
TIFF:
|
12
12
|
NAME: Tagged Image File Format (TIFF)
|
13
13
|
MIME: image/tiff
|
14
|
-
|
14
|
+
PUID: fmt/353 fmt/154 fmt/153 fmt/156 fmt/155 fmt/152 x-fmt/399 x-fmt/388 x-fmt/387 fmt/202
|
15
|
+
EXTENSIONS: tif,TIF,tiff,tifx,dng,nef
|
15
16
|
|
16
17
|
JP2:
|
17
18
|
NAME: Joint Photographic Experts Group 2000 (JPEG 2000)
|
18
19
|
MIME: image/jp2
|
20
|
+
PUID: fmt/406
|
19
21
|
EXTENSIONS: jp2
|
20
22
|
|
21
23
|
JPG:
|
22
24
|
NAME: Joint Photographic Experts Group (JPEG)
|
23
25
|
MIME: image/jpeg
|
26
|
+
PUID: fmt/42 fmt/43 fmt/44 fmt/41 x-fmt/398 x-fmt/390 x-fmt/391 fmt/645
|
24
27
|
EXTENSIONS: jpg,jpe,jpeg
|
25
28
|
|
26
29
|
PNG:
|
data/lib/libis/format/version.rb
CHANGED
Binary file
|
Binary file
|
data/spec/identifier_spec.rb
CHANGED
@@ -54,6 +54,8 @@ describe 'Identfier' do
|
|
54
54
|
'test.gif' => {mimetype: 'image/gif', puid: 'fmt/4'},
|
55
55
|
'test.xml' => {mimetype: 'application/xml', puid: 'fmt/101'},
|
56
56
|
'test-ead.xml' => {mimetype: 'archive/ead', puid: 'fmt/101'},
|
57
|
+
'NikonRaw-CaptureOne.tif' => {mimetype: 'image/tiff', puid: 'x-fmt/387'},
|
58
|
+
'NikonRaw-CameraRaw.TIF' => {mimetype: 'image/tiff', puid: 'fmt/202'},
|
57
59
|
}.each do |file, result|
|
58
60
|
it "should identify test document '#{file}'" do
|
59
61
|
expect(::Libis::Format::Identifier.get(File.join(dir,file))).to include result
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libis-format
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kris Dekeyser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -177,6 +177,8 @@ files:
|
|
177
177
|
- spec/data/Cevennes2.bmp
|
178
178
|
- spec/data/Cevennes2.jp2
|
179
179
|
- spec/data/Cevennes2.ppm
|
180
|
+
- spec/data/NikonRaw-CameraRaw.TIF
|
181
|
+
- spec/data/NikonRaw-CaptureOne.tif
|
180
182
|
- spec/data/test-ead.xml
|
181
183
|
- spec/data/test-jpg.tif
|
182
184
|
- spec/data/test-lzw.tif
|
@@ -360,7 +362,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
360
362
|
version: '0'
|
361
363
|
requirements: []
|
362
364
|
rubyforge_project:
|
363
|
-
rubygems_version: 2.4
|
365
|
+
rubygems_version: 2.6.4
|
364
366
|
signing_key:
|
365
367
|
specification_version: 4
|
366
368
|
summary: LIBIS File format format services.
|
@@ -369,6 +371,8 @@ test_files:
|
|
369
371
|
- spec/data/Cevennes2.bmp
|
370
372
|
- spec/data/Cevennes2.jp2
|
371
373
|
- spec/data/Cevennes2.ppm
|
374
|
+
- spec/data/NikonRaw-CameraRaw.TIF
|
375
|
+
- spec/data/NikonRaw-CaptureOne.tif
|
372
376
|
- spec/data/test-ead.xml
|
373
377
|
- spec/data/test-jpg.tif
|
374
378
|
- spec/data/test-lzw.tif
|