cloud-maker 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/cloud-maker +6 -2
- data/lib/cloud_maker/config.rb +1 -1
- metadata +2 -2
data/bin/cloud-maker
CHANGED
@@ -149,7 +149,7 @@ class CloudMakerCLI < Thor
|
|
149
149
|
:alias => '-y',
|
150
150
|
:type => :boolean,
|
151
151
|
:default => false,
|
152
|
-
:desc => "Answer yes to any confirmation prompts automatically."
|
152
|
+
:desc => "Answer yes to any confirmation prompts and accept defaults automatically."
|
153
153
|
def launch(instance_config_yaml)
|
154
154
|
puts "--------------------------------------------------------------------------------".green
|
155
155
|
puts "Launching new EC2 instance"
|
@@ -262,7 +262,11 @@ class CloudMakerCLI < Thor
|
|
262
262
|
end
|
263
263
|
|
264
264
|
if config.options[key]["default"]
|
265
|
-
|
265
|
+
if options[:yes]
|
266
|
+
config[key] = config.options[key]["default"]
|
267
|
+
else
|
268
|
+
config[key] = ask "Please choose a value for #{key.cyan} [#{config.options[key]["default"]}]:"
|
269
|
+
end
|
266
270
|
else
|
267
271
|
config[key] = ask "Please choose a value for #{key.cyan}:"
|
268
272
|
end
|
data/lib/cloud_maker/config.rb
CHANGED
@@ -14,7 +14,7 @@ module CloudMaker
|
|
14
14
|
class FileContentNotFound < ContentNotFound
|
15
15
|
end
|
16
16
|
|
17
|
-
# Public
|
17
|
+
# `Public`: Gets/Sets the CloudMaker specific properties. The options hash
|
18
18
|
# is formatted as:
|
19
19
|
# {
|
20
20
|
# 'key1' => {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloud-maker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-09-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: colorize
|