ruby-ffprobe 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/ffprobe/safe_pipe.rb +3 -5
  3. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -61,10 +61,8 @@ class FFProbe
61
61
 
62
62
  def wait_for_exec
63
63
  exec_result = @rexec.read
64
- if exec_result.length != 0
65
- # exec failed, this is a marshalled exception
66
- raise Marshal.load(exec_result)
67
- end
64
+ # if exec failed, this will be a marshalled exception
65
+ raise Marshal.load(exec_result) unless exec_result.empty?
68
66
  end
69
67
 
70
68
  def set_close_on_exec(io)
@@ -74,4 +72,4 @@ class FFProbe
74
72
  end
75
73
 
76
74
  end
77
- end
75
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-ffprobe
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Philip Garrett
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-12 00:00:00 -04:00
18
+ date: 2010-07-18 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies: []
21
21