wikiedudashboard
https://github.com/wikieducationfoundation/wikiedudashboard
Ruby
Wiki Education Foundation's Wikipedia course dashboard system
WikiCourseEdits#update_assignments
Updates the assignment template for every Assignment for the course. Usually, this is done incrementally so that a call to this method will only update the assignments that were changed in the action that triggered it. However, if some previous edits failed, or some assignment templates got removed or edited in the meantime, then this will also result in updates that are not directly related to whatever triggered this update. The idea is to use this for each assignment update to ensure that on-wiki assignment templates remain accurate and up-to-date.
Edit
git clone [email protected]:wikieducationfoundation/wikiedudashboard.git
cd wikiedudashboard
open lib/wiki_course_edits.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-WikiCourseEdits-update_assignments-for-pr
# Commit to gitgit add lib/wiki_course_edits.rbgit commit -m "better docs for WikiCourseEdits#update_assignments"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-WikiCourseEdits-update_assignments-for-pr
hub pull-request
# Celebrate!