contentful-scheduler-custom-build-john 1.22 → 1.23
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 +2 -1
- 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: 031c68be5d6e7a611c7958a8385ec9f040e107a4
|
4
|
+
data.tar.gz: b861e0ace83e0ba875112f22b4f0971ce9c84966
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71de1fc6dfb995fee9885c4a972ad4809e3bd307a7299cbcb178ae2ba0be77e5ff0c336951272f15fcde22c4af4da03cfa627bdf99d4e4b51319698e1a867679
|
7
|
+
data.tar.gz: 4dc396d2f4a3981641d53e953a94ad14502e93ae7652d9c1e39cebe4c36bf77c489eab0d506d773c37db058c47268cda5a052d8969b66c0e0dff525b54792683
|
@@ -58,8 +58,9 @@ module Contentful
|
|
58
58
|
def updateContentBlocks(webhook)
|
59
59
|
logger.info "isContentBlockAvailable {#{isContentBlockAvailable(webhook)},} successfully removed from queue"
|
60
60
|
if isContentBlockAvailable(webhook)
|
61
|
-
logger.info "COntent blocks
|
61
|
+
logger.info "COntent blocks #{webhook.fields['contentBlocks']['fi-FI']} successfully removed from queue"
|
62
62
|
webhook.fields['contentBlocks']['fi-FI'].each do |sys|
|
63
|
+
logger.info "Sys is #{sys}"
|
63
64
|
success = Resque.enqueue_at(
|
64
65
|
publish_date(webhook),
|
65
66
|
::Contentful::Scheduler::Tasks::Publish,
|