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: bd8303859118b11ead1859869efcadb1345b74da5c0d03099d961ed8ed33439d
4
- data.tar.gz: 5f7e10b30898792b696d61cb14bc9a117c027462df0da9b5c35a347f98df62b6
3
+ metadata.gz: 0a3bdd61348e25e10bc6be36542bdac9fc662a5360387f8e987e8340795d377c
4
+ data.tar.gz: 228cf78fd4b6b872b0cb09d5e8309b7939fa166b8b8369fa138280f528fbdf82
5
5
  SHA512:
6
- metadata.gz: faf84243d53822d2bb64712f5ea2215377199e956bec31e11d55a6d361b8f4c5509a2c7516c04b33141509877b2ad7f2c17b116b8bfbb9377f896212190ff298
7
- data.tar.gz: 854b534ca6c5b4d30f6bca3287144fdfc884e7a977ea2d875d226da0ddeb41d0da5b5294c0371444da630f049209259ff222cf986b998b45cebec5279938edf3
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').text
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
@@ -1,3 +1,3 @@
1
1
  module Qti
2
- VERSION = '2.23.1'.freeze
2
+ VERSION = '2.23.2'.freeze
3
3
  end
@@ -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$</mattext>
83
+ <mattext>^orange&lt;s&gt;$</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$</mattext>
88
+ <mattext texttype="text/plain">^orange&lt;s&gt;$</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&lt;s&gt;$',
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.1
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-06-25 00:00:00.000000000 Z
15
+ date: 2024-07-15 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: actionview