mediainfo-native 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e190330ee254be3a21746020e0aedf98c76d08a
4
- data.tar.gz: 39172b5a6cefc8e2523bd5060fefecbdfa8d9fe9
3
+ metadata.gz: 14e483e13ba90074ace4758b47ad4a160fabbf0d
4
+ data.tar.gz: edff03c0b6303b2a5280bdabaf7f6871fca7633b
5
5
  SHA512:
6
- metadata.gz: c3c93fea8e2456e20132a12a6c0eb84bfbbe1b8ba7a5929712a349e0d5ac3c0a6f0e5afce9a782a09da5122afaae9c0ebd9d51f3e64e6d00e2276f8409df3fb1
7
- data.tar.gz: fa4e1b8359274389126d57fdd1cc47336018d90aef28065854a2c94e47f1f3fd1790f29548691f0832a601cea32fb90f60cd67e807318528ca699d2dd6922e5e
6
+ metadata.gz: 0f9ca6ca5a6116a82564702d1677ef1d69f52063992b88d90ddc3a1d3aaed26bf02a78107b1bd8b6a9dc8f6a1af7c8f0fd01cd6cd3b04a11a727c2233135acff
7
+ data.tar.gz: db19a765a3945dd8f1c0d788be92ffd1db6b726e12323a55e0d3d67140eb3b744f0d33537a1cc467960710184095a153af4c7987926b9bad7f83538c8e7b7250
@@ -58,6 +58,8 @@ module MediaInfoNative
58
58
  v.to_i
59
59
  when /\A\d+\.\d+\z/ =~ v
60
60
  v.to_f.round
61
+ when v.empty?
62
+ nil
61
63
  else
62
64
  raise "unexpected time fragment! please report bug!"
63
65
  end
@@ -1,3 +1,3 @@
1
1
  module MediaInfoNative
2
- VERSION = '0.1.9'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mediainfo-native
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - FlavourSys Technology GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-18 00:00:00.000000000 Z
11
+ date: 2015-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.14'
33
+ version: '3.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '2.14'
40
+ version: '3.0'
41
41
  description: Extracts metadata from media files with mediainfo shared library
42
42
  email: technology@flavoursys.com
43
43
  executables: []