omf_ec 6.1.2.pre → 6.1.2.pre.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,7 +35,7 @@ module OmfEc::Context
35
35
  app_def_param = app_def.properties.parameters
36
36
  raise OEDLUnknownProperty.new(key, "Unknown parameter '#{key}' for application "+
37
37
  "definition '#{app_def.name}'") if app_def_param.nil? || !app_def_param.key?(key)
38
- if property_value.kind_of?(ExperimentProperty)
38
+ if property_value.kind_of?(OmfEc::ExperimentProperty)
39
39
  @param_values[key] = property_value.value
40
40
  # if this app parameter has its dynamic attribute set to true, then
41
41
  # we register a callback block to the ExperimentProperty, which will
@@ -86,7 +86,7 @@ module OmfEc::Context
86
86
  p = original.merge({:type => 'application'})
87
87
  @param_values.each do |k,v|
88
88
  if p[:parameters].key?(k)
89
- p[:parameters][k][:value] = v.kind_of?(ExperimentProperty) ? v.value : v
89
+ p[:parameters][k][:value] = v.kind_of?(OmfEc::ExperimentProperty) ? v.value : v
90
90
  end
91
91
  end
92
92
  if @oml_collections.size > 0
@@ -12,7 +12,7 @@ module OmfEc
12
12
  # Experiment Properties defined for a given experiment.
13
13
  # Most of this implementation is re-used from OMF 5.4
14
14
  #
15
- class ExperimentProperty
15
+ class OmfEc::ExperimentProperty
16
16
 
17
17
  # Contains all the experiment properties
18
18
  @@properties = Hashie::Mash.new
data/lib/omf_ec/runner.rb CHANGED
@@ -81,6 +81,11 @@ module OmfEc
81
81
  remove_cmd_opts_from_argv("--slice", slice)
82
82
  end
83
83
 
84
+ op.on("--oml_uri URI", "URI for the OML data collection of experiment applications") do |uri|
85
+ @cmd_opts[:oml_uri] = uri
86
+ remove_cmd_opts_from_argv("--oml_uri", uri)
87
+ end
88
+
84
89
  op.on("--inst_oml_uri URI", "EC Instrumentation: OML URI to use") do |uri|
85
90
  @cmd_opts[:inst_oml_uri] = uri
86
91
  remove_cmd_opts_from_argv("--inst_oml_uri", uri)
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omf_ec
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.2.pre
4
+ version: 6.1.2.pre.2
5
+ prerelease: 6
5
6
  platform: ruby
6
7
  authors:
7
8
  - NICTA
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-04-28 00:00:00.000000000 Z
12
+ date: 2014-04-29 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: minitest
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: em-minitest-spec
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,85 +46,97 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: simplecov
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - '>='
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - '>='
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: pry
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - '>='
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
69
  version: '0'
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - '>='
75
+ - - ! '>='
67
76
  - !ruby/object:Gem::Version
68
77
  version: '0'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: mocha
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - '>='
83
+ - - ! '>='
74
84
  - !ruby/object:Gem::Version
75
85
  version: '0'
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - '>='
91
+ - - ! '>='
81
92
  - !ruby/object:Gem::Version
82
93
  version: '0'
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: omf_common
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
99
  - - '='
88
100
  - !ruby/object:Gem::Version
89
- version: 6.1.2.pre
101
+ version: 6.1.2.pre.2
90
102
  type: :runtime
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
107
  - - '='
95
108
  - !ruby/object:Gem::Version
96
- version: 6.1.2.pre
109
+ version: 6.1.2.pre.2
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: gli
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - '>='
115
+ - - ! '>='
102
116
  - !ruby/object:Gem::Version
103
117
  version: '0'
104
118
  type: :runtime
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - '>='
123
+ - - ! '>='
109
124
  - !ruby/object:Gem::Version
110
125
  version: '0'
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: sequel
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
- - - '>='
131
+ - - ! '>='
116
132
  - !ruby/object:Gem::Version
117
133
  version: '0'
118
134
  type: :runtime
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
- - - '>='
139
+ - - ! '>='
123
140
  - !ruby/object:Gem::Version
124
141
  version: '0'
125
142
  description: Experiment controller of OMF, a generic framework for controlling and
@@ -177,32 +194,26 @@ files:
177
194
  homepage: http://omf.mytestbed.net
178
195
  licenses:
179
196
  - MIT
180
- metadata: {}
181
197
  post_install_message:
182
198
  rdoc_options: []
183
199
  require_paths:
184
200
  - lib
185
201
  required_ruby_version: !ruby/object:Gem::Requirement
202
+ none: false
186
203
  requirements:
187
- - - '>='
204
+ - - ! '>='
188
205
  - !ruby/object:Gem::Version
189
206
  version: 1.9.3
190
207
  required_rubygems_version: !ruby/object:Gem::Requirement
208
+ none: false
191
209
  requirements:
192
- - - '>'
210
+ - - ! '>'
193
211
  - !ruby/object:Gem::Version
194
212
  version: 1.3.1
195
213
  requirements: []
196
214
  rubyforge_project: omf_ec
197
- rubygems_version: 2.1.11
215
+ rubygems_version: 1.8.28
198
216
  signing_key:
199
- specification_version: 4
217
+ specification_version: 3
200
218
  summary: OMF experiment controller
201
- test_files:
202
- - test/omf_ec/app_context_spec.rb
203
- - test/omf_ec/context_spec.rb
204
- - test/omf_ec/dsl_spec.rb
205
- - test/omf_ec/experiment_property_spec.rb
206
- - test/omf_ec/experiment_spec.rb
207
- - test/omf_ec/group_spec.rb
208
- - test/test_helper.rb
219
+ test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 945493d51a75ad28becc8a45ffb3622fc69ec31b
4
- data.tar.gz: caf67781ab4f948f2f07c2b24e1019a2522219bb
5
- SHA512:
6
- metadata.gz: d7681fc0da5fdc1c90ba18420f2eb17ed45ff63651d7c288bf31f0b9cee304772a21168ad1a12e429813c83f1b49cea19585d9f537a4ab824439b2e8bad7f391
7
- data.tar.gz: 63ec04e8ef79759874205ab753a3492321149353a5576952bae21639dedd3e5057cf29d16e40315dc69b32a2b2549593426e27103e9544932761ee4486b7e8b2