epp-eis 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +5 -0
  3. data/Guardfile +5 -0
  4. data/README.markdown +57 -0
  5. data/Rakefile +1 -0
  6. data/epp-eis.gemspec +25 -0
  7. data/lib/epp-eis/contact.rb +271 -0
  8. data/lib/epp-eis/domain.rb +410 -0
  9. data/lib/epp-eis/extensions.rb +22 -0
  10. data/lib/epp-eis/nsset.rb +246 -0
  11. data/lib/epp-eis/session.rb +94 -0
  12. data/lib/epp-eis/version.rb +5 -0
  13. data/lib/epp-eis.rb +8 -0
  14. data/spec/legaldocs/test.pdf +0 -0
  15. data/spec/lib/epp-eis/contact_spec.rb +107 -0
  16. data/spec/lib/epp-eis/domain_spec.rb +189 -0
  17. data/spec/lib/epp-eis/nsset_spec.rb +87 -0
  18. data/spec/lib/epp-eis/session_spec.rb +18 -0
  19. data/spec/spec_helper.rb +10 -0
  20. data/spec/support/file_mocks.rb +7 -0
  21. data/spec/xml/requests/contact/check_contact.xml +11 -0
  22. data/spec/xml/requests/contact/create_contact.xml +23 -0
  23. data/spec/xml/requests/contact/delete_contact.xml +11 -0
  24. data/spec/xml/requests/contact/info_contact.xml +11 -0
  25. data/spec/xml/requests/contact/update_contact.xml +29 -0
  26. data/spec/xml/requests/domain/create_domain.xml +21 -0
  27. data/spec/xml/requests/domain/delete_domain.xml +16 -0
  28. data/spec/xml/requests/domain/get_results.xml +9 -0
  29. data/spec/xml/requests/domain/list_domains.xml +9 -0
  30. data/spec/xml/requests/domain/transfer_domain.xml +17 -0
  31. data/spec/xml/requests/domain/update_domain.xml +28 -0
  32. data/spec/xml/requests/nsset/check_nsset.xml +12 -0
  33. data/spec/xml/requests/nsset/create_nsset.xml +20 -0
  34. data/spec/xml/requests/nsset/delete_nsset.xml +11 -0
  35. data/spec/xml/requests/nsset/info_nsset.xml +11 -0
  36. data/spec/xml/requests/nsset/update_nsset.xml +22 -0
  37. data/spec/xml/requests/session/hello.xml +4 -0
  38. data/spec/xml/responses/contact/check_contact_1000.xml +23 -0
  39. data/spec/xml/responses/contact/create_contact_1000.xml +18 -0
  40. data/spec/xml/responses/contact/delete_contact_1000.xml +12 -0
  41. data/spec/xml/responses/contact/get_results_list_contacts_1000.xml +24 -0
  42. data/spec/xml/responses/contact/info_contact_1000.xml +35 -0
  43. data/spec/xml/responses/contact/update_contact_1000.xml +12 -0
  44. data/spec/xml/responses/domain/check_domain_1000.xml +23 -0
  45. data/spec/xml/responses/domain/check_domain_available_1000.xml +19 -0
  46. data/spec/xml/responses/domain/check_domain_taken_1000.xml +20 -0
  47. data/spec/xml/responses/domain/create_domain_1000.xml +19 -0
  48. data/spec/xml/responses/domain/delete_domain_1000.xml +12 -0
  49. data/spec/xml/responses/domain/get_results_list_domains_1000.xml +18 -0
  50. data/spec/xml/responses/domain/info_domain_1000.xml +27 -0
  51. data/spec/xml/responses/domain/list_domains_1000.xml +17 -0
  52. data/spec/xml/responses/domain/renew_domain_1000.xml +18 -0
  53. data/spec/xml/responses/domain/transfer_domain_1000.xml +12 -0
  54. data/spec/xml/responses/domain/update_domain_1000.xml +12 -0
  55. data/spec/xml/responses/nsset/check_nsset_1000.xml +22 -0
  56. data/spec/xml/responses/nsset/create_nsset_1000.xml +18 -0
  57. data/spec/xml/responses/nsset/delete_nsset_1000.xml +12 -0
  58. data/spec/xml/responses/nsset/info_nsset_1000.xml +33 -0
  59. data/spec/xml/responses/nsset/update_nsset_1000.xml +12 -0
  60. data/spec/xml/responses/session/hello.xml +36 -0
  61. metadata +214 -0
