dnsmadeeasy_verify 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dnsmadeeasy_verify.rb +2 -3
- data/lib/dnsmadeeasy_verify/domain.rb +3 -2
- data/lib/dnsmadeeasy_verify/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 392566216326903b31b369978e4f5a4cb82ce273
|
4
|
+
data.tar.gz: 1cb092c9fe473ffcda41e0b94f64f7faad17ef7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d77a51f550f5e7a62b35d93175332214a31298db778b71d8dd72d7c97923e89eaafef2a7724543a6b07d973f04b46f88d39408af3102fafe4e0a954593751b0
|
7
|
+
data.tar.gz: 7ea8ec9a1852f6b3665b03b903818135578cb2a4efa1ed1ab0c45fe18efb1145ba7303a3bc0bf1f2d679074dfbac7a236e41f25c07c4c43f8ec582584cca5d9c
|
data/lib/dnsmadeeasy_verify.rb
CHANGED
@@ -16,16 +16,15 @@ module Dnsmadeeasy_verify
|
|
16
16
|
data = JSON.parse(response.body)
|
17
17
|
|
18
18
|
data['data'].each do |child|
|
19
|
-
domains[child["name"]] = Domain.new(child["name"])
|
19
|
+
domains[child["name"]] = Domain.new(child["id"],child["name"])
|
20
20
|
end
|
21
|
-
|
22
21
|
end
|
23
22
|
|
24
23
|
domains
|
25
24
|
end
|
26
25
|
|
27
26
|
# Returns all domains that are not correctly setup on DNS Made Easy
|
28
|
-
def self.domains_not_on_dnsmadeeasy
|
27
|
+
def self.domains_not_on_dnsmadeeasy
|
29
28
|
domains = self.list_domains
|
30
29
|
domains_not_on_dnsmadeeasy = Hash.new
|
31
30
|
domains.each do |k, v|
|