contentful-scheduler-custom-build-john 1.1 → 1.11
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 +1 -1
- 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: 2b4f7d1508e849f39446986c62429697d23348b9
|
4
|
+
data.tar.gz: 13c5b315babe9715dd041a4801a8200957f63f46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0f2c744278715c43b4c54b2e54fe094b097a84d0a9688973ec4711c9e120a51f74983cf499e2ccd4e4c28bf5ddc196af2268485f7f07edd244465a33eb8dd30
|
7
|
+
data.tar.gz: 220558b4febea6f737b85f1c4125d95ae575e720ca7257f315de826ab9443cd5c6e066e748e5a18be9a0f0ba71684cb4a8319e3ee9c2391294c24808275558c3
|
@@ -63,7 +63,7 @@ module Contentful
|
|
63
63
|
|
64
64
|
def already_published?(webhook)
|
65
65
|
return true if publish_date(webhook) < Time.now.utc
|
66
|
-
if !webhook_is_publish_in_future(webhook)
|
66
|
+
if !webhook_is_publish_in_future(webhook)
|
67
67
|
return false unless webhook.sys.key?('publishedAt')
|
68
68
|
if !webhook.sys['publishedAt'].nil?
|
69
69
|
return Chronic.parse(webhook.sys['publishedAt']).utc < Time.now.utc
|