contentful-scheduler-custom 1.6.113 → 1.6.114

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: 55c0aa596d540104314e5c83a3e4697e6024a3cd2fb7b63cf142a5cecc164637
4
- data.tar.gz: 2c071187830284243373bb0dbea525282fadcf181ec6263c765795b54df39a0b
3
+ metadata.gz: 776509022971d2702d3d188aefa9622f3e6c8e87dae4e1c079cb7edd8bbde23a
4
+ data.tar.gz: 7d3685ec5b6c8c4db38e02d0c3b46e51ec0de4fbce41c44b2cdccd09c3b0711d
5
5
  SHA512:
6
- metadata.gz: 7e91b69d262202e22e2dd3eff0b810bb5ab8ae2edb635b02499e2d4e451d4a3913a013f12b56f14ae0c7fd18e923ce00a28bb5ed9729d75bac572f82a2ccce4b
7
- data.tar.gz: ca831149de4f1dfdd5c4b0a6e0aa0c8db4bb74a185ac58e6f1dd5b3c052038c65b2156a036886af9fd0cdd6d4bd1f01df85e2e5ffe08ef8d18a5d88c698a7149
6
+ metadata.gz: dda0761d06fe6e43079043affbf88d51a5f967053b434f474a0c77c4273ff79deb0c7338f117144370e560a3e306b253f85abe4097e6d0f4ee7e512911edff7d
7
+ data.tar.gz: 2515fa4c12a584e3c12d8a4513c8033ba6bb7622771a365d49b9211a652613d92e1c4d1dcfe8a3e79b754fe1712b6137b38d88600cdd98b591028e08db659110
@@ -7,6 +7,8 @@ module Contentful
7
7
  class Publish
8
8
  @queue = :publish
9
9
 
10
+ logger = ::Contentful::Webhook::Listener::Support::NullLogger.new
11
+
10
12
  def self.perform(space_id, entry_id, token)
11
13
  contentfulClient = ::Contentful::Client.new(
12
14
  space: space_id,
@@ -15,7 +17,7 @@ module Contentful
15
17
 
16
18
  linkedEntries = contentfulClient.entries(links_to_entry: entry_id)
17
19
 
18
- puts linkedEntries
20
+ logger.info "#{linkedEntries}"
19
21
 
20
22
  client = ::Contentful::Management::Client.new(
21
23
  token,
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
2
  module Scheduler
3
- VERSION = "1.6.113"
3
+ VERSION = "1.6.114"
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.113
4
+ version: 1.6.114
5
5
  platform: ruby
6
6
  authors:
7
7
  - Contentful GmbH (David Litvak Bruno0