Closed shevaun closed 12 years ago
Great! One question to save some time. Did you check your tests under 1.8.7, 1.9.2 and 1.9.3? If you did great, if not, I'll have to take some time to check that before I merge.
I have now :) I've tested that they pass under 1.8.7-p357, 1.9.2-p290 & 1.9.3-p0.
sweet, thx.
Adds configuration options for proxy_host and proxy_port, and uses Net::HTTP::Proxy instead of Net::HTTP so that it works for apps that are behind a proxy server. If @proxy_host is nil, Net::HTTP::Proxy returns an instance of Net::HTTP (see http://ruby-doc.org/stdlib-1.9.3/libdoc/net/http/rdoc/Net/HTTP.html#method-c-Proxy).
This pull request replaces my original one, as that was using a much older version of the gem, and didn't have tests.