social_sharer 0.1.3.1 → 0.1.3.2

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: a4847d0b2a59b1ee1c778e56e99a18f44000f0d2
4
- data.tar.gz: 94b2d9035e1c50ea8613d906644374f02c8f977b
3
+ metadata.gz: 35b3b23f941979844de8c9befd7f13c7435509b5
4
+ data.tar.gz: 592add6af368f3a982f35733670e46db8a7ed089
5
5
  SHA512:
6
- metadata.gz: 2ec3d281b9dcd1a1764dc60eaf19239fbf5c1b1fef658d3d7baf8cc56a559684d3fe00588d8aeb7bd0ca097b09897510e46928311155a759f66e84b19667e8f7
7
- data.tar.gz: 79434bbff8457d457fa07f7677a17e73fbcedf7ff2312bbbf882113d16ab55423f2946399ba072f150c6cf83e6f3d3349c3bf19e1150ed6465923a44eb1056af
6
+ metadata.gz: 8a906103fbc08bab80771e7b17094e6edc60f6ba87f92db057f9ac47418eb70e9af262bcc8287bc6b7c017fb06d82e0acf7c4c5b9c7e7f5eb04e96fd3dc59e3c
7
+ data.tar.gz: d2f42828dc72699a78929bcd91e9900824e49b8ea55d5c1d3e93b7b7f55037851016fc9f3a58a73a2537e30025fdda1efb11e465d86688d8b3a043c8a4392f0d
@@ -1,3 +1,3 @@
1
1
  module SocialSharer
2
- VERSION = '0.1.3.1'
2
+ VERSION = '0.1.3.2'
3
3
  end
@@ -8,12 +8,14 @@ module SocialSharer
8
8
 
9
9
  twitter_url = has_individual_settings ? options[:twitter][:url] : options[:url]
10
10
  twitter_url += '?src=tw'
11
+ twitter_url = CGI.escape( twitter_url )
11
12
 
12
13
  twitter_message = has_individual_settings ? options[:twitter][:message] : options[:twitter_message]
13
14
  twitter_handle = has_individual_settings ? options[:twitter][:handle] : options[:twitter_handle]
14
15
 
15
16
  facebook_url = has_individual_settings ? options[:facebook][:url] : options[:url]
16
17
  facebook_url += '?src=fb'
18
+ facebook_url = CGI.escape( facebook_url )
17
19
 
18
20
  twitter_handle_text = if twitter_handle.nil?
19
21
  ''
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.1
4
+ version: 0.1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Rayner