rvideo 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/lib/rvideo/errors.rb +3 -0
- data/lib/rvideo/transcoder.rb +5 -0
- data/lib/rvideo/version.rb +1 -1
- data/spec/units/transcoder_spec.rb +1 -1
- data/website/index.html +1 -1
- metadata +1 -1
data/History.txt
CHANGED
data/lib/rvideo/errors.rb
CHANGED
data/lib/rvideo/transcoder.rb
CHANGED
@@ -91,6 +91,11 @@ module RVideo # :nodoc:
|
|
91
91
|
Transcoder.logger.info("\nFinished task. Total errors: #{@errors.size}\n")
|
92
92
|
@total_time = Time.now - t1
|
93
93
|
result
|
94
|
+
rescue TranscoderError => e
|
95
|
+
raise e
|
96
|
+
rescue Exception => e
|
97
|
+
Transcoder.logger.error("[ERROR] Unhandled RVideo exception: #{e.class} - #{e.message}\n#{e.backtrace}")
|
98
|
+
raise TranscoderError::UnknownError, "#{e.class} - #{e.message}"
|
94
99
|
end
|
95
100
|
|
96
101
|
private
|
data/lib/rvideo/version.rb
CHANGED
@@ -133,7 +133,7 @@ module RVideo
|
|
133
133
|
[String, 1, 1.0, true, nil, :foo].each do |obj|
|
134
134
|
lambda {
|
135
135
|
@transcoder.execute(obj)
|
136
|
-
}.should raise_error(
|
136
|
+
}.should raise_error(TranscoderError::UnknownError, /ArgumentError.*first/)
|
137
137
|
end
|
138
138
|
end
|
139
139
|
end
|
data/website/index.html
CHANGED
@@ -35,7 +35,7 @@
|
|
35
35
|
<h1>Ruby Video Processing</h1>
|
36
36
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/rvideo"; return false'>
|
37
37
|
<p>Get Version</p>
|
38
|
-
<a href="http://rubyforge.org/projects/rvideo" class="numbers">0.9.
|
38
|
+
<a href="http://rubyforge.org/projects/rvideo" class="numbers">0.9.3</a>
|
39
39
|
</div>
|
40
40
|
<h1>→ ‘rvideo’</h1>
|
41
41
|
|