dnsimple 2.0.0.alpha2 → 2.0.0.alpha3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +6 -2
- data/README.markdown +32 -30
- data/dnsimple.gemspec +1 -2
- data/lib/dnsimple.rb +2 -13
- data/lib/dnsimple/client.rb +164 -53
- data/lib/dnsimple/client/certificates_service.rb +98 -0
- data/lib/dnsimple/client/client_service.rb +8 -0
- data/lib/dnsimple/client/contacts_service.rb +82 -0
- data/lib/dnsimple/client/domains_service.rb +333 -0
- data/lib/dnsimple/client/name_servers_service.rb +69 -0
- data/lib/dnsimple/client/registrars_service.rb +105 -0
- data/lib/dnsimple/client/services_service.rb +95 -0
- data/lib/dnsimple/client/templates_service.rb +180 -0
- data/lib/dnsimple/client/users_service.rb +37 -0
- data/lib/dnsimple/compatibility.rb +46 -0
- data/lib/dnsimple/default.rb +86 -0
- data/lib/dnsimple/error.rb +7 -11
- data/lib/dnsimple/extra.rb +54 -0
- data/lib/dnsimple/struct.rb +29 -0
- data/lib/dnsimple/struct/certificate.rb +56 -0
- data/lib/dnsimple/struct/contact.rb +61 -0
- data/lib/dnsimple/struct/domain.rb +40 -0
- data/lib/dnsimple/struct/email_forward.rb +14 -0
- data/lib/dnsimple/struct/extended_attribute.rb +39 -0
- data/lib/dnsimple/struct/membership.rb +22 -0
- data/lib/dnsimple/struct/price.rb +16 -0
- data/lib/dnsimple/struct/record.rb +22 -0
- data/lib/dnsimple/struct/service.rb +19 -0
- data/lib/dnsimple/struct/template.rb +19 -0
- data/lib/dnsimple/struct/template_record.rb +24 -0
- data/lib/dnsimple/struct/transfer_order.rb +10 -0
- data/lib/dnsimple/struct/user.rb +17 -0
- data/lib/dnsimple/struct/whois_privacy.rb +19 -0
- data/lib/dnsimple/version.rb +1 -1
- data/spec/dnsimple/client/certificates_service_spec.rb +196 -0
- data/spec/dnsimple/client/contacts_service_spec.rb +179 -0
- data/spec/dnsimple/client/domains_service_spec.rb +662 -0
- data/spec/dnsimple/client/name_servers_service_spec.rb +131 -0
- data/spec/dnsimple/client/registrars_service_spec.rb +160 -0
- data/spec/dnsimple/client/services_service_spec.rb +162 -0
- data/spec/dnsimple/client/templates_service_spec.rb +371 -0
- data/spec/dnsimple/client/users_service_spec.rb +70 -0
- data/spec/dnsimple/client_spec.rb +108 -99
- data/spec/dnsimple/compatibility_spec.rb +57 -0
- data/spec/files/2fa/exchange-token.http +8 -11
- data/spec/files/badgateway.http +14 -0
- data/spec/files/certificates/configure/success.http +19 -0
- data/spec/files/certificates/index/success.http +1 -1
- data/spec/files/certificates/notfound.http +19 -0
- data/spec/files/certificates/purchase/success.http +19 -0
- data/spec/files/certificates/show/success.http +1 -1
- data/spec/files/certificates/submit/success.http +19 -0
- data/spec/files/contacts/create/badrequest-missingcontact.http +19 -0
- data/spec/files/contacts/create/badrequest-validationerror.http +19 -0
- data/spec/files/contacts/create/created.http +22 -0
- data/spec/files/contacts/delete/success-204.http +18 -0
- data/spec/files/{extended_attributes/com.http → contacts/delete/success.http} +5 -5
- data/spec/files/{domains/auto_renewal_enable → contacts/index}/success.http +6 -6
- data/spec/files/contacts/notfound.http +19 -0
- data/spec/files/contacts/update/success.http +21 -0
- data/spec/files/domains/create/created.http +21 -0
- data/spec/files/domains/index/success.http +11 -9
- data/spec/files/domains/notfound.http +11 -9
- data/spec/files/domains/show/success.http +12 -10
- data/spec/files/domains_autorenewal/disable/success.http +21 -0
- data/spec/files/domains_autorenewal/enable/success.http +21 -0
- data/spec/files/domains_autorenewal/notfound-domain.http +19 -0
- data/spec/files/domains_forwards/create/created.http +22 -0
- data/spec/files/domains_forwards/delete/success.http +17 -0
- data/spec/files/domains_forwards/get/success.http +21 -0
- data/spec/files/domains_forwards/list/success.http +21 -0
- data/spec/files/domains_forwards/notfound-domain.http +19 -0
- data/spec/files/domains_forwards/notfound.http +19 -0
- data/spec/files/domains_records/create/created.http +21 -0
- data/spec/files/domains_records/delete/success-204.http +18 -0
- data/spec/files/{contacts/show/notfound.http → domains_records/delete/success.http} +9 -7
- data/spec/files/{records → domains_records}/index/success.http +0 -0
- data/spec/files/{records/show → domains_records}/notfound.http +1 -1
- data/spec/files/{records → domains_records}/show/success.http +0 -0
- data/spec/files/domains_records/update/success.http +21 -0
- data/spec/files/domains_sharing/create/success.http +21 -0
- data/spec/files/domains_sharing/delete/success.http +17 -0
- data/spec/files/domains_sharing/list/success.http +21 -0
- data/spec/files/domains_sharing/notfound-domain.http +19 -0
- data/spec/files/domains_sharing/notfound.http +19 -0
- data/spec/files/domains_whois_privacy/disable/success.http +21 -0
- data/spec/files/domains_whois_privacy/enable/success.http +22 -0
- data/spec/files/domains_zones/get/success.http +21 -0
- data/spec/files/domains_zones/notfound-domain.http +19 -0
- data/spec/files/{domains/auto_renewal_disable/notfound.http → nameservers/change/success.http} +23 -21
- data/spec/files/nameservers/deregister/success.http +17 -0
- data/spec/files/{domains/auto_renewal_enable/notfound.http → nameservers/list/success.http} +23 -21
- data/spec/files/nameservers/notfound-domain.http +19 -0
- data/spec/files/nameservers/register/badrequest-valueerror.http +19 -0
- data/spec/files/nameservers/register/success.http +21 -0
- data/spec/files/registrars/check/available.http +19 -0
- data/spec/files/registrars/check/registered.http +21 -0
- data/spec/files/registrars/register/badrequest-missingdomain.http +19 -0
- data/spec/files/registrars/register/badrequest-missingregistrant.http +19 -0
- data/spec/files/registrars/register/success.http +21 -0
- data/spec/files/registrars/renew/badrequest-missingrenewal.http +19 -0
- data/spec/files/registrars/renew/badrequest-unable.http +19 -0
- data/spec/files/registrars/renew/success.http +21 -0
- data/spec/files/registrars/transfer/success.http +21 -0
- data/spec/files/registrars_extended_attributes/list/success.http +21 -0
- data/spec/files/registrars_prices/list/success.http +21 -0
- data/spec/files/services/applied/success.http +21 -0
- data/spec/files/services/apply/success.http +21 -0
- data/spec/files/services/available/success.http +21 -0
- data/spec/files/services/index/success.http +21 -0
- data/spec/files/services/notfound.http +19 -0
- data/spec/files/services/show/success.http +21 -0
- data/spec/files/services/unapply/success.http +21 -0
- data/spec/files/subscription/show/success.http +21 -0
- data/spec/files/templates/apply/success.http +21 -0
- data/spec/files/templates/create/created.http +22 -0
- data/spec/files/templates/delete/success-204.http +21 -0
- data/spec/files/templates/delete/success.http +21 -0
- data/spec/files/templates/index/success.http +21 -0
- data/spec/files/templates/notfound.http +19 -0
- data/spec/files/templates/show/success.http +12 -10
- data/spec/files/templates/update/success.http +21 -0
- data/spec/files/templates_records/create/created.http +22 -0
- data/spec/files/templates_records/delete/success-204.http +19 -0
- data/spec/files/templates_records/delete/success.http +21 -0
- data/spec/files/templates_records/index/success.http +21 -0
- data/spec/files/templates_records/notfound.http +19 -0
- data/spec/files/templates_records/show/success.http +21 -0
- data/spec/files/templates_records/update/success.http +21 -0
- data/spec/files/users/user/success.http +21 -0
- data/spec/spec_helper.rb +0 -2
- metadata +206 -73
- data/lib/dnsimple/base.rb +0 -10
- data/lib/dnsimple/certificate.rb +0 -143
- data/lib/dnsimple/contact.rb +0 -157
- data/lib/dnsimple/domain.rb +0 -252
- data/lib/dnsimple/extended_attribute.rb +0 -52
- data/lib/dnsimple/record.rb +0 -94
- data/lib/dnsimple/service.rb +0 -42
- data/lib/dnsimple/template.rb +0 -65
- data/lib/dnsimple/template_record.rb +0 -80
- data/lib/dnsimple/transfer_order.rb +0 -34
- data/lib/dnsimple/user.rb +0 -50
- data/spec/dnsimple/certificate_spec.rb +0 -59
- data/spec/dnsimple/contact_spec.rb +0 -45
- data/spec/dnsimple/domain_spec.rb +0 -241
- data/spec/dnsimple/extended_attributes_spec.rb +0 -54
- data/spec/dnsimple/record_spec.rb +0 -51
- data/spec/dnsimple/template_spec.rb +0 -31
- data/spec/dnsimple/user_spec.rb +0 -70
- data/spec/files/account/user/success.http +0 -19
- data/spec/files/certificates/show/notfound.http +0 -17
- data/spec/files/domains/auto_renewal_disable/success.http +0 -23
- data/spec/files/domains/create/success.http +0 -19
- data/spec/files/extended_attributes/ca.http +0 -19
- data/spec/files/extended_attributes/success.http +0 -19
- data/spec/files/templates/show/notfound.http +0 -17
@@ -0,0 +1,21 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx
|
3
|
+
Date: Mon, 15 Dec 2014 17:26:18 GMT
|
4
|
+
Content-Type: application/json; charset=utf-8
|
5
|
+
Transfer-Encoding: chunked
|
6
|
+
Connection: keep-alive
|
7
|
+
Status: 200 OK
|
8
|
+
Strict-Transport-Security: max-age=631138519
|
9
|
+
X-Frame-Options: SAMEORIGIN
|
10
|
+
X-XSS-Protection: 1
|
11
|
+
X-Content-Type-Options: nosniff
|
12
|
+
Access-Control-Allow-Origin: *
|
13
|
+
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
+
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
+
ETag: "887e846c13e9266cca28b9215b16b60d"
|
16
|
+
Cache-Control: max-age=0, private, must-revalidate
|
17
|
+
X-Request-Id: 501fb583-f532-4ced-8a00-ef9a7e459834
|
18
|
+
X-Runtime: 0.122367
|
19
|
+
Strict-Transport-Security: max-age=315360000
|
20
|
+
|
21
|
+
[{"dns_template_record":{"id":8869,"dns_template_id":2947,"name":"ww2","content":"127.0.0.1","ttl":3600,"prio":null,"record_type":"ALIAS","created_at":"2014-12-15T17:26:11.648Z","updated_at":"2014-12-15T17:26:11.648Z"}},{"dns_template_record":{"id":8868,"dns_template_id":2947,"name":"ww1","content":"127.0.0.1","ttl":3600,"prio":null,"record_type":"ALIAS","created_at":"2014-12-15T17:25:20.431Z","updated_at":"2014-12-15T17:25:20.431Z"}}]
|
@@ -0,0 +1,19 @@
|
|
1
|
+
HTTP/1.1 404 Not Found
|
2
|
+
Server: nginx
|
3
|
+
Date: Mon, 15 Dec 2014 17:40:26 GMT
|
4
|
+
Content-Type: application/json; charset=utf-8
|
5
|
+
Transfer-Encoding: chunked
|
6
|
+
Connection: keep-alive
|
7
|
+
Status: 404 Not Found
|
8
|
+
Strict-Transport-Security: max-age=631138519
|
9
|
+
X-Frame-Options: SAMEORIGIN
|
10
|
+
X-XSS-Protection: 1
|
11
|
+
X-Content-Type-Options: nosniff
|
12
|
+
Access-Control-Allow-Origin: *
|
13
|
+
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
+
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
+
Cache-Control: no-cache
|
16
|
+
X-Request-Id: e254bc41-5985-4439-8a24-c305babee2ac
|
17
|
+
X-Runtime: 0.051934
|
18
|
+
|
19
|
+
{"message":"Couldn't find DnsTemplateRecord with 'id'=0 [WHERE \"dns_template_records\".\"dns_template_id\" = $1]"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx
|
3
|
+
Date: Mon, 15 Dec 2014 17:39:53 GMT
|
4
|
+
Content-Type: application/json; charset=utf-8
|
5
|
+
Transfer-Encoding: chunked
|
6
|
+
Connection: keep-alive
|
7
|
+
Status: 200 OK
|
8
|
+
Strict-Transport-Security: max-age=631138519
|
9
|
+
X-Frame-Options: SAMEORIGIN
|
10
|
+
X-XSS-Protection: 1
|
11
|
+
X-Content-Type-Options: nosniff
|
12
|
+
Access-Control-Allow-Origin: *
|
13
|
+
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
+
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
+
ETag: "8b6a002b2d4d8eecfd1c9a3bdd70bec1"
|
16
|
+
Cache-Control: max-age=0, private, must-revalidate
|
17
|
+
X-Request-Id: 15b1f2e3-d6f7-418b-bc66-7af13fca1cde
|
18
|
+
X-Runtime: 0.096886
|
19
|
+
Strict-Transport-Security: max-age=315360000
|
20
|
+
|
21
|
+
{"dns_template_record":{"id":8868,"dns_template_id":2947,"name":"ww1","content":"127.0.0.1","ttl":3600,"prio":null,"record_type":"ALIAS","created_at":"2014-12-15T17:25:20.431Z","updated_at":"2014-12-15T17:25:20.431Z"}}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx
|
3
|
+
Date: Mon, 15 Dec 2014 17:39:53 GMT
|
4
|
+
Content-Type: application/json; charset=utf-8
|
5
|
+
Transfer-Encoding: chunked
|
6
|
+
Connection: keep-alive
|
7
|
+
Status: 200 OK
|
8
|
+
Strict-Transport-Security: max-age=631138519
|
9
|
+
X-Frame-Options: SAMEORIGIN
|
10
|
+
X-XSS-Protection: 1
|
11
|
+
X-Content-Type-Options: nosniff
|
12
|
+
Access-Control-Allow-Origin: *
|
13
|
+
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
+
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
+
ETag: "8b6a002b2d4d8eecfd1c9a3bdd70bec1"
|
16
|
+
Cache-Control: max-age=0, private, must-revalidate
|
17
|
+
X-Request-Id: 15b1f2e3-d6f7-418b-bc66-7af13fca1cde
|
18
|
+
X-Runtime: 0.096886
|
19
|
+
Strict-Transport-Security: max-age=315360000
|
20
|
+
|
21
|
+
{"dns_template_record":{"id":8868,"dns_template_id":2947,"name":"ww1","content":"127.0.0.1","ttl":3600,"prio":null,"record_type":"ALIAS","created_at":"2014-12-15T17:25:20.431Z","updated_at":"2014-12-15T17:25:20.431Z"}}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx
|
3
|
+
Date: Mon, 15 Dec 2014 17:04:41 GMT
|
4
|
+
Content-Type: application/json; charset=utf-8
|
5
|
+
Transfer-Encoding: chunked
|
6
|
+
Connection: keep-alive
|
7
|
+
Status: 200 OK
|
8
|
+
Strict-Transport-Security: max-age=631138519
|
9
|
+
X-Frame-Options: SAMEORIGIN
|
10
|
+
X-XSS-Protection: 1
|
11
|
+
X-Content-Type-Options: nosniff
|
12
|
+
Access-Control-Allow-Origin: *
|
13
|
+
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
+
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
+
ETag: "535b1edb37f32b4388c1be8682e8c15a"
|
16
|
+
Cache-Control: max-age=0, private, must-revalidate
|
17
|
+
X-Request-Id: ee1f0ee3-082a-4e59-8891-17d5068e857c
|
18
|
+
X-Runtime: 0.073436
|
19
|
+
Strict-Transport-Security: max-age=315360000
|
20
|
+
|
21
|
+
{"user":{"id":1,"email":"example@example.com","referral_token":"referral-token","api_token":"api-token","domain_count":32,"domain_limit":1000,"login_count":2,"failed_login_count":1,"created_at":"2011-03-17T21:30:25.731Z","updated_at":"2014-12-13T13:52:08.343Z"}}
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dnsimple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.alpha3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Eden
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-12-
|
12
|
+
date: 2014-12-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -39,20 +39,6 @@ dependencies:
|
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
name: mocha
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - ">="
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '0'
|
49
|
-
type: :development
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - ">="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '0'
|
56
42
|
- !ruby/object:Gem::Dependency
|
57
43
|
name: rspec
|
58
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,8 +81,7 @@ dependencies:
|
|
95
81
|
- - ">="
|
96
82
|
- !ruby/object:Gem::Version
|
97
83
|
version: '0'
|
98
|
-
description: A Ruby client for the DNSimple API
|
99
|
-
client.
|
84
|
+
description: A Ruby client for the DNSimple API.
|
100
85
|
email:
|
101
86
|
- anthony.eden@dnsimple.com
|
102
87
|
- simone.carletti@dnsimple.com
|
@@ -119,55 +104,137 @@ files:
|
|
119
104
|
- Rakefile
|
120
105
|
- dnsimple.gemspec
|
121
106
|
- lib/dnsimple.rb
|
122
|
-
- lib/dnsimple/base.rb
|
123
|
-
- lib/dnsimple/certificate.rb
|
124
107
|
- lib/dnsimple/client.rb
|
125
|
-
- lib/dnsimple/
|
126
|
-
- lib/dnsimple/
|
108
|
+
- lib/dnsimple/client/certificates_service.rb
|
109
|
+
- lib/dnsimple/client/client_service.rb
|
110
|
+
- lib/dnsimple/client/contacts_service.rb
|
111
|
+
- lib/dnsimple/client/domains_service.rb
|
112
|
+
- lib/dnsimple/client/name_servers_service.rb
|
113
|
+
- lib/dnsimple/client/registrars_service.rb
|
114
|
+
- lib/dnsimple/client/services_service.rb
|
115
|
+
- lib/dnsimple/client/templates_service.rb
|
116
|
+
- lib/dnsimple/client/users_service.rb
|
117
|
+
- lib/dnsimple/compatibility.rb
|
118
|
+
- lib/dnsimple/default.rb
|
127
119
|
- lib/dnsimple/error.rb
|
128
|
-
- lib/dnsimple/
|
129
|
-
- lib/dnsimple/
|
130
|
-
- lib/dnsimple/
|
131
|
-
- lib/dnsimple/
|
132
|
-
- lib/dnsimple/
|
133
|
-
- lib/dnsimple/
|
134
|
-
- lib/dnsimple/
|
120
|
+
- lib/dnsimple/extra.rb
|
121
|
+
- lib/dnsimple/struct.rb
|
122
|
+
- lib/dnsimple/struct/certificate.rb
|
123
|
+
- lib/dnsimple/struct/contact.rb
|
124
|
+
- lib/dnsimple/struct/domain.rb
|
125
|
+
- lib/dnsimple/struct/email_forward.rb
|
126
|
+
- lib/dnsimple/struct/extended_attribute.rb
|
127
|
+
- lib/dnsimple/struct/membership.rb
|
128
|
+
- lib/dnsimple/struct/price.rb
|
129
|
+
- lib/dnsimple/struct/record.rb
|
130
|
+
- lib/dnsimple/struct/service.rb
|
131
|
+
- lib/dnsimple/struct/template.rb
|
132
|
+
- lib/dnsimple/struct/template_record.rb
|
133
|
+
- lib/dnsimple/struct/transfer_order.rb
|
134
|
+
- lib/dnsimple/struct/user.rb
|
135
|
+
- lib/dnsimple/struct/whois_privacy.rb
|
135
136
|
- lib/dnsimple/version.rb
|
136
|
-
- spec/dnsimple/
|
137
|
+
- spec/dnsimple/client/certificates_service_spec.rb
|
138
|
+
- spec/dnsimple/client/contacts_service_spec.rb
|
139
|
+
- spec/dnsimple/client/domains_service_spec.rb
|
140
|
+
- spec/dnsimple/client/name_servers_service_spec.rb
|
141
|
+
- spec/dnsimple/client/registrars_service_spec.rb
|
142
|
+
- spec/dnsimple/client/services_service_spec.rb
|
143
|
+
- spec/dnsimple/client/templates_service_spec.rb
|
144
|
+
- spec/dnsimple/client/users_service_spec.rb
|
137
145
|
- spec/dnsimple/client_spec.rb
|
138
|
-
- spec/dnsimple/
|
139
|
-
- spec/dnsimple/domain_spec.rb
|
140
|
-
- spec/dnsimple/extended_attributes_spec.rb
|
141
|
-
- spec/dnsimple/record_spec.rb
|
142
|
-
- spec/dnsimple/template_spec.rb
|
143
|
-
- spec/dnsimple/user_spec.rb
|
146
|
+
- spec/dnsimple/compatibility_spec.rb
|
144
147
|
- spec/files/2fa/error-badtoken.http
|
145
148
|
- spec/files/2fa/error-required.http
|
146
149
|
- spec/files/2fa/exchange-token.http
|
147
|
-
- spec/files/
|
150
|
+
- spec/files/badgateway.http
|
151
|
+
- spec/files/certificates/configure/success.http
|
148
152
|
- spec/files/certificates/index/success.http
|
149
|
-
- spec/files/certificates/
|
153
|
+
- spec/files/certificates/notfound.http
|
154
|
+
- spec/files/certificates/purchase/success.http
|
150
155
|
- spec/files/certificates/show/success.http
|
151
|
-
- spec/files/
|
156
|
+
- spec/files/certificates/submit/success.http
|
157
|
+
- spec/files/contacts/create/badrequest-missingcontact.http
|
158
|
+
- spec/files/contacts/create/badrequest-validationerror.http
|
159
|
+
- spec/files/contacts/create/created.http
|
160
|
+
- spec/files/contacts/delete/success-204.http
|
161
|
+
- spec/files/contacts/delete/success.http
|
162
|
+
- spec/files/contacts/index/success.http
|
163
|
+
- spec/files/contacts/notfound.http
|
152
164
|
- spec/files/contacts/show/success.http
|
153
|
-
- spec/files/
|
154
|
-
- spec/files/domains/
|
155
|
-
- spec/files/domains/auto_renewal_enable/notfound.http
|
156
|
-
- spec/files/domains/auto_renewal_enable/success.http
|
157
|
-
- spec/files/domains/create/success.http
|
165
|
+
- spec/files/contacts/update/success.http
|
166
|
+
- spec/files/domains/create/created.http
|
158
167
|
- spec/files/domains/delete/success-204.http
|
159
168
|
- spec/files/domains/delete/success.http
|
160
169
|
- spec/files/domains/index/success.http
|
161
170
|
- spec/files/domains/notfound.http
|
162
171
|
- spec/files/domains/show/success.http
|
163
|
-
- spec/files/
|
164
|
-
- spec/files/
|
165
|
-
- spec/files/
|
166
|
-
- spec/files/
|
167
|
-
- spec/files/
|
168
|
-
- spec/files/
|
169
|
-
- spec/files/
|
172
|
+
- spec/files/domains_autorenewal/disable/success.http
|
173
|
+
- spec/files/domains_autorenewal/enable/success.http
|
174
|
+
- spec/files/domains_autorenewal/notfound-domain.http
|
175
|
+
- spec/files/domains_forwards/create/created.http
|
176
|
+
- spec/files/domains_forwards/delete/success.http
|
177
|
+
- spec/files/domains_forwards/get/success.http
|
178
|
+
- spec/files/domains_forwards/list/success.http
|
179
|
+
- spec/files/domains_forwards/notfound-domain.http
|
180
|
+
- spec/files/domains_forwards/notfound.http
|
181
|
+
- spec/files/domains_records/create/created.http
|
182
|
+
- spec/files/domains_records/delete/success-204.http
|
183
|
+
- spec/files/domains_records/delete/success.http
|
184
|
+
- spec/files/domains_records/index/success.http
|
185
|
+
- spec/files/domains_records/notfound.http
|
186
|
+
- spec/files/domains_records/show/success.http
|
187
|
+
- spec/files/domains_records/update/success.http
|
188
|
+
- spec/files/domains_sharing/create/success.http
|
189
|
+
- spec/files/domains_sharing/delete/success.http
|
190
|
+
- spec/files/domains_sharing/list/success.http
|
191
|
+
- spec/files/domains_sharing/notfound-domain.http
|
192
|
+
- spec/files/domains_sharing/notfound.http
|
193
|
+
- spec/files/domains_whois_privacy/disable/success.http
|
194
|
+
- spec/files/domains_whois_privacy/enable/success.http
|
195
|
+
- spec/files/domains_zones/get/success.http
|
196
|
+
- spec/files/domains_zones/notfound-domain.http
|
197
|
+
- spec/files/nameservers/change/success.http
|
198
|
+
- spec/files/nameservers/deregister/success.http
|
199
|
+
- spec/files/nameservers/list/success.http
|
200
|
+
- spec/files/nameservers/notfound-domain.http
|
201
|
+
- spec/files/nameservers/register/badrequest-valueerror.http
|
202
|
+
- spec/files/nameservers/register/success.http
|
203
|
+
- spec/files/registrars/check/available.http
|
204
|
+
- spec/files/registrars/check/registered.http
|
205
|
+
- spec/files/registrars/register/badrequest-missingdomain.http
|
206
|
+
- spec/files/registrars/register/badrequest-missingregistrant.http
|
207
|
+
- spec/files/registrars/register/success.http
|
208
|
+
- spec/files/registrars/renew/badrequest-missingrenewal.http
|
209
|
+
- spec/files/registrars/renew/badrequest-unable.http
|
210
|
+
- spec/files/registrars/renew/success.http
|
211
|
+
- spec/files/registrars/transfer/success.http
|
212
|
+
- spec/files/registrars_extended_attributes/list/success.http
|
213
|
+
- spec/files/registrars_prices/list/success.http
|
214
|
+
- spec/files/services/applied/success.http
|
215
|
+
- spec/files/services/apply/success.http
|
216
|
+
- spec/files/services/available/success.http
|
217
|
+
- spec/files/services/index/success.http
|
218
|
+
- spec/files/services/notfound.http
|
219
|
+
- spec/files/services/show/success.http
|
220
|
+
- spec/files/services/unapply/success.http
|
221
|
+
- spec/files/subscription/show/success.http
|
222
|
+
- spec/files/templates/apply/success.http
|
223
|
+
- spec/files/templates/create/created.http
|
224
|
+
- spec/files/templates/delete/success-204.http
|
225
|
+
- spec/files/templates/delete/success.http
|
226
|
+
- spec/files/templates/index/success.http
|
227
|
+
- spec/files/templates/notfound.http
|
170
228
|
- spec/files/templates/show/success.http
|
229
|
+
- spec/files/templates/update/success.http
|
230
|
+
- spec/files/templates_records/create/created.http
|
231
|
+
- spec/files/templates_records/delete/success-204.http
|
232
|
+
- spec/files/templates_records/delete/success.http
|
233
|
+
- spec/files/templates_records/index/success.http
|
234
|
+
- spec/files/templates_records/notfound.http
|
235
|
+
- spec/files/templates_records/show/success.http
|
236
|
+
- spec/files/templates_records/update/success.http
|
237
|
+
- spec/files/users/user/success.http
|
171
238
|
- spec/spec_helper.rb
|
172
239
|
- spec/support/helpers.rb
|
173
240
|
- spec/support/webmock.rb
|
@@ -195,41 +262,107 @@ signing_key:
|
|
195
262
|
specification_version: 4
|
196
263
|
summary: A Ruby client for the DNSimple API
|
197
264
|
test_files:
|
198
|
-
- spec/dnsimple/
|
265
|
+
- spec/dnsimple/client/certificates_service_spec.rb
|
266
|
+
- spec/dnsimple/client/contacts_service_spec.rb
|
267
|
+
- spec/dnsimple/client/domains_service_spec.rb
|
268
|
+
- spec/dnsimple/client/name_servers_service_spec.rb
|
269
|
+
- spec/dnsimple/client/registrars_service_spec.rb
|
270
|
+
- spec/dnsimple/client/services_service_spec.rb
|
271
|
+
- spec/dnsimple/client/templates_service_spec.rb
|
272
|
+
- spec/dnsimple/client/users_service_spec.rb
|
199
273
|
- spec/dnsimple/client_spec.rb
|
200
|
-
- spec/dnsimple/
|
201
|
-
- spec/dnsimple/domain_spec.rb
|
202
|
-
- spec/dnsimple/extended_attributes_spec.rb
|
203
|
-
- spec/dnsimple/record_spec.rb
|
204
|
-
- spec/dnsimple/template_spec.rb
|
205
|
-
- spec/dnsimple/user_spec.rb
|
274
|
+
- spec/dnsimple/compatibility_spec.rb
|
206
275
|
- spec/files/2fa/error-badtoken.http
|
207
276
|
- spec/files/2fa/error-required.http
|
208
277
|
- spec/files/2fa/exchange-token.http
|
209
|
-
- spec/files/
|
278
|
+
- spec/files/badgateway.http
|
279
|
+
- spec/files/certificates/configure/success.http
|
210
280
|
- spec/files/certificates/index/success.http
|
211
|
-
- spec/files/certificates/
|
281
|
+
- spec/files/certificates/notfound.http
|
282
|
+
- spec/files/certificates/purchase/success.http
|
212
283
|
- spec/files/certificates/show/success.http
|
213
|
-
- spec/files/
|
284
|
+
- spec/files/certificates/submit/success.http
|
285
|
+
- spec/files/contacts/create/badrequest-missingcontact.http
|
286
|
+
- spec/files/contacts/create/badrequest-validationerror.http
|
287
|
+
- spec/files/contacts/create/created.http
|
288
|
+
- spec/files/contacts/delete/success-204.http
|
289
|
+
- spec/files/contacts/delete/success.http
|
290
|
+
- spec/files/contacts/index/success.http
|
291
|
+
- spec/files/contacts/notfound.http
|
214
292
|
- spec/files/contacts/show/success.http
|
215
|
-
- spec/files/
|
216
|
-
- spec/files/domains/
|
217
|
-
- spec/files/domains/auto_renewal_enable/notfound.http
|
218
|
-
- spec/files/domains/auto_renewal_enable/success.http
|
219
|
-
- spec/files/domains/create/success.http
|
293
|
+
- spec/files/contacts/update/success.http
|
294
|
+
- spec/files/domains/create/created.http
|
220
295
|
- spec/files/domains/delete/success-204.http
|
221
296
|
- spec/files/domains/delete/success.http
|
222
297
|
- spec/files/domains/index/success.http
|
223
298
|
- spec/files/domains/notfound.http
|
224
299
|
- spec/files/domains/show/success.http
|
225
|
-
- spec/files/
|
226
|
-
- spec/files/
|
227
|
-
- spec/files/
|
228
|
-
- spec/files/
|
229
|
-
- spec/files/
|
230
|
-
- spec/files/
|
231
|
-
- spec/files/
|
300
|
+
- spec/files/domains_autorenewal/disable/success.http
|
301
|
+
- spec/files/domains_autorenewal/enable/success.http
|
302
|
+
- spec/files/domains_autorenewal/notfound-domain.http
|
303
|
+
- spec/files/domains_forwards/create/created.http
|
304
|
+
- spec/files/domains_forwards/delete/success.http
|
305
|
+
- spec/files/domains_forwards/get/success.http
|
306
|
+
- spec/files/domains_forwards/list/success.http
|
307
|
+
- spec/files/domains_forwards/notfound-domain.http
|
308
|
+
- spec/files/domains_forwards/notfound.http
|
309
|
+
- spec/files/domains_records/create/created.http
|
310
|
+
- spec/files/domains_records/delete/success-204.http
|
311
|
+
- spec/files/domains_records/delete/success.http
|
312
|
+
- spec/files/domains_records/index/success.http
|
313
|
+
- spec/files/domains_records/notfound.http
|
314
|
+
- spec/files/domains_records/show/success.http
|
315
|
+
- spec/files/domains_records/update/success.http
|
316
|
+
- spec/files/domains_sharing/create/success.http
|
317
|
+
- spec/files/domains_sharing/delete/success.http
|
318
|
+
- spec/files/domains_sharing/list/success.http
|
319
|
+
- spec/files/domains_sharing/notfound-domain.http
|
320
|
+
- spec/files/domains_sharing/notfound.http
|
321
|
+
- spec/files/domains_whois_privacy/disable/success.http
|
322
|
+
- spec/files/domains_whois_privacy/enable/success.http
|
323
|
+
- spec/files/domains_zones/get/success.http
|
324
|
+
- spec/files/domains_zones/notfound-domain.http
|
325
|
+
- spec/files/nameservers/change/success.http
|
326
|
+
- spec/files/nameservers/deregister/success.http
|
327
|
+
- spec/files/nameservers/list/success.http
|
328
|
+
- spec/files/nameservers/notfound-domain.http
|
329
|
+
- spec/files/nameservers/register/badrequest-valueerror.http
|
330
|
+
- spec/files/nameservers/register/success.http
|
331
|
+
- spec/files/registrars/check/available.http
|
332
|
+
- spec/files/registrars/check/registered.http
|
333
|
+
- spec/files/registrars/register/badrequest-missingdomain.http
|
334
|
+
- spec/files/registrars/register/badrequest-missingregistrant.http
|
335
|
+
- spec/files/registrars/register/success.http
|
336
|
+
- spec/files/registrars/renew/badrequest-missingrenewal.http
|
337
|
+
- spec/files/registrars/renew/badrequest-unable.http
|
338
|
+
- spec/files/registrars/renew/success.http
|
339
|
+
- spec/files/registrars/transfer/success.http
|
340
|
+
- spec/files/registrars_extended_attributes/list/success.http
|
341
|
+
- spec/files/registrars_prices/list/success.http
|
342
|
+
- spec/files/services/applied/success.http
|
343
|
+
- spec/files/services/apply/success.http
|
344
|
+
- spec/files/services/available/success.http
|
345
|
+
- spec/files/services/index/success.http
|
346
|
+
- spec/files/services/notfound.http
|
347
|
+
- spec/files/services/show/success.http
|
348
|
+
- spec/files/services/unapply/success.http
|
349
|
+
- spec/files/subscription/show/success.http
|
350
|
+
- spec/files/templates/apply/success.http
|
351
|
+
- spec/files/templates/create/created.http
|
352
|
+
- spec/files/templates/delete/success-204.http
|
353
|
+
- spec/files/templates/delete/success.http
|
354
|
+
- spec/files/templates/index/success.http
|
355
|
+
- spec/files/templates/notfound.http
|
232
356
|
- spec/files/templates/show/success.http
|
357
|
+
- spec/files/templates/update/success.http
|
358
|
+
- spec/files/templates_records/create/created.http
|
359
|
+
- spec/files/templates_records/delete/success-204.http
|
360
|
+
- spec/files/templates_records/delete/success.http
|
361
|
+
- spec/files/templates_records/index/success.http
|
362
|
+
- spec/files/templates_records/notfound.http
|
363
|
+
- spec/files/templates_records/show/success.http
|
364
|
+
- spec/files/templates_records/update/success.http
|
365
|
+
- spec/files/users/user/success.http
|
233
366
|
- spec/spec_helper.rb
|
234
367
|
- spec/support/helpers.rb
|
235
368
|
- spec/support/webmock.rb
|