amee-data-abstraction 1.3.0 → 1.3.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.
- data/VERSION +1 -1
- data/lib/amee-data-abstraction/calculation_set.rb +2 -2
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.3.
|
|
1
|
+
1.3.1
|
|
@@ -213,9 +213,9 @@ module AMEE
|
|
|
213
213
|
if term.is_a?(AMEE::DataAbstraction::Input)
|
|
214
214
|
string += " fixed \"#{term.value}\"\n" if term.fixed? && !term.value.blank?
|
|
215
215
|
if term.is_a?(AMEE::DataAbstraction::Drill)
|
|
216
|
-
string += " choices \"#{term.choices.join('
|
|
216
|
+
string += " choices \"#{term.choices.join('","')}\"\n" if term.instance_variable_defined?("@choices") && !term.choices.blank?
|
|
217
217
|
elsif term.is_a?(AMEE::DataAbstraction::Profile)
|
|
218
|
-
string += " choices [\"#{term.choices.join('
|
|
218
|
+
string += " choices [\"#{term.choices.join('","')}\"]\n" if term.instance_variable_defined?("@choices") && !term.choices.blank?
|
|
219
219
|
end
|
|
220
220
|
string += " optional!\n" if term.optional?
|
|
221
221
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: amee-data-abstraction
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 1.3.
|
|
9
|
+
- 1
|
|
10
|
+
version: 1.3.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- James Hetherington
|