contentful-scheduler-custom 1.6.7.5269 → 1.6.7.5270
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 +1 -11
- 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: 042e6fa5db7eae1245c71669df954ff3adde1f065f3ddd8f217789c961bddee9
|
4
|
+
data.tar.gz: 16c2b11653860b9bd69bd476a88cf0726263fe214865f515beda0edc272e237c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 122d21b788705c8b29e07e7b720e9fa291f722109f9bca6f6d3ff2620999ae614a3971ef346e25cb735672f309863fe89e649cbc9b000c6f7f5282e40fe8d906
|
7
|
+
data.tar.gz: b76a27c7a231ad6e04c723496f98c4403611b180c1712e1ebdfbba79fad7b14e3d0950c0ad0e7ead37ec1413c1f30792fe54d3a3f1f1f65e0afd08cbdc38aa3b
|
@@ -37,24 +37,14 @@ module Contentful
|
|
37
37
|
if !field.nil? && field.class.to_s == "Array"
|
38
38
|
logger.info " items field ids are #{field}"
|
39
39
|
field.each do |entry1|
|
40
|
-
logger.info"under 1 level #{entry1.raw}"
|
40
|
+
logger.info"under 1 level #{entry1.fields.raw}"
|
41
41
|
logger.info "fields are #{entry1.fields}"
|
42
|
-
logger.info "raw_with_links are #{entry1.raw_with_links}"
|
43
42
|
end
|
44
43
|
end
|
45
44
|
end
|
46
45
|
end
|
47
46
|
end
|
48
47
|
|
49
|
-
linked_enteries.each do |entry|
|
50
|
-
entry.fields.each do |field|
|
51
|
-
logger.info "field class is #{field.class.to_s}"
|
52
|
-
if !field.nil?
|
53
|
-
logger.info "field ids are #{field.sys.id}"
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
48
|
client.entries.find(space_id, entry_id).publish
|
59
49
|
end
|
60
50
|
|