cfn-model 0.1.35 → 0.1.36

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
  SHA256:
3
- metadata.gz: 4a7c23dabd4b1d3f0f73056e8ae9fcbe2e973937832985cf60373dd0bde5587c
4
- data.tar.gz: 580030b0d1dde7a33caed7d31a9a300e37112bcb679b8460a1959433b2df194e
3
+ metadata.gz: cd0f87d2dc4fde6a5efd6ff4d5790226a6c3515fe964adab1e6dbba5e712a69b
4
+ data.tar.gz: 53a5cf4de3ded97d9f084207b860666fdcbde8a90becd7c027e863f13f184a2f
5
5
  SHA512:
6
- metadata.gz: bf866a4c4bf188ad8dcc96564a577df0f072c8333c63467091f60b2092c156dcbbffb3ecb2b1783862c9256ea6c31580071af19a752a9a8cd28d53675b939c47
7
- data.tar.gz: 14279bb0655dc6510d06660311b2c2c88bf7ab4cf335d52d68e29088b9fc3e9b4e6002a441abc985bad0333e1b3d811717f86a42ab0444a9a5cf13a793427b9b
6
+ metadata.gz: 8bed08eb4cc4398b756f094d8a11b21c1607a7676f2a88991985abc86fa388b7724b65875fb5b516c615b77f317f671c3b6463138a164b20a69d2a5f5c2f907c
7
+ data.tar.gz: 955a7d19ce611570d40ed572ff870d1a13bb87d4c285ed41b3508efa8db4fd18c88d3d6cf92a181c5168fea5f7a9717d9b0e4f94b44e1280a032e469c3404c28
@@ -38,7 +38,7 @@ class CfnModel
38
38
  end
39
39
 
40
40
  def resolve_globals_function_property(cfn_hash, property_name)
41
- cfn_hash['Globals']['Function'][property_name]
41
+ cfn_hash['Globals'] && cfn_hash['Globals']['Function'] && cfn_hash['Globals']['Function'][property_name]
42
42
  end
43
43
 
44
44
  def serverless_function_property(serverless_function, cfn_hash, property_name)
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.1.35
4
+ version: 0.1.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kascic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-08 00:00:00.000000000 Z
11
+ date: 2019-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop