cfn_camelizer 0.4.0 → 0.4.1

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: a990d779a435b3eeee83edc683dfb60bf1dcd2db72849f7bd4fa1560db1a1f48
4
- data.tar.gz: e280c76d9d39c522cbfcfef0139133e58da9781f11c31ceeec201b1cf09816f7
3
+ metadata.gz: '0850db557549a4dcc81ed90fbbf2cb9fea7d416bb51c360aebb7b4acf99971f3'
4
+ data.tar.gz: 81b1fe1fa2f7728e5352fd3ea5e8a58acc462180935d37555b0cd7a282bfb582
5
5
  SHA512:
6
- metadata.gz: 6856b58c1663b9436190d9bbfcd0bebaaa53a340af9d23cc862bf502b0c967489cb477ea57bde0d8455b983cfaf4182f57d7ee60e912dbc542381727cee80205
7
- data.tar.gz: ea9f07bed19d5c61b1aff753b5d2109a19d07cea5ec62681bdc3f944430c144e293d5f6b1f195bb788c973aad006008f2af3c226ce642d8e7a8f2c403fde8022
6
+ metadata.gz: defe2500f8cda15030bcfa79dcebea918d175cd163495484031d1a76879cdd3d3237ebc4a486bb1876bd889f3fb99af7d4e2069e2cb91addc1d89cd319172b00
7
+ data.tar.gz: 65a45fa90dad52ef1a17dbf600c37e00a82eb2e72c692522da5ac63be2487807273d9511cb330ca0f74097f7e9e593b098733385ef42d9cf34b72e92641593af
@@ -3,6 +3,9 @@
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.1]
7
+ - respect resource_keys special handling with Type string as well as :type symbol
8
+
6
9
  ## [0.4.0]
7
10
  - add AWS::ApiGateway::Authorizer cases
8
11
 
@@ -16,8 +16,8 @@ class CfnCamelizer
16
16
  when Array
17
17
  value.map { |v| transform(v, parent_keys, resource_type) }
18
18
  when Hash
19
- if value.keys.include?(:type)
20
- resource_type ||= value[:type]
19
+ if value.keys.include?(:type) || value.keys.include?("Type")
20
+ resource_type ||= value[:type] || value["Type"]
21
21
  end
22
22
 
23
23
  initializer = value.map do |k, v|
@@ -1,3 +1,3 @@
1
1
  class CfnCamelizer
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
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.0
4
+ version: 0.4.1
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-09-11 00:00:00.000000000 Z
11
+ date: 2019-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport