sovaa 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sovaa.rb +1 -1
- data/sovaa.gemspec +1 -1
- metadata +1 -1
data/lib/sovaa.rb
CHANGED
@@ -86,7 +86,7 @@ module Sovaa
|
|
86
86
|
def paramify_url url, params = {}
|
87
87
|
if params && !params.empty?
|
88
88
|
query = params.collect do |k,v|
|
89
|
-
v = v
|
89
|
+
v = Yajl::Encoder.encode(v) if %w{key startkey endkey}.include?(k.to_s)
|
90
90
|
"#{k}=#{CGI.escape(v.to_s)}"
|
91
91
|
end.join("&")
|
92
92
|
url = "#{url}?#{query}"
|
data/sovaa.gemspec
CHANGED