cfn-model 0.0.3 → 0.0.4

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: 6b0cddb414a9442e4522ff6c284f731cfb316b64
4
- data.tar.gz: 49b3d655eca1a1893c28e94a679e3d587ec32db0
3
+ metadata.gz: 451716e29e7e206640c634316e54d9e125a8621b
4
+ data.tar.gz: b563f6974c0f6dc5875749d9cd05b7cbccce931a
5
5
  SHA512:
6
- metadata.gz: 6e503b11a97e11aa3b8ebe854c716e0320d249e4b8b798db3ec3e41b9aa06f6efdcfe64680ca645e21a190eeea139a35d4e911aee94888259323fe22affd5068
7
- data.tar.gz: 959b77747f064d26fc1eee74fbea7c5e4350a19835689338a13150ad50207013f4c850b9a81b5ca4f1f0af516a19d1fc907392a4b07057a92c45ec0c85e3cbef
6
+ metadata.gz: 5e3570273abb584a20fdb65bac3a589fdc0b96bab3ffccf2102f3a1811ffe5bdebd2dc2381d268d3f23deeaeb8c05f58b35360e8874b8b2b190489280dff874f
7
+ data.tar.gz: dd7756be55aecf0313cd1472b24aa1c6b89778d5d02c0bf7aafdc00b15d63a02ea0218c6d32068fac68651fbe75ebc8b846777b6ea5d75a69bbe1a5dac6ca3e8
@@ -82,7 +82,7 @@ class CfnParser
82
82
  def assign_fields_based_upon_properties(resource_object, resource)
83
83
  unless resource['Properties'].nil?
84
84
  resource['Properties'].each do |property_name, property_value|
85
- resource_object.send("#{initialLower(property_name)}=", property_value)
85
+ resource_object.send("#{initial_lower(property_name)}=", property_value)
86
86
  end
87
87
  end
88
88
  end
@@ -91,7 +91,7 @@ class CfnParser
91
91
  begin
92
92
  resource_class = Object.const_get type_name, inherit=false
93
93
  rescue NameError
94
- puts "Never seen class: #{type_name} so going dynamic"
94
+ # puts "Never seen class: #{type_name} so going dynamic"
95
95
  resource_class = Class.new(DynamicModelElement)
96
96
 
97
97
  begin
@@ -106,7 +106,7 @@ class CfnParser
106
106
  resource_class
107
107
  end
108
108
 
109
- def initialLower(str)
109
+ def initial_lower(str)
110
110
  str.slice(0).downcase + str[1..(str.length)]
111
111
  end
112
112
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfn-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kascic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-12 00:00:00.000000000 Z
11
+ date: 2017-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kwalify