just_share 1.0.6 → 1.0.7
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 +1 -4
- 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: 21233559003eaf2bd3fa9b39dfa82bc69643e515
|
4
|
+
data.tar.gz: 7710c80dc17d89418e8f05f085cf74452ead3ebc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03a493d675f98b7d0048188021f534afee518fe1bc43d15be1056d6182528ef7f8431f9679e8c036769c2f74efe498f8c2bbd685a6d7a4e6bedb32d9903d57b0
|
7
|
+
data.tar.gz: fad439b323352dc432b05354e766a882ebc58c7639725d417737bd197258674cca68bd4866250699534178891a2fc395260c9d702a1933765d6040a9a3d85022
|
data/Gemfile.lock
CHANGED
data/lib/just_share/version.rb
CHANGED
data/lib/just_share.rb
CHANGED
@@ -36,10 +36,7 @@ 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=
|
40
|
-
aux_array = input_array.split(',') if input_array.is_a?String
|
41
|
-
input_array = aux_array
|
42
|
-
if aux_array.is_a?String then return input_array elsif !aux_array.nil? then input_array = aux_array end
|
39
|
+
input_array = input_array.split(',') if input_array.is_a?String
|
43
40
|
return_str = '' # init
|
44
41
|
input_array.each { |item| return_str="#{return_str}#{item}," }
|
45
42
|
return_str = return_str.chomp(',') if return_str.last == ','
|