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 +4 -4
- data/lib/cfn-model/transforms/serverless.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd0f87d2dc4fde6a5efd6ff4d5790226a6c3515fe964adab1e6dbba5e712a69b
|
4
|
+
data.tar.gz: 53a5cf4de3ded97d9f084207b860666fdcbde8a90becd7c027e863f13f184a2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
11
|
+
date: 2019-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|