contentful-scheduler-custom 1.6.7.5264 → 1.6.7.5265
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 +5 -6
- 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: 452375d08882cbd5b17adfc1361c3e269dca323d4c81e18a3465403b82b92127
|
4
|
+
data.tar.gz: e41f8c50c61e1a2da49800b13b1a4e761318831b2fc56bc04c3df3d4f3272f7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a19c7a14cac2051099ddef2b61d60c121d231d317d9b8588e6d8a9306c54aeb09ccb7fae7b45a2fd96e104a788e9e7f4ce5810597b8685dcf731a9c68af0c50d
|
7
|
+
data.tar.gz: cb37bc7fc917ae5a2d1960b399c3a46753b09b7e36abe5c651db7980ca4ad420add554a632aaa9b37c3a02393a72eda77f375ff08027ab6d13301134b9823964
|
@@ -27,19 +27,18 @@ module Contentful
|
|
27
27
|
|
28
28
|
linked_enteries = client1.entries(links_to_entry: entry_id)
|
29
29
|
|
30
|
-
logger.info "Got items #{linked_enteries.total}"
|
31
30
|
|
32
|
-
logger.info "Got enteries type is #{linked_enteries.class.name}"
|
33
|
-
|
34
|
-
logger.info "Raw form is #{linked_enteries.raw.flatten(4)}"
|
35
31
|
|
36
32
|
linked_enteries.items.each do |entry|
|
37
33
|
entry.fields.each do |fields|
|
38
|
-
logger.info "items fields class is #{fields.
|
34
|
+
logger.info "items fields class is #{fields.raw}"
|
39
35
|
fields.each do |field|
|
40
36
|
logger.info "items FIELD class is #{field.class.to_s}"
|
41
37
|
if !field.nil?
|
42
38
|
logger.info " items field ids are #{field}"
|
39
|
+
field.each do |entry1|
|
40
|
+
entry1.raw
|
41
|
+
end
|
43
42
|
end
|
44
43
|
end
|
45
44
|
end
|
@@ -48,7 +47,7 @@ module Contentful
|
|
48
47
|
linked_enteries.each do |entry|
|
49
48
|
entry.fields.each do |field|
|
50
49
|
logger.info "field class is #{field.class.to_s}"
|
51
|
-
if !field.
|
50
|
+
if !field.nil?
|
52
51
|
logger.info "field ids are #{field.sys.id}"
|
53
52
|
end
|
54
53
|
end
|