eb_deployer 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -21,6 +21,7 @@ module EbDeployer
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def transform_outputs(resources)
|
24
|
+
resources = symbolize_keys(resources)
|
24
25
|
outputs = resources[:outputs] || {}
|
25
26
|
transforms = resources[:transforms] || {}
|
26
27
|
transform_output_to_settings(convert_to_transforms(outputs).merge(transforms))
|
data/lib/eb_deployer/version.rb
CHANGED
@@ -9,15 +9,15 @@ class CloudFormationProvisionerTest < Minitest::Test
|
|
9
9
|
|
10
10
|
|
11
11
|
def test_convert_inputs_as_params_to_cf
|
12
|
-
resources = {
|
12
|
+
resources = { 'template' => @template, 'inputs' => { 'Foo' => 'Bar' } }
|
13
13
|
@provisioner.provision(resources)
|
14
14
|
|
15
15
|
assert_equal({ 'Foo' => 'Bar' }, @cf.stack_config("myresources")[:parameters])
|
16
16
|
end
|
17
17
|
|
18
18
|
def test_transform_to_eb_settings
|
19
|
-
resources = {
|
20
|
-
|
19
|
+
resources = { 'template' => @template,
|
20
|
+
'outputs' => {
|
21
21
|
'S' => {
|
22
22
|
'namespace' => "foo",
|
23
23
|
"option_name" => "bar"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eb_deployer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
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: 2013-10-
|
13
|
+
date: 2013-10-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: aws-sdk
|