sfn 0.4.6 → 0.4.8
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/bin/sfn +4 -1
- data/lib/sfn/command_module/stack.rb +1 -3
- data/lib/sfn/config/inspect.rb +1 -1
- data/lib/sfn/config.rb +1 -1
- data/lib/sfn/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: 45623d7f999bcca022aeaae870eafcb2a05955f1
|
4
|
+
data.tar.gz: 60091f0fab1592cbf8c0e0060dd54a50d5cc27eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70c9bc915745b269cf258924d87434a57ff005b213985090c27894fdb5dc2da7446b31d515be4e0ebb8a50fc0e79cbbafabbc8e59d194df10f8248a0bcd34b3f
|
7
|
+
data.tar.gz: 186aabbadbad3e60cd9f9cfc829e86cc3f041c8b97124d3440333652adfb950795d3499ef1a32edd314e62f476c70de199bbc6852a96d2df50c59e5e01751fb0
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## v0.4.8
|
2
|
+
* Disable delimiter on `:multiple` options (must specify multiple flags)
|
3
|
+
* Update types allowed by inspect for instance failure option
|
4
|
+
* Parameter hash is now always fully set based on template parameters
|
5
|
+
|
1
6
|
## v0.4.6
|
2
7
|
* Fix parameter generation from CLI
|
3
8
|
|
data/bin/sfn
CHANGED
@@ -28,7 +28,10 @@ Bogo::Cli::Setup.define do
|
|
28
28
|
on_name = info[:boolean] ? info[:long] : "#{info[:long]}="
|
29
29
|
opts = Hash.new.tap do |o|
|
30
30
|
o[:default] = info[:default] if info.has_key?(:default)
|
31
|
-
|
31
|
+
if(info[:multiple])
|
32
|
+
o[:as] = Array
|
33
|
+
o[:delimiter] = nil
|
34
|
+
end
|
32
35
|
end
|
33
36
|
on info[:short], on_name, info[:description], opts
|
34
37
|
end
|
@@ -138,9 +138,7 @@ module Sfn
|
|
138
138
|
end
|
139
139
|
validation = Sfn::Utils::StackParameterValidator.validate(answer, v)
|
140
140
|
if(validation == true)
|
141
|
-
|
142
|
-
config[:parameters][k] = answer
|
143
|
-
end
|
141
|
+
config[:parameters][k] = answer
|
144
142
|
valid = true
|
145
143
|
else
|
146
144
|
validation.each do |validation_error|
|
data/lib/sfn/config/inspect.rb
CHANGED
@@ -15,7 +15,7 @@ module Sfn
|
|
15
15
|
:description => 'Locate all instances and display addresses'
|
16
16
|
)
|
17
17
|
attribute(
|
18
|
-
:instance_failure,
|
18
|
+
:instance_failure, [TrueClass, FalseClass],
|
19
19
|
:description => 'Display log file error from failed not if possible',
|
20
20
|
)
|
21
21
|
attribute(
|
data/lib/sfn/config.rb
CHANGED
data/lib/sfn/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sfn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Roberts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bogo-cli
|