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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee5c41955196c0b319075e59701f5a4632239c7d
4
- data.tar.gz: 7821497a1f9810b6c555e4f60c3c5e5ff5fa87c4
3
+ metadata.gz: 081a2497742705119eb597083113a38c0c052528
4
+ data.tar.gz: 6622c0b17f7def7b2fbb1a4d0f67300f678f37e1
5
5
  SHA512:
6
- metadata.gz: 456fe58b0004eae8d1cca760dd19f9455ef6012c9352bcabcdb4e9431862c8e6a7ac673b5219b5769bbe780a05a6400f9aa694eb51813d8bbdc6b99855fbf072
7
- data.tar.gz: 5aa70020d1461e97c256071281e616c6f10c297428d4111203fe624fb83c12ccc6d08c24109f3e311b3dd2035b44154601972788c4329573e792f3a1d687afd4
6
+ metadata.gz: 3d143fa6e59f415303cc1000fa6ee8b6527fccec959f0de572b8c2a342fd44ff14f0986bd0047fd51b79aa24ef215645bf8919a28c416a07df1b4bc5447061a8
7
+ data.tar.gz: a94e88a3354ba24d9d22daee5467d73ca1e08b5b5554c2bc9a9821ae50e3de8108a2e6c4e1c1779b6b08ec997310e487c4a69848d8bc9e492928f4f8e00ff7a3
data/Gemfile.lock CHANGED
@@ -7,7 +7,7 @@ PATH
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- rest-ftp-daemon (0.423.0)
10
+ rest-ftp-daemon (0.423.1)
11
11
  activesupport (~> 4.2)
12
12
  api-auth
13
13
  aws-sdk-resources (~> 2)
@@ -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
- #, using: Entities::VideoOptions
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
- # optional :video_options,
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
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |spec|
3
3
 
4
4
  # Project version
5
- spec.version = "0.423.0"
5
+ spec.version = "0.423.1"
6
6
 
7
7
  # Project description
8
8
  spec.name = "rest-ftp-daemon"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest-ftp-daemon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.423.0
4
+ version: 0.423.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno MEDICI