contentful-scheduler-custom 1.6.114 → 1.6.115

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