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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/zonify.rb +5 -2
  3. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a94cce7991de67a3eecc94dc045bc4185aa7fd47
4
- data.tar.gz: 3ad236c07fc95ce2c7feb0ccebf964cdb0dd5015
3
+ metadata.gz: d0c0d964e3460992ebd56757bb08237df3827c92
4
+ data.tar.gz: c6363fee973ef48b261f5d5b5eaa01606dc5aade
5
5
  SHA512:
6
- metadata.gz: 79a613b3fb856692fe7eeabe569366c45b274f76588477aa621050f6e7b798edf24e50b7dbb7f8046971f35a6c0540d9459e4b60a0ee6f6400cb3690a40e02b2
7
- data.tar.gz: 193f25d67c2130632995677a04f88ba7306467a7e80f91602dda5a89c81cc2e067cafc69718a7bd612402da54eb0f833d0be41157bbc75d5d4d670f5b0fc37da
6
+ metadata.gz: fcf30e9e599f1e82a1887a9ecb6aaea9442e8abeab6caef0230ca7183ab21e5f12d8031c946c92bf38a1da076fa0c92672cd86276e3051b43aa3e18076c3b7a7
7
+ data.tar.gz: 955991456142071063f0ca3869d20bafbec6ba23005772ba6f414f8c31ebb48c0164b58414baccdfedbf555f754ab5e289d4b9c7fe612b8ea1a19a4992acd14a
@@ -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 Zonify.compare_records(old_data, data)
395
- Zonify.hoist(data, name, type, 'CREATE')
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.8.1
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-01-19 00:00:00.000000000 Z
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.4.5.1
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: