epp-xml 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/epp-xml.rb +1 -1
- data/lib/epp-xml/contact.rb +2 -2
- data/lib/epp-xml/domain.rb +6 -6
- data/lib/epp-xml/keyrelay.rb +2 -2
- data/lib/epp-xml/session.rb +3 -3
- 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: f3b30151c4c6323e7bcdd034234f41df355e16bd
|
4
|
+
data.tar.gz: aa09e8107587bfbaad780e1e7a89219ad977c99c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9cc2a53815efbbd4e223fa50d014bcc4cf0e0a5f40885922e716bbcf125dc2e28306f374c3eb665354e82cf4d0b43023b1c0acc84e67549032e43bd76242882
|
7
|
+
data.tar.gz: ac6b70935922b53fa2d3660feb2681dac2e364276a68ea629a987fa9095d2c57112ee910df07db8e8e76baae120644f210ba106f2b6fa57cdc76c836ebd24508
|
data/lib/epp-xml.rb
CHANGED
@@ -58,7 +58,7 @@ class EppXml
|
|
58
58
|
def custom_ext(xml, custom_params)
|
59
59
|
xml.extension do
|
60
60
|
xml.tag!('eis:extdata',
|
61
|
-
'xmlns:eis' => 'https://
|
61
|
+
'xmlns:eis' => 'https://epp.tld.ee/schema/eis-1.0.xsd') do
|
62
62
|
EppXml.generate_xml_from_hash(custom_params, xml, 'eis:')
|
63
63
|
end if custom_params.any?
|
64
64
|
end if custom_params.any?
|
data/lib/epp-xml/contact.rb
CHANGED
@@ -31,7 +31,7 @@ class EppXml
|
|
31
31
|
xml.epp('xmlns' => 'urn:ietf:params:xml:ns:epp-1.0') do
|
32
32
|
xml.command do
|
33
33
|
xml.transfer('op' => op) do
|
34
|
-
xml.tag!('contact:transfer', 'xmlns:contact' => 'https://
|
34
|
+
xml.tag!('contact:transfer', 'xmlns:contact' => 'https://epp.tld.ee/schema/contact-eis-1.0.xsd') do
|
35
35
|
EppXml.generate_xml_from_hash(xml_params, xml, 'contact:')
|
36
36
|
end
|
37
37
|
end
|
@@ -51,7 +51,7 @@ class EppXml
|
|
51
51
|
xml.epp('xmlns' => 'urn:ietf:params:xml:ns:epp-1.0') do
|
52
52
|
xml.command do
|
53
53
|
xml.tag!(command) do
|
54
|
-
xml.tag!("contact:#{command}", 'xmlns:contact' => 'https://
|
54
|
+
xml.tag!("contact:#{command}", 'xmlns:contact' => 'https://epp.tld.ee/schema/contact-eis-1.0.xsd') do
|
55
55
|
EppXml.generate_xml_from_hash(xml_params, xml, 'contact:')
|
56
56
|
end
|
57
57
|
end
|
data/lib/epp-xml/domain.rb
CHANGED
@@ -27,7 +27,7 @@ class EppXml
|
|
27
27
|
xml.epp('xmlns' => 'urn:ietf:params:xml:ns:epp-1.0') do
|
28
28
|
xml.command do
|
29
29
|
xml.create do
|
30
|
-
xml.tag!('domain:create', 'xmlns:domain' => 'https://
|
30
|
+
xml.tag!('domain:create', 'xmlns:domain' => 'https://epp.tld.ee/schema/domain-eis-1.0.xsd') do
|
31
31
|
EppXml.generate_xml_from_hash(xml_params, xml, 'domain:')
|
32
32
|
end
|
33
33
|
end
|
@@ -38,7 +38,7 @@ class EppXml
|
|
38
38
|
end if dnssec_params.any?
|
39
39
|
|
40
40
|
xml.tag!('eis:extdata',
|
41
|
-
'xmlns:eis' => 'https://
|
41
|
+
'xmlns:eis' => 'https://epp.tld.ee/schema/eis-1.0.xsd') do
|
42
42
|
EppXml.generate_xml_from_hash(custom_params, xml, 'eis:')
|
43
43
|
end if custom_params.any?
|
44
44
|
end if dnssec_params.any? || custom_params.any?
|
@@ -55,7 +55,7 @@ class EppXml
|
|
55
55
|
xml.epp('xmlns' => 'urn:ietf:params:xml:ns:epp-1.0') do
|
56
56
|
xml.command do
|
57
57
|
xml.update do
|
58
|
-
xml.tag!('domain:update', 'xmlns:domain' => 'https://
|
58
|
+
xml.tag!('domain:update', 'xmlns:domain' => 'https://epp.tld.ee/schema/domain-eis-1.0.xsd') do
|
59
59
|
EppXml.generate_xml_from_hash(xml_params, xml, 'domain:')
|
60
60
|
end
|
61
61
|
end
|
@@ -66,7 +66,7 @@ class EppXml
|
|
66
66
|
end
|
67
67
|
|
68
68
|
xml.tag!('eis:extdata',
|
69
|
-
'xmlns:eis' => 'https://
|
69
|
+
'xmlns:eis' => 'https://epp.tld.ee/schema/eis-1.0.xsd') do
|
70
70
|
EppXml.generate_xml_from_hash(custom_params, xml, 'eis:')
|
71
71
|
end if custom_params.any?
|
72
72
|
end if dnssec_params.any? || custom_params.any?
|
@@ -83,7 +83,7 @@ class EppXml
|
|
83
83
|
xml.epp('xmlns' => 'urn:ietf:params:xml:ns:epp-1.0') do
|
84
84
|
xml.command do
|
85
85
|
xml.transfer('op' => op) do
|
86
|
-
xml.tag!('domain:transfer', 'xmlns:domain' => 'https://
|
86
|
+
xml.tag!('domain:transfer', 'xmlns:domain' => 'https://epp.tld.ee/schema/domain-eis-1.0.xsd') do
|
87
87
|
EppXml.generate_xml_from_hash(xml_params, xml, 'domain:')
|
88
88
|
end
|
89
89
|
end
|
@@ -103,7 +103,7 @@ class EppXml
|
|
103
103
|
xml.epp('xmlns' => 'urn:ietf:params:xml:ns:epp-1.0') do
|
104
104
|
xml.command do
|
105
105
|
xml.tag!(command) do
|
106
|
-
xml.tag!("domain:#{command}", 'xmlns:domain' => 'https://
|
106
|
+
xml.tag!("domain:#{command}", 'xmlns:domain' => 'https://epp.tld.ee/schema/domain-eis-1.0.xsd') do
|
107
107
|
EppXml.generate_xml_from_hash(xml_params, xml, 'domain:')
|
108
108
|
end
|
109
109
|
end
|
data/lib/epp-xml/keyrelay.rb
CHANGED
@@ -11,7 +11,7 @@ class EppXml
|
|
11
11
|
xml.epp(
|
12
12
|
'xmlns' => 'urn:ietf:params:xml:ns:epp-1.0',
|
13
13
|
'xmlns:secDNS' => 'urn:ietf:params:xml:ns:secDNS-1.1',
|
14
|
-
'xmlns:domain' => 'https://
|
14
|
+
'xmlns:domain' => 'https://epp.tld.ee/schema/domain-eis-1.0.xsd',
|
15
15
|
'xmlns:ext' => 'urn:ietf:params:xml:ns:keyrelay-1.0'
|
16
16
|
) do
|
17
17
|
xml.tag!('command') do
|
@@ -34,7 +34,7 @@ class EppXml
|
|
34
34
|
end
|
35
35
|
|
36
36
|
xml.tag!('eis:extdata',
|
37
|
-
'xmlns:eis' => 'https://
|
37
|
+
'xmlns:eis' => 'https://epp.tld.ee/schema/eis-1.0.xsd') do
|
38
38
|
EppXml.generate_xml_from_hash(custom_params, xml, 'eis:')
|
39
39
|
end if custom_params.any?
|
40
40
|
|
data/lib/epp-xml/session.rb
CHANGED
@@ -15,14 +15,14 @@ class EppXml
|
|
15
15
|
},
|
16
16
|
svcs: {
|
17
17
|
_objURIs: [
|
18
|
-
{ objURI: { value: 'https://
|
19
|
-
{ objURI: { value: 'https://
|
18
|
+
{ objURI: { value: 'https://epp.tld.ee/schema/domain-eis-1.0.xsd' } },
|
19
|
+
{ objURI: { value: 'https://epp.tld.ee/schema/contact-eis-1.0.xsd' } },
|
20
20
|
{ objURI: { value: 'urn:ietf:params:xml:ns:host-1.0' } },
|
21
21
|
{ objURI: { value: 'urn:ietf:params:xml:ns:keyrelay-1.0' } }
|
22
22
|
],
|
23
23
|
svcExtension: [
|
24
24
|
{ extURI: { value: 'urn:ietf:params:xml:ns:secDNS-1.1' } },
|
25
|
-
{ extURI: { value: 'https://
|
25
|
+
{ extURI: { value: 'https://epp.tld.ee/schema/eis-1.0.xsd' } }
|
26
26
|
]
|
27
27
|
}
|
28
28
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epp-xml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GiTLAB LTD
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|