qti 2.23.1 → 2.23.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a3bdd61348e25e10bc6be36542bdac9fc662a5360387f8e987e8340795d377c
|
4
|
+
data.tar.gz: 228cf78fd4b6b872b0cb09d5e8309b7939fa166b8b8369fa138280f528fbdf82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6012a91afe2a875c5086a05b38b1d4d9aff8a24c991e289c20fd4d724a341cf7510180d302e057d28ae8abcda15773505ce9d53dc93fa317b644c2699e55ddfe
|
7
|
+
data.tar.gz: c51a879f2bb00dcbbe25d42fc1b5b11464efbe8635b5091bb58d3dee313479a8a734319455ab022080eed81193910fdd3c5de28f4a7dfaac863969a10104d753
|
@@ -129,7 +129,7 @@ module Qti
|
|
129
129
|
choice = {
|
130
130
|
id: bnode_id,
|
131
131
|
position: index + 1,
|
132
|
-
item_body: bnode.at_xpath('.//xmlns:mattext').
|
132
|
+
item_body: bnode.at_xpath('.//xmlns:mattext').inner_html
|
133
133
|
}
|
134
134
|
@blank_choices ||= {}
|
135
135
|
@blank_choices[bnode_id] = choice
|
data/lib/qti/version.rb
CHANGED
@@ -80,12 +80,12 @@
|
|
80
80
|
</response_lid>
|
81
81
|
<response_lid ident="response_a053119f-6a61-4372-ac79-4b2a7de0232f">
|
82
82
|
<material>
|
83
|
-
<mattext>^orange
|
83
|
+
<mattext>^orange<s>$</mattext>
|
84
84
|
</material>
|
85
85
|
<render_choice>
|
86
86
|
<response_label ident="a053119f-6a61-4372-ac79-4b2a7de0232f-0" scoring_algorithm='TextRegex' answer_type='openEntry'>
|
87
87
|
<material>
|
88
|
-
<mattext texttype="text/plain">^orange
|
88
|
+
<mattext texttype="text/plain">^orange<s>$</mattext>
|
89
89
|
</material>
|
90
90
|
</response_label>
|
91
91
|
</render_choice>
|
@@ -243,7 +243,7 @@ describe Qti::V1::Models::Interactions::FillBlankInteraction do
|
|
243
243
|
41dfd716-8fd9-466a-97fa-33d353e44b42-1
|
244
244
|
a053119f-6a61-4372-ac79-4b2a7de0232f-0]
|
245
245
|
end
|
246
|
-
let(:scoring_data_values) { %w[red blue green yellow teal ^orange
|
246
|
+
let(:scoring_data_values) { %w[red blue green yellow teal ^orange<s>$] }
|
247
247
|
let(:scoring_data_case) { %w[no no no no no no] }
|
248
248
|
let(:scoring_data_algorithm) do
|
249
249
|
%w[TextContainsAnswer TextCloseEnough TextEquivalence TextInChoices TextInChoices TextRegex]
|
@@ -284,7 +284,7 @@ describe Qti::V1::Models::Interactions::FillBlankInteraction do
|
|
284
284
|
type: 'blank' },
|
285
285
|
{ id: 'stem_8', position: 9, type: 'text', value: ', and ' },
|
286
286
|
{ blank_id: 'response_a053119f-6a61-4372-ac79-4b2a7de0232f',
|
287
|
-
blank_name: '^orange
|
287
|
+
blank_name: '^orange<s>$',
|
288
288
|
id: 'stem_9',
|
289
289
|
position: 10,
|
290
290
|
type: 'blank' },
|
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.23.
|
4
|
+
version: 2.23.2
|
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: 2024-
|
15
|
+
date: 2024-07-15 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: actionview
|