zonify 0.4.8.1 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zonify.rb +5 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0c0d964e3460992ebd56757bb08237df3827c92
|
4
|
+
data.tar.gz: c6363fee973ef48b261f5d5b5eaa01606dc5aade
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcf30e9e599f1e82a1887a9ecb6aaea9442e8abeab6caef0230ca7183ab21e5f12d8031c946c92bf38a1da076fa0c92672cd86276e3051b43aa3e18076c3b7a7
|
7
|
+
data.tar.gz: 955991456142071063f0ca3869d20bafbec6ba23005772ba6f414f8c31ebb48c0164b58414baccdfedbf555f754ab5e289d4b9c7fe612b8ea1a19a4992acd14a
|
data/lib/zonify.rb
CHANGED
@@ -391,8 +391,11 @@ def diff(new_records, old_records, types=['CNAME','SRV'])
|
|
391
391
|
v.map do |type, data|
|
392
392
|
if types.member? '*' or types.member? type
|
393
393
|
old_data = ((old and old[type]) or {})
|
394
|
-
unless
|
395
|
-
|
394
|
+
unless type == 'CNAME' and not types.member? 'A' and
|
395
|
+
old and old.member? 'A'
|
396
|
+
unless Zonify.compare_records(old_data, data)
|
397
|
+
Zonify.hoist(data, name, type, 'CREATE')
|
398
|
+
end
|
396
399
|
end
|
397
400
|
end
|
398
401
|
end.compact
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zonify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Dusek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog
|
@@ -57,8 +57,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
57
|
version: '0'
|
58
58
|
requirements: []
|
59
59
|
rubyforge_project:
|
60
|
-
rubygems_version: 2.
|
60
|
+
rubygems_version: 2.5.1
|
61
61
|
signing_key:
|
62
62
|
specification_version: 4
|
63
63
|
summary: Generate DNS information from EC2 metadata.
|
64
64
|
test_files: []
|
65
|
+
has_rdoc:
|