terraforming 0.6.0 → 0.6.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3494765760a8cd349634b11dc5309a55240ccb3
|
4
|
+
data.tar.gz: 1757ab71805c7d769cf29e41af0415f718efee6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ba68b54b90145eaa4d47fda7e251b479794272a0023cd0224d25bbfd6e13128c6181f832b2868c9e8986dc902dcf229893d254e079fa01fe4d2248e570f41ac
|
7
|
+
data.tar.gz: b28b0e95becc9ee47c70757fe936e20829dabd58eb09722d9d4793e6288c3a68d8fba28ee082a27690b1eb1557a0a454cd79ea658f15ede3d3e1dcb4e27b437e
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
# [v0.6.
|
1
|
+
# [v0.6.1](https://github.com/dtan4/terraforming/releases/tag/v0.6.1) (2015-11-27)
|
2
|
+
|
3
|
+
## Fixed
|
4
|
+
|
5
|
+
- Fix wildcard record format of Route53 Record #139 (thanks @k1LoW)
|
6
|
+
|
7
|
+
# [v0.6.0](https://github.com/dtan4/terraforming/releases/tag/v0.6.0) (2015-11-21)
|
2
8
|
|
3
9
|
## Resource
|
4
10
|
|
@@ -26,7 +26,7 @@ module Terraforming
|
|
26
26
|
|
27
27
|
attributes = {
|
28
28
|
"id"=> record_id,
|
29
|
-
"name"=> name_of(record.name),
|
29
|
+
"name"=> name_of(record.name.gsub(/\\052/, '*')),
|
30
30
|
"type" => record.type,
|
31
31
|
"zone_id" => zone_id,
|
32
32
|
}
|
@@ -56,7 +56,7 @@ module Terraforming
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def record_id_of(record, zone_id)
|
59
|
-
"#{zone_id}_#{name_of(record.name)}_#{record.type}"
|
59
|
+
"#{zone_id}_#{name_of(record.name.gsub(/\\052/, '*'))}_#{record.type}"
|
60
60
|
end
|
61
61
|
|
62
62
|
def record_sets_of(hosted_zone)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<%- record, zone_id = r[:record], r[:zone_id] -%>
|
3
3
|
resource "aws_route53_record" "<%= module_name_of(record) %>" {
|
4
4
|
zone_id = "<%= zone_id %>"
|
5
|
-
name = "<%= name_of(record.name) %>"
|
5
|
+
name = "<%= name_of(record.name.sub(/\\052/, '*')) %>"
|
6
6
|
type = "<%= record.type %>"
|
7
7
|
<%- unless record.resource_records.empty? -%>
|
8
8
|
records = <%= record.resource_records.map(&:value).to_s %>
|
data/lib/terraforming/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: terraforming
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daisuke Fujita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|