libis-format 0.9.7 → 0.9.8
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 +1 -1
- data/lib/libis/format/droid.rb +3 -0
- data/lib/libis/format/fido.rb +3 -1
- data/lib/libis/format/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f061bcfa9946568c0ba8cc7ab0c47589f523460
|
4
|
+
data.tar.gz: fc9e80f68a939378d1bf0ced6aadd9576eab9377
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c84b1396f6eac363fbe0f6b898d0f3a8e0328c91269e9ea5b6a3cf8ccd925b22df14b3851ec179cbde5656423ac39a3ddb330d29ba59849777d9af6fdfd000e
|
7
|
+
data.tar.gz: f55277827c3e668c8b761d7501e60a7c34903e644da92d608ab02693ba567d136054cfab7b6a43e7b3484cfea62f5af3e351a3f7298119f739ee29a4213137b8
|
data/data/types.yml
CHANGED
data/lib/libis/format/droid.rb
CHANGED
data/lib/libis/format/fido.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'csv'
|
2
2
|
|
3
|
+
require 'singleton'
|
3
4
|
require 'libis/tools/extend/string'
|
4
5
|
require 'libis/tools/logger'
|
5
6
|
require 'libis/tools/command'
|
@@ -11,12 +12,13 @@ module Libis
|
|
11
12
|
module Format
|
12
13
|
|
13
14
|
class Fido
|
15
|
+
include Singleton
|
14
16
|
include ::Libis::Tools::Logger
|
15
17
|
|
16
18
|
BAD_MIMETYPES = [nil, '', 'None', 'application/octet-stream']
|
17
19
|
|
18
20
|
def self.run(file, formats = nil)
|
19
|
-
self.
|
21
|
+
self.instance.run file, formats
|
20
22
|
end
|
21
23
|
|
22
24
|
def run(file, xtra_formats = nil)
|
data/lib/libis/format/version.rb
CHANGED
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.8
|
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-02
|
11
|
+
date: 2016-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|