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 +4 -4
- data/lib/canzea/version.rb +1 -1
- data/lib/registry.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a965e71ff131905ac4d64d348e4d317096772985
|
4
|
+
data.tar.gz: a1ec3c6b626c3ce5d891bafa4891e89155cb72d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73c83cf4d14eb47284aef03ee2dc43af128be0371c82b1090cca94523e63e9e19c36b8a66fce23ef6ba7f74aa9c2b8b05a0abbf459e9b364669a65db8b4a4936
|
7
|
+
data.tar.gz: 4b7b5b0315c7b9e09598c3b479fd3f32015c6803dfc446299e07d113a6c3322c067daf2bd63d03fa4c984a9e0f9bc320295df7c5e3e745743566b7dd01c6fd4f
|
data/lib/canzea/version.rb
CHANGED
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! " +
|
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.
|
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-
|
11
|
+
date: 2017-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|