cfn-model 0.1.10 → 0.1.11

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: 1111e254f6f994ce40d2622c0e8e0d6214a6757c
4
- data.tar.gz: fc58f51eb45b258728ee5af72f390af32916497c
3
+ metadata.gz: 770753ddd59a7c579afe0287762722fb20095ac8
4
+ data.tar.gz: 6814f56faedeb9fb7e8f8f6edd814f1406e48e90
5
5
  SHA512:
6
- metadata.gz: 3a5f073653331a451edf9d2fbc2315a060340827be6aeeff2e2f4ff9c199bc43b3b67a6c1471122631c640b0e4482cc0a26174062aeaae5a8b43f82fcc191809
7
- data.tar.gz: 4b3b423503fdb17ef17bb860526a74f748ba1b9e05b4da6a15642292225a4e62508778efe785a2e98685834f215de4d9dbc64a654c013a28df1dbd0b7db5d515
6
+ metadata.gz: 5c478c5364ca9cd08905af9d99d6ca065c263e42e7b17bdaedc6fac59305b1ffce6432dc9d931eecd3c7c6925744e0af16a7cbf2082645dea07de58caafdf337
7
+ data.tar.gz: c5379871ba8a1f78fa687082d59cbffc83c894303b0e1636628091ad111b971b6453c37b416bce24c6c466a927e8a1c85fbd66cf47176c9e24e27e326877776c
@@ -46,7 +46,7 @@ module Custom
46
46
  end
47
47
 
48
48
  class ModelElement
49
- attr_accessor :logical_resource_id, :resource_type
49
+ attr_accessor :logical_resource_id, :resource_type, :metadata
50
50
 
51
51
  def to_s
52
52
  <<END
@@ -67,6 +67,7 @@ class CfnParser
67
67
  resource_object = resource_class.new
68
68
  resource_object.logical_resource_id = resource_name
69
69
  resource_object.resource_type = resource['Type']
70
+ resource_object.metadata = resource['Metadata']
70
71
 
71
72
  assign_fields_based_upon_properties resource_object, resource
72
73
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfn-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kascic