contentful-scheduler-custom 1.5.69 → 1.5.691
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/contentful/scheduler/queue.rb +3 -3
- data/lib/contentful/scheduler/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: 22663b72715c1990c874023fcc60fcf3f13e8cb2
|
4
|
+
data.tar.gz: 6bca290fbc76ed587fa249f5ed0ec22029d7c755
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdfd26cd35391ebac360368011ab56cfe50ff2920729ccd629424f25e82cac23f739b99630c6c31ae6b94d3bd8a53a2cb6715e3e6894596ddd3d3b7598d75b40
|
7
|
+
data.tar.gz: d64447ea838dfa60025c9fa6bfdd5ac7d2d08f4ab5006502c3819599153391b05d372c7cc23f4860fb8e72b9675bb58d26a7e1a71230de4f75f9104ab7f34ce3
|
@@ -15,15 +15,15 @@ module Contentful
|
|
15
15
|
|
16
16
|
def update_or_create(webhook)
|
17
17
|
if publishable?(webhook)
|
18
|
-
|
18
|
+
successPublish = update_or_create_for_publish(webhook)
|
19
19
|
updateContentBlocks(webhook, 'publish')
|
20
20
|
log_event_success(webhook, success, 'publish', 'added to')
|
21
21
|
end
|
22
22
|
|
23
23
|
if unpublishable?(webhook)
|
24
|
-
|
24
|
+
successUnpublish = update_or_create_for_unpublish(webhook)
|
25
25
|
updateContentBlocks(webhook, 'unpublish')
|
26
|
-
log_event_success(webhook,
|
26
|
+
log_event_success(webhook, successUnpublish, 'unpublish', 'added to')
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contentful-scheduler-custom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.691
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Contentful GmbH (David Litvak Bruno0
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: contentful-webhook-listener
|