@@ -0,0 +1,36 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
3
+ <greeting>
4
+ <svID>EPP server (DSDng)</svID>
5
+ <svDate>2010-02-08T16:11:38+02:00</svDate>
6
+ <svcMenu>
7
+ <version>1.0</version>
8
+ <lang>en</lang>
9
+ <lang>cs</lang>
10
+ <objURI>http://www.nic.cz/xml/epp/contact-1.6</objURI>
11
+ <objURI>http://www.nic.cz/xml/epp/domain-1.4</objURI>
12
+ <objURI>http://www.nic.cz/xml/epp/nsset-1.2</objURI>
13
+ <objURI>http://www.nic.cz/xml/epp/keyset-1.3</objURI>
14
+ <svcExtension>
15
+ <extURI>http://www.nic.cz/xml/epp/enumval-1.2</extURI>
16
+ </svcExtension>
17
+ </svcMenu>
18
+ <dcp>
19
+ <access>
20
+ <all/>
21
+ </access>
22
+ <statement>
23
+ <purpose>
24
+ <admin/>
25
+ <prov/>
26
+ </purpose>
27
+ <recipient>
28
+ <public/>
29
+ </recipient>
30
+ <retention>
31
+ <stated/>
32
+ </retention>
33
+ </statement>
34
+ </dcp>
35
+ </greeting>
36
+ </epp>
metadata ADDED
@@ -0,0 +1,214 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: epp-eis
3
+ version: !ruby/object:Gem::Version
4
+ hash: 25
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 1
10
+ version: 0.1.1
11
+ platform: ruby
12
+ authors:
13
+ - Priit Haamer
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2012-11-28 00:00:00 +02:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: nokogiri
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: rspec
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
46
+ version: "0"
47
+ type: :development
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
50
+ name: guard
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
61
+ type: :development
62
+ version_requirements: *id003
63
+ description: Ruby client for Estonian Internet Foundation EPP service
64
+ email:
65
+ - priit@fraktal.ee
66
+ executables: []
67
+
68
+ extensions: []
69
+
70
+ extra_rdoc_files: []
71
+
72
+ files:
73
+ - .gitignore
74
+ - Gemfile
75
+ - Guardfile
76
+ - README.markdown
77
+ - Rakefile
78
+ - epp-eis.gemspec
79
+ - lib/epp-eis.rb
80
+ - lib/epp-eis/contact.rb
81
+ - lib/epp-eis/domain.rb
82
+ - lib/epp-eis/extensions.rb
83
+ - lib/epp-eis/nsset.rb
84
+ - lib/epp-eis/session.rb
85
+ - lib/epp-eis/version.rb
86
+ - spec/legaldocs/test.pdf
87
+ - spec/lib/epp-eis/contact_spec.rb
88
+ - spec/lib/epp-eis/domain_spec.rb
89
+ - spec/lib/epp-eis/nsset_spec.rb
90
+ - spec/lib/epp-eis/session_spec.rb
91
+ - spec/spec_helper.rb
92
+ - spec/support/file_mocks.rb
93
+ - spec/xml/requests/contact/check_contact.xml
94
+ - spec/xml/requests/contact/create_contact.xml
95
+ - spec/xml/requests/contact/delete_contact.xml
96
+ - spec/xml/requests/contact/info_contact.xml
97
+ - spec/xml/requests/contact/update_contact.xml
98
+ - spec/xml/requests/domain/create_domain.xml
99
+ - spec/xml/requests/domain/delete_domain.xml
100
+ - spec/xml/requests/domain/get_results.xml
101
+ - spec/xml/requests/domain/list_domains.xml
102
+ - spec/xml/requests/domain/transfer_domain.xml
103
+ - spec/xml/requests/domain/update_domain.xml
104
+ - spec/xml/requests/nsset/check_nsset.xml
105
+ - spec/xml/requests/nsset/create_nsset.xml
106
+ - spec/xml/requests/nsset/delete_nsset.xml
107
+ - spec/xml/requests/nsset/info_nsset.xml
108
+ - spec/xml/requests/nsset/update_nsset.xml
109
+ - spec/xml/requests/session/hello.xml
110
+ - spec/xml/responses/contact/check_contact_1000.xml
111
+ - spec/xml/responses/contact/create_contact_1000.xml
112
+ - spec/xml/responses/contact/delete_contact_1000.xml
113
+ - spec/xml/responses/contact/get_results_list_contacts_1000.xml
114
+ - spec/xml/responses/contact/info_contact_1000.xml
115
+ - spec/xml/responses/contact/update_contact_1000.xml
116
+ - spec/xml/responses/domain/check_domain_1000.xml
117
+ - spec/xml/responses/domain/check_domain_available_1000.xml
118
+ - spec/xml/responses/domain/check_domain_taken_1000.xml
119
+ - spec/xml/responses/domain/create_domain_1000.xml
120
+ - spec/xml/responses/domain/delete_domain_1000.xml
121
+ - spec/xml/responses/domain/get_results_list_domains_1000.xml
122
+ - spec/xml/responses/domain/info_domain_1000.xml
123
+ - spec/xml/responses/domain/list_domains_1000.xml
124
+ - spec/xml/responses/domain/renew_domain_1000.xml
125
+ - spec/xml/responses/domain/transfer_domain_1000.xml
126
+ - spec/xml/responses/domain/update_domain_1000.xml
127
+ - spec/xml/responses/nsset/check_nsset_1000.xml
128
+ - spec/xml/responses/nsset/create_nsset_1000.xml
129
+ - spec/xml/responses/nsset/delete_nsset_1000.xml
130
+ - spec/xml/responses/nsset/info_nsset_1000.xml
131
+ - spec/xml/responses/nsset/update_nsset_1000.xml
132
+ - spec/xml/responses/session/hello.xml
133
+ has_rdoc: true
134
+ homepage: https://github.com/priithaamer/epp-eis
135
+ licenses: []
136
+
137
+ post_install_message:
138
+ rdoc_options: []
139
+
140
+ require_paths:
141
+ - lib
142
+ required_ruby_version: !ruby/object:Gem::Requirement
143
+ none: false
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ hash: 3
148
+ segments:
149
+ - 0
150
+ version: "0"
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ hash: 3
157
+ segments:
158
+ - 0
159
+ version: "0"
160
+ requirements: []
161
+
162
+ rubyforge_project: epp-eis
163
+ rubygems_version: 1.4.2
164
+ signing_key:
165
+ specification_version: 3
166
+ summary: Estonian Internet Foundation EPP service client
167
+ test_files:
168
+ - spec/legaldocs/test.pdf
169
+ - spec/lib/epp-eis/contact_spec.rb
170
+ - spec/lib/epp-eis/domain_spec.rb
171
+ - spec/lib/epp-eis/nsset_spec.rb
172
+ - spec/lib/epp-eis/session_spec.rb
173
+ - spec/spec_helper.rb
174
+ - spec/support/file_mocks.rb
175
+ - spec/xml/requests/contact/check_contact.xml
176
+ - spec/xml/requests/contact/create_contact.xml
177
+ - spec/xml/requests/contact/delete_contact.xml
178
+ - spec/xml/requests/contact/info_contact.xml
179
+ - spec/xml/requests/contact/update_contact.xml
180
+ - spec/xml/requests/domain/create_domain.xml
181
+ - spec/xml/requests/domain/delete_domain.xml
182
+ - spec/xml/requests/domain/get_results.xml
183
+ - spec/xml/requests/domain/list_domains.xml
184
+ - spec/xml/requests/domain/transfer_domain.xml
185
+ - spec/xml/requests/domain/update_domain.xml
186
+ - spec/xml/requests/nsset/check_nsset.xml
187
+ - spec/xml/requests/nsset/create_nsset.xml
188
+ - spec/xml/requests/nsset/delete_nsset.xml
189
+ - spec/xml/requests/nsset/info_nsset.xml
190
+ - spec/xml/requests/nsset/update_nsset.xml
191
+ - spec/xml/requests/session/hello.xml
192
+ - spec/xml/responses/contact/check_contact_1000.xml
193
+ - spec/xml/responses/contact/create_contact_1000.xml
194
+ - spec/xml/responses/contact/delete_contact_1000.xml
195
+ - spec/xml/responses/contact/get_results_list_contacts_1000.xml
196
+ - spec/xml/responses/contact/info_contact_1000.xml
197
+ - spec/xml/responses/contact/update_contact_1000.xml
198
+ - spec/xml/responses/domain/check_domain_1000.xml
199
+ - spec/xml/responses/domain/check_domain_available_1000.xml
200
+ - spec/xml/responses/domain/check_domain_taken_1000.xml
201
+ - spec/xml/responses/domain/create_domain_1000.xml
202
+ - spec/xml/responses/domain/delete_domain_1000.xml
203
+ - spec/xml/responses/domain/get_results_list_domains_1000.xml
204
+ - spec/xml/responses/domain/info_domain_1000.xml
205
+ - spec/xml/responses/domain/list_domains_1000.xml
206
+ - spec/xml/responses/domain/renew_domain_1000.xml
207
+ - spec/xml/responses/domain/transfer_domain_1000.xml
208
+ - spec/xml/responses/domain/update_domain_1000.xml
209
+ - spec/xml/responses/nsset/check_nsset_1000.xml
210
+ - spec/xml/responses/nsset/create_nsset_1000.xml
211
+ - spec/xml/responses/nsset/delete_nsset_1000.xml
212
+ - spec/xml/responses/nsset/info_nsset_1000.xml
213
+ - spec/xml/responses/nsset/update_nsset_1000.xml
214
+ - spec/xml/responses/session/hello.xml