just_share 1.0.5 → 1.0.6

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: f9357c72a58e40ac0202f887f9bd626c8a786251
4
- data.tar.gz: 914d3d4c11b6e20d5bfc61b70f23afc2caa66dfa
3
+ metadata.gz: 7c6f2bfb012a64c8379f003f15e88cfa41b8ce2e
4
+ data.tar.gz: cbc589917c46356bebd981d64a7aec782c388993
5
5
  SHA512:
6
- metadata.gz: 971997f2e93532879df1397a0396e0122f7e40483bb497585f10667054d77916f7b2554992ee8a7b5a77fa709f0b4dd2f893f58285d50bf3095efdd74064f79f
7
- data.tar.gz: 38cbac6a862d675a7efdbae632b1efb20dbf444bd50dacc0c5d36f38483266cb2111308709a030f13332b1679366104baba19eade98d94951b09e26e16aafccc
6
+ metadata.gz: 0edc63b848c39b44bed3f22730b0ce9fdbaeafd8e430c581fb3356f62eb1d4a82ef5a7e5bc12493bef02b91bcac8f1cafe20fdf3684d51aa80dcf69e241be7bd
7
+ data.tar.gz: 03189b2f51f4f7ef83c5ef73e8c7a774f38e9f6fbe3f1b29aa7f60f22ccd47cd8aae94a1ade0a9bdf947f997a78c0b4d6a971b041ade931dbd202639981e6dfd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- just_share (1.0.5)
4
+ just_share (1.0.6)
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)
@@ -1,6 +1,6 @@
1
1
  module JustShare
2
2
  MAJOR = 1
3
3
  MINOR = 0
4
- PATCH = 5
4
+ PATCH = 6
5
5
  VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}"
6
6
  end
data/lib/just_share.rb CHANGED
@@ -36,7 +36,9 @@ module JustShare
36
36
 
37
37
  # Convert it array to a simple String to be a GET HTTP param
38
38
  def self.array_to_str_params input_array
39
+ input_array= []
39
40
  aux_array = input_array.split(',') if input_array.is_a?String
41
+ input_array = aux_array
40
42
  if aux_array.is_a?String then return input_array elsif !aux_array.nil? then input_array = aux_array end
41
43
  return_str = '' # init
42
44
  input_array.each { |item| return_str="#{return_str}#{item}," }
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.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilton Garcia