contentful-scheduler-custom 1.6.7.5240 → 1.6.7.5241
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 +9 -1
- data/lib/contentful/scheduler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ff43adb41aff1b7d1d59f12366ff4125abc594317443c10cd91877a6e5e8a81
|
4
|
+
data.tar.gz: 7d3a8fdade7c18c6f2c790bcf0daed1791213187dd2e42c91a21a5c9277a83ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5698f11da15effad84b8eef06733c395d47bd2a0eede5ed7bfa057817ca0d25b15e3c687c7a73de5e636ef5c4d8850ea57ec44ef874a47ce61edd6aec5f9e20e
|
7
|
+
data.tar.gz: bc9a4d0044eaa8201faa27a6d2414a612cfcf6a4080871018ceb365bd5893711bc88d0544725fe609a84e63385f66a1d4f96b6c22690e37b17a6799ed221b221
|
@@ -23,14 +23,22 @@ module Contentful
|
|
23
23
|
application_version: Contentful::Scheduler::VERSION
|
24
24
|
)
|
25
25
|
|
26
|
+
entry = client.entry(entry_id)
|
27
|
+
linked_enteries = entry.incoming_references(client)
|
26
28
|
|
27
29
|
|
28
|
-
|
30
|
+
|
31
|
+
|
32
|
+
# linked_enteries = client1.entries(links_to_entry: entry_id)
|
29
33
|
|
30
34
|
logger.info "Got items #{linked_enteries.total}"
|
31
35
|
|
32
36
|
logger.info "Got enteries type is #{linked_enteries.class.name}"
|
33
37
|
|
38
|
+
logger.info "Got raw #{linked_enteries.raw}"
|
39
|
+
|
40
|
+
logger.info "Got sys #{linked_enteries.sys}"
|
41
|
+
|
34
42
|
linked_enteries.each do |entry|
|
35
43
|
entry.fields.each do |field|
|
36
44
|
logger.info "field class is #{field.class.to_s}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contentful-scheduler-custom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.7.
|
4
|
+
version: 1.6.7.5241
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Contentful GmbH (David Litvak Bruno0
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: contentful
|