awspec 0.85.0 → 0.85.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awspec/stub/route53_hosted_zone.rb +10 -0
- data/lib/awspec/type/route53_hosted_zone.rb +2 -2
- data/lib/awspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d45c7d7e3ad340bc104fca0115c5b7de032de014
|
4
|
+
data.tar.gz: 6353ca3d1721a55cb89bed5da113fa87135dfa15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e17224da1c143bef00991cedae5042d5fc9fc1d49ddeab9177f17acb41cc07ccdcd94379a21616bff23dbce18db6345a53aad585b0ba933b015ce72610982e02
|
7
|
+
data.tar.gz: fb5e81d2451f526cefd35d2fa53b56b12c563bac8a5cfe6b6e1cc5320d9740ce6029060821ffac869c775012a389b4415dfebff7456476b33900bc2eeb532c4e
|
@@ -17,12 +17,12 @@ module Awspec::Type
|
|
17
17
|
ret = resource_via_client_record_sets.find do |record_set|
|
18
18
|
# next if record_set.type != type.upcase
|
19
19
|
next unless record_set.type.casecmp(type) == 0
|
20
|
-
options[:ttl] = record_set[:ttl] unless options[:ttl]
|
21
20
|
if !record_set.resource_records.empty?
|
22
21
|
sorted = record_set.resource_records.map { |r| r.value }.sort.join("\n")
|
22
|
+
ttl = options[:ttl] || record_set[:ttl]
|
23
23
|
record_set.name == name && \
|
24
24
|
value.split("\n").sort.join("\n") == sorted && \
|
25
|
-
record_set.ttl ==
|
25
|
+
record_set.ttl == ttl
|
26
26
|
else
|
27
27
|
# ALIAS
|
28
28
|
record_set.name == name && \
|
data/lib/awspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.85.
|
4
|
+
version: 0.85.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- k1LoW
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|