qti 2.22.2 → 2.22.3

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: 741703a8337d31961ab9ce07b394f6c9bb3484d2672f79f13a75ccd56234ad8e
4
- data.tar.gz: 534f9d8da9a9e427cefb09765856fe7308e1d23c7710329358751cab3f48a713
3
+ metadata.gz: f42c63611259820188bc8dec017059b4677254551abfba0e35b170887839b719
4
+ data.tar.gz: 2a980a3ee7152342694ec380a9bdbc44fe76a52fc19c0de7c1bb909d8fe96194
5
5
  SHA512:
6
- metadata.gz: bc88bd3ff406a0283589bcdb992506fe6994fa7cdae1a26422c3f24edd15a7c4a4041e6915c96d7e2a9cbc0a2ea8289e103df8baa2e2ccffe893b3ed9cbac7ee
7
- data.tar.gz: 3a2cf6f3599f66f1e8ca178af12e1115d267bcccbdf1145401f127e923aa5d6bd35976885f892ff4f576de7291a366d7044bbc48d8b70f53b807f2a369f59275
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, itemBody: item_body }
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
@@ -1,3 +1,3 @@
1
1
  module Qti
2
- VERSION = '2.22.2'.freeze
2
+ VERSION = '2.22.3'.freeze
3
3
  end
@@ -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', itemBody: 'Light Microscope' },
51
- { id: 'question_2', itemBody: 'Electron Microscopes' }
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', itemBody: 'A' },
77
- { id: 'response_6259', itemBody: 'B' },
78
- { id: 'response_743', itemBody: '' },
79
- { id: 'response_1943', itemBody: '' }
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.2
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-08-31 00:00:00.000000000 Z
15
+ date: 2023-09-11 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: actionview