cloud_former 0.2.4 → 0.2.5

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: 1fe0f677aaf78657f09160fe28da125a2135290c
4
- data.tar.gz: 1293f04022ff5da19c48d672d25f40b1fa6150b8
3
+ metadata.gz: 091f61c3f3e11af636f74dec749717785970961d
4
+ data.tar.gz: 0c33b2be91d35c19543a84a5524d62a4a563bd99
5
5
  SHA512:
6
- metadata.gz: af6a2e89fbcaeb5595e9a67e3f6d8a4c5e0a01acf15c342acec93caf03b1fe5db1e1544ca8acce2545b894a0aa79bc56f3ca9ad29db9d6c92f10d3141a8fd847
7
- data.tar.gz: 27287707af4ea3630a6547e777b99d77440db0c24acdc42675794a679712a907ca67ff28398a21d0f25f45d09f923d2a0f5f85eb83f6260c18f1ffd85e38c6c1
6
+ metadata.gz: e99962292f28a76898f427cee37177de3b6723accb251a2e20df6d6104ce6a92584cacbb572e0c73183230853409d45a5ae8657b214ada39d39b83e4dbd18ab0
7
+ data.tar.gz: 03ab5ab4116f6b7380ab494c4af8f6c447c5b97ecf0942f2cbd9a96ab239e8049c3bc5d7c46a86515b742bf799af030df1c2327fea58c8ea849469e3d9dcea99
@@ -37,6 +37,12 @@ module CloudFormer
37
37
  end
38
38
  { 'Ref' => val.name }
39
39
  end
40
+ elsif val.is_a?(Hash)
41
+ mapped_hash = {}
42
+ val.each do |k, v|
43
+ mapped_hash[k] = val_as_json(val)
44
+ end
45
+ mapped_hash
40
46
  elsif val.is_a?(Array)
41
47
  val.map do |v|
42
48
  val_as_json(v)
@@ -1,3 +1,3 @@
1
1
  module CloudFormer
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloud_former
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aubrey Holland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-11 00:00:00.000000000 Z
11
+ date: 2014-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport