contentful-scheduler-custom 1.6.7.5248 → 1.6.7.5249
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 +11 -5
- 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: 3db2f156612f01817e329d55b0c4554044f29f68213c6edc701d7f239f25ab35
|
4
|
+
data.tar.gz: 861e9d902754d3bdba70ec331301de59bf08d2f1e4f00e8f855ee6e267c15be8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02cfabf56cee16850d10963ecb7e906c048e2a92348c918da001bd445b58c17134a13189a8553c907203e22f26738335d4acd1f1c9d615d9e40161c665f828e4
|
7
|
+
data.tar.gz: 21af42235b35234a3b2063d10a4172b0b8457af73a125502866b920e1c86d03c39a91123121e7ece7e6d6cbd285fc64d273537ff7a76638bf57360210dfc2232
|
@@ -31,12 +31,18 @@ module Contentful
|
|
31
31
|
|
32
32
|
logger.info "Got enteries type is #{linked_enteries.class.name}"
|
33
33
|
|
34
|
+
logger.info "Raw form is #{linked_enteries.raw}"
|
35
|
+
|
34
36
|
linked_enteries.items.each do |entry|
|
35
|
-
entry.fields.each do |
|
36
|
-
logger.info "items
|
37
|
-
|
38
|
-
logger.info "
|
37
|
+
entry.fields.each do |fields|
|
38
|
+
logger.info "items fields class is #{fields.class.to_s}"
|
39
|
+
fields.each do |field|
|
40
|
+
logger.info "items FIELD class is #{field.class.to_s}"
|
41
|
+
if !field.sys.nil? && !field.sys.id.nil?
|
42
|
+
logger.info " items field ids are #{field.sys.id}"
|
43
|
+
end
|
39
44
|
end
|
45
|
+
|
40
46
|
end
|
41
47
|
end
|
42
48
|
|
@@ -47,7 +53,7 @@ module Contentful
|
|
47
53
|
logger.info "field ids are #{field.sys.id}"
|
48
54
|
end
|
49
55
|
end
|
50
|
-
|
56
|
+
endz
|
51
57
|
|
52
58
|
client.entries.find(space_id, entry_id).publish
|
53
59
|
end
|