libis-format 0.9.70 → 0.9.72
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/data/types.yml +36 -4
- data/lib/libis/format/converter/office_converter.rb +3 -0
- data/lib/libis/format/converter/spreadsheet_converter.rb +44 -0
- data/lib/libis/format/tool/spreadsheet_to_ods.rb +60 -0
- data/lib/libis/format/version.rb +1 -1
- data/libis-format.gemspec +2 -0
- data/spec/converter_repository_spec.rb +3 -1
- data/spec/converter_spreadsheet_spec.rb +39 -0
- data/spec/data/xml/ead2fo_pdf.xsl +1453 -1453
- data/spec/data/xml/header_nolink_pdf.xsl +120 -120
- data/spec/data/xml/scope_eadToHTML.xsl +2376 -2376
- data/spec/data/xml/scope_xmlToEAD_dom.xsl +952 -952
- data/spec/identifier_spec.rb +1 -1
- metadata +35 -3
data/spec/identifier_spec.rb
CHANGED
@@ -45,7 +45,7 @@ fidolist =
|
|
45
45
|
'test.pdf' => {mimetype: 'application/pdf', puid: 'fmt/18'},
|
46
46
|
'test.rtf' => {mimetype: 'application/rtf', puid: 'fmt/45'},
|
47
47
|
'test.txt' => {mimetype: 'text/plain', puid: 'x-fmt/111'},
|
48
|
-
'test.ods' => {mimetype:
|
48
|
+
'test.ods' => {mimetype: 'application/vnd.oasis.opendocument.spreadsheet', puid: 'fmt/294'},
|
49
49
|
'test.xls' => {mimetype: 'application/vnd.ms-excel', puid: 'fmt/61'},
|
50
50
|
'test.xlsx' => {mimetype: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', puid: 'fmt/214'},
|
51
51
|
'test.psd' => {mimetype: 'image/vnd.adobe.photoshop', puid: 'x-fmt/92'},
|
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.72
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kris Dekeyser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -164,6 +164,34 @@ dependencies:
|
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: 0.0.2
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: naturally
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '2.1'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '2.1'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: fileutils
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
167
195
|
description: Collection of tools and classes that help to identify formats of binary
|
168
196
|
files and create derivative copies (e.g. PDF from Word).
|
169
197
|
email:
|
@@ -207,6 +235,7 @@ files:
|
|
207
235
|
- lib/libis/format/converter/office_converter.rb
|
208
236
|
- lib/libis/format/converter/pdf_converter.rb
|
209
237
|
- lib/libis/format/converter/repository.rb
|
238
|
+
- lib/libis/format/converter/spreadsheet_converter.rb
|
210
239
|
- lib/libis/format/converter/video_converter.rb
|
211
240
|
- lib/libis/format/converter/xslt_converter.rb
|
212
241
|
- lib/libis/format/identifier.rb
|
@@ -225,6 +254,7 @@ files:
|
|
225
254
|
- lib/libis/format/tool/pdf_split.rb
|
226
255
|
- lib/libis/format/tool/pdf_to_pdfa.rb
|
227
256
|
- lib/libis/format/tool/pdfa_validator.rb
|
257
|
+
- lib/libis/format/tool/spreadsheet_to_ods.rb
|
228
258
|
- lib/libis/format/type_database.rb
|
229
259
|
- lib/libis/format/version.rb
|
230
260
|
- libis-format.gemspec
|
@@ -234,6 +264,7 @@ files:
|
|
234
264
|
- spec/converter_office_spec.rb
|
235
265
|
- spec/converter_pdf_spec.rb
|
236
266
|
- spec/converter_repository_spec.rb
|
267
|
+
- spec/converter_spreadsheet_spec.rb
|
237
268
|
- spec/converter_video_spec.rb
|
238
269
|
- spec/converter_xsl_spec.rb
|
239
270
|
- spec/data/Cevennes2.bmp
|
@@ -367,7 +398,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
367
398
|
version: '0'
|
368
399
|
requirements: []
|
369
400
|
rubyforge_project:
|
370
|
-
rubygems_version: 2.
|
401
|
+
rubygems_version: 2.7.6
|
371
402
|
signing_key:
|
372
403
|
specification_version: 4
|
373
404
|
summary: LIBIS File format format services.
|
@@ -378,6 +409,7 @@ test_files:
|
|
378
409
|
- spec/converter_office_spec.rb
|
379
410
|
- spec/converter_pdf_spec.rb
|
380
411
|
- spec/converter_repository_spec.rb
|
412
|
+
- spec/converter_spreadsheet_spec.rb
|
381
413
|
- spec/converter_video_spec.rb
|
382
414
|
- spec/converter_xsl_spec.rb
|
383
415
|
- spec/data/Cevennes2.bmp
|