contentful-scheduler-custom 1.5.698 → 1.5.699
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 +4 -4
- data/lib/contentful/scheduler/queue.rb +4 -0
- 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: 6aad27f637619f1d864d44e66a86d921abb14e5c
|
4
|
+
data.tar.gz: c72335536be40e4d879bd060c867b5ad0a0df737
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2d16da0c21cb25d98ead190a0417045fc6a33d28fe5ce0fd62c470bcc0f8b0b9bd62d3e17ecf915fb921de1294c34c4911e324df3931b699a8e5833655c66c1
|
7
|
+
data.tar.gz: 28e1032c780b3121b83b49db42289704a830927373fa7bbc7c035148a254c09d964829ab3fd8e03cb5f849f1e053c7f768d1d977f51e88dfad64ea00241b43b6
|
@@ -75,6 +75,7 @@ module Contentful
|
|
75
75
|
end
|
76
76
|
|
77
77
|
def remove_unpublish(webhook)
|
78
|
+
logger.info "Inside remove CB Unpublish before return statement"
|
78
79
|
return unless unpublishable?(webhook)
|
79
80
|
return unless in_unpublish_queue?(webhook)
|
80
81
|
|
@@ -188,8 +189,11 @@ module Contentful
|
|
188
189
|
end
|
189
190
|
|
190
191
|
def removeContentBlocksUnpublish(webhook)
|
192
|
+
logger.info "Inside remove CB Unpublish"
|
191
193
|
if isContentBlockAvailable(webhook)
|
194
|
+
logger.info "Inside remove CB Unpublish if block"
|
192
195
|
webhook.fields['contentBlocks']['fi-FI'].each do |sys|
|
196
|
+
logger.info "Inside remove CB Unpublish if block foreach loop"
|
193
197
|
success = Resque.remove_delayed(
|
194
198
|
::Contentful::Scheduler::Tasks::Unpublish,
|
195
199
|
webhook.space_id,
|