contentful-scheduler-custom 1.5.6995 → 1.5.6996
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/contentful/scheduler/queue.rb +3 -3
- 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: 7b1097b7796134e7b3ba4b0bc8fa15f547e27e00
|
4
|
+
data.tar.gz: d5bda2526a2557b29c05d5c5b199603dc065b01e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7513a0a2c9062ebf914ac453cfc3ebaeb1f225fca51ce0825e6fa7dcf078561e5c2b2a1e1f1d2291e5ffe8a8f47ba4b1693bd0ce5fae96c0976d4333ef48e70
|
7
|
+
data.tar.gz: 94e5430efb022ad4b843814b290267ba7d7581daeecb46a45594d521134da3b77f07939cb6f69bb92e0057a04301f501fc2e4662fe8cfd705074df083a0b9378
|
@@ -213,10 +213,10 @@ module Contentful
|
|
213
213
|
end
|
214
214
|
|
215
215
|
def getScheduleType(type)
|
216
|
-
if type == '
|
217
|
-
::Contentful::Scheduler::Tasks::Unpublish
|
218
|
-
else
|
216
|
+
if type == 'publish'
|
219
217
|
::Contentful::Scheduler::Tasks::Publish
|
218
|
+
else
|
219
|
+
::Contentful::Scheduler::Tasks::Unpublish
|
220
220
|
end
|
221
221
|
end
|
222
222
|
|