secrets-manager 1.0.0 → 1.0.1

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: 9881f60a1a1f81f48e84d02a99ce4b99970ef8ca534415fb4b3a343833264609
4
- data.tar.gz: 5203cca0dc0456e337e073fe141cf4f850bf2e680aef2952c2a3833505e0417a
3
+ metadata.gz: 93e1f5a742a6b7375d1a647dd886096074c0717a0145f9889de16e7e89dcd98c
4
+ data.tar.gz: ff8bd34eebc1afac0b2ae74c331bef134af3db3ddd0828e24abe5c00220f9702
5
5
  SHA512:
6
- metadata.gz: cc8fca98711dcd170126c276da1809ab266d699726d8469712c3e0299acf833b798dacd6834a0ba56cbfb6c0450cf9c90ff45ecb1cb7dfb198b7baf5965f6c39
7
- data.tar.gz: ceb8a360399a5bdf04c2ef38969ba88537a231b2a4b0c3f2066798e59adbed67fe5f8662bbf46dec2cc269b74e2324ab25d1d782d2ec7f5020f89308e1daefab
6
+ metadata.gz: 12b811c81a01c63d0798ccd11f687febdacebe46e981c132b973bf25a3662788ed84e8528085abd287985e7f5fe09be95c1a37ee05cbec313120b4312d191225
7
+ data.tar.gz: 38ec8012866d1ffe4ce2594c8842187b238530b8786dcf5a19314c64c168362e42c6237236840429fa3b62eba2528fb10a1d55a01102e9ca2c0ac00ddf0b3f3e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- secrets-manager (1.0.0)
4
+ secrets-manager (1.0.1)
5
5
  aws-sdk-secretsmanager (>= 1.31.0)
6
6
  concurrent-ruby (>= 1.0)
7
7
 
@@ -66,7 +66,7 @@ module SecretsManager
66
66
  object = JSON.parse(response.secret_string, symbolize_names: true)
67
67
 
68
68
  value = parse_value(object)
69
- set_in_memory(resolved_path, value, parse_ttl(object))
69
+ cache.set(resolved_path, value, parse_ttl(object))
70
70
  return value
71
71
  rescue Aws::SecretsManager::Errors::ResourceNotFoundException => e
72
72
  raise SecretsManager::SecretNotFound, "Could not find secret with path #{resolved_path}"
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module SecretsManager
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secrets-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Ostrowski