drnic / github-tmbundle

TextMate bundle for working with GitHub
229 stars 37 forks source link

Use proxy for creating Gists #7

Closed juanghurtado closed 12 years ago

juanghurtado commented 14 years ago

Hi there!

I have changed the "send" method in gists.rb to check if HTTP_PROXY environment variable exists. If so, use it with Net::HTTP::Proxy.

It's the first time I write Ruby, so I'm sure it can be done better. Anyways, there you have it.

Thanks for your work!

juanghurtado commented 14 years ago

Little improvement to the code, and use "http_proxy" instead of "HTTP_PROXY".

juanghurtado commented 14 years ago

Thanks @antonio for this last change

juanghurtado commented 12 years ago

Closing…