qti 2.22.2 → 2.22.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f42c63611259820188bc8dec017059b4677254551abfba0e35b170887839b719
|
|
4
|
+
data.tar.gz: 2a980a3ee7152342694ec380a9bdbc44fe76a52fc19c0de7c1bb909d8fe96194
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e494dd40e060fa1f06ac31651a9ca0d60a96f334f4a7740582ba7909dcd7ba2392084f75845b7fa9b7d0824330a24e318ac655acd6d003ceb5d08f9681ed525
|
|
7
|
+
data.tar.gz: cbf7b1158da32cbd4c262fd24dd41ab9e850c52b72759731c8e3e89c3dcc6681ea0c254c6ddd7b59e2b6d74a7e731f2e30b331bd1ddd81411d0a6769c998634b
|
|
@@ -21,7 +21,7 @@ module Qti
|
|
|
21
21
|
mattext = lid_node.at_xpath('.//xmlns:mattext')
|
|
22
22
|
inner_content = return_inner_content!(mattext)
|
|
23
23
|
item_body = sanitize_content!(inner_content)
|
|
24
|
-
{ id: lid_node.attributes['ident'].value,
|
|
24
|
+
{ id: lid_node.attributes['ident'].value, item_body: item_body }
|
|
25
25
|
end
|
|
26
26
|
end
|
|
27
27
|
|
data/lib/qti/version.rb
CHANGED
|
@@ -47,8 +47,8 @@ describe Qti::V1::Models::Interactions::MatchInteraction do
|
|
|
47
47
|
end
|
|
48
48
|
let(:expected_questions) do
|
|
49
49
|
[
|
|
50
|
-
{ id: 'question_1',
|
|
51
|
-
{ id: 'question_2',
|
|
50
|
+
{ id: 'question_1', item_body: 'Light Microscope' },
|
|
51
|
+
{ id: 'question_2', item_body: 'Electron Microscopes' }
|
|
52
52
|
]
|
|
53
53
|
end
|
|
54
54
|
let(:expected_scoring_data) do
|
|
@@ -73,10 +73,10 @@ describe Qti::V1::Models::Interactions::MatchInteraction do
|
|
|
73
73
|
let(:expected_answers) { '1,2,,C,D,E,F,3,4,5,6'.split(',') }
|
|
74
74
|
let(:expected_questions) do
|
|
75
75
|
[
|
|
76
|
-
{ id: 'response_6831',
|
|
77
|
-
{ id: 'response_6259',
|
|
78
|
-
{ id: 'response_743',
|
|
79
|
-
{ id: 'response_1943',
|
|
76
|
+
{ id: 'response_6831', item_body: 'A' },
|
|
77
|
+
{ id: 'response_6259', item_body: 'B' },
|
|
78
|
+
{ id: 'response_743', item_body: '' },
|
|
79
|
+
{ id: 'response_1943', item_body: '' }
|
|
80
80
|
]
|
|
81
81
|
end
|
|
82
82
|
let(:expected_scoring_data) do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: qti
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.22.
|
|
4
|
+
version: 2.22.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adrian Diaz
|
|
@@ -12,7 +12,7 @@ authors:
|
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: bin
|
|
14
14
|
cert_chain: []
|
|
15
|
-
date: 2023-
|
|
15
|
+
date: 2023-09-11 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: actionview
|