fcoury / octopi

A Ruby interface to GitHub API v2
http://hasmany.info/2009/4/18/ruby-interface-to-github-api
MIT License
216 stars 47 forks source link

Fixing authentication with yml file #65

Closed robustdj closed 13 years ago

robustdj commented 13 years ago

This patch fixes authenticating through a yml file. It can now be done like this:

authenticated :config => "github.yml" do (...) end

Before the .gitconfig contents were always overriding the yml file.

radar commented 13 years ago

Hello, firstly: thank you very much for the patch. I have a couple of comments though, and I will add them now.

robustdj commented 13 years ago

let me know if you think my pull request needs anything else

radar commented 13 years ago

Nope, looks good. I'll merge now.