contentful-scheduler-custom 1.5.699 → 1.5.6991
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 -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: 53ee422cabe265e28f5acd0e591b3b550349c461
|
4
|
+
data.tar.gz: 048a23414bc5486a340f1f9373daf757d3bb4e8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff8610c82c0391f7acbb63f743b1b04fa42ebde2b5947e0c276565a4af0ddeade04278e2dacfd17ce2ac2a5116f393d30f6003d2305209d5fa1fd7fa9cbd80ff
|
7
|
+
data.tar.gz: 0c02477945618f8dde7c13be19949030ea6e6e5aa8c78ef36ba97c0112a683e669f3cde2e530f330b2f11002a94c85b93f1d689a1c71aa3966a2d66a1a2c6ca6
|
@@ -110,9 +110,12 @@ module Contentful
|
|
110
110
|
end
|
111
111
|
|
112
112
|
def unpublishable?(webhook)
|
113
|
+
log.info "inside unpublishable? #{spaces.key?(webhook.space_id)}"
|
113
114
|
return false unless spaces.key?(webhook.space_id)
|
114
|
-
|
115
|
+
log.info "inside unpublishable? next to return"
|
115
116
|
if webhook_unpublish_field?(webhook)
|
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)}"
|
116
119
|
return !webhook_unpublish_field(webhook).nil? && unpublish_is_future?(webhook)
|
117
120
|
end
|
118
121
|
|