carrierwave-audio 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/carrierwave/audio/processor.rb +2 -1
- data/lib/carrierwave/audio/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d89900745b7025632b049163088de508d39a37c
|
4
|
+
data.tar.gz: a4024f742b8f554c079afbdd32babecf2b8c7677
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed131060322baaf841509d5b4c18f1ffe268f5b5840194c7ca1d045494933f2ee3811bc6a68437900aba164362a4c1a7f15d53ef1035e1d928f02c390925a41f
|
7
|
+
data.tar.gz: 5474fa5f34b5cf7867fcf5088e8907a8b1744757b92206a9d390e900550f2c53cb3207e88c930d67b24a927af6682cfb3f686cab165c852dc5f92f1c7c3d0f4b
|
@@ -38,6 +38,7 @@ module CarrierWave
|
|
38
38
|
def convert(source, options={})
|
39
39
|
options = DefaultConvertOptions.merge(options)
|
40
40
|
format = sanitized_format(options[:output_format])
|
41
|
+
output_options = options[:output_options] || {}
|
41
42
|
|
42
43
|
@log = Log.new(options[:logger])
|
43
44
|
@log.start!
|
@@ -50,7 +51,7 @@ module CarrierWave
|
|
50
51
|
input_file_path: source,
|
51
52
|
input_options: input_options,
|
52
53
|
output_file_path: final_filename,
|
53
|
-
output_options: output_options_for_format(format)
|
54
|
+
output_options: output_options_for_format(format).merge(output_options)
|
54
55
|
)
|
55
56
|
end
|
56
57
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave-audio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trevor Hinesley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: carrierwave
|