TriviaMD 0.1.3 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/quizzes_v1.rb +5 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19835c608ce43770c06cb5445f861fbcc0bff7cc8c21fc6f00f13e6f6c31b557
4
- data.tar.gz: bd1ad6450a61bda0422c1c4dfeec351306d2744c1a902a3f6e3aee8b02d25ff1
3
+ metadata.gz: 847f2e364b5b1118c064f21dfcc93f9038a1caa8b628e3bd594059def01bb6e3
4
+ data.tar.gz: 695a7af4b76beb415b9ace4c026c5390a3d157a3ae7698a5e3d7ae69dd4c132d
5
5
  SHA512:
6
- metadata.gz: 1861a36257a03a037e77c88fc7d425d799687f4039c07e77b2280c6e16d5c8a37e8b2039b5b4b5b26870f813119f7a8d1e4be7f8ec8b559309c46a33625304b4
7
- data.tar.gz: 4173ebda5265d03df1532900ff5400c8b38c106302d4cfe053a08ba41be06e9a83f25b0edebd313ee1913a5207e8efcba352a359e011329a82d0712fdc1b5c82
6
+ metadata.gz: 29dd27234614d21c20b59c6053d8f7712412326b9f92c3f4947cbd75f283b63a5ed12a0bbc3cd21292ab1e6baa8291948794f5028109c734583486644b3991aa
7
+ data.tar.gz: 4fdbbe25ce3051a02f243c94d17a5956f16d06e2cd031d9c228ed2c1741f1a21015834abe991fc8f92cfe3903b13e9022267ebde3129b1e60a2e47eda812108a
data/lib/quizzes_v1.rb CHANGED
@@ -38,7 +38,11 @@ class QuizzesV1
38
38
  body = {
39
39
  question: {
40
40
  question_text: question["question"],
41
- question_type: "multiple_answers_question"
41
+ question_type: "multiple_answers_question",
42
+ neutral_comments: question["reason"],
43
+ correct_comments: question["reason"],
44
+ incorrect_comments: question["reason"],
45
+ points_possible: 1
42
46
  }
43
47
  }
44
48
  body[:question][:answers] = question["answers"].map do |a|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: TriviaMD
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bence Pjatacsuk