contentful-scheduler-custom-build-john 1.20 → 1.21

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
  SHA1:
3
- metadata.gz: c4cea8eacabcba29ef219c4d136191622a650d7f
4
- data.tar.gz: 9216bce248b65bfcfcf573ae29155cb6af4844ec
3
+ metadata.gz: 0dab84020807fc6086faba5aab167d0dbb383172
4
+ data.tar.gz: 946da9e27482e6d39d9d2d89a27cd3b29d1e2868
5
5
  SHA512:
6
- metadata.gz: dca4de0888852f6626bf4cb84fb493686c6e09402f1b106e6763a82f13c6152a062207ac75a989b7a21d1de1d737539d9a5a19b58cfc3f6471820cb8a0b5cb5c
7
- data.tar.gz: 11ff2fc5b6a6f5398e74cd841628809d6432b4387756d0b8a3ca46eeb61a28c0d7e3a2877dfd2c4bde6953c61d4615dbee36bba3100372aaf1dd88ce1c3ca077
6
+ metadata.gz: ec988d7f680c05b19bed07005165e0e3da56261f6ec816a8fce10e5c86ef290b654fd60fb4436d87e6f790d091547fce37c0fedaa08bf4fc16d41bc1fc877fa0
7
+ data.tar.gz: 44fc70b0e0c918063d2181676ae73962f5100c672b4024eece257c0ce03bfd37d072f855d8b3fd6234b573f5adfa6322fd5ad8be4a6889a707c5fb8f0ebe052a
@@ -92,6 +92,10 @@ module Contentful
92
92
  end
93
93
  end
94
94
 
95
+ def isContentBlockAvailable(webhook)
96
+ return !webhook.fields['contentBlocks'].nil?
97
+ end
98
+
95
99
  def publishable?(webhook)
96
100
  return false unless spaces.key?(webhook.space_id)
97
101
 
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
2
  module Scheduler
3
- VERSION = "1.20"
3
+ VERSION = "1.21"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentful-scheduler-custom-build-john
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.20'
4
+ version: '1.21'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Contentful GmbH (David Litvak Bruno0