awful 0.0.163 → 0.0.164

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
  SHA1:
3
- metadata.gz: ebfbcfe1d5771dd2cb7f2a61cabd12011eb52916
4
- data.tar.gz: a6c264f051a876b90c608ade59c701fe85e309c2
3
+ metadata.gz: 65aee4b0fe8f2f7d0b6d5efc4931eafde3d4e7ff
4
+ data.tar.gz: 66d63f015538426b8acd1cf630559c6395ec5099
5
5
  SHA512:
6
- metadata.gz: 3ab5f9913200cfc00d75dd49fa30f6e2e2a6c53cd6f8a21cca49b94b1db57005966f80e5384decb21f942838aa4cdda68a18b2338702d0531d0ad2cd318b051b
7
- data.tar.gz: bc7bc2e2d6e7e5024053247c1680b4f1311530590ed0abf8a15de2a2605c70500cf7bd81e960c1f8e3097fe34cfd46785c288b712757222ce30a614980333217
6
+ metadata.gz: 6e26ac0c11256c480bdc9ed8b2282252af83701c4acb4e0439fb7060d3806673f56babc8a213169d1c4d311c8902135064757464bcf50dce8bfe2199b85078aa
7
+ data.tar.gz: c94211a9fb8e587d88defb37e312c83b763f40a5a3d15c97c21ab349ccae37cbf43135fd787a5e2518deda0283a7adca280aab85fc96814d39a7b512a73d0146
@@ -38,7 +38,9 @@ module Awful
38
38
  method_option :long, aliases: '-l', type: :boolean, default: false, desc: 'long listing'
39
39
  method_option :decrypt, aliases: '-d', type: :boolean, default: false, desc: 'decrypt values for SecureString types'
40
40
  def get(*names)
41
- ssm.get_parameters(names: names, with_decryption: options[:decrypt]).parameters.output do |params|
41
+ names.each_slice(10).map do |batch| # API allows only 10 at a time
42
+ ssm.get_parameters(names: batch, with_decryption: options[:decrypt]).parameters
43
+ end.flatten.output do |params|
42
44
  if options[:long]
43
45
  print_table params.map { |p|
44
46
  [p.name, p.value]
@@ -1,3 +1,3 @@
1
1
  module Awful
2
- VERSION = '0.0.163'
2
+ VERSION = '0.0.164'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.163
4
+ version: 0.0.164
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ric Lister
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-10 00:00:00.000000000 Z
11
+ date: 2017-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler