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