From 63706636f951ae27d1e431cc7e90833c02b739df Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 23 Mar 2013 07:41:39 -0400 Subject: [PATCH] Bump to version 0.4 Changes since 0.3: * Added a WSGI-based HTML interface. * Added user keys to answer database and stack (for multi-user support in the WSGI interface). * Added Question.accept_all for open-ended questions. * Extended ChoiceQuestion to support multiple choice questions (display_choices) which default to "select one of ...", but can be configured to "select all that apply" (multiple_answer). * Added a new software-carpentry-pre-assessment quiz. * Assorted minor fixups. I bumped any existing quizzes that use new features to v0.4, but left the others alone. --- quizzer/__init__.py | 2 +- quizzer/quiz.py | 1 + quizzes/software-carpentry-pre-assessment.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/quizzer/__init__.py b/quizzer/__init__.py index 80a070b..582e0ae 100644 --- a/quizzer/__init__.py +++ b/quizzer/__init__.py @@ -20,7 +20,7 @@ import logging as _logging -__version__ = '0.3' +__version__ = '0.4' LOG = _logging.getLogger(__name__) LOG.setLevel(_logging.DEBUG) diff --git a/quizzer/quiz.py b/quizzer/quiz.py index 70cc7ff..6161fc2 100644 --- a/quizzer/quiz.py +++ b/quizzer/quiz.py @@ -97,3 +97,4 @@ class Quiz (list): return data _upgrade_from_0_2 = _upgrade_from_0_1 + _upgrade_from_0_3 = _upgrade_from_0_1 diff --git a/quizzes/software-carpentry-pre-assessment.json b/quizzes/software-carpentry-pre-assessment.json index 14341d0..8392a6d 100644 --- a/quizzes/software-carpentry-pre-assessment.json +++ b/quizzes/software-carpentry-pre-assessment.json @@ -1,5 +1,5 @@ { - "version": "0.3", + "version": "0.4", "copyright": [ "Copyright (C) 2013 Greg Wilson ", "", -- 2.26.2