cfn_camelizer 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0765e9ad5840366f4dc60588ef01230d6fd8197d6f8581d8723f0f0c6385e655
4
- data.tar.gz: 5af541989f281e5946e8393befa56b3a81d50859b7378f96f37ac802265bfb7d
3
+ metadata.gz: a990d779a435b3eeee83edc683dfb60bf1dcd2db72849f7bd4fa1560db1a1f48
4
+ data.tar.gz: e280c76d9d39c522cbfcfef0139133e58da9781f11c31ceeec201b1cf09816f7
5
5
  SHA512:
6
- metadata.gz: ac32f48489ea365ec19857a3af978a6e21180a1afd479dcaaec96d18611349a5627137ccf648b89f1a8c14cb5a880d91b9f5a0a77b45808839f207ea352e07a0
7
- data.tar.gz: b9e45d897be5f2fe349ebe578cdeb662594b1b66f3dc69ad592348f65031c31cc68960f288c47362a5c813bf42c51afd57a9bcf6dde3003fc543053b459522bd
6
+ metadata.gz: 6856b58c1663b9436190d9bbfcd0bebaaa53a340af9d23cc862bf502b0c967489cb477ea57bde0d8455b983cfaf4182f57d7ee60e912dbc542381727cee80205
7
+ data.tar.gz: ea9f07bed19d5c61b1aff753b5d2109a19d07cea5ec62681bdc3f944430c144e293d5f6b1f195bb788c973aad006008f2af3c226ce642d8e7a8f2c403fde8022
@@ -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.0]
7
+ - add AWS::ApiGateway::Authorizer cases
8
+
6
9
  ## [0.3.0]
7
10
  - camelizer.yml: scope camelizing rules more finely with resource_keys rule
8
11
  - add NotificationTargetARN
@@ -4,6 +4,8 @@ special_keys:
4
4
  # Very fine grain control, since these map rules are scoped to specific resources
5
5
  # After the special_keys map for backwards compatibility.
6
6
  resource_keys: # specific to resource types
7
+ AWS::ApiGateway::Authorizer:
8
+ ProviderArns: ProviderARNs
7
9
  AWS::ApplicationAutoScaling::ScalableTarget:
8
10
  RoleArn: RoleARN
9
11
  AWS::AutoScaling::AutoScalingGroup:
@@ -5,6 +5,8 @@ require "rainbow/ext/string"
5
5
  require "active_support/core_ext/string"
6
6
  require "active_support/core_ext/hash"
7
7
 
8
+ # Custom Camelizer with CloudFormation specific handling.
9
+ # Based on: https://stackoverflow.com/questions/8706930/converting-nested-hash-keys-from-camelcase-to-snake-case-in-ruby
8
10
  class CfnCamelizer
9
11
  class << self
10
12
  extend Memoist
@@ -1,3 +1,3 @@
1
1
  class CfnCamelizer
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
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.3.0
4
+ version: 0.4.0
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-08-30 00:00:00.000000000 Z
11
+ date: 2019-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
136
  requirements: []
137
- rubygems_version: 3.0.3
137
+ rubygems_version: 3.0.6
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: Cfn Camelizer