spout 0.8.0.rc3 → 0.8.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spout/models/variable.rb +2 -2
- data/lib/spout/templates/travis.yml +1 -1
- data/lib/spout/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e60605f5f08718770e8a7256d056a3866960d84
|
4
|
+
data.tar.gz: 77b047a1e7c90245c7796d50610220342f20581f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bae8e98ede97b0c7556ebb615e23116e729e6052ce35452e47ffa98ec08bf9be13ad4c883d011b4969808a2b76569fdea7011ad7164789d27be936cf57bc69a7
|
7
|
+
data.tar.gz: 408fe628b0bfece7d265ebc042eb3f61e43e8358626e8d3dd72b2c0a1b46e0dad7dbf03910ebb16a1c433c8f47695a8a44067b9725ce4c16f52b5bad45f1c88c
|
@@ -5,7 +5,7 @@ module Spout
|
|
5
5
|
class Variable
|
6
6
|
# VARIABLE_TYPES = ['choices', 'numeric', 'integer']
|
7
7
|
|
8
|
-
attr_accessor :id, :folder, :display_name, :description, :type, :units, :labels, :commonly_used
|
8
|
+
attr_accessor :id, :folder, :display_name, :description, :type, :units, :labels, :commonly_used, :calculation
|
9
9
|
attr_accessor :domain_name, :form_names
|
10
10
|
attr_accessor :domain, :forms
|
11
11
|
attr_reader :errors
|
@@ -25,7 +25,7 @@ module Spout
|
|
25
25
|
|
26
26
|
if json and json.kind_of? Hash
|
27
27
|
|
28
|
-
%w( display_name description type units commonly_used ).each do |method|
|
28
|
+
%w( display_name description type units commonly_used calculation ).each do |method|
|
29
29
|
instance_variable_set("@#{method}", json[method])
|
30
30
|
end
|
31
31
|
|
data/lib/spout/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.0.
|
4
|
+
version: 0.8.0.rc4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Remo Mueller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|