contentful-social 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/contentful/social/controller.rb +4 -4
- data/lib/contentful/social/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: 6a28af773f1d2ba0f7a71391c99c1704974c5872
|
4
|
+
data.tar.gz: d43358593c424988baabf490aef141d277b6f2e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
21
|
+
logger.debug 'Successfully published on Twitter'
|
22
22
|
rescue StandardError => e
|
23
|
-
|
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
|
-
|
31
|
+
logger.debug 'Successfully published on Facebook'
|
32
32
|
rescue StandardError => e
|
33
|
-
|
33
|
+
logger.error "Error while trying to publish to Facebook: #{e}"
|
34
34
|
end
|
35
35
|
|
36
36
|
def config
|
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.
|
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-
|
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
|