figaro_secrets 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/figaro_secrets/parser.rb +4 -3
- data/lib/figaro_secrets/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: e71b624891aea1e2fa3c28a1ab7f691ce9f6422e311aa6d114d0272642141c2d
|
4
|
+
data.tar.gz: 0da8915f54857e5d8c7a270370434a6ac0c80567474b9f8d89194bf4ae2f7f82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a5c682340264a78e3a12f1824088e1618e71e23b52ad1e03a0881a448642d442c70382417c4f961452447c88a27cc702464dc929bfa9d2da26aa80744a9bb68
|
7
|
+
data.tar.gz: f2e7ea4548e5e00ad4bb0865dbcef1883a5811405a61bcabba28f3ca6fb01efd5463e0c7a7699ea5fd68ebe8e668e3d84fdd320fa2e14cfdff09fe17b101fd4a
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
figaro_secrets (0.1.
|
4
|
+
figaro_secrets (0.1.2)
|
5
5
|
aws-sdk-secretsmanager
|
6
6
|
figaro
|
7
7
|
|
@@ -9,7 +9,7 @@ GEM
|
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
aws-eventstream (1.0.2)
|
12
|
-
aws-partitions (1.
|
12
|
+
aws-partitions (1.146.0)
|
13
13
|
aws-sdk-core (3.48.2)
|
14
14
|
aws-eventstream (~> 1.0, >= 1.0.2)
|
15
15
|
aws-partitions (~> 1.0)
|
@@ -1,5 +1,3 @@
|
|
1
|
-
require "figaro_secrets/secrets_manager"
|
2
|
-
|
3
1
|
module FigaroSecrets
|
4
2
|
class Parser
|
5
3
|
SECRET_REGEX = /^secretsmanager:(?<secret>.*)/
|
@@ -21,7 +19,10 @@ module FigaroSecrets
|
|
21
19
|
end
|
22
20
|
|
23
21
|
def secrets_manager
|
24
|
-
@secrets_manager ||=
|
22
|
+
@secrets_manager ||= begin
|
23
|
+
require "figaro_secrets/secrets_manager"
|
24
|
+
SecretsManager.new
|
25
|
+
end
|
25
26
|
end
|
26
27
|
end
|
27
28
|
end
|