contentful-social 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61f585a87e9e82dc0eee1527fa93346a686c2866
4
- data.tar.gz: 96d64a8b293f976901b54d0b003d69e9df661479
3
+ metadata.gz: 6a28af773f1d2ba0f7a71391c99c1704974c5872
4
+ data.tar.gz: d43358593c424988baabf490aef141d277b6f2e4
5
5
  SHA512:
6
- metadata.gz: dbb105190860ce1f4ff8d0faf0a7d374b68c7b643c9f1da3d1a4ec2bc1075edbe001e324be63157cab70bc3823d6494280187520f656a3f4b6fe094c424fcbf4
7
- data.tar.gz: ced25695778145ab840daa7fe372cfd845a6e6b8ef8a265f82e1caffe5192a4666f2036c792425993f1d2bbf69dc8d02206495a5800daad59920935df95cc3e9
6
+ metadata.gz: 4df20f24a03ee46db5e3e877951e1c4520c3f5e1c1ebb210c47038cd2ab929537a6a9988adb10ef7938783b5d17442c3d1b26021410f2f6a6f353c69d86db024
7
+ data.tar.gz: d22ff51aa4add9a3f0b1489ee1318e818e9d87f9f14d6230d84bf497e5b0f6c125705d10c86fafb8e2ed74dd193ef776d9af3a568d84d1721c1f7fffb01864d7
@@ -18,9 +18,9 @@ module Contentful
18
18
 
19
19
  ::Contentful::Social::TwitterHandler.new(config.twitter, contentful_client, webhook).tweet
20
20
 
21
- puts 'Successfully published on Twitter'
21
+ logger.debug 'Successfully published on Twitter'
22
22
  rescue StandardError => e
23
- puts "Error while trying to publish to Twitter: #{e}"
23
+ logger.error "Error while trying to publish to Twitter: #{e}"
24
24
  end
25
25
 
26
26
  def publish_to_facebook(webhook)
@@ -28,9 +28,9 @@ module Contentful
28
28
 
29
29
  ::Contentful::Social::FacebookHandler.new(config.facebook, contentful_client, webhook).post
30
30
 
31
- puts 'Successfully published on Facebook'
31
+ logger.debug 'Successfully published on Facebook'
32
32
  rescue StandardError => e
33
- puts "Error while trying to publish to Facebook: #{e}"
33
+ logger.error "Error while trying to publish to Facebook: #{e}"
34
34
  end
35
35
 
36
36
  def config
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
2
  module Social
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentful-social
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Contentful GmbH (David Litvak Bruno)
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-08 00:00:00.000000000 Z
11
+ date: 2016-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: contentful-webhook-listener