cfn_camelizer 0.4.1 → 0.4.2

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: '0850db557549a4dcc81ed90fbbf2cb9fea7d416bb51c360aebb7b4acf99971f3'
4
- data.tar.gz: 81b1fe1fa2f7728e5352fd3ea5e8a58acc462180935d37555b0cd7a282bfb582
3
+ metadata.gz: 19152ca5a8cbaf82b7e60324cedf03e65c263bbf7c14bb9935beaccbcf04ef76
4
+ data.tar.gz: 1e26f2a74bb0163c6f36e754dee457c44c1a00556fd365fa888144b05bbd0dae
5
5
  SHA512:
6
- metadata.gz: defe2500f8cda15030bcfa79dcebea918d175cd163495484031d1a76879cdd3d3237ebc4a486bb1876bd889f3fb99af7d4e2069e2cb91addc1d89cd319172b00
7
- data.tar.gz: 65a45fa90dad52ef1a17dbf600c37e00a82eb2e72c692522da5ac63be2487807273d9511cb330ca0f74097f7e9e593b098733385ef42d9cf34b72e92641593af
6
+ metadata.gz: b9a109cc9d06d2a52b733d06127204b78e8a25d7894804a99fc7c02b118cd0ebe2d906866912750ad25398bb3f21c550185306e8f64bc2b50641bd08de2ae9d4
7
+ data.tar.gz: 16af9bded184039ee8ee14b713ee807633d98c3a14cdf658e58e920c7de3f3233dc86408bcacbeb93b658322d56e9e78876cbc0e369c4117ccfc372bb6d7b382
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.4.2]
7
+ - add AWS::CloudFormation::Init to passthrough keys
8
+ - pass through keys with period in them
9
+
6
10
  ## [0.4.1]
7
11
  - respect resource_keys special handling with Type string as well as :type symbol
8
12
 
@@ -32,6 +32,7 @@ resource_keys: # specific to resource types
32
32
  ClassicLinkVpcId: ClassicLinkVPCId
33
33
  ClassicLinkVpcSecurityGroups: ClassicLinkVPCSecurityGroups
34
34
  passthrough_parent_keys:
35
+ - AWS::CloudFormation::Init # configSets https://amzn.to/33iPI2Y
35
36
  - Fn::Sub # https://amzn.to/2HKwxri
36
37
  - ResponseParameters # API Gateway MethodResponse https://amzn.to/2HKw0Wk
37
- - Variables # Lambda Environment Variables https://amzn.to/2HLlttV
38
+ - Variables # Lambda Environment Variables https://amzn.to/2HLlttV
@@ -49,7 +49,7 @@ class CfnCamelizer
49
49
  # Do not transform keys under certain parent keys or keys that contain - or /
50
50
  passthrough = camelizer_yaml["passthrough_parent_keys"]
51
51
  intersection = parent_keys & passthrough
52
- !intersection.empty? || k.include?('-') || k.include?('/')
52
+ !intersection.empty? || k.include?('-') || k.include?('/') || k.include?('.')
53
53
  end
54
54
 
55
55
  def camelize(value, resource_type=nil)
@@ -1,3 +1,3 @@
1
1
  class CfnCamelizer
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfn_camelizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-09 00:00:00.000000000 Z
11
+ date: 2019-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport