contentful-scheduler-custom 1.6.7.5213 → 1.6.7.5214
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 -2
- 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: 3dddb5327d97e61b38cb78a41eac418e21cabd00a12627c859dc754ce0e011df
|
4
|
+
data.tar.gz: 28536f2d8d3ef28cd68173985a4e68d6b6f99b33660df6d85baaa7b6aca91835
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26114f0265b9d9f7ca2eb07ab98a1b767c1aa1ec2ed0ad6a4b48c9aef45eb3129b4e4b6aee281c6b36c0fa91c9b62bef5b5e34baa90c8df0eacfbbfbf93584da
|
7
|
+
data.tar.gz: ebb366fda4c0b8b7226db305f5dd85a4a57ca7dc1e2af228d2deb73386a8303c08ad9ca983431f9ec797f302cbe8bc0361e13a372a9baf77400c69a8e842599b
|
@@ -26,9 +26,9 @@ module Contentful
|
|
26
26
|
|
27
27
|
linked_enteries = client1.entries(links_to_entry: entry_id)
|
28
28
|
|
29
|
-
logger.info"Got enteries #{linked_enteries
|
29
|
+
logger.info"Got enteries #{linked_enteries[:items].length}"
|
30
30
|
|
31
|
-
linked_enteries
|
31
|
+
linked_enteries[:items].each do |sys|
|
32
32
|
logger.info"Publishing Linked Entery with id #{sys['sys']['id']}"
|
33
33
|
client.entries.find(space_id, sys['sys']['id']).publish
|
34
34
|
logger.info"Published Linked Enteries"
|