postburner 0.3.1 → 0.3.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
  SHA256:
3
- metadata.gz: 9b66577a3987f1041207f3ccd0b64f50d259dfdd32f4d2922cb309bcb381e038
4
- data.tar.gz: c0742f5c7539738ccdc2346bb475cddb5299737317d8d08b114e35ad9ee67888
3
+ metadata.gz: ba4b7b0b6ccdc3f0ce25453614c73e683dcac10fde47c6382337e9d0a8eecc42
4
+ data.tar.gz: 20899869073130b8fb856009c1a69dfa5b0bc4594c79477ff7593d17775cf35f
5
5
  SHA512:
6
- metadata.gz: bea9ab0743648db32d1a7b37887d9baa942b9bf415ed9265d6dfef0f7d924fedaa70443518c3c0a59990311fa9c69f41dc1643aaa75726c9b75ebd47f4068c7a
7
- data.tar.gz: 335324c1a10818d353f90ee719ddb9d57be98cb04fd648ac222993294a2cb1f2824f57e3c932a8d5d720614fe51323082637aa2bed2d535411e8a8b8be543713
6
+ metadata.gz: 32d316908465caab8c6276ba6db4be43bfdcab5185146cbff59a708057ef331dac90374b817f65a25c623530cfbcb8bfbded3d152aaabd7607fd8df4e7288a1a
7
+ data.tar.gz: b7ba8bce12c6ddd9e2e353b8dd11fb6e87cd7e7ecbde3a410bc73e8c06464cfb6142172200528e66a2cdd3e02f903366f27ebd7d63e0b2ca14fb6a83335269bd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.3.2 - 2021-05-07
4
+
5
+ ### Fixed
6
+ - add processed_at guard w/ logs.
7
+
3
8
  ## v0.3.1 - 2021-05-07
4
9
 
5
10
  ### Fixed
@@ -55,6 +55,13 @@ module Postburner
55
55
  )
56
56
 
57
57
  begin
58
+ if self.processed_at.present?
59
+ self.log "Already Processed", level: :error
60
+ update_column :logs, self.logs
61
+ self.delete!
62
+ return
63
+ end
64
+
58
65
  if self.removed_at.present?
59
66
  self.log "Removed", level: :error
60
67
  update_column :logs, self.logs
@@ -1,3 +1,3 @@
1
1
  module Postburner
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postburner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Smith