rest-ftp-daemon-transform-ffmpeg 0.0.5 → 0.0.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47f4269d7d46e947e9cc141d6c0988c1d3185954
|
4
|
+
data.tar.gz: 485bf8cdbbe18a745dcb624455f2142e9cabcf00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ad1e01d42c35a5f2e2b3668d30f8ad36dbd8424397dedc17d2bfdd291a13f6a8ea27022eef9e799aaee091eff7175ecc83b97085b056c0ded915c3ba82c23a8
|
7
|
+
data.tar.gz: ef78ee8f0a4f0a5d1ec2545406284509dba29fc341c8cfd5f0d9ce3f30bc30dcf71e0800d798217428f8d3f3ad17604e043fb77a49c7cd154704c7cf1fcfd6a6
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'streamio-ffmpeg'
|
2
2
|
|
3
3
|
module RestFtpDaemon::Transform
|
4
|
-
class
|
4
|
+
class TransformFfmpeg < TaskTransform
|
5
5
|
|
6
6
|
# Task attributes
|
7
7
|
def task_icon
|
@@ -26,7 +26,7 @@ module RestFtpDaemon::Transform
|
|
26
26
|
|
27
27
|
# FIXME: only one source, otherwise we don't know how to determine target name
|
28
28
|
if @input.count>1
|
29
|
-
raise
|
29
|
+
raise Task::SourceShouldBeUnique, "prepare: only one source can be matched for transformation"
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -104,7 +104,7 @@ module RestFtpDaemon::Transform
|
|
104
104
|
raise StandardError unless path && File.exist?(path)
|
105
105
|
|
106
106
|
rescue StandardError, Errno::ENOENT => exception
|
107
|
-
raise
|
107
|
+
raise Task::TransformMissingBinary, "missing ffmpeg binary: #{method}"
|
108
108
|
end
|
109
109
|
|
110
110
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rest-ftp-daemon-transform-ffmpeg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno MEDICI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: streamio-ffmpeg
|
@@ -63,7 +63,7 @@ files:
|
|
63
63
|
- Gemfile
|
64
64
|
- README.md
|
65
65
|
- Rakefile
|
66
|
-
- lib/plugins/rest-ftp-daemon/transform/
|
66
|
+
- lib/plugins/rest-ftp-daemon/transform/transform_ffmpeg.rb
|
67
67
|
- rest-ftp-daemon-transform-ffmpeg.gemspec
|
68
68
|
homepage: http://github.com/bmedici/rest-ftp-daemon-transform-ffmpeg
|
69
69
|
licenses:
|