lib/sucker/request.rb in sucker-0.6.2 vs lib/sucker/request.rb in sucker-0.6.3
- old
+ new
@@ -62,10 +62,10 @@
def build_query
parameters.
merge(timestamp).
sort.
collect do |k, v|
- "#{k}=" + CGI.escape(v.is_a?(Array) ? v.join(",") : v)
+ "#{k}=" + CGI.escape(v.is_a?(Array) ? v.join(",") : v.to_s)
end.
join("&")
end
def host