Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Currency class and proxy configurations #1

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

nuvan
Copy link

@nuvan nuvan commented Jan 24, 2012

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant