From 963850b89c49d3844610e91e99af29fdbe614571 Mon Sep 17 00:00:00 2001 From: Will Crichton Date: Tue, 1 Oct 2024 14:46:28 -0400 Subject: [PATCH] Fix type with cache-answers key. Release 0.3.10 --- Cargo.lock | 6 +++--- crates/mdbook-quiz-schema/Cargo.toml | 2 +- crates/mdbook-quiz-validate/Cargo.toml | 2 +- crates/mdbook-quiz/Cargo.toml | 2 +- crates/mdbook-quiz/src/main.rs | 2 +- js/packages/quiz-embed/package.json | 2 +- js/packages/quiz/package.json | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9a5499d..7a1d9e9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1145,7 +1145,7 @@ dependencies = [ [[package]] name = "mdbook-quiz" -version = "0.3.9" +version = "0.3.10" dependencies = [ "anyhow", "clap", @@ -1165,7 +1165,7 @@ dependencies = [ [[package]] name = "mdbook-quiz-schema" -version = "0.3.9" +version = "0.3.10" dependencies = [ "schemars", "serde", @@ -1176,7 +1176,7 @@ dependencies = [ [[package]] name = "mdbook-quiz-validate" -version = "0.3.9" +version = "0.3.10" dependencies = [ "anyhow", "fluid-let", diff --git a/crates/mdbook-quiz-schema/Cargo.toml b/crates/mdbook-quiz-schema/Cargo.toml index af450d9..bc7dc15 100644 --- a/crates/mdbook-quiz-schema/Cargo.toml +++ b/crates/mdbook-quiz-schema/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mdbook-quiz-schema" -version = "0.3.9" +version = "0.3.10" authors = ["Will Crichton "] description = "Schema for quizzes used in mdbook-quiz" license = "MIT OR Apache-2.0" diff --git a/crates/mdbook-quiz-validate/Cargo.toml b/crates/mdbook-quiz-validate/Cargo.toml index c743528..1d16ca6 100644 --- a/crates/mdbook-quiz-validate/Cargo.toml +++ b/crates/mdbook-quiz-validate/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mdbook-quiz-validate" -version = "0.3.9" +version = "0.3.10" authors = ["Will Crichton "] description = "Input validation for quizzes used in mdbook-quiz" license = "MIT OR Apache-2.0" diff --git a/crates/mdbook-quiz/Cargo.toml b/crates/mdbook-quiz/Cargo.toml index dd6654e..6fdeaad 100644 --- a/crates/mdbook-quiz/Cargo.toml +++ b/crates/mdbook-quiz/Cargo.toml @@ -3,7 +3,7 @@ name = "mdbook-quiz" authors = ["Will Crichton "] description = "Interactive quizzes for your mdBook" license = "MIT OR Apache-2.0" -version = "0.3.9" +version = "0.3.10" edition = "2021" include = ["/src", "/js"] repository = "https://github.com/cognitive-engineering-lab/mdbook-quiz" diff --git a/crates/mdbook-quiz/src/main.rs b/crates/mdbook-quiz/src/main.rs index 9762b05..90d90c2 100644 --- a/crates/mdbook-quiz/src/main.rs +++ b/crates/mdbook-quiz/src/main.rs @@ -159,7 +159,7 @@ impl QuizPreprocessor { } if let Some(true) = self.config.cache_answers { if !self.config.dev_mode { - html.data("quiz-quiz-cache-answers", true)?; + html.data("quiz-cache-answers", true)?; } } if let Some(lang) = &self.config.default_language { diff --git a/js/packages/quiz-embed/package.json b/js/packages/quiz-embed/package.json index 03a70d8..448d136 100644 --- a/js/packages/quiz-embed/package.json +++ b/js/packages/quiz-embed/package.json @@ -1,6 +1,6 @@ { "name": "@wcrichto/quiz-embed", - "version": "0.3.9", + "version": "0.3.10", "depot": { "platform": "browser" }, diff --git a/js/packages/quiz/package.json b/js/packages/quiz/package.json index ea16984..8b72187 100644 --- a/js/packages/quiz/package.json +++ b/js/packages/quiz/package.json @@ -1,6 +1,6 @@ { "name": "@wcrichto/quiz", - "version": "0.3.9", + "version": "0.3.10", "files": [ "dist" ],