rubycas/rubycas-client — pull request #36 by shevaun (2012-02-13 22:17:44+00:00)
Title: use Net::HTTP::Proxy and allow configuration of the proxy host and proxy port (refactored with tests)

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.