moo_moo 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +7 -0
- data/.rspec +2 -0
- data/.rvmrc +59 -0
- data/.travis.yml +9 -0
- data/Gemfile +4 -0
- data/LICENSE +21 -0
- data/README.md +63 -0
- data/Rakefile +55 -0
- data/lib/cacert.pem +3910 -0
- data/lib/moo_moo/config.rb +13 -0
- data/lib/moo_moo/opensrs/args.rb +109 -0
- data/lib/moo_moo/opensrs/base.rb +75 -0
- data/lib/moo_moo/opensrs/command.rb +190 -0
- data/lib/moo_moo/opensrs/cookie_commands.rb +52 -0
- data/lib/moo_moo/opensrs/lookup_commands.rb +195 -0
- data/lib/moo_moo/opensrs/nameserver_commands.rb +70 -0
- data/lib/moo_moo/opensrs/opensrsexception.rb +6 -0
- data/lib/moo_moo/opensrs/provisioning_commands.rb +167 -0
- data/lib/moo_moo/opensrs/response.rb +41 -0
- data/lib/moo_moo/opensrs/transfer_commands.rb +83 -0
- data/lib/moo_moo/opensrs/utils.rb +13 -0
- data/lib/moo_moo/opensrs.rb +8 -0
- data/lib/moo_moo/version.rb +3 -0
- data/lib/moo_moo.rb +16 -0
- data/moo_moo.gemspec +33 -0
- data/spec/moo_moo_spec.rb +17 -0
- data/spec/opensrs/args_spec.rb +179 -0
- data/spec/opensrs/cookie_spec.rb +78 -0
- data/spec/opensrs/lookup_spec.rb +212 -0
- data/spec/opensrs/nameserver_spec.rb +124 -0
- data/spec/opensrs/opensrs_spec.rb +35 -0
- data/spec/opensrs/provisioning_spec.rb +271 -0
- data/spec/opensrs/transfer_spec.rb +197 -0
- data/spec/opensrs/utils_spec.rb +12 -0
- data/spec/spec_helper.rb +57 -0
- data/spec/vcr_cassettes/cookie/delete_cookie.yml +219 -0
- data/spec/vcr_cassettes/cookie/quit_session.yml +97 -0
- data/spec/vcr_cassettes/cookie/set_cookie.yml +123 -0
- data/spec/vcr_cassettes/cookie/set_cookie_fail.yml +54 -0
- data/spec/vcr_cassettes/cookie/update_cookie.yml +239 -0
- data/spec/vcr_cassettes/lookup/belongs_to_rsp.yml +54 -0
- data/spec/vcr_cassettes/lookup/belongs_to_rsp_negative.yml +55 -0
- data/spec/vcr_cassettes/lookup/get_balance.yml +55 -0
- data/spec/vcr_cassettes/lookup/get_deleted_domains.yml +80 -0
- data/spec/vcr_cassettes/lookup/get_domain.yml +211 -0
- data/spec/vcr_cassettes/lookup/get_domain_fail.yml +269 -0
- data/spec/vcr_cassettes/lookup/get_domains_by_expiredate.yml +76 -0
- data/spec/vcr_cassettes/lookup/get_domains_contacts.yml +129 -0
- data/spec/vcr_cassettes/lookup/get_domains_contacts_fail.yml +58 -0
- data/spec/vcr_cassettes/lookup/get_notes_for_domain.yml +85 -0
- data/spec/vcr_cassettes/lookup/get_notes_for_order.yml +61 -0
- data/spec/vcr_cassettes/lookup/get_notes_for_transfer.yml +61 -0
- data/spec/vcr_cassettes/lookup/get_order_info.yml +139 -0
- data/spec/vcr_cassettes/lookup/get_orders_by_domain.yml +76 -0
- data/spec/vcr_cassettes/lookup/get_price.yml +54 -0
- data/spec/vcr_cassettes/lookup/get_product_info.yml +49 -0
- data/spec/vcr_cassettes/lookup/lookup_domain_available.yml +55 -0
- data/spec/vcr_cassettes/lookup/lookup_domain_registered.yml +55 -0
- data/spec/vcr_cassettes/lookup/name_suggest.yml +396 -0
- data/spec/vcr_cassettes/nameserver/create.yml +49 -0
- data/spec/vcr_cassettes/nameserver/delete.yml +49 -0
- data/spec/vcr_cassettes/nameserver/get.yml +71 -0
- data/spec/vcr_cassettes/nameserver/modify.yml +49 -0
- data/spec/vcr_cassettes/provisioning/cancel_order.yml +56 -0
- data/spec/vcr_cassettes/provisioning/cancel_order_invalid.yml +49 -0
- data/spec/vcr_cassettes/provisioning/cancel_pending_orders.yml +58 -0
- data/spec/vcr_cassettes/provisioning/modify_all_domains.yml +49 -0
- data/spec/vcr_cassettes/provisioning/modify_domain.yml +49 -0
- data/spec/vcr_cassettes/provisioning/process_pending.yml +57 -0
- data/spec/vcr_cassettes/provisioning/register_domain.yml +57 -0
- data/spec/vcr_cassettes/provisioning/register_pending_domain.yml +55 -0
- data/spec/vcr_cassettes/provisioning/register_taken_domain.yml +55 -0
- data/spec/vcr_cassettes/provisioning/renew_domain.yml +58 -0
- data/spec/vcr_cassettes/provisioning/revoke_domain.yml +55 -0
- data/spec/vcr_cassettes/provisioning/trust_service.yml +60 -0
- data/spec/vcr_cassettes/provisioning/update_contacts.yml +66 -0
- data/spec/vcr_cassettes/transfer/cancel_transfer.yml +49 -0
- data/spec/vcr_cassettes/transfer/cancel_trasnfer_order.yml +49 -0
- data/spec/vcr_cassettes/transfer/check_transfer.yml +56 -0
- data/spec/vcr_cassettes/transfer/check_transfer_exists.yml +57 -0
- data/spec/vcr_cassettes/transfer/get_transfers_away.yml +60 -0
- data/spec/vcr_cassettes/transfer/get_transfers_in.yml +80 -0
- data/spec/vcr_cassettes/transfer/process_transfer.yml +49 -0
- data/spec/vcr_cassettes/transfer/process_transfer_unsuccessful.yml +49 -0
- data/spec/vcr_cassettes/transfer/rsp2rsp_push_transfer.yml +49 -0
- data/spec/vcr_cassettes/transfer/send_password.yml +49 -0
- data/spec/vcr_cassettes/transfer/transfer.yml +58 -0
- metadata +280 -0
metadata
ADDED
@@ -0,0 +1,280 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: moo_moo
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.1.0
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Tim Parkin
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2011-06-08 00:00:00 -05:00
|
14
|
+
default_executable:
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: rake
|
18
|
+
prerelease: false
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
21
|
+
requirements:
|
22
|
+
- - ~>
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 0.8.7
|
25
|
+
type: :development
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
prerelease: false
|
30
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
31
|
+
none: false
|
32
|
+
requirements:
|
33
|
+
- - ~>
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 2.5.0
|
36
|
+
type: :development
|
37
|
+
version_requirements: *id002
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: fakeweb
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ~>
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.3.0
|
47
|
+
type: :development
|
48
|
+
version_requirements: *id003
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: vcr
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ~>
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 1.9.0
|
58
|
+
type: :development
|
59
|
+
version_requirements: *id004
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: rcov
|
62
|
+
prerelease: false
|
63
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.9.9
|
69
|
+
type: :development
|
70
|
+
version_requirements: *id005
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: metric_fu
|
73
|
+
prerelease: false
|
74
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 2.1.1
|
80
|
+
type: :development
|
81
|
+
version_requirements: *id006
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: extlib
|
84
|
+
prerelease: false
|
85
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
86
|
+
none: false
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: "0"
|
91
|
+
type: :runtime
|
92
|
+
version_requirements: *id007
|
93
|
+
description: Implements OpenSRS XML API
|
94
|
+
email:
|
95
|
+
- tparkin@site5.com
|
96
|
+
executables: []
|
97
|
+
|
98
|
+
extensions: []
|
99
|
+
|
100
|
+
extra_rdoc_files: []
|
101
|
+
|
102
|
+
files:
|
103
|
+
- .gitignore
|
104
|
+
- .rspec
|
105
|
+
- .rvmrc
|
106
|
+
- .travis.yml
|
107
|
+
- Gemfile
|
108
|
+
- LICENSE
|
109
|
+
- README.md
|
110
|
+
- Rakefile
|
111
|
+
- lib/cacert.pem
|
112
|
+
- lib/moo_moo.rb
|
113
|
+
- lib/moo_moo/config.rb
|
114
|
+
- lib/moo_moo/opensrs.rb
|
115
|
+
- lib/moo_moo/opensrs/args.rb
|
116
|
+
- lib/moo_moo/opensrs/base.rb
|
117
|
+
- lib/moo_moo/opensrs/command.rb
|
118
|
+
- lib/moo_moo/opensrs/cookie_commands.rb
|
119
|
+
- lib/moo_moo/opensrs/lookup_commands.rb
|
120
|
+
- lib/moo_moo/opensrs/nameserver_commands.rb
|
121
|
+
- lib/moo_moo/opensrs/opensrsexception.rb
|
122
|
+
- lib/moo_moo/opensrs/provisioning_commands.rb
|
123
|
+
- lib/moo_moo/opensrs/response.rb
|
124
|
+
- lib/moo_moo/opensrs/transfer_commands.rb
|
125
|
+
- lib/moo_moo/opensrs/utils.rb
|
126
|
+
- lib/moo_moo/version.rb
|
127
|
+
- moo_moo.gemspec
|
128
|
+
- spec/moo_moo_spec.rb
|
129
|
+
- spec/opensrs/args_spec.rb
|
130
|
+
- spec/opensrs/cookie_spec.rb
|
131
|
+
- spec/opensrs/lookup_spec.rb
|
132
|
+
- spec/opensrs/nameserver_spec.rb
|
133
|
+
- spec/opensrs/opensrs_spec.rb
|
134
|
+
- spec/opensrs/provisioning_spec.rb
|
135
|
+
- spec/opensrs/transfer_spec.rb
|
136
|
+
- spec/opensrs/utils_spec.rb
|
137
|
+
- spec/spec_helper.rb
|
138
|
+
- spec/vcr_cassettes/cookie/delete_cookie.yml
|
139
|
+
- spec/vcr_cassettes/cookie/quit_session.yml
|
140
|
+
- spec/vcr_cassettes/cookie/set_cookie.yml
|
141
|
+
- spec/vcr_cassettes/cookie/set_cookie_fail.yml
|
142
|
+
- spec/vcr_cassettes/cookie/update_cookie.yml
|
143
|
+
- spec/vcr_cassettes/lookup/belongs_to_rsp.yml
|
144
|
+
- spec/vcr_cassettes/lookup/belongs_to_rsp_negative.yml
|
145
|
+
- spec/vcr_cassettes/lookup/get_balance.yml
|
146
|
+
- spec/vcr_cassettes/lookup/get_deleted_domains.yml
|
147
|
+
- spec/vcr_cassettes/lookup/get_domain.yml
|
148
|
+
- spec/vcr_cassettes/lookup/get_domain_fail.yml
|
149
|
+
- spec/vcr_cassettes/lookup/get_domains_by_expiredate.yml
|
150
|
+
- spec/vcr_cassettes/lookup/get_domains_contacts.yml
|
151
|
+
- spec/vcr_cassettes/lookup/get_domains_contacts_fail.yml
|
152
|
+
- spec/vcr_cassettes/lookup/get_notes_for_domain.yml
|
153
|
+
- spec/vcr_cassettes/lookup/get_notes_for_order.yml
|
154
|
+
- spec/vcr_cassettes/lookup/get_notes_for_transfer.yml
|
155
|
+
- spec/vcr_cassettes/lookup/get_order_info.yml
|
156
|
+
- spec/vcr_cassettes/lookup/get_orders_by_domain.yml
|
157
|
+
- spec/vcr_cassettes/lookup/get_price.yml
|
158
|
+
- spec/vcr_cassettes/lookup/get_product_info.yml
|
159
|
+
- spec/vcr_cassettes/lookup/lookup_domain_available.yml
|
160
|
+
- spec/vcr_cassettes/lookup/lookup_domain_registered.yml
|
161
|
+
- spec/vcr_cassettes/lookup/name_suggest.yml
|
162
|
+
- spec/vcr_cassettes/nameserver/create.yml
|
163
|
+
- spec/vcr_cassettes/nameserver/delete.yml
|
164
|
+
- spec/vcr_cassettes/nameserver/get.yml
|
165
|
+
- spec/vcr_cassettes/nameserver/modify.yml
|
166
|
+
- spec/vcr_cassettes/provisioning/cancel_order.yml
|
167
|
+
- spec/vcr_cassettes/provisioning/cancel_order_invalid.yml
|
168
|
+
- spec/vcr_cassettes/provisioning/cancel_pending_orders.yml
|
169
|
+
- spec/vcr_cassettes/provisioning/modify_all_domains.yml
|
170
|
+
- spec/vcr_cassettes/provisioning/modify_domain.yml
|
171
|
+
- spec/vcr_cassettes/provisioning/process_pending.yml
|
172
|
+
- spec/vcr_cassettes/provisioning/register_domain.yml
|
173
|
+
- spec/vcr_cassettes/provisioning/register_pending_domain.yml
|
174
|
+
- spec/vcr_cassettes/provisioning/register_taken_domain.yml
|
175
|
+
- spec/vcr_cassettes/provisioning/renew_domain.yml
|
176
|
+
- spec/vcr_cassettes/provisioning/revoke_domain.yml
|
177
|
+
- spec/vcr_cassettes/provisioning/trust_service.yml
|
178
|
+
- spec/vcr_cassettes/provisioning/update_contacts.yml
|
179
|
+
- spec/vcr_cassettes/transfer/cancel_transfer.yml
|
180
|
+
- spec/vcr_cassettes/transfer/cancel_trasnfer_order.yml
|
181
|
+
- spec/vcr_cassettes/transfer/check_transfer.yml
|
182
|
+
- spec/vcr_cassettes/transfer/check_transfer_exists.yml
|
183
|
+
- spec/vcr_cassettes/transfer/get_transfers_away.yml
|
184
|
+
- spec/vcr_cassettes/transfer/get_transfers_in.yml
|
185
|
+
- spec/vcr_cassettes/transfer/process_transfer.yml
|
186
|
+
- spec/vcr_cassettes/transfer/process_transfer_unsuccessful.yml
|
187
|
+
- spec/vcr_cassettes/transfer/rsp2rsp_push_transfer.yml
|
188
|
+
- spec/vcr_cassettes/transfer/send_password.yml
|
189
|
+
- spec/vcr_cassettes/transfer/transfer.yml
|
190
|
+
has_rdoc: true
|
191
|
+
homepage: ""
|
192
|
+
licenses: []
|
193
|
+
|
194
|
+
post_install_message:
|
195
|
+
rdoc_options: []
|
196
|
+
|
197
|
+
require_paths:
|
198
|
+
- lib
|
199
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
200
|
+
none: false
|
201
|
+
requirements:
|
202
|
+
- - ">="
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: "0"
|
205
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
206
|
+
none: false
|
207
|
+
requirements:
|
208
|
+
- - ">="
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: "0"
|
211
|
+
requirements: []
|
212
|
+
|
213
|
+
rubyforge_project: opensrs
|
214
|
+
rubygems_version: 1.5.0
|
215
|
+
signing_key:
|
216
|
+
specification_version: 3
|
217
|
+
summary: Implements OpenSRS XML API
|
218
|
+
test_files:
|
219
|
+
- spec/moo_moo_spec.rb
|
220
|
+
- spec/opensrs/args_spec.rb
|
221
|
+
- spec/opensrs/cookie_spec.rb
|
222
|
+
- spec/opensrs/lookup_spec.rb
|
223
|
+
- spec/opensrs/nameserver_spec.rb
|
224
|
+
- spec/opensrs/opensrs_spec.rb
|
225
|
+
- spec/opensrs/provisioning_spec.rb
|
226
|
+
- spec/opensrs/transfer_spec.rb
|
227
|
+
- spec/opensrs/utils_spec.rb
|
228
|
+
- spec/spec_helper.rb
|
229
|
+
- spec/vcr_cassettes/cookie/delete_cookie.yml
|
230
|
+
- spec/vcr_cassettes/cookie/quit_session.yml
|
231
|
+
- spec/vcr_cassettes/cookie/set_cookie.yml
|
232
|
+
- spec/vcr_cassettes/cookie/set_cookie_fail.yml
|
233
|
+
- spec/vcr_cassettes/cookie/update_cookie.yml
|
234
|
+
- spec/vcr_cassettes/lookup/belongs_to_rsp.yml
|
235
|
+
- spec/vcr_cassettes/lookup/belongs_to_rsp_negative.yml
|
236
|
+
- spec/vcr_cassettes/lookup/get_balance.yml
|
237
|
+
- spec/vcr_cassettes/lookup/get_deleted_domains.yml
|
238
|
+
- spec/vcr_cassettes/lookup/get_domain.yml
|
239
|
+
- spec/vcr_cassettes/lookup/get_domain_fail.yml
|
240
|
+
- spec/vcr_cassettes/lookup/get_domains_by_expiredate.yml
|
241
|
+
- spec/vcr_cassettes/lookup/get_domains_contacts.yml
|
242
|
+
- spec/vcr_cassettes/lookup/get_domains_contacts_fail.yml
|
243
|
+
- spec/vcr_cassettes/lookup/get_notes_for_domain.yml
|
244
|
+
- spec/vcr_cassettes/lookup/get_notes_for_order.yml
|
245
|
+
- spec/vcr_cassettes/lookup/get_notes_for_transfer.yml
|
246
|
+
- spec/vcr_cassettes/lookup/get_order_info.yml
|
247
|
+
- spec/vcr_cassettes/lookup/get_orders_by_domain.yml
|
248
|
+
- spec/vcr_cassettes/lookup/get_price.yml
|
249
|
+
- spec/vcr_cassettes/lookup/get_product_info.yml
|
250
|
+
- spec/vcr_cassettes/lookup/lookup_domain_available.yml
|
251
|
+
- spec/vcr_cassettes/lookup/lookup_domain_registered.yml
|
252
|
+
- spec/vcr_cassettes/lookup/name_suggest.yml
|
253
|
+
- spec/vcr_cassettes/nameserver/create.yml
|
254
|
+
- spec/vcr_cassettes/nameserver/delete.yml
|
255
|
+
- spec/vcr_cassettes/nameserver/get.yml
|
256
|
+
- spec/vcr_cassettes/nameserver/modify.yml
|
257
|
+
- spec/vcr_cassettes/provisioning/cancel_order.yml
|
258
|
+
- spec/vcr_cassettes/provisioning/cancel_order_invalid.yml
|
259
|
+
- spec/vcr_cassettes/provisioning/cancel_pending_orders.yml
|
260
|
+
- spec/vcr_cassettes/provisioning/modify_all_domains.yml
|
261
|
+
- spec/vcr_cassettes/provisioning/modify_domain.yml
|
262
|
+
- spec/vcr_cassettes/provisioning/process_pending.yml
|
263
|
+
- spec/vcr_cassettes/provisioning/register_domain.yml
|
264
|
+
- spec/vcr_cassettes/provisioning/register_pending_domain.yml
|
265
|
+
- spec/vcr_cassettes/provisioning/register_taken_domain.yml
|
266
|
+
- spec/vcr_cassettes/provisioning/renew_domain.yml
|
267
|
+
- spec/vcr_cassettes/provisioning/revoke_domain.yml
|
268
|
+
- spec/vcr_cassettes/provisioning/trust_service.yml
|
269
|
+
- spec/vcr_cassettes/provisioning/update_contacts.yml
|
270
|
+
- spec/vcr_cassettes/transfer/cancel_transfer.yml
|
271
|
+
- spec/vcr_cassettes/transfer/cancel_trasnfer_order.yml
|
272
|
+
- spec/vcr_cassettes/transfer/check_transfer.yml
|
273
|
+
- spec/vcr_cassettes/transfer/check_transfer_exists.yml
|
274
|
+
- spec/vcr_cassettes/transfer/get_transfers_away.yml
|
275
|
+
- spec/vcr_cassettes/transfer/get_transfers_in.yml
|
276
|
+
- spec/vcr_cassettes/transfer/process_transfer.yml
|
277
|
+
- spec/vcr_cassettes/transfer/process_transfer_unsuccessful.yml
|
278
|
+
- spec/vcr_cassettes/transfer/rsp2rsp_push_transfer.yml
|
279
|
+
- spec/vcr_cassettes/transfer/send_password.yml
|
280
|
+
- spec/vcr_cassettes/transfer/transfer.yml
|