contentful-scheduler-custom-build-john 1.17 → 1.18
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/queue.rb +2 -2
- data/lib/contentful/scheduler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29896f5bfed1638fb9debeb2cdc7d0cf01af959c
|
4
|
+
data.tar.gz: b680d705dcef6225465590d12dfafe3e0a48666b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efc4315d0d249bb3a5ef7373bd6a18081340aad4f45a40838be5904d3426d5eed7e4db1c268c39f539cf8fbd2231f1648cad13270cab387a5c41ffe6a0ac5402
|
7
|
+
data.tar.gz: 31a189d38b1e4872b0c4b22bcd4599ef13e9221db72ac1eed2e6345c5bd69e0cce524082f455bb0cce56b07b924f25d80bc8a3d3db9fc195546e728dc85e11ab
|
@@ -65,8 +65,8 @@ module Contentful
|
|
65
65
|
|
66
66
|
def already_published?(webhook)
|
67
67
|
return true if publish_date(webhook) < Time.now.utc
|
68
|
-
puts !webhook_is_publish_in_future(webhook)
|
69
|
-
if !webhook_is_publish_in_future(webhook)
|
68
|
+
puts !webhook_is_publish_in_future(webhook).nil?
|
69
|
+
if !webhook_is_publish_in_future(webhook).nil?
|
70
70
|
puts "Inside this 1st"
|
71
71
|
return false unless webhook.sys.key?('publishedAt')
|
72
72
|
if !webhook.sys['publishedAt'].nil?
|