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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7392f8080dc5132a2389747b6ddda98b98bb1530a02a825e400ef4015e3c9e41
4
- data.tar.gz: b45ed21ceec4e64a2ed134dde50a99024d175080102c57b0bedf900a04d0bce5
3
+ metadata.gz: 452375d08882cbd5b17adfc1361c3e269dca323d4c81e18a3465403b82b92127
4
+ data.tar.gz: e41f8c50c61e1a2da49800b13b1a4e761318831b2fc56bc04c3df3d4f3272f7b
5
5
  SHA512:
6
- metadata.gz: ede436ea2c989054a09427975b7f886c9aff52fefa45822bb6dcfe1d1d0beb9b0a5cce5847765f644416bc387eaf979b4a75c71ce208673b6330242a9ffa05ca
7
- data.tar.gz: 2a3fb14c41b9f5dd565754c31a7899b0bfd9620abe227240eb8ac0f2c1f5f7c43c05f96c476ccf224e3ef6231ef7f39c847ea503dfe4e679aefff4ac4127aae3
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.class.to_s}"
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.sys.nil? && !field.sys.id.nil?
50
+ if !field.nil?
52
51
  logger.info "field ids are #{field.sys.id}"
53
52
  end
54
53
  end
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
2
  module Scheduler
3
- VERSION = "1.6.7.5264"
3
+ VERSION = "1.6.7.5265"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentful-scheduler-custom
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.7.5264
4
+ version: 1.6.7.5265
5
5
  platform: ruby
6
6
  authors:
7
7
  - Contentful GmbH (David Litvak Bruno0