contentful-scheduler-custom 1.6.7.5276 → 1.6.7.5277
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/contentful/scheduler/tasks/publish.rb +0 -11
- data/lib/contentful/scheduler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fce2ab365a51461dc8c645c4d85236967b6dc57c94de6b69aac7a312224ea59
|
4
|
+
data.tar.gz: 2152220673693ac3d5ae546691b3151c77f99548ff05528ad229de83ea78fa2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fe656c297fed623111fc46de7ede40cde9fece18bbc8ceba94712dc4ef54c11d2fe612cf022e5b58339fb62457a049ef33d8cc805f426551ced34fda8874315
|
7
|
+
data.tar.gz: 771efece01ca57dc879b089fbc333c727d9187f9a7d52d91fdab36628792a4b0c37feb0d8b2d661125c50d59b2e3d557050d263beb520fdfe97457e7472a33f6
|
@@ -24,17 +24,6 @@ module Contentful
|
|
24
24
|
hash.flat_map { |k, v| [k] + (v.is_a?(Hash) ? all_keys(v) : [v]) }
|
25
25
|
end
|
26
26
|
|
27
|
-
all_keys(t).each do |key|
|
28
|
-
if key.is_a? Array
|
29
|
-
key.each do |t|
|
30
|
-
sys = t.select{|k,v| k == "sys"}["sys"]
|
31
|
-
if !sys.select{|k,v| k == "linkType" && v == "Entry"}.nil?
|
32
|
-
puts sys
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
37
|
-
|
38
27
|
def self.perform(space_id, entry_id, token)
|
39
28
|
logger = Logger.new(STDOUT)
|
40
29
|
client1 = Contentful::Client.new(
|