secret_config 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/secret_config/registry.rb +7 -0
- data/lib/secret_config/version.rb +1 -1
- data/test/registry_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4df8a3d3895f2ff46c059cd8f307803743c1b5de4d01dc271e919f1cba5b68da
|
4
|
+
data.tar.gz: 9d0a0bb7f4008a626f93a1a068d42b2293334df2e906e8d019157e8087eee9d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8608deb9165ed58d542305677f9cfadbcc299eecb4548e1b9e6321e054710808f27176b45a92b09f292784ae2078e6329689b1ed985f163866ff19a5f1645db
|
7
|
+
data.tar.gz: f59f276ded32628b170095e944b75699d0328ed4ee4b39e962c63adc9b80e70d04769a68a97d40384a261909ffcf2dd24a0040cb70769af292dd5173b6238029
|
@@ -65,6 +65,13 @@ module SecretConfig
|
|
65
65
|
cache[key] = value
|
66
66
|
end
|
67
67
|
|
68
|
+
# Delete a key from the centralized configuration store.
|
69
|
+
def delete(key)
|
70
|
+
key = expand_key(key)
|
71
|
+
provider.delete(key)
|
72
|
+
cache.delete(key)
|
73
|
+
end
|
74
|
+
|
68
75
|
# Refresh the in-memory cached copy of the centralized configuration information.
|
69
76
|
# Environment variable values will take precendence over the central store values.
|
70
77
|
def refresh!
|
data/test/registry_test.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: secret_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Reid Morrison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|