lono 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/lono/cfn/base.rb +5 -5
- data/lib/lono/cfn/util.rb +1 -1
- data/lib/lono/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f64a82534c16f965a4cb5b2be3bc01953f5a0a2f
|
4
|
+
data.tar.gz: f2e544a39fed155de259bad986710c7f6ab904b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62ee14f8560a00fd19bb15647ce4cf7b9e945877df19f04d1e62ff919366d1f15b49bb50e73b426cd9d5feef02f90797c3b278df4cd183a7013891e608ba54b4
|
7
|
+
data.tar.gz: 602efa8bd2060f3779e5c218e2e72e4871dcf9df5fee2157a30af5ddf4330fe32500787fdbda7b34dff36e4d62c968403ba71aef2aef66f60702514878e62824
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [2.0.3]
|
7
|
+
- fix param generation with cfn preview when stack name is different from param name
|
8
|
+
|
6
9
|
## [2.0.2]
|
7
10
|
- fix starter project param files
|
8
11
|
|
data/lib/lono/cfn/base.rb
CHANGED
@@ -10,10 +10,10 @@ class Lono::Cfn::Base
|
|
10
10
|
@project_root = options[:project_root] || '.'
|
11
11
|
Lono::ProjectChecker.check(@project_root) unless options[:lono] # already ran checker in lono generate
|
12
12
|
|
13
|
-
template_name = options[:template] || @stack_name
|
14
|
-
param_name = options[:param] || template_name
|
15
|
-
@template_path = get_source_path(template_name, :template)
|
16
|
-
@param_path = get_source_path(param_name, :param)
|
13
|
+
@template_name = options[:template] || @stack_name
|
14
|
+
@param_name = options[:param] || @template_name
|
15
|
+
@template_path = get_source_path(@template_name, :template)
|
16
|
+
@param_path = get_source_path(@param_name, :param)
|
17
17
|
puts "Using template: #{@template_path}" unless @options[:mute_using]
|
18
18
|
puts "Using parameters: #{@param_path}" unless @options[:mute_using]
|
19
19
|
end
|
@@ -42,7 +42,7 @@ class Lono::Cfn::Base
|
|
42
42
|
path: @param_path,
|
43
43
|
allow_no_file: true
|
44
44
|
}.merge(options)
|
45
|
-
generator = Lono::Param::Generator.new(@
|
45
|
+
generator = Lono::Param::Generator.new(@param_name, generator_options)
|
46
46
|
generator.generate # Writes the json file in CamelCase keys format
|
47
47
|
generator.params # Returns Array in underscore keys format
|
48
48
|
end
|
data/lib/lono/cfn/util.rb
CHANGED
@@ -7,7 +7,7 @@ module Lono::Cfn::Util
|
|
7
7
|
when :update
|
8
8
|
"Are you sure you want to want to update the stack with the changes? (y/N)"
|
9
9
|
when :delete
|
10
|
-
"Are you sure you want to want to delete the stack
|
10
|
+
"Are you sure you want to want to delete the stack? (y/N)"
|
11
11
|
end
|
12
12
|
puts message
|
13
13
|
sure = $stdin.gets
|
data/lib/lono/version.rb
CHANGED