contentful-scheduler-custom 1.5.6991 → 1.5.6992
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 +4 -4
- 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: 827bb67ff88cf9077f0f6bd7ce9bee07a154bfda
|
4
|
+
data.tar.gz: 9561f09bb1635831dbb34d300d0239f1e90f3c3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe9e5009a78567429ff4effbda57470dc38fe0c7e0aeb8095169d16ec43e0d72a04dd063a44421d41a43a4fcaf4ee043baa99b0967f4660a737777baa982312a
|
7
|
+
data.tar.gz: d485ca4572308943b735ca5ffdf70f70dfecabf9b7c4e3b30d6be045bb680e46ab56a53d109d9684865134ce7c31f3f6e1ff7f46069312967eac494c12dcfcf4
|
@@ -110,12 +110,12 @@ module Contentful
|
|
110
110
|
end
|
111
111
|
|
112
112
|
def unpublishable?(webhook)
|
113
|
-
log.info "inside unpublishable
|
113
|
+
log.info "inside unpublishable"
|
114
114
|
return false unless spaces.key?(webhook.space_id)
|
115
|
-
log.info "inside unpublishable
|
115
|
+
log.info "inside unpublishable next to return"
|
116
116
|
if webhook_unpublish_field?(webhook)
|
117
|
-
log.info "inside unpublishable
|
118
|
-
log.info "inside unpublishable
|
117
|
+
log.info "inside unpublishable next to return 1st cond. #{!webhook_unpublish_field(webhook).nil?}"
|
118
|
+
log.info "inside unpublishable next to return 2nd cond. #{!unpublish_is_future?(webhook)}"
|
119
119
|
return !webhook_unpublish_field(webhook).nil? && unpublish_is_future?(webhook)
|
120
120
|
end
|
121
121
|
|