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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d9effd984ba12b46d9163fb79c6cbc56e3939e5b
4
- data.tar.gz: 8990dceef48eaf43bfc1f34db9154a8091c63aef
3
+ metadata.gz: 2b4f7d1508e849f39446986c62429697d23348b9
4
+ data.tar.gz: 13c5b315babe9715dd041a4801a8200957f63f46
5
5
  SHA512:
6
- metadata.gz: 9f9ae6df3be63888b743b8c778e67b06330ff3e93e5de3d5542e6782c7b4ce3f3f81ad6f93928c7818cc15f45f71bbe7723fd61e6102d36e0a4f932db649ebf5
7
- data.tar.gz: 6d1694ff1e4d69617ec89a0ca8404027bdc28c9cff78994235aea39fdc010b467607afbfc6af0c59ba4fd20aed471ff21b51e8a1f3958fe6c4df66ade5609158
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).nil?
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
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
2
  module Scheduler
3
- VERSION = "1.1"
3
+ VERSION = "1.11"
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.1'
4
+ version: '1.11'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Contentful GmbH (David Litvak Bruno0