convection 1.0.0.pre.beta.4 → 1.0.0.pre.beta.6
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9b94ed6017c63dc743846f6d9e5b4c3b9d6da7b
|
4
|
+
data.tar.gz: 9201e3b59f82f4aed6ed2cada9af584a1d8020ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4703e32cf99f90adf493ebba8c33a071a509c8547cec75ef0ab81325bf91c4a3b1bee99d5422cc999e0648d0232d5265e0796c699febf48209323a81e35b274
|
7
|
+
data.tar.gz: 8185cb8a8ba40fec997636aa875967c3b3bdc7efa8959fa200f2103f9cad90867d45b0312c1888af0e2df51b6d18f5373e8eb601a5c9064285ba986c36182949
|
@@ -26,16 +26,28 @@ module Convection
|
|
26
26
|
property :record_type, 'Type'
|
27
27
|
property :weight, 'Weight'
|
28
28
|
|
29
|
-
def alias_target(&block)
|
30
|
-
|
31
|
-
|
32
|
-
|
29
|
+
def alias_target(tgt = nil, &block)
|
30
|
+
if tgt
|
31
|
+
# Maintain backwards compatability
|
32
|
+
alias_tgt tgt
|
33
|
+
else
|
34
|
+
# Add new resource_property functionality
|
35
|
+
a = ResourceProperty::Route53AliasTarget.new(self)
|
36
|
+
a.instance_exec(&block) if block
|
37
|
+
properties['AliasTarget'].set(a)
|
38
|
+
end
|
33
39
|
end
|
34
40
|
|
35
|
-
def geo_location(&block)
|
36
|
-
|
37
|
-
|
38
|
-
|
41
|
+
def geo_location(geo = nil, &block)
|
42
|
+
if geo
|
43
|
+
# Maintain backwards compatability
|
44
|
+
geo_loc geo
|
45
|
+
else
|
46
|
+
# Add new resource_property functionality
|
47
|
+
g = ResourceProperty::Route53GeoLocation.new(self)
|
48
|
+
g.instance_exec(&block) if block
|
49
|
+
properties['GeoLocation'].set(g)
|
50
|
+
end
|
39
51
|
end
|
40
52
|
end
|
41
53
|
end
|