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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa6bd69be9cab298a4bbf1f80e12af1d4660d20a
4
- data.tar.gz: 9fb8bb507db0016c53e14c79f255f8ebde55bd49
3
+ metadata.gz: 48a2a15de6b595e9a6bc6220c64dc887709e4b76
4
+ data.tar.gz: 7420d60139bbdcb9855c0ebbde60ef5ced03b546
5
5
  SHA512:
6
- metadata.gz: 22058d8279697dadb4581d5b2f5040d8c1cb36f9719cfba24afb6e421edcbad25eff0ef160765bec07e9033cca509d484d232f774794d278d5ddecc070fa459a
7
- data.tar.gz: f92d9f0d5b2bb3d70158560fd87bdcd30919284242db16df542b7d3906bd9184e07f2fcde140a70a752dccd97e7996ddeca9200c213cce806d1af8bd8da7b79f
6
+ metadata.gz: ebfad60a3450e2267e9e7e3f3e6fddd0873f8c01c5a9d40b794f8d5df51b7840d7b0375a82f1c5dca783f8f325f9b0d87272e66f78888369cb849791ac6e6ee2
7
+ data.tar.gz: 3deb9790c5bc2db7fbccb9ea20748ebac020eeec5b750ca010310f99a54fb46bf6c284c5c1989ff5e1fdb388835a3dc725a3be3fc1a4f421b121fff1998b1fe4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- just_share (1.0.9)
4
+ just_share (1.0.10)
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)
@@ -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
@@ -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
@@ -1,6 +1,6 @@
1
1
  module JustShare
2
2
  MAJOR = 1
3
3
  MINOR = 0
4
- PATCH = 9
4
+ PATCH = 10
5
5
  VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}"
6
6
  end
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.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilton Garcia