eb_deployer 0.2.8 → 0.2.9

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.
@@ -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))
@@ -1,3 +1,3 @@
1
1
  module EbDeployer
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
@@ -9,15 +9,15 @@ class CloudFormationProvisionerTest < Minitest::Test
9
9
 
10
10
 
11
11
  def test_convert_inputs_as_params_to_cf
12
- resources = { :template => @template, :inputs => { 'Foo' => 'Bar' } }
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 = { :template => @template,
20
- :outputs => {
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.8
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-30 00:00:00.000000000 Z
13
+ date: 2013-10-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: aws-sdk