cpruntime 1.02 → 1.03

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/cpruntime.rb +2 -2
  2. metadata +3 -3
@@ -18,9 +18,9 @@ module CPRuntime
18
18
  def self.service_json_doc()
19
19
  @@service_json_doc
20
20
  end
21
- def getHosts()
21
+ def getHosts(type)
22
22
  hosts = [];
23
- m = credential_map('membase')
23
+ m = credential_map(type)
24
24
  i=0
25
25
  m.each{|k,v|
26
26
  h = Hosts.new
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpruntime
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
- - 2
9
- version: "1.02"
8
+ - 3
9
+ version: "1.03"
10
10
  platform: ruby
11
11
  authors:
12
12
  - xiaoliang tian