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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b5179de79dd632fbd4793e5acf19842a236de54
4
- data.tar.gz: 6cac5dca1f5cd4b73388fe3d0faa2cadd0faa3bc
3
+ metadata.gz: 29896f5bfed1638fb9debeb2cdc7d0cf01af959c
4
+ data.tar.gz: b680d705dcef6225465590d12dfafe3e0a48666b
5
5
  SHA512:
6
- metadata.gz: 96106c3ff9cde761df25b62b576540f9041467df833ef9f9e4ea9ae0564a405ae2e10c97d7ccc39c7dccac595493204b76a375be8a8f61699de1f0e99463a05e
7
- data.tar.gz: 29c2817c13acb813695b7eb984695c4fbdf048e4a300c1ded1855a90fdc032a27d02bff9e5240ce4bbd4f69365521d958f1ff497424b889c3275bb541ad75611
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?
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
2
  module Scheduler
3
- VERSION = "1.17"
3
+ VERSION = "1.18"
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.17'
4
+ version: '1.18'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Contentful GmbH (David Litvak Bruno0