vault 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/vault/client.rb +1 -1
- data/lib/vault/configurable.rb +1 -0
- data/lib/vault/defaults.rb +13 -0
- data/lib/vault/version.rb +1 -1
- 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: 6417ff116e2e2373711b36a6be68184b31e8df08
|
4
|
+
data.tar.gz: a6ef6ca6c2f1a58d0018804c3b988f9ba41d811b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03fac7059bf8ef408a3034dc8fa9cf4b2c81eb8362065ce4b1eb98293d1205010882bc74a444acbd83f3dfc16d40754379bff64958368316315d7e2aeb0814f6
|
7
|
+
data.tar.gz: b4ec302bf3e9a06195f40f30012d69181fafce70ab9f276b9ac9e3880a1971b94cc7eb25fbafe7ad65e472df2897c249cd8b856848f98a3257dc33d3592ed3ca
|
data/CHANGELOG.md
CHANGED
data/lib/vault/client.rb
CHANGED
data/lib/vault/configurable.rb
CHANGED
data/lib/vault/defaults.rb
CHANGED
@@ -26,6 +26,9 @@ module Vault
|
|
26
26
|
# The maximum amount of time for a single exponential backoff to sleep.
|
27
27
|
RETRY_MAX_WAIT = 2.0
|
28
28
|
|
29
|
+
# The default size of the connection pool
|
30
|
+
DEFAULT_POOL_SIZE = 16
|
31
|
+
|
29
32
|
class << self
|
30
33
|
# The list of calculated options for this configurable.
|
31
34
|
# @return [Hash]
|
@@ -66,6 +69,16 @@ module Vault
|
|
66
69
|
ENV["VAULT_OPEN_TIMEOUT"]
|
67
70
|
end
|
68
71
|
|
72
|
+
# The size of the connection pool to communicate with Vault
|
73
|
+
# @return Integer
|
74
|
+
def pool_size
|
75
|
+
if var = ENV["VAULT_POOL_SIZE"]
|
76
|
+
return var.to_i
|
77
|
+
else
|
78
|
+
DEFAULT_POOL_SIZE
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
69
82
|
# The HTTP Proxy server address as a string
|
70
83
|
# @return [String, nil]
|
71
84
|
def proxy_address
|
data/lib/vault/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vault
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seth Vargo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|