simplygenius-atmos 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/simplygenius/atmos/providers/aws/ssm_secret_manager.rb +13 -4
- data/lib/simplygenius/atmos/version.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: cb1186c014f0d9ae9001d66ca5594ec089cd4aef594f231e996866668eb268bb
|
4
|
+
data.tar.gz: 47310dea764cc5efb7a2163383464cfb8b80ddc5b07cb73f7403ce54a093d38e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad9ffd6c76d3f8a3a0231d769b949e2c93184ee079e85d9ca8992d423058577c1d5957444759daf464bd3628f2daa0e53efc639a22d825f8b774e07d6101cf1a
|
7
|
+
data.tar.gz: 3b3540a55ab7b27c99e1caf23fde8feb4c0765d3aad67e576002d8249ee6b8daabfc629994f982ba91170b702e891c8585506531c284cca3ab51de253211dced
|
data/CHANGELOG.md
CHANGED
@@ -42,10 +42,19 @@ module SimplyGenius
|
|
42
42
|
|
43
43
|
def to_h
|
44
44
|
result = {}
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
45
|
+
next_token = nil
|
46
|
+
loop do
|
47
|
+
# max_results can't be greater than 10, which is the default
|
48
|
+
resp = client.get_parameters_by_path(path: param_name(""),
|
49
|
+
next_token: next_token,
|
50
|
+
recursive: true, with_decryption: @encrypt)
|
51
|
+
resp.parameters.each do |p|
|
52
|
+
key = p.name.gsub(/^#{param_name("")}/, '')
|
53
|
+
result[key] = p.value
|
54
|
+
end
|
55
|
+
|
56
|
+
next_token = resp.next_token
|
57
|
+
break if next_token.nil?
|
49
58
|
end
|
50
59
|
|
51
60
|
return result
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplygenius-atmos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Conway
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|