Rails.application.config.middleware.use OmniAuth::Builder do
  provider :github, ENV['GITHUB_CLIENT_ID'], ENV['GITHUB_CLIENT_SECRET'], scope: 'repo'
end

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :github, ENV['GITHUB_CLIENT_ID'], ENV['GITHUB_CLIENT_SECRET'], scope: 'user:email,repo'
end

Add user email scope to OmniAuth initializer
Add user email scope to OmniAuth initializer

* Add user email scope to OmniAuth initializer to gain read access to email
* addresses of GitHub users whose email addresses are private
