contentful-scheduler-custom 1.6.7.5331 → 1.6.7.5332

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: 3ee7e532086d85884193eb8d59a5de9d3e05ad1e954874ecebcf3f2e17609363
4
- data.tar.gz: ae9f63f33d93ce04f1cc866719cec68fd806b008e36821170928ebba16c68bdd
3
+ metadata.gz: 8c7582d20846a5cd6635c9e4ca2499e2b6af71c15151c7185a67daabf2055076
4
+ data.tar.gz: 5819384ce4283cd0a5838fdba7efc14437f2df1803661f8b95f0df5fecae0e60
5
5
  SHA512:
6
- metadata.gz: fcf7c58ed73f21af18a92ce5e4af5c16f1bdbdcc91e1f7d45544b6ecb691393c8ff86bd4c2f2178aea44261a7cfa142535f793df7ea92e2898d418f9832dc5d0
7
- data.tar.gz: 222356a6b88ddae29cb4603b950e1ad1fb78bd9e39c63c6b544398d0ffe1a7943f73f1477da2c513894e295ae15dfdea9b7a012ceeaddb18e487b9db08928184
6
+ metadata.gz: 1f15707227e2d1be415e378c2d4044ea058caa26e12174e4fbe1a61e736fd868cf3a26a843ef3bac1bdcf082ef8db3f06586458cad80f153846717429ce58c21
7
+ data.tar.gz: 201e8b6ad231bb8220a0024c5cdc0dead7bea1777705e7aad96ea923f0726377588868c46962afb03e611a845d108f3623c3e477cfe9e1362c0e4b5813e33149
@@ -27,7 +27,7 @@ module Contentful
27
27
  linked_enteries = client1.entries(links_to_entry: entry_id)
28
28
 
29
29
  if !linked_enteries.raw["includes"].nil? && !linked_enteries.raw["includes"]["Entry"].nil?
30
- linkedEnteriesId = self.extract_element_ids(linked_enteries.raw["includes"]["Entry"])
30
+ linkedEnteriesId = extract_element_ids linked_enteries.raw["includes"]["Entry"]
31
31
  logger.info("Linked enteries are #{linkedEnteriesId}")
32
32
  linkedEnteriesId.each do |id|
33
33
  logger.info"Publishing linked entry with id #{id}"
@@ -39,7 +39,7 @@ module Contentful
39
39
 
40
40
  def self.extract_element_ids input_array
41
41
  ids = []
42
- input_array.each {|item| (ids << (self.get_each_field item )).flatten!}
42
+ input_array.each {|item| (ids << (get_each_field item )).flatten!}
43
43
  return ids.uniq
44
44
  end
45
45
 
@@ -47,7 +47,7 @@ module Contentful
47
47
  logger = Logger.new(STDOUT)
48
48
  ids = []
49
49
  keys = item["fields"].keys
50
- keys.each {|key| (ids << (self.get_each_element key, item["fields"])).flatten!}
50
+ keys.each {|key| (ids << (get_each_element key, item["fields"])).flatten!}
51
51
  logger.info "get_each_field ==> #{ids}"
52
52
  return ids1
53
53
  end
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
2
  module Scheduler
3
- VERSION = "1.6.7.5331"
3
+ VERSION = "1.6.7.5332"
4
4
  end
5
5
  end
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.5331
4
+ version: 1.6.7.5332
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-26 00:00:00.000000000 Z
11
+ date: 2019-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: contentful