omf_ec 6.1.2.pre.6 → 6.1.2.pre.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 38155b126ea209b3711f697845d6e92dfdd9820a
4
+ data.tar.gz: 122ab3cba51a7def734367e50ace8f214863e8a8
5
+ SHA512:
6
+ metadata.gz: ac70b7d44df99ab0405367e51059fdba3780aa50b08264cd2c37e5ef52df044bd91be250a3b99abb4dfc7e3fe7f33ef0b1c55422250a8f53823d9b0d1ba7d310
7
+ data.tar.gz: 7e513ffe85455f6d5904e0c314da66d62ecb8513bbc6cf1642ae974ed1099b7b8700bec878d31d2701cea970fb28c210795f3ffb5ee777f6c46753ce1f460964
@@ -37,9 +37,13 @@ module OmfEc
37
37
  def defProperty(name = :mandatory, description = nil, parameter = nil, options = {})
38
38
  opts = {:description => description, :cmd => parameter}
39
39
  # Map old OMF5 types to OMF6
40
- options[:type] = 'Numeric' if options[:type] == :integer
41
- options[:type] = 'String' if options[:type] == :string
42
- options[:type] = 'Boolean' if options[:type] == :boolean
40
+ # Map OMF app property types to Ruby types
41
+ options[:type] = case options[:type]
42
+ when :integer, :int then 'Numeric'
43
+ when :string then 'String'
44
+ when :boolean then 'Boolean'
45
+ when :double then 'Float'
46
+ end
43
47
  opts = opts.merge(options)
44
48
  define_parameter(Hash[name,opts])
45
49
  end
metadata CHANGED
@@ -1,126 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omf_ec
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.2.pre.6
5
- prerelease: 6
4
+ version: 6.1.2.pre.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - NICTA
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-06-17 00:00:00.000000000 Z
11
+ date: 2014-06-23 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: minitest
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: simplecov
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: pry
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: mocha
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: evented-spec
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: omf_common
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
87
  - - '='
100
88
  - !ruby/object:Gem::Version
101
- version: 6.1.2.pre.6
89
+ version: 6.1.2.pre.7
102
90
  type: :runtime
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
94
  - - '='
108
95
  - !ruby/object:Gem::Version
109
- version: 6.1.2.pre.6
96
+ version: 6.1.2.pre.7
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: sequel
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - '>='
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :runtime
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - '>='
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  description: Experiment controller of OMF, a generic framework for controlling and
@@ -180,26 +165,34 @@ files:
180
165
  homepage: http://omf.mytestbed.net
181
166
  licenses:
182
167
  - MIT
168
+ metadata: {}
183
169
  post_install_message:
184
170
  rdoc_options: []
185
171
  require_paths:
186
172
  - lib
187
173
  required_ruby_version: !ruby/object:Gem::Requirement
188
- none: false
189
174
  requirements:
190
- - - ! '>='
175
+ - - '>='
191
176
  - !ruby/object:Gem::Version
192
177
  version: 1.9.3
193
178
  required_rubygems_version: !ruby/object:Gem::Requirement
194
- none: false
195
179
  requirements:
196
- - - ! '>'
180
+ - - '>'
197
181
  - !ruby/object:Gem::Version
198
182
  version: 1.3.1
199
183
  requirements: []
200
184
  rubyforge_project: omf_ec
201
- rubygems_version: 1.8.23
185
+ rubygems_version: 2.1.11
202
186
  signing_key:
203
- specification_version: 3
187
+ specification_version: 4
204
188
  summary: OMF experiment controller
205
- test_files: []
189
+ test_files:
190
+ - test/oedls/empty.oedl
191
+ - test/omf_ec/app_context_spec.rb
192
+ - test/omf_ec/context_spec.rb
193
+ - test/omf_ec/dsl_spec.rb
194
+ - test/omf_ec/experiment_property_spec.rb
195
+ - test/omf_ec/experiment_spec.rb
196
+ - test/omf_ec/group_spec.rb
197
+ - test/omf_ec/runner_spec.rb
198
+ - test/test_helper.rb