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 +4 -4
- data/CHANGELOG.md +5 -0
- data/app/models/postburner/job.rb +7 -0
- data/lib/postburner/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba4b7b0b6ccdc3f0ce25453614c73e683dcac10fde47c6382337e9d0a8eecc42
|
4
|
+
data.tar.gz: 20899869073130b8fb856009c1a69dfa5b0bc4594c79477ff7593d17775cf35f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32d316908465caab8c6276ba6db4be43bfdcab5185146cbff59a708057ef331dac90374b817f65a25c623530cfbcb8bfbded3d152aaabd7607fd8df4e7288a1a
|
7
|
+
data.tar.gz: b7ba8bce12c6ddd9e2e353b8dd11fb6e87cd7e7ecbde3a410bc73e8c06464cfb6142172200528e66a2cdd3e02f903366f27ebd7d63e0b2ca14fb6a83335269bd
|
data/CHANGELOG.md
CHANGED
@@ -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
|
data/lib/postburner/version.rb
CHANGED