just_share 1.0.9 → 1.0.10
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/social_linker.rb +1 -0
- data/lib/just_share/twitter.rb +0 -1
- data/lib/just_share/version.rb +1 -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: 48a2a15de6b595e9a6bc6220c64dc887709e4b76
|
4
|
+
data.tar.gz: 7420d60139bbdcb9855c0ebbde60ef5ced03b546
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebfad60a3450e2267e9e7e3f3e6fddd0873f8c01c5a9d40b794f8d5df51b7840d7b0375a82f1c5dca783f8f325f9b0d87272e66f78888369cb849791ac6e6ee2
|
7
|
+
data.tar.gz: 3deb9790c5bc2db7fbccb9ea20748ebac020eeec5b750ca010310f99a54fb46bf6c284c5c1989ff5e1fdb388835a3dc725a3be3fc1a4f421b121fff1998b1fe4
|
data/Gemfile.lock
CHANGED
@@ -24,6 +24,7 @@ class JustShare::SocialLinker
|
|
24
24
|
self.message=params[:message] || self.message=JustShare.message
|
25
25
|
self.hash_tags=params[:hash_tags] || self.hash_tags=JustShare.hash_tags
|
26
26
|
self.image_url=params[:image_url] || self.hash_tags=JustShare.image_url
|
27
|
+
self.hash_tags = JustShare.hash_tags if self.hash_tags.nil? || params[:hash_tags].nil?
|
27
28
|
end
|
28
29
|
|
29
30
|
# FacadeMethod
|
data/lib/just_share/twitter.rb
CHANGED
@@ -8,7 +8,6 @@ class JustShare::Twitter < JustShare::SocialLinker
|
|
8
8
|
via_param = "via=#{self.via}" # IMPORTANT: be the App? Like PageRenter?
|
9
9
|
url_param = "url=#{self.link}"
|
10
10
|
text_param = "text=#{self.message}"
|
11
|
-
self.hash_tags = JustShare.hash_tags if self.hash_tags.nil?
|
12
11
|
hash_tag_param = "hashtags=#{JustShare.array_to_str_params self.hash_tags}"
|
13
12
|
|
14
13
|
# build the params
|
data/lib/just_share/version.rb
CHANGED