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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 565a25da7d157f94bdc8259885972ed0ee08c87a
4
- data.tar.gz: cd37c20a09cbfdabb32361d4f571ff835f8cf2a8
3
+ metadata.gz: 3b0fce304bce964cc8c67972ef5975cd2a3800ae
4
+ data.tar.gz: a5fb35c7463a203b8141f707448344661957ea7c
5
5
  SHA512:
6
- metadata.gz: 9a555eecb6b94dd362529965449c335d18fa0c4e61ff45e684457c797c3f8799898352ef69675b0c1d74701fbb21e5ca929a59588bb07aa0d0d26c728300af0a
7
- data.tar.gz: ec843955d4b6a376d7ed9e6dd13d4dbbd3d2457ae6782366f8961caa537aa706c0b61b7ca3df6731d7e355d396165dc85aaf112745a100b85110ab87f39ed7ba
6
+ metadata.gz: 2d4ce7ee53ddb213b79e277550770dd35053c27c2a1f3f68790921dc4c2065bfb9fc16bb1b6e5197ac5434e1cf69babcb2ecbaae803f36e898a1ad3ea6494495
7
+ data.tar.gz: aac03394d71810dd4489aba8f048fc45d79c6ab5d924cc931a01eb0d8ff2c7e3b2a81a69fe95763c0cf20f597587138cac3f1c2ca36cdde1ae2ce23221288fa0
@@ -2,6 +2,11 @@
2
2
 
3
3
  * nothing yet
4
4
 
5
+ ### 0.1.2 - 2017-10-15 (Pre-release)
6
+
7
+ * bugfixes
8
+ * fix error when attempting to process empty uploaders
9
+
5
10
  ### 0.1.1 - 2017-10-14 (Pre-release)
6
11
 
7
12
  * bugfixes
@@ -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
@@ -1,6 +1,6 @@
1
1
  module CarrierwaveDelay
2
2
 
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
 
5
5
  class Version
6
6
 
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.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-14 00:00:00.000000000 Z
11
+ date: 2017-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails