contentful-scheduler-custom 1.6.7.5323 → 1.6.7.5324

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: e48c26715793ca7f6dd2a024dc68eb1388eb52fd2c025d55ac7b1c4b2e7cc66c
4
- data.tar.gz: 0296e3c334668de72b4f436365200be21f3db46a6bfe4bc84a3daf34e26fe887
3
+ metadata.gz: 8ee47fae68c44de6bdb2fc9d81e86c7354a15b1746b8665e10987ffaf3479d2d
4
+ data.tar.gz: 97892317e5be4a8bd06d0f192f474c57c5dd99a40653fd5805386e2ce7b3b9a3
5
5
  SHA512:
6
- metadata.gz: 85b8d5b012aa8dc9e663464170bdd07e458c12a9c8414cad2e907a402c55e962c2e496321529f4b78fa7e618f382cc4ba36c8961c76b90ca63dbf71b7a107df5
7
- data.tar.gz: 02f167efe4b42126768ea8b11fff0c5c3d0d606559e3d1f2e1a0455260adbc8f1e0cf40395dc2f8487ee8da26921c65631c0a4688d12bcd2d0282b0e2d9338bd
6
+ metadata.gz: 1480ff712c6f2a946441dd89b4d16a523e99d087342b80f65a57d45f5c7450106464fcfa140cbfbdbb578ec4f7eafd8674d35009584a57ba4316ef9152b85b19
7
+ data.tar.gz: 250253f6257e13e725467079da1ead21b911042afcbac558b210cf3776b9f84482e8667379f338d7957ff1b64aec6a4318652812d0e4be0aa122019e0afc6f93
@@ -28,7 +28,7 @@ module Contentful
28
28
 
29
29
  if !linked_enteries.raw["includes"].nil? && !linked_enteries.raw["includes"]["Entry"].nil?
30
30
  logger.info "CHuby raw element is ==> #{linked_enteries.raw["includes"]["Entry"]}"
31
- linkedEnteriesId = extract_element_ids(linked_enteries.raw["includes"]["Entry"])
31
+ linkedEnteriesId = self.extract_element_ids(linked_enteries.raw["includes"]["Entry"])
32
32
  logger.info("Linked enteries are #{linkedEnteriesId}")
33
33
  linkedEnteriesId.each do |id|
34
34
  logger.info"Publishing linked entry with id #{id}"
@@ -41,14 +41,14 @@ module Contentful
41
41
 
42
42
  def self.extract_element_ids input_array
43
43
  ids = []
44
- input_array.each {|item| (ids << (get_each_field item )).flatten!}
44
+ input_array.each {|item| (ids << (self.get_each_field item )).flatten!}
45
45
  return ids.uniq
46
46
  end
47
47
 
48
48
  def self.get_each_field item
49
49
  ids = []
50
50
  keys = item["fields"].keys
51
- keys.each {|key| (ids << (get_each_element key, item["fields"])).flatten!}
51
+ keys.each {|key| (ids << (self.get_each_element key, item["fields"])).flatten!}
52
52
  return ids
53
53
  end
54
54
 
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
2
  module Scheduler
3
- VERSION = "1.6.7.5323"
3
+ VERSION = "1.6.7.5324"
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.5323
4
+ version: 1.6.7.5324
5
5
  platform: ruby
6
6
  authors:
7
7
  - Contentful GmbH (David Litvak Bruno0