cfn_camelizer 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/camelizer.yml +2 -0
- data/lib/cfn_camelizer.rb +2 -0
- data/lib/cfn_camelizer/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a990d779a435b3eeee83edc683dfb60bf1dcd2db72849f7bd4fa1560db1a1f48
|
4
|
+
data.tar.gz: e280c76d9d39c522cbfcfef0139133e58da9781f11c31ceeec201b1cf09816f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6856b58c1663b9436190d9bbfcd0bebaaa53a340af9d23cc862bf502b0c967489cb477ea57bde0d8455b983cfaf4182f57d7ee60e912dbc542381727cee80205
|
7
|
+
data.tar.gz: ea9f07bed19d5c61b1aff753b5d2109a19d07cea5ec62681bdc3f944430c144e293d5f6b1f195bb788c973aad006008f2af3c226ce642d8e7a8f2c403fde8022
|
data/CHANGELOG.md
CHANGED
@@ -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
|
data/lib/camelizer.yml
CHANGED
@@ -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:
|
data/lib/cfn_camelizer.rb
CHANGED
@@ -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
|
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
|
+
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-
|
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.
|
137
|
+
rubygems_version: 3.0.6
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Cfn Camelizer
|