contentful-scheduler-custom-build-john 1.26 → 1.30
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 +0 -3
- 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: c48430494964e21a71d12b5d4a9fd67dac025d6f
|
4
|
+
data.tar.gz: 2094d57c186d858f62e0f0229fcdf25ae8405e8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dea8ec4a78328172347b92f5d7d23a18fbaa807eed546b9395bbe257d12df4890a5506f10d54f1fdf34c20006f66ebbd673c883e8abbbf0af23c9e745b0e047
|
7
|
+
data.tar.gz: e53d18f07674c31d7eace9cd027260cbcbb86d6e14e8ae61e8757054104c31912ef76c76f0190b267bfad023403251ea6da55d5386e21416c28c78aecbb421b7
|
@@ -56,11 +56,8 @@ module Contentful
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def updateContentBlocks(webhook)
|
59
|
-
logger.info "isContentBlockAvailable {#{isContentBlockAvailable(webhook)},} successfully removed from queue"
|
60
59
|
if isContentBlockAvailable(webhook)
|
61
|
-
logger.info "COntent blocks #{webhook.fields['contentBlocks']['fi-FI']} successfully removed from queue"
|
62
60
|
webhook.fields['contentBlocks']['fi-FI'].each do |sys|
|
63
|
-
logger.info "Sys id is #{sys['sys']['id']}"
|
64
61
|
success = Resque.enqueue_at(
|
65
62
|
publish_date(webhook),
|
66
63
|
::Contentful::Scheduler::Tasks::Publish,
|