canzea 0.1.130 → 0.1.131

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: 2b90aecde9c0e31499a7bcafa671d90854567685
4
- data.tar.gz: 60a10a2bc87dbbb80c169828101634c2cce7b889
3
+ metadata.gz: a965e71ff131905ac4d64d348e4d317096772985
4
+ data.tar.gz: a1ec3c6b626c3ce5d891bafa4891e89155cb72d1
5
5
  SHA512:
6
- metadata.gz: 4b24df30bc34be1b2b199357abc9828f4494b48f28c5a3068f0dbab2f081ee964a0ed628a3a8341c5e7c06b0f6aec592c19741b52bc5f00bef9c4c7a1b8451f4
7
- data.tar.gz: 5aa05979ce5badcab30751378ed48753ae8ea5b235a327d2137a5bab5fdb1c2f4922206d1fa79074460da38847fa4f3e13b379d87a9bc00bf622cde5d1303960
6
+ metadata.gz: 73c83cf4d14eb47284aef03ee2dc43af128be0371c82b1090cca94523e63e9e19c36b8a66fce23ef6ba7f74aa9c2b8b05a0abbf459e9b364669a65db8b4a4936
7
+ data.tar.gz: 4b7b5b0315c7b9e09598c3b479fd3f32015c6803dfc446299e07d113a6c3322c067daf2bd63d03fa4c984a9e0f9bc320295df7c5e3e745743566b7dd01c6fd4f
@@ -1,3 +1,3 @@
1
1
  module Canzea
2
- VERSION = "0.1.130"
2
+ VERSION = "0.1.131"
3
3
  end
data/lib/registry.rb CHANGED
@@ -72,14 +72,14 @@ class Registry
72
72
  end
73
73
 
74
74
  def deleteDirectory (root)
75
- uri = URI.parse(ENV["CONSUL_URL"] + "/v1/kv/#{root}")
75
+ uri = URI.parse(ENV["CONSUL_URL"] + "/v1/kv/#{root}?recurse=true")
76
76
  http = prepareHttp(uri)
77
77
 
78
78
  request = Net::HTTP::Delete.new(uri.request_uri)
79
79
  resp = http.request(request)
80
80
 
81
81
  if Integer(resp.code) != 200
82
- puts "-- KEY NOT DELETED! " + key
82
+ puts "-- KEY NOT DELETED! " + root
83
83
  abort("Response code #{resp.code}")
84
84
  end
85
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canzea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.130
4
+ version: 0.1.131
5
5
  platform: ruby
6
6
  authors:
7
7
  - Canzea Technologies
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-02 00:00:00.000000000 Z
11
+ date: 2017-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler