rest-ftp-daemon 0.423.0 → 0.423.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rest-ftp-daemon/api/entities/job.rb +1 -2
- data/lib/rest-ftp-daemon/api/jobs.rb +1 -7
- data/lib/rest-ftp-daemon/jobs/video.rb +2 -0
- data/rest-ftp-daemon.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 081a2497742705119eb597083113a38c0c052528
|
4
|
+
data.tar.gz: 6622c0b17f7def7b2fbb1a4d0f67300f678f37e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d143fa6e59f415303cc1000fa6ee8b6527fccec959f0de572b8c2a342fd44ff14f0986bd0047fd51b79aa24ef215645bf8919a28c416a07df1b4bc5447061a8
|
7
|
+
data.tar.gz: a94e88a3354ba24d9d22daee5467d73ca1e08b5b5554c2bc9a9821ae50e3de8108a2e6c4e1c1779b6b08ec997310e487c4a69848d8bc9e492928f4f8e00ff7a3
|
data/Gemfile.lock
CHANGED
@@ -22,11 +22,10 @@ module RestFtpDaemon
|
|
22
22
|
expose :overwrite
|
23
23
|
expose :mkdir
|
24
24
|
expose :tempfile
|
25
|
-
expose :video_custom
|
26
25
|
|
27
26
|
# Job/Video options
|
28
27
|
expose :video_options
|
29
|
-
|
28
|
+
expose :video_custom
|
30
29
|
|
31
30
|
# Status and error
|
32
31
|
expose :status, format_with: :utf8_filter
|
@@ -80,13 +80,7 @@ module RestFtpDaemon
|
|
80
80
|
desc: "Priority level of the job (lower is stronger)",
|
81
81
|
default: 0
|
82
82
|
|
83
|
-
|
84
|
-
# type: Hash,
|
85
|
-
# type: Entities::VideoOptions,
|
86
|
-
# desc: "Video: standard options passed to FFMPEG encoder",
|
87
|
-
# default: {}
|
88
|
-
|
89
|
-
optional :video_options, type: Hash, desc: "Options passed to FFMPEG encoder" do
|
83
|
+
optional :video_options, type: Hash, desc: "Options passed to FFMPEG encoder", default: {} do
|
90
84
|
optional :video_codec, type: String
|
91
85
|
optional :video_bitrate, type: String
|
92
86
|
optional :video_bitrate_tolerance, type: String
|
@@ -22,6 +22,8 @@ module RestFtpDaemon
|
|
22
22
|
end
|
23
23
|
|
24
24
|
# Ensure source and target are FILE
|
25
|
+
raise RestFtpDaemon::AssertionFailed unless @video_options.is_a? Hash
|
26
|
+
raise RestFtpDaemon::AssertionFailed unless @video_custom.is_a? Hash
|
25
27
|
raise RestFtpDaemon::SourceNotSupported, @source_loc.scheme unless @source_loc.is? URI::FILE
|
26
28
|
raise RestFtpDaemon::TargetNotSupported, @target_loc.scheme unless @target_loc.is? URI::FILE
|
27
29
|
end
|
data/rest-ftp-daemon.gemspec
CHANGED