canzea 0.1.111 → 0.1.112
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/prepare-environment.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: c7bd8adbe7260e7ef1a8c5b97fec8f425e3381f8
|
4
|
+
data.tar.gz: 23a0e82666e31cd2f4e88a68cb0b83d4b4a08ee0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b690cac427662fd511b7939b6cc5e33294c9cf4eaa00302535de26effd96ae638573df74756761ebd71a0939bb9333baf1fd230565e3e061db1ae5efbc38e48f
|
7
|
+
data.tar.gz: 9309b2ad7ed0361b740e696416637d6d91e10b03ce4c4029d01b9cefdb52f06fa98695643860c020253a9cf6775b7eb69b738893c6ccca25e1050ef9b1fbcf45
|
data/lib/canzea/version.rb
CHANGED
data/lib/prepare-environment.rb
CHANGED
data/lib/registry.rb
CHANGED
@@ -103,7 +103,7 @@ class Registry
|
|
103
103
|
|
104
104
|
def getSecret (key)
|
105
105
|
|
106
|
-
uri = URI.parse(ENV["
|
106
|
+
uri = URI.parse(ENV["VAULT_URL"] + "/v1/secret/#{key}")
|
107
107
|
http = prepareHttp(uri)
|
108
108
|
|
109
109
|
request = Net::HTTP::Get.new(uri.request_uri)
|
@@ -119,7 +119,7 @@ class Registry
|
|
119
119
|
|
120
120
|
def setSecret (key, value)
|
121
121
|
|
122
|
-
uri = URI.parse(ENV["
|
122
|
+
uri = URI.parse(ENV["VAULT_URL"] + "/v1/secret/#{key}")
|
123
123
|
http = prepareHttp(uri)
|
124
124
|
|
125
125
|
request = Net::HTTP::Put.new(uri.request_uri)
|
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.112
|
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-05-
|
11
|
+
date: 2017-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|