contentful-scheduler-custom 1.6.7.5239 → 1.6.7.5240

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: e0264bcff546d1ef344a6de9fa88b00a552f97e136c8a4b3297ef6374f7d92d9
4
- data.tar.gz: 41ac1464dd2028291aa93f2892613e7fcd19840812d0cd7a156912ceac7b162b
3
+ metadata.gz: 61c0b6ee6a6caf8af82185882c555a1e48da4fafafb12323e4c8687113abf86e
4
+ data.tar.gz: 8ca2d32b63651e72bcbb9c8bcb70208bab509ce2bfa302392fbf9eeb7ccde61e
5
5
  SHA512:
6
- metadata.gz: 6cd0ee5f7d27de6aebba3becd4a8529fdea9ca8c85a1eced1eab091b8b18caff9e66d2377c99d71ee0985dfd8b22dc98138dce042263487b9adf7180f5c7b5b3
7
- data.tar.gz: 8af2b72035afe285a2b8d722ae50b12a2a798f4d9acbad22d7f587d7f1bbe9648e39aaec950bbf706812bbcad62f4e39858200efed736a0e978fcce62592088c
6
+ metadata.gz: f3861df4de59e57e54658cb25a26af774b957418a407cc5fe893e6e2d425028c9346d543ae2aa74b6164c8cd0088d09c1fed44471d02c364c7a56c71d2bfae59
7
+ data.tar.gz: 9b7fd90929fff96832bee6dec3100cba71af7f669d66e13a6c38cf580203d7ac15a7bd1a9ac174104f97332494d4a81e34c8e6df69665750fef73c14104689f2
@@ -23,7 +23,7 @@ module Contentful
23
23
  application_version: Contentful::Scheduler::VERSION
24
24
  )
25
25
 
26
- logger.info "logger works !"
26
+
27
27
 
28
28
  linked_enteries = client1.entries(links_to_entry: entry_id)
29
29
 
@@ -33,14 +33,21 @@ module Contentful
33
33
 
34
34
  linked_enteries.each do |entry|
35
35
  entry.fields.each do |field|
36
- field.class.to_s
36
+ logger.info "field class is #{field.class.to_s}"
37
37
  if !field.sys.nil? && !field.sys.id.nil?
38
38
  logger.info "field ids are #{field.sys.id}"
39
39
  end
40
40
  end
41
41
  end
42
42
 
43
- puts(linked_enteries.items.class.to_s)
43
+ linked_enteries.items.each do |entry|
44
+ entry.fields.each do |field|
45
+ logger.info "items field class is #{field.class.to_s}"
46
+ if !field.sys.nil? && !field.sys.id.nil?
47
+ logger.info " items field ids are #{field.sys.id}"
48
+ end
49
+ end
50
+ end
44
51
 
45
52
  client.entries.find(space_id, entry_id).publish
46
53
  end
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
2
  module Scheduler
3
- VERSION = "1.6.7.5239"
3
+ VERSION = "1.6.7.5240"
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.5239
4
+ version: 1.6.7.5240
5
5
  platform: ruby
6
6
  authors:
7
7
  - Contentful GmbH (David Litvak Bruno0