contentful-scheduler-custom 1.6.7.5345 → 1.6.7.5346
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/tasks/publish.rb +2 -0
- data/lib/contentful/scheduler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abf1bcb894fba58ac46edf8245ba130f5ad67d447128ad79c6403e13c55ae30a
|
4
|
+
data.tar.gz: b5562b5e1407943e50bc8906d1576bfa71dfc15a91a044945ea5bc5795997028
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34057bcf10cec429e6213c5970719277abcf242f8ecc19a670e476e269f97fcdfe0bd7ad5b856e318fcebd355e6462ca2b2c64556c395db53776a4b704f47fc7
|
7
|
+
data.tar.gz: 29eb857855fa8364a27c1ccb25ff02cc7098b6b298c6970e85a2cd638b7c1feea37825939300784cfee763f0eb1c1f2837a050fc5dd98bd5bced488e4b27f5c1
|
@@ -62,7 +62,9 @@ module Contentful
|
|
62
62
|
logger = Logger.new(STDOUT)
|
63
63
|
logger.info("get_each_element input key is #{key} and item is #{item}")
|
64
64
|
ids = []
|
65
|
+
logger.info("CLASS NAME IS #{item[key].class}")
|
65
66
|
if item[key].kind_of?(Array)
|
67
|
+
logger.info("Inside get_each_element Array #{item[key]}")
|
66
68
|
item[key].each do |i|
|
67
69
|
logger.info("Inside get_each_element for type Array #{i}")
|
68
70
|
(!(i["sys"]["linkType"].nil?) && i["sys"]["linkType"] == "Entry") ? ids.push(i["sys"]["id"]) : nil
|