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 +4 -4
- data/lib/social_sharer/version.rb +1 -1
- data/lib/social_sharer/view_helpers.rb +2 -0
- 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: 35b3b23f941979844de8c9befd7f13c7435509b5
|
4
|
+
data.tar.gz: 592add6af368f3a982f35733670e46db8a7ed089
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a906103fbc08bab80771e7b17094e6edc60f6ba87f92db057f9ac47418eb70e9af262bcc8287bc6b7c017fb06d82e0acf7c4c5b9c7e7f5eb04e96fd3dc59e3c
|
7
|
+
data.tar.gz: d2f42828dc72699a78929bcd91e9900824e49b8ea55d5c1d3e93b7b7f55037851016fc9f3a58a73a2537e30025fdda1efb11e465d86688d8b3a043c8a4392f0d
|
@@ -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
|
''
|