constancy 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 453502d453bed0c4adcd7198c234c2abe37f9c62
4
- data.tar.gz: 298a985985b6fa34d4e808eea6ab208dac77abfe
3
+ metadata.gz: 1c80016c4198051a92e9fc87518ef47b6ab2f56d
4
+ data.tar.gz: 591f9718abdf0ca60ade8605d6edd2090f76cb5a
5
5
  SHA512:
6
- metadata.gz: 29adad19880c3c9027519e2545c99a5693be8cb721a0d346d993d5c705fec08b3d7205d0bb192e341fc9cb1dcbfd7766eec35161b79ac8ae4ad06ed33048197d
7
- data.tar.gz: f1aaff740eea0ccbf650ef349911d4d6704ce8f9458aa5bd6bc47a5ab8a0d8aa9bfa247001459e775849ead11831d6a718f44d39140af899d1664bbb46d9224f
6
+ metadata.gz: cd321e9d53d4b77a547cd1bab5b2d76e396fc42450d9f56c0c1a95872182da06fc55ddb87d4e93ba836caf5533bffab982835bedd043a044a1b2e34a623f5cb0
7
+ data.tar.gz: a073ab0349abe809d28a40902ec2cc9c021e3b1612ecd44a94a4ef8e181e8727916269dfcb6d89bc0031822deae8e89d4efb2da2cbf7ff9912ae2bd688979dfa
@@ -86,7 +86,7 @@ class Constancy
86
86
  resp = self.consul.get(self.prefix, :recurse, dc: self.datacenter)
87
87
 
88
88
  Constancy::Util.flatten_hash(resp.values).each_pair do |key, value|
89
- @remote_items[key.join("/")] = value
89
+ @remote_items[key.join("/")] = (value.nil? ? '' : value)
90
90
  end
91
91
 
92
92
  @remote_items
@@ -1,5 +1,5 @@
1
1
  # This software is public domain. No rights are reserved. See LICENSE for more information.
2
2
 
3
3
  class Constancy
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: constancy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Adams