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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/just_share/version.rb +1 -1
- data/lib/just_share.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: 7c6f2bfb012a64c8379f003f15e88cfa41b8ce2e
|
4
|
+
data.tar.gz: cbc589917c46356bebd981d64a7aec782c388993
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0edc63b848c39b44bed3f22730b0ce9fdbaeafd8e430c581fb3356f62eb1d4a82ef5a7e5bc12493bef02b91bcac8f1cafe20fdf3684d51aa80dcf69e241be7bd
|
7
|
+
data.tar.gz: 03189b2f51f4f7ef83c5ef73e8c7a774f38e9f6fbe3f1b29aa7f60f22ccd47cd8aae94a1ade0a9bdf947f997a78c0b4d6a971b041ade931dbd202639981e6dfd
|
data/Gemfile.lock
CHANGED
data/lib/just_share/version.rb
CHANGED
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}," }
|