kumo_keisei 3.1.1.pre.alpha3 → 3.1.1.pre.alpha4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/kumo_keisei/stack.rb +1 -1
- data/spec/lib/kumo_keisei/stack_spec.rb +2 -2
- 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: 5fbf33ec387a67676faf868c07c6a71a9dfacedf
|
4
|
+
data.tar.gz: ed68175bb7980a5a6062c56753f08de4dcb9693c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca685d79c1034445e9140e11c627a5f709cfffd1eefca84cf6648124690ecf4aa92633a43279c8e0515cb6b37b0e972feffb5ccfbc3a514732fb34ca8741d74f
|
7
|
+
data.tar.gz: 9f2450f9666cd0fa0a284e21e2c7bcbd6a6a847c0b4c773836886a54e135c567a840ad276209aa87e3565fbbb4e2d80ab9ed858ae21bf465b98df0cf89cc5da2
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.1-
|
1
|
+
3.1.1-alpha4
|
data/lib/kumo_keisei/stack.rb
CHANGED
@@ -86,7 +86,7 @@ module KumoKeisei
|
|
86
86
|
end
|
87
87
|
|
88
88
|
def params_template_path(stack_config)
|
89
|
-
stack_config.has_key?(:template_path) ? File.absolute_path("#{File.basename(stack_config[:template_path], '.*')}.yml.erb") : nil
|
89
|
+
stack_config.has_key?(:template_path) ? File.absolute_path(File.join(File.dirname(stack_config[:template_path]), "#{File.basename(stack_config[:template_path], '.*')}.yml.erb")) : nil
|
90
90
|
end
|
91
91
|
|
92
92
|
private
|
@@ -321,8 +321,8 @@ end
|
|
321
321
|
describe "#params_template_path" do
|
322
322
|
context "when looking for the parameter template file" do
|
323
323
|
CFN_STACK_TEMPLATE_TO_PARAMATER_TEMPLATE = {
|
324
|
-
'app.json' => 'app.yml.erb',
|
325
|
-
'rds.json' => 'rds.yml.erb'
|
324
|
+
'/foo/app.json' => '/foo/app.yml.erb',
|
325
|
+
'/foo/rds.json' => '/foo/rds.yml.erb'
|
326
326
|
}
|
327
327
|
|
328
328
|
CFN_STACK_TEMPLATE_TO_PARAMATER_TEMPLATE.each_pair do |cfn_template, parameter_template|
|