TriviaMD 0.1.3 → 0.1.4

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 +3 -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: ea7d8b0baa803ab62daaf63ac882c723e13ee9b2e7eb6a8558997516d2290093
4
+ data.tar.gz: 3601c0ae381b8b9ad0f0a04404094b371afa2f45e32449ce0035500390463df0
5
5
  SHA512:
6
- metadata.gz: 1861a36257a03a037e77c88fc7d425d799687f4039c07e77b2280c6e16d5c8a37e8b2039b5b4b5b26870f813119f7a8d1e4be7f8ec8b559309c46a33625304b4
7
- data.tar.gz: 4173ebda5265d03df1532900ff5400c8b38c106302d4cfe053a08ba41be06e9a83f25b0edebd313ee1913a5207e8efcba352a359e011329a82d0712fdc1b5c82
6
+ metadata.gz: c988e5b9a698b8477a4b276ac84853131a7cd9e261d3131405ed6dab8902c0533c16340ac1728144560d6c6d3bcaefa21035fa4a53e5c4330a331d0945e53f47
7
+ data.tar.gz: f1c9ff7f1cddbc94885dd402f90e02facb6e8aa76d08031689dc86669a6bd2ea6adbf37af4ac8b3cbd0eef94bb761afc26d8addc9767e311f335b0daee1bed03
data/lib/quizzes_v1.rb CHANGED
@@ -38,7 +38,9 @@ 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
+ points_possible: 1
42
44
  }
43
45
  }
44
46
  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.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bence Pjatacsuk