cfndsl 0.12.5 → 0.12.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cfndsl/globals.rb +10 -0
- data/lib/cfndsl/orchestration_template.rb +2 -1
- data/lib/cfndsl/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e41bf37d9f81821fff32362c37217621594d458
|
4
|
+
data.tar.gz: 3097e8d5f4a84b5d7315d4aeca30ee4c2c7a6a28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af2221b26162cc171c82e3a1c8e18185f8c8c16c19eac7a371ef6a69698140dace2849e4b6fdc229efaca46f49ea2e718127d37bf15c2508ec447409afa7f257
|
7
|
+
data.tar.gz: b38849f7a9916601612f3f8115ee4767d088f53d61b0d99e90bb46135b67c8478b019865f72e0f07b0efbbd77c1ae0f3a04ef102860f86a1f1a1395455f77d40
|
@@ -2,6 +2,7 @@ require 'cfndsl/jsonable'
|
|
2
2
|
require 'cfndsl/names'
|
3
3
|
require 'cfndsl/aws/types'
|
4
4
|
require 'cfndsl/os/types'
|
5
|
+
require 'cfndsl/globals'
|
5
6
|
|
6
7
|
module CfnDsl
|
7
8
|
# Handles the overall template object
|
@@ -27,7 +28,7 @@ module CfnDsl
|
|
27
28
|
resource_name = create_resource_def(resource, info)
|
28
29
|
parts = resource.split('::')
|
29
30
|
until parts.empty?
|
30
|
-
break if parts.first
|
31
|
+
break if Globals.reserved_items.include? parts.first
|
31
32
|
abreve_name = parts.join('_')
|
32
33
|
if accessors.key? abreve_name
|
33
34
|
accessors.delete abreve_name # Delete potentially ambiguous names
|
data/lib/cfndsl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfndsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Jack
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-04-
|
12
|
+
date: 2017-04-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -52,6 +52,7 @@ files:
|
|
52
52
|
- lib/cfndsl/errors.rb
|
53
53
|
- lib/cfndsl/external_parameters.rb
|
54
54
|
- lib/cfndsl/generate_types.rb
|
55
|
+
- lib/cfndsl/globals.rb
|
55
56
|
- lib/cfndsl/json_serialisable_object.rb
|
56
57
|
- lib/cfndsl/jsonable.rb
|
57
58
|
- lib/cfndsl/mappings.rb
|