cpruntime 1.01 → 1.02

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
data/lib/cpruntime.rb CHANGED
@@ -11,7 +11,7 @@ require 'credential'
11
11
 
12
12
  module CPRuntime
13
13
  @@service_json_doc = ENV['VCAP_SERVICES']
14
- META_DATA_PATH = "/metadata/services/"
14
+ META_DATA_PATH = "/meta-data/service/"
15
15
  def self.service_json_doc= (json)
16
16
  @@service_json_doc=json
17
17
  end
@@ -20,7 +20,7 @@ module CPRuntime
20
20
  end
21
21
  def getHosts()
22
22
  hosts = [];
23
- m = credential_map('membase')
23
+ m = credential_map('membase')
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: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
- - 1
9
- version: "1.01"
8
+ - 2
9
+ version: "1.02"
10
10
  platform: ruby
11
11
  authors:
12
12
  - xiaoliang tian