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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19b37e703c80017d8dd091febb440ac6b6f32ead3b920e5fcbce01c670c4b7ac
4
- data.tar.gz: 8ab5d1aebfd09b9f77a12c2faa24d7623d9cd18c22f2e3736f7355d46a93d9d2
3
+ metadata.gz: e71b624891aea1e2fa3c28a1ab7f691ce9f6422e311aa6d114d0272642141c2d
4
+ data.tar.gz: 0da8915f54857e5d8c7a270370434a6ac0c80567474b9f8d89194bf4ae2f7f82
5
5
  SHA512:
6
- metadata.gz: fdf0c93a31bf71f48a81023cf510dc4a3d20b4fbdf8edebffc96495d9cde8014ee4234a7c5ff5f8a99e95096190ce3025124bfb0ec468fafb74f81eb1909320d
7
- data.tar.gz: 4012f60a45d75f4c210712ce5f935381eb5b9e77acd830ab20e010d26d1fc94b52acc108c980278fed5c3239cd6cf17fd51db9dcec6869315e6726699a803dbe
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.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.145.0)
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 ||= SecretsManager.new
22
+ @secrets_manager ||= begin
23
+ require "figaro_secrets/secrets_manager"
24
+ SecretsManager.new
25
+ end
25
26
  end
26
27
  end
27
28
  end
@@ -1,3 +1,3 @@
1
1
  module FigaroSecrets
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: figaro_secrets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cory Kaufman-Schofield