intridea/omniauth-github — pull request #22 by kenn (2012-12-18 18:54:00+00:00)
Title: email field now returns the user's primary email.

Today, I received this email from Github:

> Hi, Kenn,

> We're introducing a new media type today to get emails back as an array of hashes[1]. Just use 'application/vnd.github.v3' for your Accept header and check out the caveats[2] on the new media type roll out.

> [1]: http://developer.github.com/v3/users/emails/#future-response
> [2]: http://developer.github.com/v3/media/#api-v3-media-type-and-the-future

> Cheers,

Finally, we are able to support primary email for Omniauth - I'm sending this pull request to do just that.