carrierwave-delay 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/carrierwave-delay/model.rb +4 -4
- data/lib/carrierwave-delay/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: 3b0fce304bce964cc8c67972ef5975cd2a3800ae
|
4
|
+
data.tar.gz: a5fb35c7463a203b8141f707448344661957ea7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d4ce7ee53ddb213b79e277550770dd35053c27c2a1f3f68790921dc4c2065bfb9fc16bb1b6e5197ac5434e1cf69babcb2ecbaae803f36e898a1ad3ea6494495
|
7
|
+
data.tar.gz: aac03394d71810dd4489aba8f048fc45d79c6ab5d924cc931a01eb0d8ff2c7e3b2a81a69fe95763c0cf20f597587138cac3f1c2ca36cdde1ae2ce23221288fa0
|
data/CHANGELOG.md
CHANGED
@@ -25,9 +25,9 @@ module CarrierWaveDelay
|
|
25
25
|
|
26
26
|
def recreate_delayed_versions!
|
27
27
|
self.class.carrierwave_delay_columns.each do |column|
|
28
|
-
unless self.send(column).nil?
|
29
|
-
send(column).is_processing_delayed = true
|
30
|
-
send(column).recreate_versions!
|
28
|
+
unless self.send(column).file.nil?
|
29
|
+
self.send(column).is_processing_delayed = true
|
30
|
+
self.send(column).recreate_versions!
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
@@ -35,7 +35,7 @@ module CarrierWaveDelay
|
|
35
35
|
private
|
36
36
|
|
37
37
|
def carrierwave_delay_process
|
38
|
-
self.delay(queue: self.class.carrierwave_delay_queue, priority: self.class.carrierwave_delay_priority).recreate_delayed_versions!
|
38
|
+
self.delay(queue: self.class.carrierwave_delay_queue, priority: self.class.carrierwave_delay_priority, retry: false).recreate_delayed_versions!
|
39
39
|
end
|
40
40
|
|
41
41
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave-delay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Hübotter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|