contentful-scheduler-custom 1.5.695 → 1.5.696

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: cb7fdd599e8dd540a40bf40675b02f2d08e38d77
4
- data.tar.gz: 468038f5f236c7ead17a776c5321ad065013ec19
3
+ metadata.gz: 49e4a24897ea3639518ddfcd921812bdc5176b1e
4
+ data.tar.gz: ae2d1f923b8ab2e84a1fb76e5bf2eedcb25dc6d3
5
5
  SHA512:
6
- metadata.gz: 2b471b9a021dd0ee57a4d2c84cac351416afb87f6ae379eb88d1bea5b39667da6f76f3715232a5661ee6efcc96c2df5efa1663c69f9820c5767e3e6e97c95f2d
7
- data.tar.gz: 7441775c374d2bff417361b65d6eeb3bd7ef29ca4f9bc77c2eada2f39639deb27083a894d963d2936edd32ee9d80453c86df1ea826b104062fc56bd6d66b37c4
6
+ metadata.gz: 2c9cc36ee9b6fffafbb6be2e3f5919d292f33a731d052b9cec489cee2423e092216f6e3b92bad240ad570195a257c1ea82dbf0501314af982ac376519d2f157a
7
+ data.tar.gz: a9f7e056b36aa87de9b647f7b04438f3c6d0481f26ab1747c3de0f4bacbd0d1a411c11fe4cb02602b90134d016135b22c7c1184184f87a4dd9bff99da90131c1
@@ -15,15 +15,15 @@ module Contentful
15
15
 
16
16
  def update_or_create(webhook)
17
17
  if publishable?(webhook)
18
- success = update_or_create_for_publish(webhook)
18
+ successPublish = update_or_create_for_publish(webhook)
19
19
  updateContentBlocks(webhook, 'publish')
20
- log_event_success(webhook, success, 'publish', 'added to')
20
+ log_event_success(webhook, successPublish, 'publish', 'added to')
21
21
  end
22
22
 
23
23
  if unpublishable?(webhook)
24
- success = update_or_create_for_unpublish(webhook)
24
+ successUnpublish = update_or_create_for_unpublish(webhook)
25
25
  updateContentBlocks(webhook, 'unpublish')
26
- log_event_success(webhook, success, 'unpublish', 'added to')
26
+ log_event_success(webhook, successUnpublish, 'unpublish', 'added to')
27
27
  end
28
28
  end
29
29
 
@@ -85,9 +85,9 @@ module Contentful
85
85
  ::Contentful::Scheduler.config[:management_token]
86
86
  )
87
87
 
88
- removeContentBlocksUnpublish(webhook)
89
-
90
88
  log_event_success(webhook, success, 'unpublish', 'removed from')
89
+
90
+ removeContentBlocksUnpublish(webhook)
91
91
  end
92
92
 
93
93
  def log_event_success(webhook, success, event_kind, action)
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
2
  module Scheduler
3
- VERSION = "1.5.695"
3
+ VERSION = "1.5.696"
4
4
  end
5
5
  end
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.695
4
+ version: 1.5.696
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-17 00:00:00.000000000 Z
11
+ date: 2018-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: contentful-webhook-listener