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: f408d58922687177d543be6841dea99c35aa8bf9
4
- data.tar.gz: dbc3ce707ea601f557a95d683455acc630c22f4a
3
+ metadata.gz: 47f4269d7d46e947e9cc141d6c0988c1d3185954
4
+ data.tar.gz: 485bf8cdbbe18a745dcb624455f2142e9cabcf00
5
5
  SHA512:
6
- metadata.gz: ee4b9f8ee497a0a6bef3c5293d608f2db5ce10e896f7c98d3cb5ce0992cd10ad496e49a47009508a18b111089123fecd496e8efb657cb0f23b95d432eaccca12
7
- data.tar.gz: 85bbf89868e23ac46fd68c6bf35b9b8907ef20af9ffd2d6f6ca7dd59d97ab7325577259c2d573a2112769924fcb25008a9b9878bc92a47eec679a49709063c55
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 Ffmpeg < Base
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 RestFtpDaemon::SourceShouldBeUnique, "prepare: only one source can be matched for transformation"
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 RestFtpDaemon::Transform::ErrorMissingBinary, "missing ffmpeg binary: #{method}"
107
+ raise Task::TransformMissingBinary, "missing ffmpeg binary: #{method}"
108
108
  end
109
109
 
110
110
  end
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |spec|
3
3
 
4
4
  # Project version
5
- spec.version = "0.0.5"
5
+ spec.version = "0.0.6"
6
6
 
7
7
  # Project description
8
8
  spec.name = "rest-ftp-daemon-transform-ffmpeg"
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.5
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-17 00:00:00.000000000 Z
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/ffmpeg.rb
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: