oml4r 2.9.7 → 2.9.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/lib/oml4r/version.rb +1 -1
  3. data/lib/oml4r.rb +3 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODUzNGJiYTJkNDcxMmE0MTg2NWZiM2ViYmQxZDcxMjM1NTg1MmNiZg==
4
+ NDljYjJmMDA2MDdlYTJiODJiNTNiMmRmMjg0ODA3NjRkOTkxMWU3NA==
5
5
  data.tar.gz: !binary |-
6
- NDM5NjllOTkwNmI4NWFlMWVhMzEyMzA3ZTcwZWM5NGY3ZTQ0NzMxNA==
6
+ OTMzMjk0NTM0OGI3Y2FmZDc4OGY3OGZkZGQxYmMwZGMwNTMwNTRmMg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZDQzZjFiOGYyYWM3ZTY1MmEyZjU0NWNkYTNjNzAwYmNkNDc0ZDNiODNhZjNm
10
- ZGRhMzBiNjNjZTEyZjA3ZGQ1N2NiYjY3OWQyMjg3YzgyZmVhMjE4ODY5MDg0
11
- ZDgyMjk1MTBiM2NkMzhiNjFhNTAzNmQwNGJiN2RhN2NlODQ0MGI=
9
+ YmZiMDYyMWVkM2JmNTU0MGYzNzYyMWE2NTI5MTkxMzAwMGMzZjhmNzY0OWY5
10
+ YjA1NGM5Y2MwNDJlMjFkMTczM2FhNTU4OTRkMjE2OGRlZjYwYWQ3N2I1YjUw
11
+ MjNiNTdhNDQ4MTgxNmU0ODQ3MjlkN2I0ZDFkNjFhYjBjYWY2Y2Q=
12
12
  data.tar.gz: !binary |-
13
- MGFmYjQ2ZTI3NTA2YjM1NDNkZGYxMGNiNjQxZmRlYzIzNGUwNDEzMWU0Yjcw
14
- ZjMyNDg2ZjQ5MTMyMWQ4OWVkZmE2YTM2NTE0ZTMwNTAyM2Q2ODEyZjljMjJj
15
- MDQ2YzEyNjVmN2EyNjkxM2UyN2U3MjM5MGVlYWVlYjhhNmVhZjk=
13
+ YjRkNDFhN2FkNTg1NzMyYzY5NmQyYWM4ODI1ZTExNzYwNWFhYTAzYTQxZWZm
14
+ NjU1YTZhOTMyYmQzYzIzNTgyOGExZDVkNDJjOWJmYjhjZWM4ZTRhNTQ0ODNl
15
+ OTAzYWIwNTFlZmY4M2U4YWZlOTUyYTRiYzk1MjNhM2JlZTUzZTM=
data/lib/oml4r/version.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  # ------------------
6
6
 
7
7
  module OML4R
8
- VERSION = "2.9.7"
8
+ VERSION = "2.9.8"
9
9
  VERSION_STRING = "OML4R Client V#{VERSION}"
10
10
  COPYRIGHT = "Copyright 2009-2013, NICTA"
11
11
  end
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] = "tcp:#{u}"
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), :nodeID (--oml-id), or :appName (in code)!'
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.7
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-25 00:00:00.000000000 Z
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: