contentful-scheduler-custom 1.5.64 → 1.5.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e89bdc7e5781eb3906f57e1a00b15372b5e8d720
|
4
|
+
data.tar.gz: 61c3dc8523f6e2702f8760134c4ff41be86f5367
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 505418a06ae85c07cf371b561470a06ba9d799c4ec058bb81073629b877709531ea8372104c15409c884d0e582872d6eee9b63f519a9a993916466c97ee4cc5c
|
7
|
+
data.tar.gz: 555536c67a26cf1897c437abfe24ec863108b6be08350daa7d54855b85fe4affc8805d57b02d04880d7c2b03c208a0bba9bbee067a798f940509d387bbd9a143
|
@@ -64,6 +64,8 @@ module Contentful
|
|
64
64
|
return unless publishable?(webhook)
|
65
65
|
return unless in_publish_queue?(webhook)
|
66
66
|
|
67
|
+
logger.info "before before publish content block remove block"
|
68
|
+
|
67
69
|
success = Resque.remove_delayed(
|
68
70
|
::Contentful::Scheduler::Tasks::Publish,
|
69
71
|
webhook.space_id,
|
@@ -71,6 +73,8 @@ module Contentful
|
|
71
73
|
::Contentful::Scheduler.config[:management_token]
|
72
74
|
)
|
73
75
|
|
76
|
+
logger.info "before publish content block remove block"
|
77
|
+
|
74
78
|
removeContentBlocks(webhook, 'publish')
|
75
79
|
|
76
80
|
log_event_success(webhook, success, 'publish', 'removed from')
|
@@ -150,6 +154,7 @@ module Contentful
|
|
150
154
|
return unless unpublishable?(webhook)
|
151
155
|
return unless in_unpublish_queue?(webhook)
|
152
156
|
|
157
|
+
logger.info "before before unpublish content block remove block"
|
153
158
|
|
154
159
|
success = Resque.remove_delayed(
|
155
160
|
::Contentful::Scheduler::Tasks::Unpublish,
|