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 +4 -4
- data/lib/awful/param.rb +3 -1
- data/lib/awful/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65aee4b0fe8f2f7d0b6d5efc4931eafde3d4e7ff
|
4
|
+
data.tar.gz: 66d63f015538426b8acd1cf630559c6395ec5099
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e26ac0c11256c480bdc9ed8b2282252af83701c4acb4e0439fb7060d3806673f56babc8a213169d1c4d311c8902135064757464bcf50dce8bfe2199b85078aa
|
7
|
+
data.tar.gz: c94211a9fb8e587d88defb37e312c83b763f40a5a3d15c97c21ab349ccae37cbf43135fd787a5e2518deda0283a7adca280aab85fc96814d39a7b512a73d0146
|
data/lib/awful/param.rb
CHANGED
@@ -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
|
-
|
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]
|
data/lib/awful/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|