contentful-scheduler-custom 1.6.7.5236 → 1.6.7.5237
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 +4 -4
- 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: f22af96ce87564951418ab6381e0736d876edef29baa9ca3f23b848ba193bd5f
|
4
|
+
data.tar.gz: d373528d9d30630d2d5615fc9c15655a983c814f8ae174e1a4e5f5e28305942a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37b90d45857065dbed92e8e0748e75538bbacab05328d62730c7c89e6a5e9a6a070df723326f1fd318482b6c53c390a85687b81e0bc4af649d482d0445937560
|
7
|
+
data.tar.gz: fc5a64c6a77702d36f5a692eed3e0e894f1477e64549f49044978fcfe4fadf41043fc38b303974ee52e3e07b1cabc5a0cd5d51e82fb8d7434bec0303ffec0886
|
@@ -31,16 +31,16 @@ module Contentful
|
|
31
31
|
|
32
32
|
logger.info "Got enteries type is #{linked_enteries.class.name}"
|
33
33
|
|
34
|
-
puts(linked_enteries.
|
34
|
+
puts(linked_enteries.sys)
|
35
35
|
|
36
36
|
linked_enteries.each do |entry|
|
37
37
|
entry.fields.each do |field|
|
38
|
-
|
38
|
+
if !field['sys'].nil?
|
39
|
+
logger.info "field ids are #{field.sys[:id]}"
|
40
|
+
end
|
39
41
|
end
|
40
42
|
end
|
41
43
|
|
42
|
-
logger.info "Items and #{!linked_enteries['includes'].nil?.to_s}"
|
43
|
-
|
44
44
|
client.entries.find(space_id, entry_id).publish
|
45
45
|
end
|
46
46
|
|