qti 2.0.0 → 2.4.1
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 +5 -5
- data/lib/qti.rb +1 -0
- data/lib/qti/models/assessment_meta.rb +78 -3
- data/lib/qti/models/resource.rb +26 -2
- data/lib/qti/v1/models/interactions/base_fill_blank_interaction.rb +33 -1
- data/lib/qti/v1/models/interactions/canvas_multiple_dropdown.rb +2 -29
- data/lib/qti/v1/models/object_bank.rb +14 -0
- data/lib/qti/version.rb +1 -1
- data/spec/fixtures/items_1.2/canvas_multiple_fib_extra_brackets.xml +244 -0
- data/spec/fixtures/test_qti_1.2_canvas_extended_1/gba044ae1fc7cfd3dc413e0df695e0068/assessment_meta.xml +76 -0
- data/spec/fixtures/test_qti_1.2_canvas_extended_1/gba044ae1fc7cfd3dc413e0df695e0068/gba044ae1fc7cfd3dc413e0df695e0068.xml +17 -0
- data/spec/fixtures/test_qti_1.2_canvas_extended_1/imsmanifest.xml +39 -0
- data/spec/fixtures/test_qti_1.2_canvas_extended_2/gba044ae1fc7cfd3dc413e0df695e0068/assessment_meta.xml +76 -0
- data/spec/fixtures/test_qti_1.2_canvas_extended_2/gba044ae1fc7cfd3dc413e0df695e0068/gba044ae1fc7cfd3dc413e0df695e0068.xml +17 -0
- data/spec/fixtures/test_qti_1.2_canvas_extended_2/imsmanifest.xml +39 -0
- data/spec/fixtures/with_banks/g9a20cf3af178b54e4792cbe992f65790/assessment_meta.xml +69 -0
- data/spec/fixtures/with_banks/g9a20cf3af178b54e4792cbe992f65790/assessment_qti.xml +99 -0
- data/spec/fixtures/with_banks/imsmanifest.xml +54 -0
- data/spec/fixtures/with_banks/non_cc_assessments/g195e078fb6e3c4054e38e5c9226287ba.xml.qti +85 -0
- data/spec/fixtures/with_banks/non_cc_assessments/g9a20cf3af178b54e4792cbe992f65790.xml.qti +107 -0
- data/spec/fixtures/with_banks/non_cc_assessments/gab22de457404cb5cf022078f1e4da75e.xml.qti +59 -0
- data/spec/fixtures/with_banks/non_cc_assessments/gf3edf8167be16b3a65a00ca923132b07.xml.qti +145 -0
- data/spec/lib/qti/models/assessment_meta_spec.rb +104 -2
- data/spec/lib/qti/models/resource_spec.rb +14 -0
- data/spec/lib/qti/v1/models/interactions/base_fill_blank_interaction_spec.rb +146 -0
- data/spec/lib/qti/v1/models/interactions/canvas_multiple_dropdown_spec.rb +0 -27
- data/spec/lib/qti/v1/models/object_bank_spec.rb +39 -0
- metadata +38 -12
- data/spec/gemfiles/nokogiri-1.6.gemfile.lock +0 -149
- data/spec/gemfiles/nokogiri-1.8.gemfile.lock +0 -149
- data/spec/gemfiles/rails-5.2.gemfile.lock +0 -222
@@ -1,149 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../..
|
3
|
-
specs:
|
4
|
-
mathml2latex (0.1.2)
|
5
|
-
activesupport (>= 4.2.9, < 5.2)
|
6
|
-
nokogiri (>= 1.6.8)
|
7
|
-
qti (0.9.15)
|
8
|
-
actionview (>= 4.2.0)
|
9
|
-
activesupport (>= 4.2.9, < 5.2)
|
10
|
-
dry-struct (~> 0.2.1)
|
11
|
-
dry-types (~> 0.12.0)
|
12
|
-
mathml2latex (>= 0.1.0)
|
13
|
-
nokogiri (>= 1.6.8, < 1.9)
|
14
|
-
rubyzip (~> 1.2)
|
15
|
-
sanitize (>= 4.2.0, < 5.0)
|
16
|
-
|
17
|
-
GEM
|
18
|
-
remote: https://rubygems.org/
|
19
|
-
specs:
|
20
|
-
actionview (5.1.6)
|
21
|
-
activesupport (= 5.1.6)
|
22
|
-
builder (~> 3.1)
|
23
|
-
erubi (~> 1.4)
|
24
|
-
rails-dom-testing (~> 2.0)
|
25
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
26
|
-
activesupport (5.1.6)
|
27
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
28
|
-
i18n (>= 0.7, < 2)
|
29
|
-
minitest (~> 5.1)
|
30
|
-
tzinfo (~> 1.1)
|
31
|
-
ast (2.4.0)
|
32
|
-
builder (3.2.3)
|
33
|
-
byebug (9.1.0)
|
34
|
-
coderay (1.1.2)
|
35
|
-
concurrent-ruby (1.0.5)
|
36
|
-
crass (1.0.4)
|
37
|
-
diff-lcs (1.3)
|
38
|
-
docile (1.3.0)
|
39
|
-
dry-configurable (0.7.0)
|
40
|
-
concurrent-ruby (~> 1.0)
|
41
|
-
dry-container (0.6.0)
|
42
|
-
concurrent-ruby (~> 1.0)
|
43
|
-
dry-configurable (~> 0.1, >= 0.1.3)
|
44
|
-
dry-core (0.4.5)
|
45
|
-
concurrent-ruby (~> 1.0)
|
46
|
-
dry-equalizer (0.2.0)
|
47
|
-
dry-logic (0.4.2)
|
48
|
-
dry-container (~> 0.2, >= 0.2.6)
|
49
|
-
dry-core (~> 0.2)
|
50
|
-
dry-equalizer (~> 0.2)
|
51
|
-
dry-struct (0.2.1)
|
52
|
-
dry-configurable (~> 0.1)
|
53
|
-
dry-equalizer (~> 0.2)
|
54
|
-
dry-types (~> 0.9, >= 0.9.0)
|
55
|
-
ice_nine (~> 0.11)
|
56
|
-
dry-types (0.12.2)
|
57
|
-
concurrent-ruby (~> 1.0)
|
58
|
-
dry-configurable (~> 0.1)
|
59
|
-
dry-container (~> 0.3)
|
60
|
-
dry-core (~> 0.2, >= 0.2.1)
|
61
|
-
dry-equalizer (~> 0.2)
|
62
|
-
dry-logic (~> 0.4, >= 0.4.2)
|
63
|
-
inflecto (~> 0.0.0, >= 0.0.2)
|
64
|
-
erubi (1.7.1)
|
65
|
-
i18n (1.0.1)
|
66
|
-
concurrent-ruby (~> 1.0)
|
67
|
-
ice_nine (0.11.2)
|
68
|
-
inflecto (0.0.2)
|
69
|
-
json (2.1.0)
|
70
|
-
loofah (2.2.2)
|
71
|
-
crass (~> 1.0.2)
|
72
|
-
nokogiri (>= 1.5.9)
|
73
|
-
method_source (0.9.0)
|
74
|
-
mini_portile2 (2.3.0)
|
75
|
-
minitest (5.11.3)
|
76
|
-
nokogiri (1.8.2)
|
77
|
-
mini_portile2 (~> 2.3.0)
|
78
|
-
nokogumbo (1.5.0)
|
79
|
-
nokogiri
|
80
|
-
parallel (1.12.1)
|
81
|
-
parser (2.5.0.5)
|
82
|
-
ast (~> 2.4.0)
|
83
|
-
powerpack (0.1.1)
|
84
|
-
pry (0.11.3)
|
85
|
-
coderay (~> 1.1.0)
|
86
|
-
method_source (~> 0.9.0)
|
87
|
-
rails-dom-testing (2.0.3)
|
88
|
-
activesupport (>= 4.2.0)
|
89
|
-
nokogiri (>= 1.6)
|
90
|
-
rails-html-sanitizer (1.0.4)
|
91
|
-
loofah (~> 2.2, >= 2.2.2)
|
92
|
-
rainbow (2.2.2)
|
93
|
-
rake
|
94
|
-
rake (0.9.6)
|
95
|
-
rspec (3.7.0)
|
96
|
-
rspec-core (~> 3.7.0)
|
97
|
-
rspec-expectations (~> 3.7.0)
|
98
|
-
rspec-mocks (~> 3.7.0)
|
99
|
-
rspec-core (3.7.1)
|
100
|
-
rspec-support (~> 3.7.0)
|
101
|
-
rspec-expectations (3.7.0)
|
102
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
103
|
-
rspec-support (~> 3.7.0)
|
104
|
-
rspec-mocks (3.7.0)
|
105
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
106
|
-
rspec-support (~> 3.7.0)
|
107
|
-
rspec-support (3.7.1)
|
108
|
-
rubocop (0.50.0)
|
109
|
-
parallel (~> 1.10)
|
110
|
-
parser (>= 2.3.3.1, < 3.0)
|
111
|
-
powerpack (~> 0.1)
|
112
|
-
rainbow (>= 2.2.2, < 3.0)
|
113
|
-
ruby-progressbar (~> 1.7)
|
114
|
-
unicode-display_width (~> 1.0, >= 1.0.1)
|
115
|
-
ruby-progressbar (1.9.0)
|
116
|
-
rubyzip (1.2.1)
|
117
|
-
sanitize (4.6.4)
|
118
|
-
crass (~> 1.0.2)
|
119
|
-
nokogiri (>= 1.4.4)
|
120
|
-
nokogumbo (~> 1.4)
|
121
|
-
simplecov (0.16.1)
|
122
|
-
docile (~> 1.1)
|
123
|
-
json (>= 1.8, < 3)
|
124
|
-
simplecov-html (~> 0.10.0)
|
125
|
-
simplecov-html (0.10.2)
|
126
|
-
thread_safe (0.3.6)
|
127
|
-
tzinfo (1.2.5)
|
128
|
-
thread_safe (~> 0.1)
|
129
|
-
unicode-display_width (1.3.0)
|
130
|
-
wwtd (1.3.0)
|
131
|
-
|
132
|
-
PLATFORMS
|
133
|
-
ruby
|
134
|
-
|
135
|
-
DEPENDENCIES
|
136
|
-
bundler (~> 1.15)
|
137
|
-
byebug (~> 9.0)
|
138
|
-
nokogiri (~> 1.8.1)
|
139
|
-
pry (~> 0)
|
140
|
-
qti!
|
141
|
-
rake (~> 0)
|
142
|
-
rspec (~> 3.6)
|
143
|
-
rspec-mocks (~> 3.6)
|
144
|
-
rubocop (~> 0.50.0)
|
145
|
-
simplecov (~> 0)
|
146
|
-
wwtd (~> 1.3)
|
147
|
-
|
148
|
-
BUNDLED WITH
|
149
|
-
1.16.1
|
@@ -1,222 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../..
|
3
|
-
specs:
|
4
|
-
mathml2latex (1.0.0)
|
5
|
-
activesupport (>= 5.0.7, < 5.3)
|
6
|
-
nokogiri (>= 1.7.2)
|
7
|
-
qti (1.0.3)
|
8
|
-
actionview (>= 5.0.7, < 5.3)
|
9
|
-
activesupport (>= 5.0.7, < 5.3)
|
10
|
-
dry-struct (~> 0.2.1)
|
11
|
-
dry-types (~> 0.12.0)
|
12
|
-
mathml2latex (~> 1.0)
|
13
|
-
nokogiri (~> 1.8)
|
14
|
-
rubyzip (~> 1.2)
|
15
|
-
sanitize (~> 4.6, >= 4.6.3)
|
16
|
-
|
17
|
-
GEM
|
18
|
-
remote: https://rubygems.org/
|
19
|
-
specs:
|
20
|
-
actioncable (5.2.1)
|
21
|
-
actionpack (= 5.2.1)
|
22
|
-
nio4r (~> 2.0)
|
23
|
-
websocket-driver (>= 0.6.1)
|
24
|
-
actionmailer (5.2.1)
|
25
|
-
actionpack (= 5.2.1)
|
26
|
-
actionview (= 5.2.1)
|
27
|
-
activejob (= 5.2.1)
|
28
|
-
mail (~> 2.5, >= 2.5.4)
|
29
|
-
rails-dom-testing (~> 2.0)
|
30
|
-
actionpack (5.2.1)
|
31
|
-
actionview (= 5.2.1)
|
32
|
-
activesupport (= 5.2.1)
|
33
|
-
rack (~> 2.0)
|
34
|
-
rack-test (>= 0.6.3)
|
35
|
-
rails-dom-testing (~> 2.0)
|
36
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
37
|
-
actionview (5.2.1)
|
38
|
-
activesupport (= 5.2.1)
|
39
|
-
builder (~> 3.1)
|
40
|
-
erubi (~> 1.4)
|
41
|
-
rails-dom-testing (~> 2.0)
|
42
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
43
|
-
activejob (5.2.1)
|
44
|
-
activesupport (= 5.2.1)
|
45
|
-
globalid (>= 0.3.6)
|
46
|
-
activemodel (5.2.1)
|
47
|
-
activesupport (= 5.2.1)
|
48
|
-
activerecord (5.2.1)
|
49
|
-
activemodel (= 5.2.1)
|
50
|
-
activesupport (= 5.2.1)
|
51
|
-
arel (>= 9.0)
|
52
|
-
activestorage (5.2.1)
|
53
|
-
actionpack (= 5.2.1)
|
54
|
-
activerecord (= 5.2.1)
|
55
|
-
marcel (~> 0.3.1)
|
56
|
-
activesupport (5.2.1)
|
57
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
58
|
-
i18n (>= 0.7, < 2)
|
59
|
-
minitest (~> 5.1)
|
60
|
-
tzinfo (~> 1.1)
|
61
|
-
arel (9.0.0)
|
62
|
-
ast (2.4.0)
|
63
|
-
builder (3.2.3)
|
64
|
-
byebug (9.1.0)
|
65
|
-
coderay (1.1.2)
|
66
|
-
concurrent-ruby (1.0.5)
|
67
|
-
crass (1.0.4)
|
68
|
-
diff-lcs (1.3)
|
69
|
-
docile (1.3.1)
|
70
|
-
dry-configurable (0.7.0)
|
71
|
-
concurrent-ruby (~> 1.0)
|
72
|
-
dry-container (0.6.0)
|
73
|
-
concurrent-ruby (~> 1.0)
|
74
|
-
dry-configurable (~> 0.1, >= 0.1.3)
|
75
|
-
dry-core (0.4.7)
|
76
|
-
concurrent-ruby (~> 1.0)
|
77
|
-
dry-equalizer (0.2.1)
|
78
|
-
dry-logic (0.4.2)
|
79
|
-
dry-container (~> 0.2, >= 0.2.6)
|
80
|
-
dry-core (~> 0.2)
|
81
|
-
dry-equalizer (~> 0.2)
|
82
|
-
dry-struct (0.2.1)
|
83
|
-
dry-configurable (~> 0.1)
|
84
|
-
dry-equalizer (~> 0.2)
|
85
|
-
dry-types (~> 0.9, >= 0.9.0)
|
86
|
-
ice_nine (~> 0.11)
|
87
|
-
dry-types (0.12.3)
|
88
|
-
concurrent-ruby (~> 1.0)
|
89
|
-
dry-configurable (~> 0.1)
|
90
|
-
dry-container (~> 0.3)
|
91
|
-
dry-core (~> 0.2, >= 0.2.1)
|
92
|
-
dry-equalizer (~> 0.2)
|
93
|
-
dry-logic (~> 0.4, >= 0.4.2)
|
94
|
-
inflecto (~> 0.0.0, >= 0.0.2)
|
95
|
-
erubi (1.7.1)
|
96
|
-
globalid (0.4.1)
|
97
|
-
activesupport (>= 4.2.0)
|
98
|
-
i18n (1.1.0)
|
99
|
-
concurrent-ruby (~> 1.0)
|
100
|
-
ice_nine (0.11.2)
|
101
|
-
inflecto (0.0.2)
|
102
|
-
json (2.1.0)
|
103
|
-
loofah (2.2.2)
|
104
|
-
crass (~> 1.0.2)
|
105
|
-
nokogiri (>= 1.5.9)
|
106
|
-
mail (2.7.0)
|
107
|
-
mini_mime (>= 0.1.1)
|
108
|
-
marcel (0.3.2)
|
109
|
-
mimemagic (~> 0.3.2)
|
110
|
-
method_source (0.9.0)
|
111
|
-
mimemagic (0.3.2)
|
112
|
-
mini_mime (1.0.0)
|
113
|
-
mini_portile2 (2.3.0)
|
114
|
-
minitest (5.11.3)
|
115
|
-
nio4r (2.3.1)
|
116
|
-
nokogiri (1.8.4)
|
117
|
-
mini_portile2 (~> 2.3.0)
|
118
|
-
nokogumbo (1.5.0)
|
119
|
-
nokogiri
|
120
|
-
parallel (1.12.1)
|
121
|
-
parser (2.5.1.2)
|
122
|
-
ast (~> 2.4.0)
|
123
|
-
powerpack (0.1.2)
|
124
|
-
pry (0.11.3)
|
125
|
-
coderay (~> 1.1.0)
|
126
|
-
method_source (~> 0.9.0)
|
127
|
-
rack (2.0.5)
|
128
|
-
rack-test (1.1.0)
|
129
|
-
rack (>= 1.0, < 3)
|
130
|
-
rails (5.2.1)
|
131
|
-
actioncable (= 5.2.1)
|
132
|
-
actionmailer (= 5.2.1)
|
133
|
-
actionpack (= 5.2.1)
|
134
|
-
actionview (= 5.2.1)
|
135
|
-
activejob (= 5.2.1)
|
136
|
-
activemodel (= 5.2.1)
|
137
|
-
activerecord (= 5.2.1)
|
138
|
-
activestorage (= 5.2.1)
|
139
|
-
activesupport (= 5.2.1)
|
140
|
-
bundler (>= 1.3.0)
|
141
|
-
railties (= 5.2.1)
|
142
|
-
sprockets-rails (>= 2.0.0)
|
143
|
-
rails-dom-testing (2.0.3)
|
144
|
-
activesupport (>= 4.2.0)
|
145
|
-
nokogiri (>= 1.6)
|
146
|
-
rails-html-sanitizer (1.0.4)
|
147
|
-
loofah (~> 2.2, >= 2.2.2)
|
148
|
-
railties (5.2.1)
|
149
|
-
actionpack (= 5.2.1)
|
150
|
-
activesupport (= 5.2.1)
|
151
|
-
method_source
|
152
|
-
rake (>= 0.8.7)
|
153
|
-
thor (>= 0.19.0, < 2.0)
|
154
|
-
rainbow (2.2.2)
|
155
|
-
rake
|
156
|
-
rake (0.9.6)
|
157
|
-
rspec (3.8.0)
|
158
|
-
rspec-core (~> 3.8.0)
|
159
|
-
rspec-expectations (~> 3.8.0)
|
160
|
-
rspec-mocks (~> 3.8.0)
|
161
|
-
rspec-core (3.8.0)
|
162
|
-
rspec-support (~> 3.8.0)
|
163
|
-
rspec-expectations (3.8.1)
|
164
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
165
|
-
rspec-support (~> 3.8.0)
|
166
|
-
rspec-mocks (3.8.0)
|
167
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
168
|
-
rspec-support (~> 3.8.0)
|
169
|
-
rspec-support (3.8.0)
|
170
|
-
rubocop (0.50.0)
|
171
|
-
parallel (~> 1.10)
|
172
|
-
parser (>= 2.3.3.1, < 3.0)
|
173
|
-
powerpack (~> 0.1)
|
174
|
-
rainbow (>= 2.2.2, < 3.0)
|
175
|
-
ruby-progressbar (~> 1.7)
|
176
|
-
unicode-display_width (~> 1.0, >= 1.0.1)
|
177
|
-
ruby-progressbar (1.10.0)
|
178
|
-
rubyzip (1.2.1)
|
179
|
-
sanitize (4.6.6)
|
180
|
-
crass (~> 1.0.2)
|
181
|
-
nokogiri (>= 1.4.4)
|
182
|
-
nokogumbo (~> 1.4)
|
183
|
-
simplecov (0.16.1)
|
184
|
-
docile (~> 1.1)
|
185
|
-
json (>= 1.8, < 3)
|
186
|
-
simplecov-html (~> 0.10.0)
|
187
|
-
simplecov-html (0.10.2)
|
188
|
-
sprockets (3.7.2)
|
189
|
-
concurrent-ruby (~> 1.0)
|
190
|
-
rack (> 1, < 3)
|
191
|
-
sprockets-rails (3.2.1)
|
192
|
-
actionpack (>= 4.0)
|
193
|
-
activesupport (>= 4.0)
|
194
|
-
sprockets (>= 3.0.0)
|
195
|
-
thor (0.20.0)
|
196
|
-
thread_safe (0.3.6)
|
197
|
-
tzinfo (1.2.5)
|
198
|
-
thread_safe (~> 0.1)
|
199
|
-
unicode-display_width (1.4.0)
|
200
|
-
websocket-driver (0.7.0)
|
201
|
-
websocket-extensions (>= 0.1.0)
|
202
|
-
websocket-extensions (0.1.3)
|
203
|
-
wwtd (1.3.0)
|
204
|
-
|
205
|
-
PLATFORMS
|
206
|
-
ruby
|
207
|
-
|
208
|
-
DEPENDENCIES
|
209
|
-
bundler (~> 1.15)
|
210
|
-
byebug (~> 9.0)
|
211
|
-
pry (~> 0)
|
212
|
-
qti!
|
213
|
-
rails (~> 5.2.0)
|
214
|
-
rake (~> 0)
|
215
|
-
rspec (~> 3.6)
|
216
|
-
rspec-mocks (~> 3.6)
|
217
|
-
rubocop (~> 0.50.0)
|
218
|
-
simplecov (~> 0)
|
219
|
-
wwtd (~> 1.3)
|
220
|
-
|
221
|
-
BUNDLED WITH
|
222
|
-
1.16.3
|