kissmetrics/km — pull request #4 by bcluca (2011-10-27 15:52:45+00:00)
Title: Added proxy support

Hi,

I have added proxy support to this gem, which is now usable behind a corporate firewall.

It now picks up the proxy settings from the standard environment variables `http_proxy` or `HTTP_PROXY`.

`Net::HTTP::Proxy` returns `Net::HTTP` when the proxy host is `nil` so the new code will fallback gracefully when neither of the two variables is set.

The corresponding commit is on the topic branch `proxy_support`.

Thanks,
_Luca Bernardo Ciddio_