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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d67f528c263e8bbf70ba5cb30d095c1a38f597bd53e5a3cb1328fa5b92434fd9
4
- data.tar.gz: 68dcaa96e9dafc5194c48759ed4794fd6e3f81b2892e510b9a24a1e75a5df229
3
+ metadata.gz: cb1186c014f0d9ae9001d66ca5594ec089cd4aef594f231e996866668eb268bb
4
+ data.tar.gz: 47310dea764cc5efb7a2163383464cfb8b80ddc5b07cb73f7403ce54a093d38e
5
5
  SHA512:
6
- metadata.gz: 2526ff14851be8abd6d52c6eb1a6a120189b718fe81893669e66e4c04a73015d949362e2eaf554f1bae71cefa848d18c49bb6327eee1fbfb840e5f7bcc1cda95
7
- data.tar.gz: c3e30bbf11d86654fe903d6e5beb4273890181971fd9718522073210266919409395c00a97ef98120d76af23cf5f37de1986752d1edd6c0bd6a1fc1ca7717614
6
+ metadata.gz: ad9ffd6c76d3f8a3a0231d769b949e2c93184ee079e85d9ca8992d423058577c1d5957444759daf464bd3628f2daa0e53efc639a22d825f8b774e07d6101cf1a
7
+ data.tar.gz: 3b3540a55ab7b27c99e1caf23fde8feb4c0765d3aad67e576002d8249ee6b8daabfc629994f982ba91170b702e891c8585506531c284cca3ab51de253211dced
@@ -1,3 +1,8 @@
1
+ 0.11.2 (10/18/2019)
2
+ -------------------
3
+
4
+ * paginate across all secrets when listing [7f43461](https://github.com/simplygenius/atmos/commit/7f43461)
5
+
1
6
  0.11.1 (10/16/2019)
2
7
  -------------------
3
8
 
@@ -42,10 +42,19 @@ module SimplyGenius
42
42
 
43
43
  def to_h
44
44
  result = {}
45
- resp = client.get_parameters_by_path(path: param_name(""), recursive: true, with_decryption: @encrypt)
46
- resp.parameters.each do |p|
47
- key = p.name.gsub(/^#{param_name("")}/, '')
48
- result[key] = p.value
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
@@ -1,5 +1,5 @@
1
1
  module SimplyGenius
2
2
  module Atmos
3
- VERSION = "0.11.1"
3
+ VERSION = "0.11.2"
4
4
  end
5
5
  end
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.1
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-16 00:00:00.000000000 Z
11
+ date: 2019-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler