rubyconfig-vault 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/config/vault/vault_source.rb +5 -4
- data/lib/config/vault/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 161ede1df26b9ba941d4e64dd921b4c4f98f9c66ed443b5f83d3ebeb55bc7ae3
|
4
|
+
data.tar.gz: 54e80ec49323dbbf1540dd39ce99623ff3acf86968ca3dcf4ba9122e099ee364
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 617735e0edf543dfed976f9b07a090414b47f4ec218e28e7821762da19ffbf44aa447072c205d3ab79db68b619de946d4d962385cdd50f74bd5ceac5c886f4a6
|
7
|
+
data.tar.gz: c96b23a0ae4b45daaf688b39d65948bbee01909ad3866bacfd78eb91aa1c1c97a53bfd2961c17dbe31f4e6b330a8606120dbced79b403410a9ed8b5378824f46
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'config'
|
1
2
|
require 'vault'
|
2
3
|
|
3
4
|
module Config
|
@@ -67,10 +68,10 @@ module Config
|
|
67
68
|
#
|
68
69
|
# @return [Hash]
|
69
70
|
def load
|
70
|
-
Vault.with_retries(Vault::HTTPError,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
::Vault.with_retries(::Vault::HTTPError,
|
72
|
+
attempts: @attempts,
|
73
|
+
base: @base,
|
74
|
+
max_wait: @max_wait) do
|
74
75
|
process_paths
|
75
76
|
end
|
76
77
|
end
|
data/lib/config/vault/version.rb
CHANGED