dragonfly-ffmpeg 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -4,5 +4,6 @@
4
4
  Gemfile.lock
5
5
  pkg/*
6
6
  .rvmrc
7
+ .rbenv-version
7
8
  spec/spec.log
8
9
  spec/tmp/*
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ before_script: "sudo aptitude -y -q install ffmpeg libvpx-dev libvpx0 x264 libx264-85 libx264-dev"
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.2
5
+ - 1.9.3
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
21
21
 
22
22
  s.add_dependency 'dragonfly', '~> 0.9'
23
23
  s.add_dependency 'streamio-ffmpeg', '~> 0.8.0'
24
+ s.add_dependency 'rake', '~> 0.9.2'
24
25
 
25
26
  s.add_development_dependency 'rspec', '~> 2.6.0'
26
27
  s.add_development_dependency 'guard-rspec', '~> 0.4.2'
@@ -80,13 +80,15 @@ module EnMasse
80
80
  origin = ::FFMPEG::Movie.new(temp_object.path)
81
81
  tempfile = new_tempfile(format, File.basename(temp_object.path, '.*'))
82
82
  transcoded_file = origin.transcode(tempfile.path, options)
83
-
84
- [
85
- ::Dragonfly::TempObject.new(File.new(transcoded_file.path)),
86
- :name => File.basename(transcoded_file.path),
87
- :format => format,
88
- :ext => File.extname(transcoded_file.path)
89
- ]
83
+
84
+ content = ::Dragonfly::TempObject.new(File.new(transcoded_file.path))
85
+ meta = {
86
+ :name => File.basename(transcoded_file.path),
87
+ :format => format,
88
+ :ext => File.extname(transcoded_file.path)
89
+ }
90
+
91
+ [ content, meta ]
90
92
  end
91
93
 
92
94
  private
@@ -19,7 +19,7 @@
19
19
  module EnMasse
20
20
  module Dragonfly
21
21
  module FFMPEG
22
- VERSION = "0.1.0"
22
+ VERSION = "0.1.1"
23
23
  end
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,81 +1,129 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: dragonfly-ffmpeg
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.0
3
+ version: !ruby/object:Gem::Version
4
+ hash: 25
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 1
10
+ version: 0.1.1
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Jamie Winsor
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-09-16 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: dragonfly
16
- requirement: &70265767650100 !ruby/object:Gem::Requirement
17
+
18
+ date: 2011-10-06 00:00:00 -07:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
17
24
  none: false
18
- requirements:
25
+ requirements:
19
26
  - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '0.9'
27
+ - !ruby/object:Gem::Version
28
+ hash: 25
29
+ segments:
30
+ - 0
31
+ - 9
32
+ version: "0.9"
22
33
  type: :runtime
34
+ name: dragonfly
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
23
37
  prerelease: false
24
- version_requirements: *70265767650100
25
- - !ruby/object:Gem::Dependency
26
- name: streamio-ffmpeg
27
- requirement: &70265767649420 !ruby/object:Gem::Requirement
38
+ requirement: &id002 !ruby/object:Gem::Requirement
28
39
  none: false
29
- requirements:
40
+ requirements:
30
41
  - - ~>
31
- - !ruby/object:Gem::Version
42
+ - !ruby/object:Gem::Version
43
+ hash: 63
44
+ segments:
45
+ - 0
46
+ - 8
47
+ - 0
32
48
  version: 0.8.0
33
49
  type: :runtime
50
+ name: streamio-ffmpeg
51
+ version_requirements: *id002
52
+ - !ruby/object:Gem::Dependency
34
53
  prerelease: false
35
- version_requirements: *70265767649420
36
- - !ruby/object:Gem::Dependency
37
- name: rspec
38
- requirement: &70265767648120 !ruby/object:Gem::Requirement
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ~>
58
+ - !ruby/object:Gem::Version
59
+ hash: 63
60
+ segments:
61
+ - 0
62
+ - 9
63
+ - 2
64
+ version: 0.9.2
65
+ type: :runtime
66
+ name: rake
67
+ version_requirements: *id003
68
+ - !ruby/object:Gem::Dependency
69
+ prerelease: false
70
+ requirement: &id004 !ruby/object:Gem::Requirement
39
71
  none: false
40
- requirements:
72
+ requirements:
41
73
  - - ~>
42
- - !ruby/object:Gem::Version
74
+ - !ruby/object:Gem::Version
75
+ hash: 23
76
+ segments:
77
+ - 2
78
+ - 6
79
+ - 0
43
80
  version: 2.6.0
44
81
  type: :development
82
+ name: rspec
83
+ version_requirements: *id004
84
+ - !ruby/object:Gem::Dependency
45
85
  prerelease: false
46
- version_requirements: *70265767648120
47
- - !ruby/object:Gem::Dependency
48
- name: guard-rspec
49
- requirement: &70265767647660 !ruby/object:Gem::Requirement
86
+ requirement: &id005 !ruby/object:Gem::Requirement
50
87
  none: false
51
- requirements:
88
+ requirements:
52
89
  - - ~>
53
- - !ruby/object:Gem::Version
90
+ - !ruby/object:Gem::Version
91
+ hash: 11
92
+ segments:
93
+ - 0
94
+ - 4
95
+ - 2
54
96
  version: 0.4.2
55
97
  type: :development
98
+ name: guard-rspec
99
+ version_requirements: *id005
100
+ - !ruby/object:Gem::Dependency
56
101
  prerelease: false
57
- version_requirements: *70265767647660
58
- - !ruby/object:Gem::Dependency
59
- name: fuubar
60
- requirement: &70265767647280 !ruby/object:Gem::Requirement
102
+ requirement: &id006 !ruby/object:Gem::Requirement
61
103
  none: false
62
- requirements:
63
- - - ! '>='
64
- - !ruby/object:Gem::Version
65
- version: '0'
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ hash: 3
108
+ segments:
109
+ - 0
110
+ version: "0"
66
111
  type: :development
67
- prerelease: false
68
- version_requirements: *70265767647280
69
- description: FFMPEG libraries for processesing, encoding, analysing and generating
70
- videos with Dragonfly
71
- email:
112
+ name: fuubar
113
+ version_requirements: *id006
114
+ description: FFMPEG libraries for processesing, encoding, analysing and generating videos with Dragonfly
115
+ email:
72
116
  - jamie@enmasse.com
73
117
  executables: []
118
+
74
119
  extensions: []
120
+
75
121
  extra_rdoc_files: []
76
- files:
122
+
123
+ files:
77
124
  - .gitignore
78
125
  - .rspec
126
+ - .travis.yml
79
127
  - Gemfile
80
128
  - Guardfile
81
129
  - LICENSE
@@ -94,31 +142,41 @@ files:
94
142
  - spec/dragonfly-ffmpeg/encoder_spec.rb
95
143
  - spec/spec_helper.rb
96
144
  - spec/support/video_matchers.rb
145
+ has_rdoc: true
97
146
  homepage: https://github.com/enmasse-entertainment/dragonfly-ffmpeg
98
147
  licenses: []
148
+
99
149
  post_install_message:
100
150
  rdoc_options: []
101
- require_paths:
151
+
152
+ require_paths:
102
153
  - lib
103
- required_ruby_version: !ruby/object:Gem::Requirement
154
+ required_ruby_version: !ruby/object:Gem::Requirement
104
155
  none: false
105
- requirements:
106
- - - ! '>='
107
- - !ruby/object:Gem::Version
108
- version: '0'
109
- required_rubygems_version: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ hash: 3
160
+ segments:
161
+ - 0
162
+ version: "0"
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
110
164
  none: false
111
- requirements:
112
- - - ! '>='
113
- - !ruby/object:Gem::Version
114
- version: '0'
165
+ requirements:
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ hash: 3
169
+ segments:
170
+ - 0
171
+ version: "0"
115
172
  requirements: []
173
+
116
174
  rubyforge_project: dragonfly-ffmpeg
117
- rubygems_version: 1.8.10
175
+ rubygems_version: 1.6.2
118
176
  signing_key:
119
177
  specification_version: 3
120
178
  summary: A video manipulation plugin for Dragonfly
121
- test_files:
179
+ test_files:
122
180
  - spec/dragonfly-ffmpeg/analyser_spec.rb
123
181
  - spec/dragonfly-ffmpeg/encoder_spec.rb
124
182
  - spec/spec_helper.rb