oml4r 2.9.7 → 2.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/oml4r/version.rb +1 -1
- data/lib/oml4r.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDljYjJmMDA2MDdlYTJiODJiNTNiMmRmMjg0ODA3NjRkOTkxMWU3NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTMzMjk0NTM0OGI3Y2FmZDc4OGY3OGZkZGQxYmMwZGMwNTMwNTRmMg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YmZiMDYyMWVkM2JmNTU0MGYzNzYyMWE2NTI5MTkxMzAwMGMzZjhmNzY0OWY5
|
10
|
+
YjA1NGM5Y2MwNDJlMjFkMTczM2FhNTU4OTRkMjE2OGRlZjYwYWQ3N2I1YjUw
|
11
|
+
MjNiNTdhNDQ4MTgxNmU0ODQ3MjlkN2I0ZDFkNjFhYjBjYWY2Y2Q=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjRkNDFhN2FkNTg1NzMyYzY5NmQyYWM4ODI1ZTExNzYwNWFhYTAzYTQxZWZm
|
14
|
+
NjU1YTZhOTMyYmQzYzIzNTgyOGExZDVkNDJjOWJmYjhjZWM4ZTRhNTQ0ODNl
|
15
|
+
OTAzYWIwNTFlZmY4M2U4YWZlOTUyYTRiYzk1MjNhM2JlZTUzZTM=
|
data/lib/oml4r/version.rb
CHANGED
data/lib/oml4r.rb
CHANGED
@@ -332,7 +332,7 @@ module OML4R
|
|
332
332
|
op.on("--oml-noop", "Do not collect measurements") { noop = true }
|
333
333
|
op.on("--oml-config file", "File holding OML configuration parameters") { |f| omlConfigFile = f }
|
334
334
|
op.on("--oml-exp-id domain", "Obsolescent equivalent to --oml-domain domain") { |name|
|
335
|
-
domain = name
|
335
|
+
opts[:domain] = name
|
336
336
|
OML4R.logger.warn "Option --oml-exp-id is getting deprecated; please use '--oml-domain #{domain}' instead"
|
337
337
|
}
|
338
338
|
op.on("--oml-file localPath", "Obsolescent equivalent to --oml-collect file:localPath") { |name|
|
@@ -340,7 +340,7 @@ module OML4R
|
|
340
340
|
OML4R.logger.warn "Option --oml-file is getting deprecated; please use '--oml-collect #{opts[:omlCollectUri]}' instead"
|
341
341
|
}
|
342
342
|
op.on("--oml-server uri", "Obsolescent equivalent to --oml-collect uri") {|u|
|
343
|
-
opts[:omlCollectUri] = "
|
343
|
+
opts[:omlCollectUri] = "#{u}"
|
344
344
|
OML4R.logger.warn "Option --oml-server is getting deprecated; please use '--oml-collect #{opts[:omlCollectUri]}' instead"
|
345
345
|
}
|
346
346
|
op.on_tail("--oml-help", "Show this message") { $stderr.puts op; exit }
|
@@ -394,7 +394,7 @@ module OML4R
|
|
394
394
|
end
|
395
395
|
|
396
396
|
unless opts[:domain] && opts[:appName]
|
397
|
-
raise MissingArgumentException.new 'OML4R: Missing values for parameters :domain (--oml-domain)
|
397
|
+
raise MissingArgumentException.new 'OML4R: Missing values for parameters :domain (--oml-domain) or :appName (in code)!'
|
398
398
|
end
|
399
399
|
|
400
400
|
# Set a default collection URI if nothing has been specified
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oml4r
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NICTA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: ! '["Simple OML client library for Ruby"]'
|
14
14
|
email:
|