epp-client-hostmaster 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -27,8 +27,8 @@ module EPPClient
|
|
27
27
|
|
28
28
|
def domain_nss_xml(xml, nss)
|
29
29
|
xml.domain :ns do
|
30
|
-
|
31
|
-
|
30
|
+
nss.each do |ns|
|
31
|
+
if ns.is_a? Hash
|
32
32
|
xml.domain :hostAttr do
|
33
33
|
xml.domain :hostName, ns[:hostName]
|
34
34
|
if ns.key?(:hostAddrv4)
|
@@ -42,9 +42,7 @@ module EPPClient
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
end
|
45
|
-
|
46
|
-
else
|
47
|
-
nss.each do |ns|
|
45
|
+
else
|
48
46
|
xml.domain :hostObj, ns
|
49
47
|
end
|
50
48
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epp-client-hostmaster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|