mediainfo 1.3.2 → 1.3.3

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
  SHA256:
3
- metadata.gz: d860215d4b6a33bdded468341853cfbb55d9989e49fb6989bd5c7e520eb6436d
4
- data.tar.gz: a98e635cc11d7e8a61fcaddc2cdbea6608be43ee1df89373356917186eda91b0
3
+ metadata.gz: 1e096fd9ab9fa2d7b3d330101aa4dc5b834149a45a76e22adac305b466aea231
4
+ data.tar.gz: a2b87457525ac231526aa90a4c9f155e3c3bf615879b4264b90cd95202241399
5
5
  SHA512:
6
- metadata.gz: 44169ad3b2e75e75448234621b90423360f40da11cfefe16ef1ca8d7ff61eab69bb022a85d0c8358cb9f7e6154d6b9287da572cbbc6ef8940e1a31c483d88e0a
7
- data.tar.gz: 923793ff2ef28abae28bd6106e73f15b644dcb0f83c706db3e0c5b68ed4daea3e753e42733c63d78987d0f4de7a7ac28ea087ce4d44c966b60777399576afd3c
6
+ metadata.gz: bf6fbb1dc6a582912cd0371faeb2f9c693253cd217cc0ba80cf2298a6287b3c9b3ad892d82377dea0b73453552b747ea5f7c3aa38aa92d17626f60305eec90e8
7
+ data.tar.gz: 704d74770832efb938fa6c07b44772f9e1c7920fd79c21e31ad5442b1b6aadb1d18882bbaf1d6a77ad9ce04da8c360c411e6f27bbe4b49dfc613150c6c05bad8
@@ -116,7 +116,7 @@ module MediaInfo
116
116
  end
117
117
 
118
118
  def self.standardize_to_milliseconds(value)
119
- return standardize_float_to_milliseconds(value.to_f) if value.to_f.to_s == value.to_s
119
+ return standardize_float_to_milliseconds(value.to_f) if value =~ /^\d+\.?\d*$/
120
120
  return standardize_string_to_milliseconds(value)
121
121
  value
122
122
  end
@@ -1,3 +1,3 @@
1
1
  module MediaInfo
2
- VERSION = '1.3.2'
2
+ VERSION = '1.3.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mediainfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Thomas Rasmussen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-21 00:00:00.000000000 Z
11
+ date: 2019-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler