contentful-scheduler-custom 1.5.6993 → 1.5.6994
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 -5
- data/lib/contentful/scheduler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08817c308803c5457dd2805636e05a58f73c3a1e
|
4
|
+
data.tar.gz: 149b1489b183f3c1c33a4d5352edf77a6873836d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a5c6255737ca56f518db923355eee46633389ce5a6d9b42d48d3aaaa434c535502be91d3fcfef4cec6ded3e1da0d7a5ec18bdbec07695a7248a7611ae12a2e6
|
7
|
+
data.tar.gz: cc706fb5a3c2820c31c3ce9bbca0712ac404b4c93272e48b111d8e72f92deaf49a14cccd61af5939416825d5c1c7a66c6d505363b7b193d1c5a687347a6d9477
|
@@ -75,7 +75,6 @@ module Contentful
|
|
75
75
|
end
|
76
76
|
|
77
77
|
def remove_unpublish(webhook)
|
78
|
-
logger.info "Inside remove CB Unpublish before return statement"
|
79
78
|
return unless unpublishable?(webhook)
|
80
79
|
return unless in_unpublish_queue?(webhook)
|
81
80
|
|
@@ -110,12 +109,9 @@ module Contentful
|
|
110
109
|
end
|
111
110
|
|
112
111
|
def unpublishable?(webhook)
|
113
|
-
log.info "inside unpublishable"
|
114
112
|
return false unless spaces.key?(webhook.space_id)
|
115
|
-
|
113
|
+
|
116
114
|
if webhook_unpublish_field?(webhook)
|
117
|
-
log.info "inside unpublishable next to return 1st cond."
|
118
|
-
log.info "inside unpublishable next to return 2nd cond}"
|
119
115
|
return !webhook_unpublish_field(webhook).nil? && unpublish_is_future?(webhook)
|
120
116
|
end
|
121
117
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contentful-scheduler-custom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.6994
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Contentful GmbH (David Litvak Bruno0
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: contentful-webhook-listener
|