wikiedudashboard
https://github.com/wikieducationfoundation/wikiedudashboard
Ruby
Wiki Education Foundation's Wikipedia course dashboard system
CourseMeetingsManager#calculate_open_weeks
returns an int representing the difference between the number of timeline weeks and the Weeks that belong_to the course (used on the client for calculating what type of assignment the user can choose in the wizard based on the available time)
Edit
git clone [email protected]:wikieducationfoundation/wikiedudashboard.git
cd wikiedudashboard
open lib/course_meetings_manager.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-CourseMeetingsManager-calculate_open_weeks-for-pr
# Commit to gitgit add lib/course_meetings_manager.rbgit commit -m "better docs for CourseMeetingsManager#calculate_open_weeks"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-CourseMeetingsManager-calculate_open_weeks-for-pr
hub pull-request
# Celebrate!