rubycfn 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f54b53d92a9b16c78d831df5ed84b30f9b33e7c
4
- data.tar.gz: 685b0b777972bcc7c0d3d37f86a28874e013c457
3
+ metadata.gz: a0b96f071bbb09b6b63d1b9671330ecccdf35e0c
4
+ data.tar.gz: ab86d11cdf67f1de25a9a0fa6a84ad2b9e79af86
5
5
  SHA512:
6
- metadata.gz: fc5f5064c142ed96aaefb5a1f4afba6dc5d2e3c803530298d51ba364778874875181b6aa10ddc7cb7e045a3a26812af9fd87d498d236dd8aea1dd180f817bc3f
7
- data.tar.gz: e147820599b1551e4971a2114b3a41829bcea01581e8734b377713aa20faf76667457d66710349308b14cc8231119760546af4bdede9cea381aced688d038068
6
+ metadata.gz: fac7d3197bccd39005f3fb1e312db165db6b2ff938d16f40ff89139f86bf868c85be6b96fc3797e1405a509dc020bd17aa20d9f198454f21976727df77be9a4c
7
+ data.tar.gz: 63c4c0164126765d8ddadae458c4b505545f99fa518c3d1e7b385ede3e6c0946463891ac0c6f52296a75b843eb417bb8d26a1728aac1921eae358ef82b826443
data/CHANGELOG.md CHANGED
@@ -2,7 +2,10 @@
2
2
  All notable changes to Rubycfn will be documented in this file.
3
3
  This project uses [Semantic Versioning](http://semver.org/).
4
4
 
5
- ## 0.1.8 (Next Release)
5
+ ## 0.1.9 (Next Release)
6
+
7
+ ## 0.1.8
8
+ * `Export` in outputs now takes both strings and hashes
6
9
 
7
10
  ## 0.1.7
8
11
  * Added specs to default project -- [@dennisvink][@dennisvink]
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubycfn (0.1.7)
4
+ rubycfn (0.1.8)
5
5
  activesupport (~> 5.1.5)
6
6
  dotenv (~> 2.4.0)
7
7
  json (~> 2.1.0)
data/README.md CHANGED
@@ -12,7 +12,7 @@ or, create a Gemfile with this content:
12
12
  ```
13
13
  source "https://rubygems.org"
14
14
 
15
- gem "rubycfn", "~> 0.1.7"
15
+ gem "rubycfn", "~> 0.1.8"
16
16
 
17
17
  ```
18
18
 
@@ -1,4 +1,4 @@
1
1
  # Rubycfn version
2
2
  module Rubycfn
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
data/lib/rubycfn.rb CHANGED
@@ -184,6 +184,11 @@ module Rubycfn
184
184
 
185
185
  def self.output(name, arguments)
186
186
  name = name.to_s.cfnize
187
+ if arguments[:export]
188
+ unless arguments[:export].respond_to?("each")
189
+ arguments[:export] = { "Name": arguments[:export] }
190
+ end
191
+ end
187
192
  param = {
188
193
  "Description": arguments[:description],
189
194
  "Value": arguments[:value],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubycfn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis Vink