social_sharer 0.1.3 → 0.1.3.1

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: 9c57cc82f66a4c1fb3b67df671e6413a230511a4
4
- data.tar.gz: 2be36c8ef8fe9449710884b3274d54b50e01234c
3
+ metadata.gz: a4847d0b2a59b1ee1c778e56e99a18f44000f0d2
4
+ data.tar.gz: 94b2d9035e1c50ea8613d906644374f02c8f977b
5
5
  SHA512:
6
- metadata.gz: cbe97d094e620cfe601df42ffbf5bb684823bd50b809ed616ee8c8fabc3e01bd73dbddb86ae22dce493fefc69c76ab0ee783804f70ffb2df9afd697f8ea67d25
7
- data.tar.gz: 9513e570d73322bb5bf58a54f1a5af45501ef3784f128d0a9f71cddd6c53e9b98b808e0079df52d637e050f2a8a1f760b04658b75f394a01a075720902311c5a
6
+ metadata.gz: 2ec3d281b9dcd1a1764dc60eaf19239fbf5c1b1fef658d3d7baf8cc56a559684d3fe00588d8aeb7bd0ca097b09897510e46928311155a759f66e84b19667e8f7
7
+ data.tar.gz: 79434bbff8457d457fa07f7677a17e73fbcedf7ff2312bbbf882113d16ab55423f2946399ba072f150c6cf83e6f3d3349c3bf19e1150ed6465923a44eb1056af
@@ -1,3 +1,3 @@
1
1
  module SocialSharer
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.3.1'
3
3
  end
@@ -21,18 +21,18 @@ module SocialSharer
21
21
  "via #{twitter_handle} "
22
22
  end
23
23
 
24
- link_to('Share on Twitter', 'http://twitter.com/', rel: 'nofollow', onclick: "popUp=window.open("\
25
- "'http://twitter.com/intent/tweet?text=#{twitter_message} #{twitter_handle_text}#{twitter_url}',"\
26
- "'popupwindow',"\
27
- "'scrollbars=yes,width=800,height=400');"\
28
- "popUp.focus();"\
29
- "return false") +
30
- link_to('Share on Facebook', 'http://www.facebook.com/', rel: 'nofollow', onclick: "popUp=window.open("\
31
- "'http://www.facebook.com/sharer.php?u=#{facebook_url}',"\
32
- "'popupwindow',"\
33
- "'scrollbars=yes,width=800,height=400');"\
34
- "popUp.focus();"\
35
- "return false")
24
+ link_to('Share on Twitter', 'http://twitter.com/', rel: 'nofollow', class: 'social_share_tw', onclick: "popUp=window.open("\
25
+ "'http://twitter.com/intent/tweet?text=#{twitter_message} #{twitter_handle_text}#{twitter_url}',"\
26
+ "'popupwindow',"\
27
+ "'scrollbars=yes,width=800,height=400');"\
28
+ "popUp.focus();"\
29
+ "return false") +
30
+ link_to('Share on Facebook', 'http://www.facebook.com/', rel: 'nofollow', class: 'social_share_fb', onclick: "popUp=window.open("\
31
+ "'http://www.facebook.com/sharer.php?u=#{facebook_url}',"\
32
+ "'popupwindow',"\
33
+ "'scrollbars=yes,width=800,height=400');"\
34
+ "popUp.focus();"\
35
+ "return false")
36
36
  end
37
37
 
38
38
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_sharer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Rayner