contentful-scheduler-custom 1.5.7.1.2 → 1.5.7.1.3

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: f25f26a8584d9cd49d75ad1c8f3de2884ddce0f8
4
- data.tar.gz: cd5dfcc3bb73394cfcf68c9aaf0c3716ae8eb5bc
3
+ metadata.gz: a496129cfbdd3c1baf7c98bd91ff410838b5dfd8
4
+ data.tar.gz: e26016c832f991908e7fb4b81fbcc6d0c8ebed47
5
5
  SHA512:
6
- metadata.gz: b5a948828cac39b94d7441002babe96a802cef166d83494c84ecd2ee3b756d0a2ce890a29ca017c398d9cc0c649ed590589089304ebcad17df7fcab3eff9515b
7
- data.tar.gz: 9cf669723c832ad1d4ddf62471948fd53c91b59fd5ae10b267bd9e45dc881b290bf24e9804be9abbcba8ab28383888042155185d4a2a90f50ef33447f83ea715
6
+ metadata.gz: e1a74dfb513a1215bc97f90ae34064a86b17e181654710b557d197f7f024d6ef71abfb29baa3f7589749c9c7373512b5ef9ffa2238f0a63304a1249e4d8073d3
7
+ data.tar.gz: ef2921b155568128158ee35b9385d86b8ad2255be97ad741f0eb52b399348f8489b437b94225105859ecb0b7fadb84fed36a21b9c6e720ef25d779d659d26e17
data/.travis.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.3
4
3
  - 2.3.1
5
- - 2.4.0
4
+ - 2.4.1
5
+ - 2.5.1
6
6
  before_install: gem install bundler -v 1.10.6
data/example/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'contentful-scheduler', '~> 0.1'
3
+ gem 'contentful-scheduler-custom', '~> 1.5.7.1.3'
4
4
  gem 'contentful-management', '~> 1.0'
5
5
  gem 'resque', '~> 1.0'
6
6
  gem 'resque-scheduler', '~> 4.0'
@@ -212,11 +212,11 @@ module Contentful
212
212
  end
213
213
 
214
214
  def webhook_publish_field?(webhook)
215
- webhook.fields.key?(spaces.fetch(webhook.space_id, {})[:publish_field])
215
+ webhook.fields.key?(spaces.fetch(webhook.space_id, {})[:publish_field]) if webhook.respond_to?(:fields)
216
216
  end
217
217
 
218
218
  def webhook_unpublish_field?(webhook)
219
- webhook.fields.key?(spaces.fetch(webhook.space_id, {})[:unpublish_field])
219
+ webhook.fields.key?(spaces.fetch(webhook.space_id, {})[:unpublish_field]) if webhook.respond_to?(:fields)
220
220
  end
221
221
 
222
222
  def webhook_publish_field(webhook)
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
2
  module Scheduler
3
- VERSION = "1.5.7.1.2"
3
+ VERSION = "1.5.7.1.3"
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.7.1.2
4
+ version: 1.5.7.1.3
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-19 00:00:00.000000000 Z
11
+ date: 2018-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: contentful-webhook-listener