carrierwave-video 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Carrierwave
2
2
  module Video
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -45,7 +45,7 @@ module CarrierWave
45
45
  end
46
46
  end
47
47
 
48
- raise e
48
+ raise CarrierWave::ProcessingError.new("Failed to transcode with FFmpeg. Check ffmpeg imstall and verify video is not corrupt or cut short. Original error: #{e}")
49
49
  ensure
50
50
  reset_logger
51
51
  send_callback(callbacks[:ensure])
@@ -91,7 +91,7 @@ describe CarrierWave::Video do
91
91
 
92
92
  lambda do
93
93
  converter.encode_video(format, opts)
94
- end.should raise_exception(e)
94
+ end.should raise_exception(CarrierWave::ProcessingError)
95
95
  end
96
96
  end
97
97
  end
@@ -124,7 +124,7 @@ describe CarrierWave::Video do
124
124
 
125
125
  lambda do
126
126
  converter.encode_video(format, logger: :logger)
127
- end.should raise_exception(e)
127
+ end.should raise_exception(CarrierWave::ProcessingError)
128
128
  end
129
129
  end
130
130
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carrierwave-video
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-11 00:00:00.000000000 Z
12
+ date: 2012-04-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70165811358460 !ruby/object:Gem::Requirement
16
+ requirement: &70360829717480 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70165811358460
24
+ version_requirements: *70360829717480
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: streamio-ffmpeg
27
- requirement: &70165811357860 !ruby/object:Gem::Requirement
27
+ requirement: &70360829716900 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70165811357860
35
+ version_requirements: *70360829716900
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: carrierwave
38
- requirement: &70165811357160 !ruby/object:Gem::Requirement
38
+ requirement: &70360829716180 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70165811357160
46
+ version_requirements: *70360829716180
47
47
  description: Transcodes to html5-friendly videos.
48
48
  email:
49
49
  - rachelmheaton@gmail.com