epp-client-smallregistry 0.15.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/lib/epp-client/smallregistry.rb +4 -4
- metadata +72 -61
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
5
|
-
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 30e3e31bf0478cc2d1d4e3eda0d148f8074d5d3c
|
4
|
+
data.tar.gz: 7c282b61f2c1694d683946e16bcde1a599e61c4f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 18c3ace2fc94b051d31d6cbbb0695f0d6b0dc9db3307c7cdb40ab619f93d94beafab4def35cf6925c03fa590ab1c1f3e9dd4d52919427d335fa7b2715a779f85
|
7
|
+
data.tar.gz: baef315f3d34fdadf839f8e5ccf6aafb1ca30a251ebbb87f60981fc97bb1cca271a6fc97a3ae2a375acf6fafa4d2798c940dbdf5f00c56c7c49e5e4c7e2f6c76
|
@@ -35,7 +35,7 @@ module EPPClient
|
|
35
35
|
# See EPPClient for other attributes.
|
36
36
|
def initialize(attrs)
|
37
37
|
unless attrs.key?(:client_id) && attrs.key?(:password) && attrs.key?(:ssl_cert) && attrs.key?(:ssl_key)
|
38
|
-
|
38
|
+
raise ArgumentError, 'client_id, password, ssl_cert and ssl_key are required'
|
39
39
|
end
|
40
40
|
if attrs.delete(:test) == true
|
41
41
|
attrs[:server] ||= 'epp.test.smallregistry.net'
|
@@ -70,14 +70,14 @@ module EPPClient
|
|
70
70
|
|
71
71
|
def contact_info_process(xml) #:nodoc:
|
72
72
|
ret = super
|
73
|
-
|
74
|
-
|
73
|
+
unless (contact = xml.xpath('epp:extension/sr:ext/sr:infData/sr:contact', EPPClient::SCHEMAS_URL)).empty?
|
74
|
+
unless (person = contact.xpath('sr:person', EPPClient::SCHEMAS_URL)).empty?
|
75
75
|
ret[:person] = {
|
76
76
|
:birthDate => Date.parse(person.xpath('sr:birthDate', EPPClient::SCHEMAS_URL).text),
|
77
77
|
:birthPlace => person.xpath('sr:birthPlace', EPPClient::SCHEMAS_URL).text,
|
78
78
|
}
|
79
79
|
end
|
80
|
-
|
80
|
+
unless (org = contact.xpath('sr:org', EPPClient::SCHEMAS_URL)).empty?
|
81
81
|
ret[:org] = { :companySerial => org.xpath('sr:companySerial', EPPClient::SCHEMAS_URL).text }
|
82
82
|
end
|
83
83
|
end
|
metadata
CHANGED
@@ -1,76 +1,92 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: epp-client-smallregistry
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.15.1
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Mathieu Arnold
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2016-02-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
15
14
|
name: bundler
|
16
|
-
|
17
|
-
|
18
|
-
requirements:
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
19
17
|
- - ">="
|
20
|
-
- !ruby/object:Gem::Version
|
18
|
+
- !ruby/object:Gem::Version
|
21
19
|
version: 1.0.0
|
22
20
|
type: :development
|
23
|
-
version_requirements: *id001
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: nokogiri
|
26
21
|
prerelease: false
|
27
|
-
|
28
|
-
requirements:
|
29
|
-
- -
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.4'
|
32
34
|
type: :runtime
|
33
|
-
version_requirements: *id002
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: builder
|
36
35
|
prerelease: false
|
37
|
-
|
38
|
-
requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.4'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: builder
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
39
45
|
- - ">="
|
40
|
-
- !ruby/object:Gem::Version
|
46
|
+
- !ruby/object:Gem::Version
|
41
47
|
version: 2.1.2
|
42
48
|
type: :runtime
|
43
|
-
version_requirements: *id003
|
44
|
-
- !ruby/object:Gem::Dependency
|
45
|
-
name: epp-client-base
|
46
49
|
prerelease: false
|
47
|
-
|
48
|
-
requirements:
|
49
|
-
- - "
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
version:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.1.2
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: epp-client-base
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.15.1
|
52
62
|
type: :runtime
|
53
|
-
version_requirements: *id004
|
54
|
-
- !ruby/object:Gem::Dependency
|
55
|
-
name: epp-client-secdns
|
56
63
|
prerelease: false
|
57
|
-
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 0.15.
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.15.1
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: epp-client-secdns
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.15.1
|
62
76
|
type: :runtime
|
63
|
-
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.15.1
|
64
83
|
description: Smallregistry EPP client library.
|
65
|
-
email:
|
84
|
+
email:
|
66
85
|
- m@absolight.fr
|
67
86
|
executables: []
|
68
|
-
|
69
87
|
extensions: []
|
70
|
-
|
71
88
|
extra_rdoc_files: []
|
72
|
-
|
73
|
-
files:
|
89
|
+
files:
|
74
90
|
- ChangeLog
|
75
91
|
- EXAMPLE.SMALLREGISTRY
|
76
92
|
- Gemfile
|
@@ -82,30 +98,25 @@ files:
|
|
82
98
|
- vendor/smallregistry/sr-1.0.xsd
|
83
99
|
homepage: https://github.com/Absolight/epp-client
|
84
100
|
licenses: []
|
85
|
-
|
86
101
|
metadata: {}
|
87
|
-
|
88
102
|
post_install_message:
|
89
103
|
rdoc_options: []
|
90
|
-
|
91
|
-
require_paths:
|
104
|
+
require_paths:
|
92
105
|
- lib
|
93
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
106
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
95
108
|
- - ">="
|
96
|
-
- !ruby/object:Gem::Version
|
109
|
+
- !ruby/object:Gem::Version
|
97
110
|
version: 1.8.7
|
98
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
111
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
100
113
|
- - ">="
|
101
|
-
- !ruby/object:Gem::Version
|
114
|
+
- !ruby/object:Gem::Version
|
102
115
|
version: 1.3.6
|
103
116
|
requirements: []
|
104
|
-
|
105
117
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.
|
118
|
+
rubygems_version: 2.4.8
|
107
119
|
signing_key:
|
108
120
|
specification_version: 4
|
109
121
|
summary: Smallregistry EPP client library
|
110
122
|
test_files: []
|
111
|
-
|