edwardhotchkiss/github3 — pull request #5 by intabulas (2012-02-09 16:24:29+00:00)
Title: Support for using oAuth Tokens to authenticate

... in addition to basic auth

If an existing auth token exists, it can now be used to authentication calls to the github api.

Made a small change to _get to not pass the uri as a string to _request and instead use an options hash so we can set the oauth token as a header if exists