carrierwave_backgrounder 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/backgrounder/version.rb +1 -1
- data/lib/carrierwave_backgrounder.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6e8ff06c13487a9d2cc4b62f2384e664f5071890b2ab3f84c8c4af51fe1d3aa
|
4
|
+
data.tar.gz: 2bc907bba296cf9c7a9007ca4a345911def1c88a3e1d6646c1a3dbd998598e3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1129e8d192664e21f53a20b5ad3de4801c363bdaab8bb15e4b009b2f20f178631c1b731587686e2c70ea42723f57e6cea3de16a1154cc57d81e394194b58a6b5
|
7
|
+
data.tar.gz: add77ebea2c899b22c6ed8d8047b83286372adc360a7bd46b394f653d9e28d9dc24d9367067e5573765af99bbc41e467ee1b0c9f30aed009b20148a8df601248
|
data/CHANGELOG.md
CHANGED
data/lib/backgrounder/version.rb
CHANGED
@@ -17,13 +17,13 @@ module CarrierWave
|
|
17
17
|
|
18
18
|
case backend
|
19
19
|
when :active_job
|
20
|
-
@worker_klass =
|
20
|
+
@worker_klass = 'CarrierWave::Workers::ActiveJob'
|
21
21
|
|
22
22
|
require 'active_job'
|
23
23
|
require 'backgrounder/workers/active_job/process_asset'
|
24
24
|
require 'backgrounder/workers/active_job/store_asset'
|
25
25
|
|
26
|
-
queue_name = queue_options[
|
26
|
+
queue_name = queue_options[:queue] || 'carrierwave'
|
27
27
|
|
28
28
|
::CarrierWave::Workers::ActiveJob::ProcessAsset.class_eval do
|
29
29
|
queue_as queue_name
|
@@ -32,7 +32,7 @@ module CarrierWave
|
|
32
32
|
queue_as queue_name
|
33
33
|
end
|
34
34
|
when :sidekiq
|
35
|
-
@worker_klass =
|
35
|
+
@worker_klass = 'CarrierWave::Workers'
|
36
36
|
|
37
37
|
require 'sidekiq'
|
38
38
|
::CarrierWave::Workers::ProcessAsset.class_eval do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave_backgrounder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Larry Sprock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: carrierwave
|