just_share 1.0.11 → 1.0.12

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: 6f59e9e53849d07d3eb93f8349876c49c11413ab
4
- data.tar.gz: 1b0ed33abf976da2da3fa0ce236c1660570cff2a
3
+ metadata.gz: 70eb47dc4739bfa7433f71d26bedf8a1856c4aa1
4
+ data.tar.gz: 120a754289b447087ce6e47865eb1f3be6ae5622
5
5
  SHA512:
6
- metadata.gz: ff30075a5ad7428c4a1346e26907ed6ac4137a321964e89df945ce21fe6e1c2ccee34f7ba5f8c57bcd5ba1723fd8021d856bae047f4c12350e60f7f184ad4119
7
- data.tar.gz: 9df69e1c2019b66ba50230de6e648ce9608ccb2268ec3c98efdf1acfa88047badc27bd308cd1781dbf4f125a1cc0e93a2635eda3824fbbca34cbc719311d37a5
6
+ metadata.gz: 5cbb216318760e342e0480684e69aa38db140dae8ca8278b309ed1e1c874efa798bff96745b161ea95bd4f57153b7b3662daadfb8f27d64d3b3214bcebffe4ab
7
+ data.tar.gz: 6121a739e4043cade42d4dea805c21dfc78f27a5db3e7578e00b916c267a2118e6db0c603cfeaffd650d512c193907b7a70c2978e3d21a194bd314cea204eb67
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- just_share (1.0.11)
4
+ just_share (1.0.12)
5
5
  colorize (~> 0.7.3, >= 0.7.3)
6
6
  multi_json (~> 1.10, >= 1.10.1)
7
7
  rest-client (~> 1.7, >= 1.7.2)
@@ -1,6 +1,6 @@
1
1
  module JustShare
2
2
  MAJOR = 1
3
3
  MINOR = 0
4
- PATCH = 11
4
+ PATCH = 12
5
5
  VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}"
6
6
  end
data/lib/just_share.rb CHANGED
@@ -33,7 +33,7 @@ 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
- params[:social] = 'linked-in' if e.to_s.index('Linkedin')
36
+ e.to_s.index('Linkedin') ? params[:social] = 'linked-in' : return ''
37
37
  social_network = "JustShare::#{params[:social].to_s.capitalize_humanized}".to_constant.new params
38
38
  end
39
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: just_share
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilton Garcia