nominet-epp 0.0.12 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +24 -0
- data/.travis.yml +14 -0
- data/.yardopts +8 -2
- data/Gemfile +22 -0
- data/Gemfile.lock +64 -0
- data/HISTORY.md +78 -0
- data/LICENSE +1 -1
- data/README.md +23 -0
- data/Rakefile +2 -37
- data/gemfiles/Gemfile.ruby18 +13 -0
- data/lib/nominet-epp/client.rb +364 -0
- data/lib/nominet-epp/notification.rb +346 -0
- data/lib/nominet-epp/operations.rb +2 -7
- data/lib/nominet-epp/request.rb +165 -0
- data/lib/nominet-epp/requests/contact/check.rb +9 -0
- data/lib/nominet-epp/requests/contact/create.rb +60 -0
- data/lib/nominet-epp/requests/contact/delete.rb +9 -0
- data/lib/nominet-epp/requests/contact/info.rb +9 -0
- data/lib/nominet-epp/requests/contact/release.rb +33 -0
- data/lib/nominet-epp/requests/contact/update.rb +63 -0
- data/lib/nominet-epp/requests/custom/handshake.rb +36 -0
- data/lib/nominet-epp/requests/custom/list.rb +38 -0
- data/lib/nominet-epp/requests/custom/tag_list.rb +25 -0
- data/lib/nominet-epp/requests/domain/check.rb +98 -0
- data/lib/nominet-epp/requests/domain/create.rb +97 -0
- data/lib/nominet-epp/requests/domain/delete.rb +9 -0
- data/lib/nominet-epp/requests/domain/info.rb +9 -0
- data/lib/nominet-epp/requests/domain/release.rb +33 -0
- data/lib/nominet-epp/requests/domain/renew.rb +9 -0
- data/lib/nominet-epp/requests/domain/unrenew.rb +33 -0
- data/lib/nominet-epp/requests/domain/update.rb +134 -0
- data/lib/nominet-epp/requests/host/check.rb +9 -0
- data/lib/nominet-epp/requests/host/create.rb +9 -0
- data/lib/nominet-epp/requests/host/delete.rb +9 -0
- data/lib/nominet-epp/requests/host/info.rb +9 -0
- data/lib/nominet-epp/requests/host/update.rb +9 -0
- data/lib/nominet-epp/responses/contact/check_response.rb +10 -0
- data/lib/nominet-epp/responses/contact/create_response.rb +14 -0
- data/lib/nominet-epp/responses/contact/delete_response.rb +10 -0
- data/lib/nominet-epp/responses/contact/info_response.rb +89 -0
- data/lib/nominet-epp/responses/contact/release_response.rb +10 -0
- data/lib/nominet-epp/responses/contact/update_response.rb +10 -0
- data/lib/nominet-epp/responses/custom/handshake_response.rb +33 -0
- data/lib/nominet-epp/responses/custom/list_response.rb +29 -0
- data/lib/nominet-epp/responses/custom/tag_list_response.rb +37 -0
- data/lib/nominet-epp/responses/domain/check_response.rb +40 -0
- data/lib/nominet-epp/responses/domain/create_response.rb +10 -0
- data/lib/nominet-epp/responses/domain/delete_response.rb +10 -0
- data/lib/nominet-epp/responses/domain/info_response.rb +128 -0
- data/lib/nominet-epp/responses/domain/release_response.rb +10 -0
- data/lib/nominet-epp/responses/domain/renew_response.rb +10 -0
- data/lib/nominet-epp/responses/domain/unrenew_response.rb +26 -0
- data/lib/nominet-epp/responses/domain/update_response.rb +10 -0
- data/lib/nominet-epp/responses/host/check_response.rb +10 -0
- data/lib/nominet-epp/responses/host/create_response.rb +14 -0
- data/lib/nominet-epp/responses/host/delete_response.rb +10 -0
- data/lib/nominet-epp/responses/host/info_response.rb +14 -0
- data/lib/nominet-epp/responses/host/update_response.rb +10 -0
- data/lib/nominet-epp/responses/response.rb +27 -0
- data/lib/nominet-epp/version.rb +4 -0
- data/lib/nominet-epp.rb +60 -161
- data/nominet-epp.gemspec +15 -65
- data/test/helper.rb +57 -0
- data/test/notifications/test_contact_deleted_notification.rb +23 -0
- data/test/notifications/test_domain_cancelled_notification.rb +23 -0
- data/test/notifications/test_domains_released_notification.rb +34 -0
- data/test/notifications/test_domains_suspended_notification.rb +30 -0
- data/test/notifications/test_handshake_rejected_notification.rb +34 -0
- data/test/notifications/test_registrant_transfer_notification.rb +78 -0
- data/test/notifications/test_registrar_change_notification.rb +119 -0
- data/test/requests/contact/test_contact_check_request.rb +25 -0
- data/test/requests/contact/test_contact_create_request.rb +104 -0
- data/test/requests/contact/test_contact_delete_request.rb +20 -0
- data/test/requests/contact/test_contact_info_request.rb +20 -0
- data/test/requests/contact/test_contact_release_request.rb +29 -0
- data/test/requests/contact/test_contact_update_request.rb +111 -0
- data/test/requests/custom/test_custom_handshake_request.rb +42 -0
- data/test/requests/custom/test_custom_list_request.rb +44 -0
- data/test/requests/custom/test_custom_tag_list_request.rb +21 -0
- data/test/requests/domain/test_domain_check_request.rb +140 -0
- data/test/requests/domain/test_domain_create_request.rb +136 -0
- data/test/requests/domain/test_domain_delete_request.rb +20 -0
- data/test/requests/domain/test_domain_info_request.rb +20 -0
- data/test/requests/domain/test_domain_release_request.rb +29 -0
- data/test/requests/domain/test_domain_renew_request.rb +15 -0
- data/test/requests/domain/test_domain_unrenew_request.rb +32 -0
- data/test/requests/domain/test_domain_update_request.rb +163 -0
- data/test/requests/host/test_host_check_request.rb +25 -0
- data/test/requests/host/test_host_create_request.rb +33 -0
- data/test/requests/host/test_host_delete_request.rb +20 -0
- data/test/requests/host/test_host_info_request.rb +20 -0
- data/test/requests/host/test_host_update_request.rb +55 -0
- data/test/responses/contact/test_contact_check_response.rb +28 -0
- data/test/responses/contact/test_contact_create_response.rb +28 -0
- data/test/responses/contact/test_contact_delete_response.rb +18 -0
- data/test/responses/contact/test_contact_info_response.rb +79 -0
- data/test/responses/contact/test_contact_release_response.rb +18 -0
- data/test/responses/contact/test_contact_update_response.rb +18 -0
- data/test/responses/custom/test_custom_handshake_response.rb +27 -0
- data/test/responses/custom/test_custom_list_response.rb +44 -0
- data/test/responses/custom/test_custom_tag_list_response.rb +43 -0
- data/test/responses/domain/test_domain_check_response.rb +56 -0
- data/test/responses/domain/test_domain_create_response.rb +34 -0
- data/test/responses/domain/test_domain_delete_response.rb +18 -0
- data/test/responses/domain/test_domain_info_response.rb +76 -0
- data/test/responses/domain/test_domain_release_response.rb +18 -0
- data/test/responses/domain/test_domain_renew_response.rb +27 -0
- data/test/responses/domain/test_domain_unrenew_response.rb +32 -0
- data/test/responses/domain/test_domain_update_response.rb +18 -0
- data/test/responses/host/test_host_check_response.rb +28 -0
- data/test/responses/host/test_host_create_response.rb +28 -0
- data/test/responses/host/test_host_delete_response.rb +18 -0
- data/test/responses/host/test_host_info_response.rb +28 -0
- data/test/responses/host/test_host_update_response.rb +18 -0
- data/test/support/responses/contact/check.xml +23 -0
- data/test/support/responses/contact/create.xml +23 -0
- data/test/support/responses/contact/delete.xml +12 -0
- data/test/support/responses/contact/info.xml +46 -0
- data/test/support/responses/contact/release.xml +12 -0
- data/test/support/responses/contact/update.xml +12 -0
- data/test/support/responses/custom/handshake.xml +24 -0
- data/test/support/responses/custom/list.xml +28 -0
- data/test/support/responses/custom/list_empty.xml +21 -0
- data/test/support/responses/custom/tag_list.xml +28 -0
- data/test/support/responses/domain/check-direct-rights.xml +1 -0
- data/test/support/responses/domain/check.xml +25 -0
- data/test/support/responses/domain/create.xml +24 -0
- data/test/support/responses/domain/delete.xml +12 -0
- data/test/support/responses/domain/info.xml +45 -0
- data/test/support/responses/domain/release.xml +12 -0
- data/test/support/responses/domain/renew.xml +24 -0
- data/test/support/responses/domain/unrenew.xml +26 -0
- data/test/support/responses/domain/update.xml +12 -0
- data/test/support/responses/host/check.xml +23 -0
- data/test/support/responses/host/create.xml +18 -0
- data/test/support/responses/host/delete.xml +12 -0
- data/test/support/responses/host/info.xml +25 -0
- data/test/support/responses/host/update.xml +12 -0
- data/test/support/responses/notifications/abuse-feed.xml +31 -0
- data/test/support/responses/notifications/account-change.xml +39 -0
- data/test/support/responses/notifications/contact-deleted.xml +22 -0
- data/test/support/responses/notifications/data-quality.xml +53 -0
- data/test/support/responses/notifications/domain-cancelled.xml +22 -0
- data/test/support/responses/notifications/domains-released.xml +31 -0
- data/test/support/responses/notifications/domains-suspended.xml +26 -0
- data/test/support/responses/notifications/handshake-rejected.xml +31 -0
- data/test/support/responses/notifications/handshake-request.xml +65 -0
- data/test/support/responses/notifications/hosts-cancelled.xml +28 -0
- data/test/support/responses/notifications/referral-accepted.xml +23 -0
- data/test/support/responses/notifications/referral-rejected.xml +22 -0
- data/test/support/responses/notifications/registrant-transfer.xml +54 -0
- data/test/support/responses/notifications/registrar-change.xml +67 -0
- data/test/support/schemas/README +12 -0
- data/test/support/schemas/RELEASENOTES +54 -0
- data/test/support/schemas/contact-1.0.xsd +387 -0
- data/test/support/schemas/contact-nom-ext-1.0.xsd +144 -0
- data/test/support/schemas/domain-1.0.xsd +432 -0
- data/test/support/schemas/domain-nom-ext-1.2.xsd +215 -0
- data/test/support/schemas/epp-1.0.xsd +403 -0
- data/test/support/schemas/eppcom-1.0.xsd +93 -0
- data/test/support/schemas/host-1.0.xsd +240 -0
- data/test/support/schemas/nom-abuse-feed-1.0.xsd +46 -0
- data/test/support/schemas/nom-direct-rights-1.0.xsd +48 -0
- data/test/support/schemas/nom-root-std-1.0.7.xsd +47 -0
- data/test/support/schemas/nom-root-tag-1.0.xsd +31 -0
- data/test/support/schemas/nom-tag-1.0.xsd +71 -0
- data/test/support/schemas/secDNS-1.1.xsd +127 -0
- data/test/support/schemas/std-contact-id-1.0.xsd +35 -0
- data/test/support/schemas/std-fork-1.0.xsd +31 -0
- data/test/support/schemas/std-handshake-1.0.xsd +61 -0
- data/test/support/schemas/std-list-1.0.xsd +55 -0
- data/test/support/schemas/std-locks-1.0.xsd +53 -0
- data/test/support/schemas/std-notifications-1.2.xsd +197 -0
- data/test/support/schemas/std-release-1.0.xsd +39 -0
- data/test/support/schemas/std-unrenew-1.0.xsd +26 -0
- data/test/support/schemas/std-warning-1.1.xsd +145 -0
- data/test/test_nominet-epp.rb +3 -3
- metadata +324 -104
- data/History.rdoc +0 -78
- data/README.rdoc +0 -23
- data/VERSION +0 -1
- data/lib/nominet-epp/operations/check.rb +0 -39
- data/lib/nominet-epp/operations/create.rb +0 -138
- data/lib/nominet-epp/operations/delete.rb +0 -20
- data/lib/nominet-epp/operations/fork.rb +0 -53
- data/lib/nominet-epp/operations/hello.rb +0 -11
- data/lib/nominet-epp/operations/info.rb +0 -93
- data/lib/nominet-epp/operations/list.rb +0 -83
- data/lib/nominet-epp/operations/lock.rb +0 -56
- data/lib/nominet-epp/operations/merge.rb +0 -41
- data/lib/nominet-epp/operations/poll.rb +0 -64
- data/lib/nominet-epp/operations/renew.rb +0 -40
- data/lib/nominet-epp/operations/transfer.rb +0 -84
- data/lib/nominet-epp/operations/unlock.rb +0 -56
- data/lib/nominet-epp/operations/unrenew.rb +0 -36
- data/lib/nominet-epp/operations/update.rb +0 -176
metadata
CHANGED
@@ -1,133 +1,353 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: nominet-epp
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 12
|
10
|
-
version: 0.0.12
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Geoff Garside
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
21
|
-
name: shoulda
|
22
|
-
prerelease: false
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 3
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
version: "0"
|
32
|
-
type: :development
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: yard
|
36
|
-
prerelease: false
|
37
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
-
none: false
|
39
|
-
requirements:
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
hash: 3
|
43
|
-
segments:
|
44
|
-
- 0
|
45
|
-
version: "0"
|
46
|
-
type: :development
|
47
|
-
version_requirements: *id002
|
48
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-06-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
49
14
|
name: epp-client
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
hash: 3
|
57
|
-
segments:
|
58
|
-
- 0
|
59
|
-
version: "0"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.0.0
|
60
20
|
type: :runtime
|
61
|
-
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.0.0
|
62
27
|
description: Client for communicating with the Nominet EPP
|
63
|
-
email:
|
28
|
+
email:
|
29
|
+
- geoff@geoffgarside.co.uk
|
64
30
|
executables: []
|
65
|
-
|
66
31
|
extensions: []
|
67
|
-
|
68
|
-
extra_rdoc_files:
|
32
|
+
extra_rdoc_files:
|
69
33
|
- LICENSE
|
70
|
-
- README.
|
71
|
-
|
34
|
+
- README.md
|
35
|
+
- HISTORY.md
|
36
|
+
files:
|
37
|
+
- .gitignore
|
38
|
+
- .travis.yml
|
72
39
|
- .yardopts
|
73
|
-
-
|
40
|
+
- Gemfile
|
41
|
+
- Gemfile.lock
|
42
|
+
- HISTORY.md
|
74
43
|
- LICENSE
|
75
|
-
- README.
|
44
|
+
- README.md
|
76
45
|
- Rakefile
|
77
|
-
-
|
46
|
+
- gemfiles/Gemfile.ruby18
|
78
47
|
- lib/nominet-epp.rb
|
48
|
+
- lib/nominet-epp/client.rb
|
79
49
|
- lib/nominet-epp/helpers.rb
|
50
|
+
- lib/nominet-epp/notification.rb
|
80
51
|
- lib/nominet-epp/operations.rb
|
81
|
-
- lib/nominet-epp/
|
82
|
-
- lib/nominet-epp/
|
83
|
-
- lib/nominet-epp/
|
84
|
-
- lib/nominet-epp/
|
85
|
-
- lib/nominet-epp/
|
86
|
-
- lib/nominet-epp/
|
87
|
-
- lib/nominet-epp/
|
88
|
-
- lib/nominet-epp/
|
89
|
-
- lib/nominet-epp/
|
90
|
-
- lib/nominet-epp/
|
91
|
-
- lib/nominet-epp/
|
92
|
-
- lib/nominet-epp/
|
93
|
-
- lib/nominet-epp/
|
94
|
-
- lib/nominet-epp/
|
95
|
-
- lib/nominet-epp/
|
52
|
+
- lib/nominet-epp/request.rb
|
53
|
+
- lib/nominet-epp/requests/contact/check.rb
|
54
|
+
- lib/nominet-epp/requests/contact/create.rb
|
55
|
+
- lib/nominet-epp/requests/contact/delete.rb
|
56
|
+
- lib/nominet-epp/requests/contact/info.rb
|
57
|
+
- lib/nominet-epp/requests/contact/release.rb
|
58
|
+
- lib/nominet-epp/requests/contact/update.rb
|
59
|
+
- lib/nominet-epp/requests/custom/handshake.rb
|
60
|
+
- lib/nominet-epp/requests/custom/list.rb
|
61
|
+
- lib/nominet-epp/requests/custom/tag_list.rb
|
62
|
+
- lib/nominet-epp/requests/domain/check.rb
|
63
|
+
- lib/nominet-epp/requests/domain/create.rb
|
64
|
+
- lib/nominet-epp/requests/domain/delete.rb
|
65
|
+
- lib/nominet-epp/requests/domain/info.rb
|
66
|
+
- lib/nominet-epp/requests/domain/release.rb
|
67
|
+
- lib/nominet-epp/requests/domain/renew.rb
|
68
|
+
- lib/nominet-epp/requests/domain/unrenew.rb
|
69
|
+
- lib/nominet-epp/requests/domain/update.rb
|
70
|
+
- lib/nominet-epp/requests/host/check.rb
|
71
|
+
- lib/nominet-epp/requests/host/create.rb
|
72
|
+
- lib/nominet-epp/requests/host/delete.rb
|
73
|
+
- lib/nominet-epp/requests/host/info.rb
|
74
|
+
- lib/nominet-epp/requests/host/update.rb
|
75
|
+
- lib/nominet-epp/responses/contact/check_response.rb
|
76
|
+
- lib/nominet-epp/responses/contact/create_response.rb
|
77
|
+
- lib/nominet-epp/responses/contact/delete_response.rb
|
78
|
+
- lib/nominet-epp/responses/contact/info_response.rb
|
79
|
+
- lib/nominet-epp/responses/contact/release_response.rb
|
80
|
+
- lib/nominet-epp/responses/contact/update_response.rb
|
81
|
+
- lib/nominet-epp/responses/custom/handshake_response.rb
|
82
|
+
- lib/nominet-epp/responses/custom/list_response.rb
|
83
|
+
- lib/nominet-epp/responses/custom/tag_list_response.rb
|
84
|
+
- lib/nominet-epp/responses/domain/check_response.rb
|
85
|
+
- lib/nominet-epp/responses/domain/create_response.rb
|
86
|
+
- lib/nominet-epp/responses/domain/delete_response.rb
|
87
|
+
- lib/nominet-epp/responses/domain/info_response.rb
|
88
|
+
- lib/nominet-epp/responses/domain/release_response.rb
|
89
|
+
- lib/nominet-epp/responses/domain/renew_response.rb
|
90
|
+
- lib/nominet-epp/responses/domain/unrenew_response.rb
|
91
|
+
- lib/nominet-epp/responses/domain/update_response.rb
|
92
|
+
- lib/nominet-epp/responses/host/check_response.rb
|
93
|
+
- lib/nominet-epp/responses/host/create_response.rb
|
94
|
+
- lib/nominet-epp/responses/host/delete_response.rb
|
95
|
+
- lib/nominet-epp/responses/host/info_response.rb
|
96
|
+
- lib/nominet-epp/responses/host/update_response.rb
|
97
|
+
- lib/nominet-epp/responses/response.rb
|
98
|
+
- lib/nominet-epp/version.rb
|
96
99
|
- nominet-epp.gemspec
|
97
100
|
- test/helper.rb
|
101
|
+
- test/notifications/test_contact_deleted_notification.rb
|
102
|
+
- test/notifications/test_domain_cancelled_notification.rb
|
103
|
+
- test/notifications/test_domains_released_notification.rb
|
104
|
+
- test/notifications/test_domains_suspended_notification.rb
|
105
|
+
- test/notifications/test_handshake_rejected_notification.rb
|
106
|
+
- test/notifications/test_registrant_transfer_notification.rb
|
107
|
+
- test/notifications/test_registrar_change_notification.rb
|
108
|
+
- test/requests/contact/test_contact_check_request.rb
|
109
|
+
- test/requests/contact/test_contact_create_request.rb
|
110
|
+
- test/requests/contact/test_contact_delete_request.rb
|
111
|
+
- test/requests/contact/test_contact_info_request.rb
|
112
|
+
- test/requests/contact/test_contact_release_request.rb
|
113
|
+
- test/requests/contact/test_contact_update_request.rb
|
114
|
+
- test/requests/custom/test_custom_handshake_request.rb
|
115
|
+
- test/requests/custom/test_custom_list_request.rb
|
116
|
+
- test/requests/custom/test_custom_tag_list_request.rb
|
117
|
+
- test/requests/domain/test_domain_check_request.rb
|
118
|
+
- test/requests/domain/test_domain_create_request.rb
|
119
|
+
- test/requests/domain/test_domain_delete_request.rb
|
120
|
+
- test/requests/domain/test_domain_info_request.rb
|
121
|
+
- test/requests/domain/test_domain_release_request.rb
|
122
|
+
- test/requests/domain/test_domain_renew_request.rb
|
123
|
+
- test/requests/domain/test_domain_unrenew_request.rb
|
124
|
+
- test/requests/domain/test_domain_update_request.rb
|
125
|
+
- test/requests/host/test_host_check_request.rb
|
126
|
+
- test/requests/host/test_host_create_request.rb
|
127
|
+
- test/requests/host/test_host_delete_request.rb
|
128
|
+
- test/requests/host/test_host_info_request.rb
|
129
|
+
- test/requests/host/test_host_update_request.rb
|
130
|
+
- test/responses/contact/test_contact_check_response.rb
|
131
|
+
- test/responses/contact/test_contact_create_response.rb
|
132
|
+
- test/responses/contact/test_contact_delete_response.rb
|
133
|
+
- test/responses/contact/test_contact_info_response.rb
|
134
|
+
- test/responses/contact/test_contact_release_response.rb
|
135
|
+
- test/responses/contact/test_contact_update_response.rb
|
136
|
+
- test/responses/custom/test_custom_handshake_response.rb
|
137
|
+
- test/responses/custom/test_custom_list_response.rb
|
138
|
+
- test/responses/custom/test_custom_tag_list_response.rb
|
139
|
+
- test/responses/domain/test_domain_check_response.rb
|
140
|
+
- test/responses/domain/test_domain_create_response.rb
|
141
|
+
- test/responses/domain/test_domain_delete_response.rb
|
142
|
+
- test/responses/domain/test_domain_info_response.rb
|
143
|
+
- test/responses/domain/test_domain_release_response.rb
|
144
|
+
- test/responses/domain/test_domain_renew_response.rb
|
145
|
+
- test/responses/domain/test_domain_unrenew_response.rb
|
146
|
+
- test/responses/domain/test_domain_update_response.rb
|
147
|
+
- test/responses/host/test_host_check_response.rb
|
148
|
+
- test/responses/host/test_host_create_response.rb
|
149
|
+
- test/responses/host/test_host_delete_response.rb
|
150
|
+
- test/responses/host/test_host_info_response.rb
|
151
|
+
- test/responses/host/test_host_update_response.rb
|
152
|
+
- test/support/responses/contact/check.xml
|
153
|
+
- test/support/responses/contact/create.xml
|
154
|
+
- test/support/responses/contact/delete.xml
|
155
|
+
- test/support/responses/contact/info.xml
|
156
|
+
- test/support/responses/contact/release.xml
|
157
|
+
- test/support/responses/contact/update.xml
|
158
|
+
- test/support/responses/custom/handshake.xml
|
159
|
+
- test/support/responses/custom/list.xml
|
160
|
+
- test/support/responses/custom/list_empty.xml
|
161
|
+
- test/support/responses/custom/tag_list.xml
|
162
|
+
- test/support/responses/domain/check-direct-rights.xml
|
163
|
+
- test/support/responses/domain/check.xml
|
164
|
+
- test/support/responses/domain/create.xml
|
165
|
+
- test/support/responses/domain/delete.xml
|
166
|
+
- test/support/responses/domain/info.xml
|
167
|
+
- test/support/responses/domain/release.xml
|
168
|
+
- test/support/responses/domain/renew.xml
|
169
|
+
- test/support/responses/domain/unrenew.xml
|
170
|
+
- test/support/responses/domain/update.xml
|
171
|
+
- test/support/responses/host/check.xml
|
172
|
+
- test/support/responses/host/create.xml
|
173
|
+
- test/support/responses/host/delete.xml
|
174
|
+
- test/support/responses/host/info.xml
|
175
|
+
- test/support/responses/host/update.xml
|
176
|
+
- test/support/responses/notifications/abuse-feed.xml
|
177
|
+
- test/support/responses/notifications/account-change.xml
|
178
|
+
- test/support/responses/notifications/contact-deleted.xml
|
179
|
+
- test/support/responses/notifications/data-quality.xml
|
180
|
+
- test/support/responses/notifications/domain-cancelled.xml
|
181
|
+
- test/support/responses/notifications/domains-released.xml
|
182
|
+
- test/support/responses/notifications/domains-suspended.xml
|
183
|
+
- test/support/responses/notifications/handshake-rejected.xml
|
184
|
+
- test/support/responses/notifications/handshake-request.xml
|
185
|
+
- test/support/responses/notifications/hosts-cancelled.xml
|
186
|
+
- test/support/responses/notifications/referral-accepted.xml
|
187
|
+
- test/support/responses/notifications/referral-rejected.xml
|
188
|
+
- test/support/responses/notifications/registrant-transfer.xml
|
189
|
+
- test/support/responses/notifications/registrar-change.xml
|
190
|
+
- test/support/schemas/README
|
191
|
+
- test/support/schemas/RELEASENOTES
|
192
|
+
- test/support/schemas/contact-1.0.xsd
|
193
|
+
- test/support/schemas/contact-nom-ext-1.0.xsd
|
194
|
+
- test/support/schemas/domain-1.0.xsd
|
195
|
+
- test/support/schemas/domain-nom-ext-1.2.xsd
|
196
|
+
- test/support/schemas/epp-1.0.xsd
|
197
|
+
- test/support/schemas/eppcom-1.0.xsd
|
198
|
+
- test/support/schemas/host-1.0.xsd
|
199
|
+
- test/support/schemas/nom-abuse-feed-1.0.xsd
|
200
|
+
- test/support/schemas/nom-direct-rights-1.0.xsd
|
201
|
+
- test/support/schemas/nom-root-std-1.0.7.xsd
|
202
|
+
- test/support/schemas/nom-root-tag-1.0.xsd
|
203
|
+
- test/support/schemas/nom-tag-1.0.xsd
|
204
|
+
- test/support/schemas/secDNS-1.1.xsd
|
205
|
+
- test/support/schemas/std-contact-id-1.0.xsd
|
206
|
+
- test/support/schemas/std-fork-1.0.xsd
|
207
|
+
- test/support/schemas/std-handshake-1.0.xsd
|
208
|
+
- test/support/schemas/std-list-1.0.xsd
|
209
|
+
- test/support/schemas/std-locks-1.0.xsd
|
210
|
+
- test/support/schemas/std-notifications-1.2.xsd
|
211
|
+
- test/support/schemas/std-release-1.0.xsd
|
212
|
+
- test/support/schemas/std-unrenew-1.0.xsd
|
213
|
+
- test/support/schemas/std-warning-1.1.xsd
|
98
214
|
- test/test_nominet-epp.rb
|
99
|
-
homepage:
|
215
|
+
homepage: https://github.com/m247/nominet-epp
|
100
216
|
licenses: []
|
101
|
-
|
217
|
+
metadata: {}
|
102
218
|
post_install_message:
|
103
219
|
rdoc_options: []
|
104
|
-
|
105
|
-
require_paths:
|
220
|
+
require_paths:
|
106
221
|
- lib
|
107
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
none: false
|
118
|
-
requirements:
|
119
|
-
- - ">="
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
hash: 3
|
122
|
-
segments:
|
123
|
-
- 0
|
124
|
-
version: "0"
|
222
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
223
|
+
requirements:
|
224
|
+
- - '>='
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: '0'
|
227
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - '>='
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '0'
|
125
232
|
requirements: []
|
126
|
-
|
127
233
|
rubyforge_project:
|
128
|
-
rubygems_version:
|
234
|
+
rubygems_version: 2.0.14
|
129
235
|
signing_key:
|
130
|
-
specification_version:
|
236
|
+
specification_version: 4
|
131
237
|
summary: Nominet EPP (Extensible Provisioning Protocol) Client
|
132
|
-
test_files:
|
133
|
-
|
238
|
+
test_files:
|
239
|
+
- test/helper.rb
|
240
|
+
- test/notifications/test_contact_deleted_notification.rb
|
241
|
+
- test/notifications/test_domain_cancelled_notification.rb
|
242
|
+
- test/notifications/test_domains_released_notification.rb
|
243
|
+
- test/notifications/test_domains_suspended_notification.rb
|
244
|
+
- test/notifications/test_handshake_rejected_notification.rb
|
245
|
+
- test/notifications/test_registrant_transfer_notification.rb
|
246
|
+
- test/notifications/test_registrar_change_notification.rb
|
247
|
+
- test/requests/contact/test_contact_check_request.rb
|
248
|
+
- test/requests/contact/test_contact_create_request.rb
|
249
|
+
- test/requests/contact/test_contact_delete_request.rb
|
250
|
+
- test/requests/contact/test_contact_info_request.rb
|
251
|
+
- test/requests/contact/test_contact_release_request.rb
|
252
|
+
- test/requests/contact/test_contact_update_request.rb
|
253
|
+
- test/requests/custom/test_custom_handshake_request.rb
|
254
|
+
- test/requests/custom/test_custom_list_request.rb
|
255
|
+
- test/requests/custom/test_custom_tag_list_request.rb
|
256
|
+
- test/requests/domain/test_domain_check_request.rb
|
257
|
+
- test/requests/domain/test_domain_create_request.rb
|
258
|
+
- test/requests/domain/test_domain_delete_request.rb
|
259
|
+
- test/requests/domain/test_domain_info_request.rb
|
260
|
+
- test/requests/domain/test_domain_release_request.rb
|
261
|
+
- test/requests/domain/test_domain_renew_request.rb
|
262
|
+
- test/requests/domain/test_domain_unrenew_request.rb
|
263
|
+
- test/requests/domain/test_domain_update_request.rb
|
264
|
+
- test/requests/host/test_host_check_request.rb
|
265
|
+
- test/requests/host/test_host_create_request.rb
|
266
|
+
- test/requests/host/test_host_delete_request.rb
|
267
|
+
- test/requests/host/test_host_info_request.rb
|
268
|
+
- test/requests/host/test_host_update_request.rb
|
269
|
+
- test/responses/contact/test_contact_check_response.rb
|
270
|
+
- test/responses/contact/test_contact_create_response.rb
|
271
|
+
- test/responses/contact/test_contact_delete_response.rb
|
272
|
+
- test/responses/contact/test_contact_info_response.rb
|
273
|
+
- test/responses/contact/test_contact_release_response.rb
|
274
|
+
- test/responses/contact/test_contact_update_response.rb
|
275
|
+
- test/responses/custom/test_custom_handshake_response.rb
|
276
|
+
- test/responses/custom/test_custom_list_response.rb
|
277
|
+
- test/responses/custom/test_custom_tag_list_response.rb
|
278
|
+
- test/responses/domain/test_domain_check_response.rb
|
279
|
+
- test/responses/domain/test_domain_create_response.rb
|
280
|
+
- test/responses/domain/test_domain_delete_response.rb
|
281
|
+
- test/responses/domain/test_domain_info_response.rb
|
282
|
+
- test/responses/domain/test_domain_release_response.rb
|
283
|
+
- test/responses/domain/test_domain_renew_response.rb
|
284
|
+
- test/responses/domain/test_domain_unrenew_response.rb
|
285
|
+
- test/responses/domain/test_domain_update_response.rb
|
286
|
+
- test/responses/host/test_host_check_response.rb
|
287
|
+
- test/responses/host/test_host_create_response.rb
|
288
|
+
- test/responses/host/test_host_delete_response.rb
|
289
|
+
- test/responses/host/test_host_info_response.rb
|
290
|
+
- test/responses/host/test_host_update_response.rb
|
291
|
+
- test/support/responses/contact/check.xml
|
292
|
+
- test/support/responses/contact/create.xml
|
293
|
+
- test/support/responses/contact/delete.xml
|
294
|
+
- test/support/responses/contact/info.xml
|
295
|
+
- test/support/responses/contact/release.xml
|
296
|
+
- test/support/responses/contact/update.xml
|
297
|
+
- test/support/responses/custom/handshake.xml
|
298
|
+
- test/support/responses/custom/list.xml
|
299
|
+
- test/support/responses/custom/list_empty.xml
|
300
|
+
- test/support/responses/custom/tag_list.xml
|
301
|
+
- test/support/responses/domain/check-direct-rights.xml
|
302
|
+
- test/support/responses/domain/check.xml
|
303
|
+
- test/support/responses/domain/create.xml
|
304
|
+
- test/support/responses/domain/delete.xml
|
305
|
+
- test/support/responses/domain/info.xml
|
306
|
+
- test/support/responses/domain/release.xml
|
307
|
+
- test/support/responses/domain/renew.xml
|
308
|
+
- test/support/responses/domain/unrenew.xml
|
309
|
+
- test/support/responses/domain/update.xml
|
310
|
+
- test/support/responses/host/check.xml
|
311
|
+
- test/support/responses/host/create.xml
|
312
|
+
- test/support/responses/host/delete.xml
|
313
|
+
- test/support/responses/host/info.xml
|
314
|
+
- test/support/responses/host/update.xml
|
315
|
+
- test/support/responses/notifications/abuse-feed.xml
|
316
|
+
- test/support/responses/notifications/account-change.xml
|
317
|
+
- test/support/responses/notifications/contact-deleted.xml
|
318
|
+
- test/support/responses/notifications/data-quality.xml
|
319
|
+
- test/support/responses/notifications/domain-cancelled.xml
|
320
|
+
- test/support/responses/notifications/domains-released.xml
|
321
|
+
- test/support/responses/notifications/domains-suspended.xml
|
322
|
+
- test/support/responses/notifications/handshake-rejected.xml
|
323
|
+
- test/support/responses/notifications/handshake-request.xml
|
324
|
+
- test/support/responses/notifications/hosts-cancelled.xml
|
325
|
+
- test/support/responses/notifications/referral-accepted.xml
|
326
|
+
- test/support/responses/notifications/referral-rejected.xml
|
327
|
+
- test/support/responses/notifications/registrant-transfer.xml
|
328
|
+
- test/support/responses/notifications/registrar-change.xml
|
329
|
+
- test/support/schemas/README
|
330
|
+
- test/support/schemas/RELEASENOTES
|
331
|
+
- test/support/schemas/contact-1.0.xsd
|
332
|
+
- test/support/schemas/contact-nom-ext-1.0.xsd
|
333
|
+
- test/support/schemas/domain-1.0.xsd
|
334
|
+
- test/support/schemas/domain-nom-ext-1.2.xsd
|
335
|
+
- test/support/schemas/epp-1.0.xsd
|
336
|
+
- test/support/schemas/eppcom-1.0.xsd
|
337
|
+
- test/support/schemas/host-1.0.xsd
|
338
|
+
- test/support/schemas/nom-abuse-feed-1.0.xsd
|
339
|
+
- test/support/schemas/nom-direct-rights-1.0.xsd
|
340
|
+
- test/support/schemas/nom-root-std-1.0.7.xsd
|
341
|
+
- test/support/schemas/nom-root-tag-1.0.xsd
|
342
|
+
- test/support/schemas/nom-tag-1.0.xsd
|
343
|
+
- test/support/schemas/secDNS-1.1.xsd
|
344
|
+
- test/support/schemas/std-contact-id-1.0.xsd
|
345
|
+
- test/support/schemas/std-fork-1.0.xsd
|
346
|
+
- test/support/schemas/std-handshake-1.0.xsd
|
347
|
+
- test/support/schemas/std-list-1.0.xsd
|
348
|
+
- test/support/schemas/std-locks-1.0.xsd
|
349
|
+
- test/support/schemas/std-notifications-1.2.xsd
|
350
|
+
- test/support/schemas/std-release-1.0.xsd
|
351
|
+
- test/support/schemas/std-unrenew-1.0.xsd
|
352
|
+
- test/support/schemas/std-warning-1.1.xsd
|
353
|
+
- test/test_nominet-epp.rb
|
data/History.rdoc
DELETED
@@ -1,78 +0,0 @@
|
|
1
|
-
= NominetEPP History
|
2
|
-
|
3
|
-
=== 0.0.12 / 2011-05-24
|
4
|
-
|
5
|
-
* Capture +domain:failData+ information from +create+ operation failures.
|
6
|
-
|
7
|
-
=== 0.0.11 / 2011-05-17
|
8
|
-
|
9
|
-
* Remove setting account:contact[type] attribute as this is not in the schema
|
10
|
-
|
11
|
-
=== 0.0.10 / 2011-05-04
|
12
|
-
|
13
|
-
* Fix syntax error in helpers.rb
|
14
|
-
|
15
|
-
=== 0.0.9 / 2011-05-04
|
16
|
-
|
17
|
-
* Correct implementation of Update Operation for domain, account and contact to send
|
18
|
-
the correct sequence of XML elements
|
19
|
-
|
20
|
-
=== 0.0.8 / 2011-05-03
|
21
|
-
|
22
|
-
* Amend account:contact elements in Create operation to ensure order attribute range
|
23
|
-
* Fix sequencing of elements in account:addr block
|
24
|
-
* Fix sequencing of elements in contact:create block
|
25
|
-
* Fix sequencing of elements in account:create block
|
26
|
-
* Enforce the correct element sequencing for the domain:create operation
|
27
|
-
|
28
|
-
=== 0.0.7 / 2011-04-21
|
29
|
-
|
30
|
-
* Yank v0.0.6 and bump version to fix bug introduced in v0.0.6
|
31
|
-
|
32
|
-
=== 0.0.6 / 2011-04-21
|
33
|
-
|
34
|
-
* Fix "Command Syntax Error" response for Create operation with "2y" style periods
|
35
|
-
|
36
|
-
=== 0.0.5 / 2011-02-24
|
37
|
-
|
38
|
-
* Many bug fixes in Create operation
|
39
|
-
* Support for using `host:update` to modify name server glue information.
|
40
|
-
|
41
|
-
=== 0.0.4 / 2011-01-31
|
42
|
-
|
43
|
-
* Operations now cache their responses, accessible through `Client#last_response`
|
44
|
-
* Last response messages are available through `Client#last_message`
|
45
|
-
|
46
|
-
=== 0.0.3 / 2011-01-17
|
47
|
-
|
48
|
-
* Tweak how #poll method works w.r.t blocks
|
49
|
-
|
50
|
-
=== 0.0.2 / 2011-01-07
|
51
|
-
|
52
|
-
* Add Documentation
|
53
|
-
* Support the 'abuse-limit' on Nominet check operation
|
54
|
-
* Fix issue with info operation XML response parsing
|
55
|
-
|
56
|
-
=== 0.0.1 / 2010-05-26
|
57
|
-
|
58
|
-
* Add support for 'none' and 'all' options on list operation
|
59
|
-
* Fix bugs in info operation for account objects
|
60
|
-
* Improve handling of XML namespaces and schema locations
|
61
|
-
|
62
|
-
=== 0.0.0 / 2010-05-25
|
63
|
-
|
64
|
-
* Initial release
|
65
|
-
* Supports the following operations
|
66
|
-
* Create
|
67
|
-
* Delete
|
68
|
-
* Fork
|
69
|
-
* Hello
|
70
|
-
* Info
|
71
|
-
* List
|
72
|
-
* Lock
|
73
|
-
* Merge
|
74
|
-
* Poll
|
75
|
-
* Transfer
|
76
|
-
* Unlock
|
77
|
-
* Unrenew
|
78
|
-
* Update
|
data/README.rdoc
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
= Nominet EPP
|
2
|
-
|
3
|
-
Ruby interface to the {Nominet EPP}[http://www.nominet.org.uk/registrars/systems/nominetepp] registrar interface.
|
4
|
-
|
5
|
-
== Initialise a client
|
6
|
-
|
7
|
-
require 'nominet-epp'
|
8
|
-
client = NominetEPP::Client.new('TAGNAME', 'password')
|
9
|
-
testclient = NominetEPP::Client.new('TAGNAME', 'password', 'testbed-epp.nominet.org.uk')
|
10
|
-
|
11
|
-
== Note on Patches/Pull Requests
|
12
|
-
|
13
|
-
* Fork the project.
|
14
|
-
* Make your feature addition or bug fix.
|
15
|
-
* Add tests for it. This is important so I don't break it in a
|
16
|
-
future version unintentionally.
|
17
|
-
* Commit, do not mess with rakefile, version, or history.
|
18
|
-
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
19
|
-
* Send me a pull request. Bonus points for topic branches.
|
20
|
-
|
21
|
-
== Copyright
|
22
|
-
|
23
|
-
Copyright (c) 2010 Geoff Garside. See LICENSE for details.
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.0.12
|
@@ -1,39 +0,0 @@
|
|
1
|
-
module NominetEPP
|
2
|
-
module Operations
|
3
|
-
# EPP Check Operation
|
4
|
-
module Check
|
5
|
-
# Check the availablity of one or more domain names
|
6
|
-
#
|
7
|
-
# @param [String, ...] *names List of names to check
|
8
|
-
# @return [false] request failed
|
9
|
-
# @return [true] the domain name is available
|
10
|
-
# @return [Hash<String,Boolean>] availability by domain name
|
11
|
-
def check(*names)
|
12
|
-
@resp = @client.check do
|
13
|
-
domain('check') do |node, ns|
|
14
|
-
names.each do |name|
|
15
|
-
node << XML::Node.new('name', name, ns)
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
return false unless @resp.success?
|
21
|
-
|
22
|
-
@check_limit = check_abuse_limit(@resp.data)
|
23
|
-
results = @resp.data.find('//domain:name', namespaces)
|
24
|
-
if results.size > 1
|
25
|
-
hash = {}
|
26
|
-
results.each {|node| hash[node.content.strip] = (node['avail'] == '1') }
|
27
|
-
hash
|
28
|
-
else
|
29
|
-
results.first['avail'] == '1'
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
protected
|
34
|
-
def check_abuse_limit(data)
|
35
|
-
data.find('//domain:chkData/@abuse-limit', namespaces).first.value.to_i
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|