dnsimple 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +5 -2
- data/dnsimple.gemspec +1 -1
- data/lib/dnsimple/client/certificates.rb +11 -11
- data/lib/dnsimple/client/clients.rb +4 -2
- data/lib/dnsimple/client/contacts.rb +19 -15
- data/lib/dnsimple/client/domains.rb +23 -19
- data/lib/dnsimple/client/{domains_autorenewals.rb → domains_autorenewal.rb} +7 -7
- data/lib/dnsimple/client/domains_forwards.rb +13 -12
- data/lib/dnsimple/client/domains_privacy.rb +6 -6
- data/lib/dnsimple/client/domains_records.rb +14 -13
- data/lib/dnsimple/client/domains_sharing.rb +10 -9
- data/lib/dnsimple/client/domains_zones.rb +3 -3
- data/lib/dnsimple/client/name_servers.rb +14 -14
- data/lib/dnsimple/client/registrar.rb +17 -15
- data/lib/dnsimple/client/services.rb +7 -6
- data/lib/dnsimple/client/services_domains.rb +12 -12
- data/lib/dnsimple/client/templates.rb +18 -30
- data/lib/dnsimple/client/templates_domains.rb +23 -0
- data/lib/dnsimple/client/templates_records.rb +15 -15
- data/lib/dnsimple/client/users.rb +7 -5
- data/lib/dnsimple/version.rb +1 -1
- data/spec/dnsimple/client/certificates_spec.rb +2 -2
- data/spec/dnsimple/client/contacts_spec.rb +22 -22
- data/spec/dnsimple/client/domains_autorenewals_spec.rb +4 -4
- data/spec/dnsimple/client/domains_forwards_spec.rb +8 -8
- data/spec/dnsimple/client/domains_privacy_spec.rb +4 -4
- data/spec/dnsimple/client/domains_records_spec.rb +11 -11
- data/spec/dnsimple/client/domains_sharing_spec.rb +6 -6
- data/spec/dnsimple/client/domains_spec.rb +15 -15
- data/spec/dnsimple/client/domains_zones_spec.rb +2 -2
- data/spec/dnsimple/client/name_servers_spec.rb +1 -1
- data/spec/dnsimple/client/registrar_spec.rb +9 -9
- data/spec/dnsimple/client/services_spec.rb +3 -3
- data/spec/dnsimple/client/templates_domains_spec.rb +38 -0
- data/spec/dnsimple/client/templates_records_spec.rb +10 -10
- data/spec/dnsimple/client/templates_spec.rb +21 -53
- data/spec/files/contacts/{get → contact}/success.http +0 -0
- data/spec/files/contacts/{list → contacts}/success.http +0 -0
- data/spec/files/contacts/{create → create_contact}/badrequest-missingcontact.http +0 -0
- data/spec/files/contacts/{create → create_contact}/badrequest-validationerror.http +0 -0
- data/spec/files/contacts/{create → create_contact}/created.http +0 -0
- data/spec/files/contacts/{delete → delete_contact}/success-204.http +0 -0
- data/spec/files/contacts/{delete → delete_contact}/success.http +0 -0
- data/spec/files/contacts/{notfound.http → notfound-contact.http} +0 -0
- data/spec/files/contacts/{update → update_contact}/success.http +0 -0
- data/spec/files/domains/{create → create_domain}/created.http +0 -0
- data/spec/files/{domains_forwards/create → domains/create_forward}/created.http +0 -0
- data/spec/files/{domains_sharing/create → domains/create_membership}/success.http +0 -0
- data/spec/files/{domains_records/create → domains/create_record}/created.http +0 -0
- data/spec/files/domains/{delete → delete_domain}/success-204.http +0 -0
- data/spec/files/domains/{delete → delete_domain}/success.http +0 -0
- data/spec/files/{domains_forwards/delete → domains/delete_forward}/success.http +0 -0
- data/spec/files/{domains_sharing/delete → domains/delete_membership}/success.http +0 -0
- data/spec/files/{domains_records/delete → domains/delete_record}/success-204.http +0 -0
- data/spec/files/{domains_records/delete → domains/delete_record}/success.http +0 -0
- data/spec/files/{domains_autorenewal/disable → domains/disable_auto_renewal}/success.http +0 -0
- data/spec/files/{domains_privacy/disable → domains/disable_whois_privacy}/success.http +0 -0
- data/spec/files/domains/{get → domain}/success.http +0 -0
- data/spec/files/domains/{list → domains}/success.http +0 -0
- data/spec/files/{domains_autorenewal/enable → domains/enable_auto_renewal}/success.http +0 -0
- data/spec/files/{domains_privacy/enable → domains/enable_whois_privacy}/success.http +0 -0
- data/spec/files/{domains_forwards/get → domains/forward}/success.http +0 -0
- data/spec/files/{domains_forwards/list → domains/forwards}/success.http +0 -0
- data/spec/files/{domains_sharing/list → domains/memberships}/success.http +0 -0
- data/spec/files/domains/{notfound.http → notfound-domain.http} +0 -0
- data/spec/files/{domains_forwards/notfound.http → domains/notfound-forward.http} +0 -0
- data/spec/files/{domains_sharing/notfound.http → domains/notfound-membership.http} +0 -0
- data/spec/files/{domains_records/get → domains/record}/success.http +0 -0
- data/spec/files/{domains_records/list → domains/records}/success.http +0 -0
- data/spec/files/{domains_records/update → domains/update_record}/success.http +0 -0
- data/spec/files/{domains_zones/get → domains/zone}/success.http +0 -0
- data/spec/files/nameservers/{list → name_servers}/success.http +0 -0
- data/spec/files/{registrar_extended_attributes/list → registrar/extended_attributes}/success.http +0 -0
- data/spec/files/{registrar_prices/list → registrar/prices}/success.http +0 -0
- data/spec/files/services/{notfound.http → notfound-service.http} +0 -0
- data/spec/files/services/{get → service}/success.http +0 -0
- data/spec/files/services/{list → services}/success.http +0 -0
- data/spec/files/subscriptions/{get → subscription}/success.http +0 -0
- data/spec/files/templates/{apply → apply_template}/success.http +0 -0
- data/spec/files/templates/{create → create_template}/created.http +0 -0
- data/spec/files/templates/{delete → delete_template}/success-204.http +0 -0
- data/spec/files/templates/{delete → delete_template}/success.http +0 -0
- data/spec/files/templates/{notfound.http → notfound-template.http} +0 -0
- data/spec/files/templates/{get → template}/success.http +0 -0
- data/spec/files/templates/{list → templates}/success.http +0 -0
- data/spec/files/templates/{update → update_template}/success.http +0 -0
- data/spec/files/templates_records/{create → create_record}/created.http +0 -0
- data/spec/files/templates_records/{delete → delete_record}/success-204.http +0 -0
- data/spec/files/templates_records/{delete → delete_record}/success.http +0 -0
- data/spec/files/templates_records/{notfound.http → notfound-template-record.http} +0 -0
- data/spec/files/templates_records/{get → record}/success.http +0 -0
- data/spec/files/templates_records/{list → records}/success.http +0 -0
- data/spec/files/templates_records/{update → update_record}/success.http +0 -0
- metadata +121 -130
- data/spec/files/domains_autorenewal/notfound-domain.http +0 -19
- data/spec/files/domains_forwards/notfound-domain.http +0 -19
- data/spec/files/domains_privacy/notfound-domain.http +0 -19
- data/spec/files/domains_records/notfound.http +0 -17
- data/spec/files/domains_sharing/notfound-domain.http +0 -19
- data/spec/files/domains_zones/notfound-domain.http +0 -19
@@ -1,19 +0,0 @@
|
|
1
|
-
HTTP/1.1 404 Not Found
|
2
|
-
Server: nginx
|
3
|
-
Date: Sun, 21 Dec 2014 19:25:07 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
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: 35965625-5a4d-40cb-be29-1c49f8d207b6
|
17
|
-
X-Runtime: 0.059820
|
18
|
-
|
19
|
-
{"message":"Domain `0' not found"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
HTTP/1.1 404 Not Found
|
2
|
-
Server: nginx
|
3
|
-
Date: Sun, 21 Dec 2014 19:25:07 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
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: 35965625-5a4d-40cb-be29-1c49f8d207b6
|
17
|
-
X-Runtime: 0.059820
|
18
|
-
|
19
|
-
{"message":"Domain `0' not found"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
HTTP/1.1 404 Not Found
|
2
|
-
Server: nginx
|
3
|
-
Date: Sun, 21 Dec 2014 19:25:07 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
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: 35965625-5a4d-40cb-be29-1c49f8d207b6
|
17
|
-
X-Runtime: 0.059820
|
18
|
-
|
19
|
-
{"message":"Domain `0' not found"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
HTTP/1.1 404 Not Found
|
2
|
-
Server: nginx/1.4.4
|
3
|
-
Date: Tue, 14 Jan 2014 18:28:07 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
7
|
-
Status: 404 Not Found
|
8
|
-
X-Dnsimple-API-Version: 1.0.0
|
9
|
-
Access-Control-Allow-Origin: *
|
10
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-Dnsimple-Token,X-Dnsimple-Domain-Token,X-CSRF-Token,x-requested-with
|
11
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
12
|
-
X-UA-Compatible: IE=Edge,chrome=1
|
13
|
-
Cache-Control: no-cache
|
14
|
-
X-Request-Id: b7af596690cb83c7a7167f4d47aa50c3
|
15
|
-
X-Runtime: 0.044234
|
16
|
-
|
17
|
-
{"message":"Couldn't find Record with id=14395 [WHERE \"records\".\"domain_id\" = 6]"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
HTTP/1.1 404 Not Found
|
2
|
-
Server: nginx
|
3
|
-
Date: Mon, 22 Dec 2014 14:57:25 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
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: 08692c71-bd9d-411a-b9e2-c557c25c7727
|
17
|
-
X-Runtime: 0.039402
|
18
|
-
|
19
|
-
{"message":"Domain `0' not found"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
HTTP/1.1 404 Not Found
|
2
|
-
Server: nginx
|
3
|
-
Date: Mon, 22 Dec 2014 21:25:43 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
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: 98710cf4-368f-4b6a-9d56-a4331730c1b0
|
17
|
-
X-Runtime: 0.652591
|
18
|
-
|
19
|
-
{"message":"Domain `0' not found"}
|