dmtd_vbmapp_data 1.2.0 → 1.2.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/dmtd_vbmapp_data/protocol_area_question.rb +10 -7
- data/lib/dmtd_vbmapp_data/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50dd243670d9f41fff63ca36ddae563e396a3c13
|
4
|
+
data.tar.gz: cd4725291ba05388c26e7cecee6e358523a74661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06766f9c656810a036cee77bcf70666e2953c774206019b9ffa1a00a0825a8921afa058b80d3426547f72d2fdaf079bc1e4fbc25c35ef24ff0f7b994442371cc
|
7
|
+
data.tar.gz: 3a75ee30f2a21f8fb75ac31bbb75c1ab2015dc4367f11d9dbe461b031305bace64f12d3a7978ce2475b0061f8b94f7fa47944fdbe66d78d13089d18babb5ff77
|
data/CHANGELOG.md
CHANGED
@@ -45,6 +45,10 @@ module DmtdVbmappData
|
|
45
45
|
# @return [String] a title to display at the top of a grid column
|
46
46
|
attr_reader :title
|
47
47
|
|
48
|
+
# @!attribute [r] level
|
49
|
+
# @return [Integer] the level number of the question (only when area == :milestones)
|
50
|
+
attr_reader :level
|
51
|
+
|
48
52
|
# Creates an accessor for the VB-MAPP Area Question on the VB-MAPP Data Server
|
49
53
|
#
|
50
54
|
# @note This method does *not* block, simply creates an accessor and returns
|
@@ -60,15 +64,14 @@ module DmtdVbmappData
|
|
60
64
|
@group = opts.fetch(:group).to_sym
|
61
65
|
question_json = opts.fetch(:question_json)
|
62
66
|
|
63
|
-
|
64
|
-
@
|
65
|
-
@
|
66
|
-
|
67
|
-
@example = question_json[:example] || guide_content_json[:examples]
|
68
|
-
@materials = question_json[:materials] || guide_content_json[:materials]
|
67
|
+
@definition = question_json[:definition]
|
68
|
+
@objective = question_json[:objective]
|
69
|
+
@example = question_json[:example]
|
70
|
+
@materials = question_json[:materials]
|
69
71
|
@number = question_json[:number].to_i
|
70
72
|
@text = question_json[:text]
|
71
|
-
@title = question_json[:title]
|
73
|
+
@title = question_json[:title]
|
74
|
+
@level = question_json[:level]
|
72
75
|
@responses_json_array = question_json[:responses]
|
73
76
|
end
|
74
77
|
|