michaeldv/market_beat — pull request #1 by nuvan (2012-01-24 22:44:15+00:00)
Title: Currency class and proxy configurations

Hi Michael.
First let me thank you for your work. Awesome gem. I'm always using it on one or two consoles just to output some alerts and to test some components on my job (Yet another monitoring platform :) ).
I've added a Currency class, following your implementation style with the Historical class. I had implemented the functionality inside the Yahoo class but the currency symbol's (for instance EURUSD) don't apply to the rest of the function list.
I've also added the possibility to configure a proxy. Usually I'm behind one.
My next step is to DRY the (re)connection methods to clean up the code in the main classes (Yahoo, Google, Historical and Currency).
I was thinking to use the Excon gem to replace the Net::HTTP connections, since Excon it's much more faster. The problem is that the Proxy configuration for Excon seems to be failing in some rvm/ruby 1.9.* configurations and for me that's a big problem. Nevertheless i can do that it you agree.
Thanks again for your work and I hope you like my humble contribution.