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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14d8114c31281c0745ef2fb160f75761176a49cd
4
- data.tar.gz: 6162b9cf7f0909805792c502612925ef6ce3b466
3
+ metadata.gz: c7bd8adbe7260e7ef1a8c5b97fec8f425e3381f8
4
+ data.tar.gz: 23a0e82666e31cd2f4e88a68cb0b83d4b4a08ee0
5
5
  SHA512:
6
- metadata.gz: e653be4599679184888fa0e9bb7d968a95d7165a7734c3fb0df4006484114535c28ee3a5d0227c2d56022f2d4e2c947629859a22c270ce0d728d399b9347062c
7
- data.tar.gz: 9ec00aa5b58c67f0644bb49e310efa8a2b24518a7a66a3ad620a59eb9e1637285a590d33971247f51f258f47e1515539ef9d480d799f858e54910a8a4cc30f43
6
+ metadata.gz: b690cac427662fd511b7939b6cc5e33294c9cf4eaa00302535de26effd96ae638573df74756761ebd71a0939bb9333baf1fd230565e3e061db1ae5efbc38e48f
7
+ data.tar.gz: 9309b2ad7ed0361b740e696416637d6d91e10b03ce4c4029d01b9cefdb52f06fa98695643860c020253a9cf6775b7eb69b738893c6ccca25e1050ef9b1fbcf45
@@ -1,3 +1,3 @@
1
1
  module Canzea
2
- VERSION = "0.1.111"
2
+ VERSION = "0.1.112"
3
3
  end
@@ -6,7 +6,7 @@ require "registry"
6
6
 
7
7
 
8
8
  class PrepareEnvironment
9
- def initialize (_raw)
9
+ def initialize (_raw = false)
10
10
  @raw = _raw;
11
11
  end
12
12
 
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["VAULT_ADDR"] + "/v1/secret/#{key}")
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["VAULT_ADDR"] + "/v1/secret/#{key}")
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.111
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-02 00:00:00.000000000 Z
11
+ date: 2017-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler