If scope is nil or 'public', skip email.

If the scope is nil or 'public', github denies access to the email and
omniauth raises a failure.  This makes it so that if you want to use
github for read-only authentication, you can't (at least in an obvious
fashion).

There is a workaround: pass 'skip_info: true' on configuration.  In this
case you do not get the 'nickname' and 'image', however.
For example, the following will work without this fix:
provider :github, ENV['GITHUB_KEY'], ENV['GITHUB_SECRET'], skip_info:
true

The other solution, without this patch, is to specify at least the user
scope, like so:
provider :github, ENV['GITHUB_KEY'], ENV['GITHUB_SECRET'], scope:
'user'
duplication
UID should be a string.
Merge pull request #13 from igoodrich/email-access-denied-fix

If scope is nil or 'public', skip email.
Merge pull request #15 from mutru/master

UID should be a String
Merge pull request #14 from rdsoze/rake

duplication
Bumps to v1.0.3
Ability to specify scope on a individual auth request with a URL parameter
Only the user scope allows access to emails
Merge pull request #20 from southpolesteve/master

Ability to specify scope on a individual auth request with a URL parameter
email field now returns the user's primary email.
Merge pull request #22 from kenn/primary_email

email field now returns the user's primary email.
Merge pull request #19 from cavalle/emails

Only the user scope allows access to emails
Add Github Enterprise Support

* In addition to scope, client_options can now 
  be passed in to replace the ones hard coded
  in the gem
* Modify GET requests to use relative URLs 
  instead of absolute URLs
* Added specs to verify client_options are 
  correctly overridden and relative URLs are
  utilized

[Fixes #23]
Merge pull request #24 from jasonnoble/23_add_github_enterprise_support

Add Github Enterprise Support
added empty check for raw_info email as well as nil
added empty check for raw_info email as well as nil
Merge branch 'master' of github.com:cloud66/omniauth-github

Conflicts:
	lib/omniauth/strategies/github.rb
primary email issue
Bump version to 1.1.0