classroom
https://github.com/education/classroom
Ruby
GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
GitHub::Token.expand_scopes
Having a scope like 'user' is actually read:user, user:email and user:follow This method expands these collection scopes to make checking which scopes we have more simple
Edit
git clone [email protected]:education/classroom.git
cd classroom
open lib/github/token.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-GitHub--Token-expand_scopes-for-pr
# Commit to gitgit add lib/github/token.rbgit commit -m "better docs for GitHub::Token.expand_scopes"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-GitHub--Token-expand_scopes-for-pr
hub pull-request
# Celebrate!