just_share 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/just_share/version.rb +1 -1
- data/lib/just_share.rb +6 -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: 157f1596533933639f92d192331df8afa452de62
|
4
|
+
data.tar.gz: 9ab827c7caea4c2f08d68a09f41f891d9caab869
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4acbdf271d6d793345bfd31ffd09c909e9c6d110f5ff0c974a7cfe22d1f0557647af8524badb1ca3eb631f5efcf7363683d51e5204db46e5775d75629afb8451
|
7
|
+
data.tar.gz: d0199fa4e03c2b7bcd2071504f772b80474dd7d23ac75e6b99f4e2830c875b509370bd36e7be358e4a45110a9f5faa10913f3728b65675d1b4329736e475f956
|
data/Gemfile.lock
CHANGED
data/lib/just_share/version.rb
CHANGED
data/lib/just_share.rb
CHANGED
@@ -33,7 +33,12 @@ module JustShare
|
|
33
33
|
begin
|
34
34
|
social_network = "JustShare::#{params[:social].to_s.capitalize_humanized}".to_constant.new params
|
35
35
|
rescue Exception => e
|
36
|
-
e.to_s.index('Linkedin')
|
36
|
+
if e.to_s.index('Linkedin').nil?
|
37
|
+
return ''
|
38
|
+
else
|
39
|
+
params[:social] = 'linked-in'
|
40
|
+
end
|
41
|
+
|
37
42
|
social_network = "JustShare::#{params[:social].to_s.capitalize_humanized}".to_constant.new params
|
38
43
|
end
|
39
44
|
|