mediainfo 1.3.1 → 1.3.2

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: 0a3ae33b18ff439ef940ab3f57e8c63854b464a788d14e4d24afe91ddb551006
4
- data.tar.gz: 3f9d648d24e338aea42ecd858109268239ef65bb4ad68b698d1146414dd0e7de
3
+ metadata.gz: d860215d4b6a33bdded468341853cfbb55d9989e49fb6989bd5c7e520eb6436d
4
+ data.tar.gz: a98e635cc11d7e8a61fcaddc2cdbea6608be43ee1df89373356917186eda91b0
5
5
  SHA512:
6
- metadata.gz: 49cf2dec2e78b1b8fdbafc9595138904fd4da32290b5e5e3d85489c4e47576e6fdaaed10dd91fe73315107d62e72a2c1f9bc13603cf600d240693023a2f38221
7
- data.tar.gz: c8f9f859497b0167db0b30d7d2857b15f7f81c53d3a293a17a4e0d51207a5eb39c1411690c372ffb805fa29429f2c73bc8c57d3b6e8b34938f02191e1e07e5a0
6
+ metadata.gz: 44169ad3b2e75e75448234621b90423360f40da11cfefe16ef1ca8d7ff61eab69bb022a85d0c8358cb9f7e6154d6b9287da572cbbc6ef8940e1a31c483d88e0a
7
+ data.tar.gz: 923793ff2ef28abae28bd6106e73f15b644dcb0f83c706db3e0c5b68ed4daea3e753e42733c63d78987d0f4de7a7ac28ea087ce4d44c966b60777399576afd3c
data/README.md CHANGED
@@ -8,7 +8,7 @@ MediaInfo is a class wrapping [the mediainfo CLI](http://mediainfo.sourceforge.n
8
8
 
9
9
  ## Usage
10
10
 
11
- - Versions > 1.3.0 support S3 URLs. See rspec test for example of how to obtain the supported URL (it requires access keys are set as ENV variables).
11
+ - Versions > 1.3.0 support S3 URLs. See rspec test for example.
12
12
 
13
13
  #### Parsing raw XML
14
14
  media_info = MediaInfo.from(File.open('iphone6+_video.mov.xml').read)
@@ -90,8 +90,8 @@ module MediaInfo
90
90
  def self.run(input = nil)
91
91
  raise ArgumentError, 'Your input cannot be blank.' if input.nil?
92
92
  command = "#{location} '#{input}' --Output=XML"
93
- raw_response, errors, status = ::Open3.capture3(command)
94
- unless errors.empty? && status.exitstatus == 0
93
+ raw_response, errors, status = Open3.capture3(command)
94
+ unless status.exitstatus == 0
95
95
  raise ExecutionError, "Execution of '#{command}' failed: \n #{errors.red}"
96
96
  end
97
97
  return raw_response
@@ -1,3 +1,3 @@
1
1
  module MediaInfo
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
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.1
4
+ version: 1.3.2
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-15 00:00:00.000000000 Z
11
+ date: 2019-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler