awful 0.0.168 → 0.0.169
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 +5 -3
- 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: bce09c752dd834816f275301dafc8034e9e435ea
|
4
|
+
data.tar.gz: a462ceed5eecc9438220a6c74492aa4d90145eb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4093be50cbb4c87d8913c7f55e63f4a621f6ada8022cd38cf185e699b322160095e3cecf1bd40d567884b047684ec6e357b03a44dd39007e5394708fb4415e1
|
7
|
+
data.tar.gz: ffae339b0d777baf05507c77f042df2cac3f965fe3a48d20513ecd267106b5c5c13ad06822ebd67b0fa952e18c52c91719bef4e11f8a0f96286d0296b7be2f2a
|
data/lib/awful/param.rb
CHANGED
@@ -72,14 +72,16 @@ module Awful
|
|
72
72
|
end
|
73
73
|
|
74
74
|
desc 'put NAME VALUE', 'put parameter into the store'
|
75
|
+
method_option :name, aliases: '-n', type: :string, default: nil, desc: 'give name as option instead of arg'
|
76
|
+
method_option :value, aliases: '-v', type: :string, default: nil, desc: 'give value as option instead of arg'
|
75
77
|
method_option :description, aliases: '-d', type: :string, default: nil, desc: 'description for params'
|
76
78
|
method_option :type, aliases: '-t', type: :string, default: 'String', desc: 'String, StringList, SecureString'
|
77
79
|
method_option :key_id, aliases: '-k', type: :string, default: nil, desc: 'KMS key for SecureString params'
|
78
80
|
method_option :overwrite, aliases: '-o', type: :boolean, default: false, desc: 'overwrite existing params'
|
79
|
-
def put(name, value)
|
81
|
+
def put(name = nil, value = nil)
|
80
82
|
ssm.put_parameter(
|
81
|
-
name: name,
|
82
|
-
value: value,
|
83
|
+
name: options[:name] || name,
|
84
|
+
value: options[:value] || value,
|
83
85
|
description: options[:description],
|
84
86
|
type: options[:type],
|
85
87
|
key_id: options[:key_id],
|
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.169
|
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-
|
11
|
+
date: 2017-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|