contentful-scheduler-custom 1.5.693 → 1.5.694
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 +4 -4
- data/lib/contentful/scheduler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f030f0cf9a5701e5bee295d611aebb4bceb6ca3f
|
4
|
+
data.tar.gz: 1414d2a695f26be3d849a07e1ae91fb95284cdb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24920e4afafb198353510bd4480297c62bd145bd2adb3e7cd8b08517fc3e7b474f68f9c205a8985d1eb529c7117225d640336c7f5ad52462c9b665b9931322c6
|
7
|
+
data.tar.gz: 99ba48b36d925212220c557bd663992ac69ab64591c736229236e4683481d6b00844c9025163bfccdaaa9a07221e18298488f93248a8e55ba9aa9fc0137184eb
|
@@ -15,15 +15,15 @@ module Contentful
|
|
15
15
|
|
16
16
|
def update_or_create(webhook)
|
17
17
|
if publishable?(webhook)
|
18
|
-
|
18
|
+
success = update_or_create_for_publish(webhook)
|
19
19
|
updateContentBlocks(webhook, 'publish')
|
20
|
-
log_event_success(webhook,
|
20
|
+
log_event_success(webhook, success, 'publish', 'added to')
|
21
21
|
end
|
22
22
|
|
23
23
|
if unpublishable?(webhook)
|
24
|
-
|
24
|
+
success = update_or_create_for_unpublish(webhook)
|
25
25
|
updateContentBlocks(webhook, 'unpublish')
|
26
|
-
log_event_success(webhook,
|
26
|
+
log_event_success(webhook, success, 'unpublish', 'added to')
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|