dnsimple 4.0.0 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/README.md +1 -8
  4. data/lib/dnsimple/client/certificates.rb +7 -7
  5. data/lib/dnsimple/client/collaborators.rb +3 -3
  6. data/lib/dnsimple/client/contacts.rb +6 -6
  7. data/lib/dnsimple/client/domains.rb +6 -6
  8. data/lib/dnsimple/client/domains_email_forwards.rb +5 -5
  9. data/lib/dnsimple/client/domains_pushes.rb +6 -6
  10. data/lib/dnsimple/client/registrar.rb +37 -11
  11. data/lib/dnsimple/client/registrar_auto_renewal.rb +2 -2
  12. data/lib/dnsimple/client/registrar_delegation.rb +4 -4
  13. data/lib/dnsimple/client/registrar_whois_privacy.rb +3 -3
  14. data/lib/dnsimple/client/services_domains.rb +3 -3
  15. data/lib/dnsimple/client/templates.rb +6 -6
  16. data/lib/dnsimple/client/templates_domains.rb +1 -1
  17. data/lib/dnsimple/client/templates_records.rb +7 -7
  18. data/lib/dnsimple/client/vanity_name_servers.rb +2 -2
  19. data/lib/dnsimple/client/webhooks.rb +4 -4
  20. data/lib/dnsimple/client/zones.rb +4 -4
  21. data/lib/dnsimple/client/zones_records.rb +9 -9
  22. data/lib/dnsimple/response.rb +7 -7
  23. data/lib/dnsimple/struct.rb +4 -0
  24. data/lib/dnsimple/struct/account.rb +1 -1
  25. data/lib/dnsimple/struct/certificate.rb +3 -3
  26. data/lib/dnsimple/struct/collaborator.rb +3 -3
  27. data/lib/dnsimple/struct/contact.rb +2 -2
  28. data/lib/dnsimple/struct/domain.rb +3 -3
  29. data/lib/dnsimple/struct/domain_premium_price.rb +13 -0
  30. data/lib/dnsimple/struct/domain_push.rb +4 -4
  31. data/lib/dnsimple/struct/domain_registration.rb +37 -0
  32. data/lib/dnsimple/struct/domain_renewal.rb +28 -0
  33. data/lib/dnsimple/struct/domain_transfer.rb +34 -0
  34. data/lib/dnsimple/struct/email_forward.rb +2 -2
  35. data/lib/dnsimple/struct/oauth_token.rb +1 -1
  36. data/lib/dnsimple/struct/service.rb +3 -3
  37. data/lib/dnsimple/struct/template.rb +4 -4
  38. data/lib/dnsimple/struct/template_record.rb +4 -4
  39. data/lib/dnsimple/struct/tld.rb +2 -2
  40. data/lib/dnsimple/struct/user.rb +1 -1
  41. data/lib/dnsimple/struct/webhook.rb +1 -1
  42. data/lib/dnsimple/struct/whois_privacy.rb +1 -1
  43. data/lib/dnsimple/struct/zone.rb +2 -2
  44. data/lib/dnsimple/struct/zone_record.rb +4 -4
  45. data/lib/dnsimple/version.rb +1 -1
  46. data/spec/dnsimple/client/certificates_spec.rb +2 -2
  47. data/spec/dnsimple/client/contacts_spec.rb +2 -2
  48. data/spec/dnsimple/client/domains_email_forwards_spec.rb +2 -2
  49. data/spec/dnsimple/client/domains_spec.rb +2 -2
  50. data/spec/dnsimple/client/identity_spec.rb +2 -2
  51. data/spec/dnsimple/client/registrar_auto_renewal_spec.rb +2 -2
  52. data/spec/dnsimple/client/registrar_spec.rb +57 -7
  53. data/spec/dnsimple/client/services_domains_spec.rb +2 -2
  54. data/spec/dnsimple/client/services_spec.rb +8 -4
  55. data/spec/dnsimple/client/templates_records_spec.rb +4 -4
  56. data/spec/dnsimple/client/templates_spec.rb +4 -4
  57. data/spec/dnsimple/client/zones_records_spec.rb +4 -4
  58. data/spec/dnsimple/client/zones_spec.rb +2 -2
  59. data/spec/fixtures.http/accounts/success-account.http +21 -0
  60. data/spec/fixtures.http/accounts/success-user.http +21 -0
  61. data/spec/fixtures.http/addCollaborator/invite-success.http +1 -1
  62. data/spec/fixtures.http/addCollaborator/success.http +1 -1
  63. data/spec/fixtures.http/appliedServices/success.http +1 -1
  64. data/spec/fixtures.http/applyService/{created.http → success.http} +0 -0
  65. data/spec/fixtures.http/changeDomainDelegationToVanity/success.http +1 -1
  66. data/spec/fixtures.http/checkDomain/success.http +17 -17
  67. data/spec/fixtures.http/createContact/created.http +17 -17
  68. data/spec/fixtures.http/createDomain/created.http +1 -1
  69. data/spec/fixtures.http/createEmailForward/created.http +1 -1
  70. data/spec/fixtures.http/createTemplate/created.http +1 -1
  71. data/spec/fixtures.http/createTemplateRecord/created.http +1 -1
  72. data/spec/fixtures.http/createWebhook/created.http +17 -17
  73. data/spec/fixtures.http/createZoneRecord/created-apex.http +17 -0
  74. data/spec/fixtures.http/createZoneRecord/created.http +9 -13
  75. data/spec/fixtures.http/deleteContact/success.http +13 -13
  76. data/spec/fixtures.http/deleteEmailForward/success.http +13 -12
  77. data/spec/fixtures.http/deleteWebhook/success.http +13 -13
  78. data/spec/fixtures.http/disableDomainAutoRenewal/success.http +13 -0
  79. data/spec/fixtures.http/disableWhoisPrivacy/success.http +1 -1
  80. data/spec/fixtures.http/enableDomainAutoRenewal/success.http +13 -0
  81. data/spec/fixtures.http/enableVanityNameServers/success.http +1 -1
  82. data/spec/fixtures.http/enableWhoisPrivacy/created.http +1 -1
  83. data/spec/fixtures.http/enableWhoisPrivacy/success.http +1 -1
  84. data/spec/fixtures.http/getCertificate/success.http +1 -1
  85. data/spec/fixtures.http/getContact/success.http +17 -17
  86. data/spec/fixtures.http/getDomain/success.http +16 -16
  87. data/spec/fixtures.http/getDomainPremiumPrice/failure.http +16 -0
  88. data/spec/fixtures.http/getDomainPremiumPrice/success.http +21 -0
  89. data/spec/fixtures.http/getEmailForward/success.http +17 -17
  90. data/spec/fixtures.http/getService/success.http +1 -1
  91. data/spec/fixtures.http/getTemplate/success.http +1 -1
  92. data/spec/fixtures.http/getTemplateRecord/success.http +1 -1
  93. data/spec/fixtures.http/getTldExtendedAttributes/success-attributes.http +17 -0
  94. data/spec/fixtures.http/getWebhook/success.http +17 -17
  95. data/spec/fixtures.http/getWhoisPrivacy/success.http +1 -1
  96. data/spec/fixtures.http/getZone/success.http +17 -17
  97. data/spec/fixtures.http/getZoneRecord/success.http +1 -1
  98. data/spec/fixtures.http/initiatePush/success.http +1 -1
  99. data/spec/fixtures.http/listAccounts/success-account.http +1 -1
  100. data/spec/fixtures.http/listAccounts/success-user.http +1 -1
  101. data/spec/fixtures.http/listCertificates/success.http +1 -1
  102. data/spec/fixtures.http/listCollaborators/success.http +1 -1
  103. data/spec/fixtures.http/listContacts/success.http +17 -17
  104. data/spec/fixtures.http/listDomains/success.http +1 -1
  105. data/spec/fixtures.http/listEmailForwards/success.http +1 -1
  106. data/spec/fixtures.http/listPushes/success.http +1 -1
  107. data/spec/fixtures.http/listServices/success.http +12 -8
  108. data/spec/fixtures.http/listTemplateRecords/success.http +1 -1
  109. data/spec/fixtures.http/listTemplates/success.http +1 -1
  110. data/spec/fixtures.http/listWebhooks/success.http +17 -17
  111. data/spec/fixtures.http/listZoneRecords/success.http +1 -1
  112. data/spec/fixtures.http/listZones/success.http +17 -17
  113. data/spec/fixtures.http/method-not-allowed.http +11 -11
  114. data/spec/fixtures.http/notfound-contact.http +12 -12
  115. data/spec/fixtures.http/notfound-record.http +11 -11
  116. data/spec/fixtures.http/notfound-whoisprivacy.http +12 -0
  117. data/spec/fixtures.http/notfound-zone.http +11 -11
  118. data/spec/fixtures.http/oauthAccessToken/error-invalid-request.http +16 -0
  119. data/spec/fixtures.http/oauthAccessToken/success.http +17 -17
  120. data/spec/fixtures.http/registerDomain/success.http +21 -17
  121. data/spec/fixtures.http/renewDomain/success.http +13 -9
  122. data/spec/fixtures.http/resetDomainToken/success.http +1 -1
  123. data/spec/fixtures.http/success-with-malformed-json.http +13 -0
  124. data/spec/fixtures.http/transferDomain/success.http +13 -9
  125. data/spec/fixtures.http/updateContact/success.http +17 -17
  126. data/spec/fixtures.http/updateTemplate/success.http +1 -1
  127. data/spec/fixtures.http/updateZoneRecord/success.http +1 -1
  128. data/spec/fixtures.http/validation-error.http +19 -0
  129. data/spec/fixtures.http/whoami/{success_account.http → success-account.http} +15 -15
  130. data/spec/fixtures.http/whoami/{success_user.http → success-user.http} +15 -15
  131. data/spec/fixtures.http/whoami/success.http +15 -15
  132. metadata +37 -14
  133. data/.ruby-version +0 -1
  134. data/spec/fixtures.http/disableAutoRenewal/success.http +0 -12
  135. data/spec/fixtures.http/enableAutoRenewal/success.http +0 -12
@@ -14,4 +14,4 @@ X-Request-Id: 3a7993e7-8b1e-47ce-a7a8-cc86b02904de
14
14
  X-Runtime: 0.324954
15
15
  Strict-Transport-Security: max-age=31536000
16
16
 
17
- {"data":{"id":1,"account_id":1010,"name":"Alpha","short_name":"alpha","description":"An alpha template.","created_at":"2016-03-22T11:08:58.262Z","updated_at":"2016-03-22T11:08:58.262Z"}}
17
+ {"data":{"id":1,"account_id":1010,"name":"Alpha","sid":"alpha","description":"An alpha template.","created_at":"2016-03-22T11:08:58Z","updated_at":"2016-03-22T11:08:58Z"}}
@@ -18,4 +18,4 @@ X-Permitted-Cross-Domain-Policies: none
18
18
  X-XSS-Protection: 1; mode=block
19
19
  Strict-Transport-Security: max-age=31536000
20
20
 
21
- {"data":{"id":5,"zone_id":"example.com","parent_id":null,"name":"","content":"mxb.example.com","ttl":3600,"priority":20,"type":"MX","regions":["global"],"system_record":false,"created_at":"2016-10-05T09:51:35.313Z","updated_at":"2016-10-05T09:51:35.313Z"}}
21
+ {"data":{"id":5,"zone_id":"example.com","parent_id":null,"name":"","content":"mxb.example.com","ttl":3600,"priority":20,"type":"MX","regions":["global"],"system_record":false,"created_at":"2016-10-05T09:51:35Z","updated_at":"2016-10-05T09:51:35Z"}}
@@ -0,0 +1,19 @@
1
+ HTTP/1.1 400 Bad Request
2
+ Server: nginx
3
+ Date: Wed, 23 Nov 2016 08:12:57 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ X-RateLimit-Limit: 2400
8
+ X-RateLimit-Remaining: 2396
9
+ X-RateLimit-Reset: 1479892333
10
+ Cache-Control: no-cache
11
+ X-Request-Id: 91dcf81b-5df4-4d45-b37e-446f0c422a27
12
+ X-Runtime: 0.062556
13
+ X-Content-Type-Options: nosniff
14
+ X-Download-Options: noopen
15
+ X-Frame-Options: DENY
16
+ X-Permitted-Cross-Domain-Policies: none
17
+ X-XSS-Protection: 1; mode=block
18
+
19
+ {"message":"Validation failed","errors":{"address1":["can't be blank"],"city":["can't be blank"],"country":["can't be blank"],"email":["can't be blank","is an invalid email address"],"first_name":["can't be blank"],"last_name":["can't be blank"],"phone":["can't be blank","is probably not a phone number"],"postal_code":["can't be blank"],"state_province":["can't be blank"]}}
@@ -1,16 +1,16 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Fri, 18 Dec 2015 15:19:37 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Transfer-Encoding: chunked
6
- Connection: keep-alive
7
- X-RateLimit-Limit: 4000
8
- X-RateLimit-Remaining: 3991
9
- X-RateLimit-Reset: 1450451976
10
- ETag: W/"5ea6326bc1a8e83e5c156c564f2559f0"
11
- Cache-Control: max-age=0, private, must-revalidate
12
- X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
13
- X-Runtime: 0.141588
14
- Strict-Transport-Security: max-age=31536000
15
-
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Fri, 18 Dec 2015 15:19:37 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ X-RateLimit-Limit: 4000
8
+ X-RateLimit-Remaining: 3991
9
+ X-RateLimit-Reset: 1450451976
10
+ ETag: W/"5ea6326bc1a8e83e5c156c564f2559f0"
11
+ Cache-Control: max-age=0, private, must-revalidate
12
+ X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
13
+ X-Runtime: 0.141588
14
+ Strict-Transport-Security: max-age=31536000
15
+
16
16
  {"data":{"user":null,"account":{"id":1,"email":"example-account@example.com"}}}
@@ -1,16 +1,16 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Fri, 18 Dec 2015 15:19:37 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Transfer-Encoding: chunked
6
- Connection: keep-alive
7
- X-RateLimit-Limit: 4000
8
- X-RateLimit-Remaining: 3991
9
- X-RateLimit-Reset: 1450451976
10
- ETag: W/"5ea6326bc1a8e83e5c156c564f2559f0"
11
- Cache-Control: max-age=0, private, must-revalidate
12
- X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
13
- X-Runtime: 0.141588
14
- Strict-Transport-Security: max-age=31536000
15
-
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Fri, 18 Dec 2015 15:19:37 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ X-RateLimit-Limit: 4000
8
+ X-RateLimit-Remaining: 3991
9
+ X-RateLimit-Reset: 1450451976
10
+ ETag: W/"5ea6326bc1a8e83e5c156c564f2559f0"
11
+ Cache-Control: max-age=0, private, must-revalidate
12
+ X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
13
+ X-Runtime: 0.141588
14
+ Strict-Transport-Security: max-age=31536000
15
+
16
16
  {"data":{"user":{"id":1,"email":"example-user@example.com"},"account":null}}
@@ -1,16 +1,16 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Fri, 18 Dec 2015 15:19:37 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Transfer-Encoding: chunked
6
- Connection: keep-alive
7
- X-RateLimit-Limit: 4000
8
- X-RateLimit-Remaining: 3991
9
- X-RateLimit-Reset: 1450451976
10
- ETag: W/"5ea6326bc1a8e83e5c156c564f2559f0"
11
- Cache-Control: max-age=0, private, must-revalidate
12
- X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
13
- X-Runtime: 0.141588
14
- Strict-Transport-Security: max-age=31536000
15
-
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Fri, 18 Dec 2015 15:19:37 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ X-RateLimit-Limit: 4000
8
+ X-RateLimit-Remaining: 3991
9
+ X-RateLimit-Reset: 1450451976
10
+ ETag: W/"5ea6326bc1a8e83e5c156c564f2559f0"
11
+ Cache-Control: max-age=0, private, must-revalidate
12
+ X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
13
+ X-Runtime: 0.141588
14
+ Strict-Transport-Security: max-age=31536000
15
+
16
16
  {"data":{"user":null,"account":{"id":1,"email":"example-account@example.com"}}}
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: 4.0.0
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Eden
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2016-11-24 00:00:00.000000000 Z
15
+ date: 2016-12-12 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: httparty
@@ -102,7 +102,6 @@ files:
102
102
  - ".rubocop_dnsimple.yml"
103
103
  - ".rubocop_todo.yml"
104
104
  - ".ruby-gemset"
105
- - ".ruby-version"
106
105
  - ".travis.yml"
107
106
  - CHANGELOG.md
108
107
  - CONTRIBUTING.md
@@ -151,7 +150,11 @@ files:
151
150
  - lib/dnsimple/struct/contact.rb
152
151
  - lib/dnsimple/struct/domain.rb
153
152
  - lib/dnsimple/struct/domain_check.rb
153
+ - lib/dnsimple/struct/domain_premium_price.rb
154
154
  - lib/dnsimple/struct/domain_push.rb
155
+ - lib/dnsimple/struct/domain_registration.rb
156
+ - lib/dnsimple/struct/domain_renewal.rb
157
+ - lib/dnsimple/struct/domain_transfer.rb
155
158
  - lib/dnsimple/struct/email_forward.rb
156
159
  - lib/dnsimple/struct/extended_attribute.rb
157
160
  - lib/dnsimple/struct/oauth_token.rb
@@ -196,10 +199,12 @@ files:
196
199
  - spec/dnsimple/options/base_spec.rb
197
200
  - spec/dnsimple/options/list_options_spec.rb
198
201
  - spec/fixtures.http/acceptPush/success.http
202
+ - spec/fixtures.http/accounts/success-account.http
203
+ - spec/fixtures.http/accounts/success-user.http
199
204
  - spec/fixtures.http/addCollaborator/invite-success.http
200
205
  - spec/fixtures.http/addCollaborator/success.http
201
206
  - spec/fixtures.http/appliedServices/success.http
202
- - spec/fixtures.http/applyService/created.http
207
+ - spec/fixtures.http/applyService/success.http
203
208
  - spec/fixtures.http/applyTemplate/success.http
204
209
  - spec/fixtures.http/badgateway.http
205
210
  - spec/fixtures.http/changeDomainDelegation/success.http
@@ -212,6 +217,7 @@ files:
212
217
  - spec/fixtures.http/createTemplate/created.http
213
218
  - spec/fixtures.http/createTemplateRecord/created.http
214
219
  - spec/fixtures.http/createWebhook/created.http
220
+ - spec/fixtures.http/createZoneRecord/created-apex.http
215
221
  - spec/fixtures.http/createZoneRecord/created.http
216
222
  - spec/fixtures.http/deleteContact/success.http
217
223
  - spec/fixtures.http/deleteDomain/success.http
@@ -220,11 +226,11 @@ files:
220
226
  - spec/fixtures.http/deleteTemplateRecord/success.http
221
227
  - spec/fixtures.http/deleteWebhook/success.http
222
228
  - spec/fixtures.http/deleteZoneRecord/success.http
223
- - spec/fixtures.http/disableAutoRenewal/success.http
229
+ - spec/fixtures.http/disableDomainAutoRenewal/success.http
224
230
  - spec/fixtures.http/disableVanityNameServers/success.http
225
231
  - spec/fixtures.http/disableWhoisPrivacy/success.http
226
232
  - spec/fixtures.http/downloadCertificate/success.http
227
- - spec/fixtures.http/enableAutoRenewal/success.http
233
+ - spec/fixtures.http/enableDomainAutoRenewal/success.http
228
234
  - spec/fixtures.http/enableVanityNameServers/success.http
229
235
  - spec/fixtures.http/enableWhoisPrivacy/created.http
230
236
  - spec/fixtures.http/enableWhoisPrivacy/success.http
@@ -234,11 +240,14 @@ files:
234
240
  - spec/fixtures.http/getDomain/success.http
235
241
  - spec/fixtures.http/getDomainDelegation/success-empty.http
236
242
  - spec/fixtures.http/getDomainDelegation/success.http
243
+ - spec/fixtures.http/getDomainPremiumPrice/failure.http
244
+ - spec/fixtures.http/getDomainPremiumPrice/success.http
237
245
  - spec/fixtures.http/getEmailForward/success.http
238
246
  - spec/fixtures.http/getService/success.http
239
247
  - spec/fixtures.http/getTemplate/success.http
240
248
  - spec/fixtures.http/getTemplateRecord/success.http
241
249
  - spec/fixtures.http/getTld/success.http
250
+ - spec/fixtures.http/getTldExtendedAttributes/success-attributes.http
242
251
  - spec/fixtures.http/getTldExtendedAttributes/success-noattributes.http
243
252
  - spec/fixtures.http/getTldExtendedAttributes/success.http
244
253
  - spec/fixtures.http/getWebhook/success.http
@@ -272,7 +281,9 @@ files:
272
281
  - spec/fixtures.http/notfound-record.http
273
282
  - spec/fixtures.http/notfound-template.http
274
283
  - spec/fixtures.http/notfound-webhook.http
284
+ - spec/fixtures.http/notfound-whoisprivacy.http
275
285
  - spec/fixtures.http/notfound-zone.http
286
+ - spec/fixtures.http/oauthAccessToken/error-invalid-request.http
276
287
  - spec/fixtures.http/oauthAccessToken/success.http
277
288
  - spec/fixtures.http/pages-1of3.http
278
289
  - spec/fixtures.http/pages-2of3.http
@@ -284,6 +295,7 @@ files:
284
295
  - spec/fixtures.http/renewDomain/success.http
285
296
  - spec/fixtures.http/resetDomainToken/success.http
286
297
  - spec/fixtures.http/response.http
298
+ - spec/fixtures.http/success-with-malformed-json.http
287
299
  - spec/fixtures.http/transferDomain/error-indnsimple.http
288
300
  - spec/fixtures.http/transferDomain/error-missing-authcode.http
289
301
  - spec/fixtures.http/transferDomain/success.http
@@ -292,9 +304,10 @@ files:
292
304
  - spec/fixtures.http/updateContact/success.http
293
305
  - spec/fixtures.http/updateTemplate/success.http
294
306
  - spec/fixtures.http/updateZoneRecord/success.http
307
+ - spec/fixtures.http/validation-error.http
308
+ - spec/fixtures.http/whoami/success-account.http
309
+ - spec/fixtures.http/whoami/success-user.http
295
310
  - spec/fixtures.http/whoami/success.http
296
- - spec/fixtures.http/whoami/success_account.http
297
- - spec/fixtures.http/whoami/success_user.http
298
311
  - spec/spec_helper.rb
299
312
  - spec/support/helpers.rb
300
313
  - spec/support/webmock.rb
@@ -317,7 +330,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
317
330
  version: '0'
318
331
  requirements: []
319
332
  rubyforge_project:
320
- rubygems_version: 2.5.1
333
+ rubygems_version: 2.6.8
321
334
  signing_key:
322
335
  specification_version: 4
323
336
  summary: The DNSimple API client for Ruby
@@ -351,10 +364,12 @@ test_files:
351
364
  - spec/dnsimple/options/base_spec.rb
352
365
  - spec/dnsimple/options/list_options_spec.rb
353
366
  - spec/fixtures.http/acceptPush/success.http
367
+ - spec/fixtures.http/accounts/success-account.http
368
+ - spec/fixtures.http/accounts/success-user.http
354
369
  - spec/fixtures.http/addCollaborator/invite-success.http
355
370
  - spec/fixtures.http/addCollaborator/success.http
356
371
  - spec/fixtures.http/appliedServices/success.http
357
- - spec/fixtures.http/applyService/created.http
372
+ - spec/fixtures.http/applyService/success.http
358
373
  - spec/fixtures.http/applyTemplate/success.http
359
374
  - spec/fixtures.http/badgateway.http
360
375
  - spec/fixtures.http/changeDomainDelegation/success.http
@@ -367,6 +382,7 @@ test_files:
367
382
  - spec/fixtures.http/createTemplate/created.http
368
383
  - spec/fixtures.http/createTemplateRecord/created.http
369
384
  - spec/fixtures.http/createWebhook/created.http
385
+ - spec/fixtures.http/createZoneRecord/created-apex.http
370
386
  - spec/fixtures.http/createZoneRecord/created.http
371
387
  - spec/fixtures.http/deleteContact/success.http
372
388
  - spec/fixtures.http/deleteDomain/success.http
@@ -375,11 +391,11 @@ test_files:
375
391
  - spec/fixtures.http/deleteTemplateRecord/success.http
376
392
  - spec/fixtures.http/deleteWebhook/success.http
377
393
  - spec/fixtures.http/deleteZoneRecord/success.http
378
- - spec/fixtures.http/disableAutoRenewal/success.http
394
+ - spec/fixtures.http/disableDomainAutoRenewal/success.http
379
395
  - spec/fixtures.http/disableVanityNameServers/success.http
380
396
  - spec/fixtures.http/disableWhoisPrivacy/success.http
381
397
  - spec/fixtures.http/downloadCertificate/success.http
382
- - spec/fixtures.http/enableAutoRenewal/success.http
398
+ - spec/fixtures.http/enableDomainAutoRenewal/success.http
383
399
  - spec/fixtures.http/enableVanityNameServers/success.http
384
400
  - spec/fixtures.http/enableWhoisPrivacy/created.http
385
401
  - spec/fixtures.http/enableWhoisPrivacy/success.http
@@ -389,11 +405,14 @@ test_files:
389
405
  - spec/fixtures.http/getDomain/success.http
390
406
  - spec/fixtures.http/getDomainDelegation/success-empty.http
391
407
  - spec/fixtures.http/getDomainDelegation/success.http
408
+ - spec/fixtures.http/getDomainPremiumPrice/failure.http
409
+ - spec/fixtures.http/getDomainPremiumPrice/success.http
392
410
  - spec/fixtures.http/getEmailForward/success.http
393
411
  - spec/fixtures.http/getService/success.http
394
412
  - spec/fixtures.http/getTemplate/success.http
395
413
  - spec/fixtures.http/getTemplateRecord/success.http
396
414
  - spec/fixtures.http/getTld/success.http
415
+ - spec/fixtures.http/getTldExtendedAttributes/success-attributes.http
397
416
  - spec/fixtures.http/getTldExtendedAttributes/success-noattributes.http
398
417
  - spec/fixtures.http/getTldExtendedAttributes/success.http
399
418
  - spec/fixtures.http/getWebhook/success.http
@@ -427,7 +446,9 @@ test_files:
427
446
  - spec/fixtures.http/notfound-record.http
428
447
  - spec/fixtures.http/notfound-template.http
429
448
  - spec/fixtures.http/notfound-webhook.http
449
+ - spec/fixtures.http/notfound-whoisprivacy.http
430
450
  - spec/fixtures.http/notfound-zone.http
451
+ - spec/fixtures.http/oauthAccessToken/error-invalid-request.http
431
452
  - spec/fixtures.http/oauthAccessToken/success.http
432
453
  - spec/fixtures.http/pages-1of3.http
433
454
  - spec/fixtures.http/pages-2of3.http
@@ -439,6 +460,7 @@ test_files:
439
460
  - spec/fixtures.http/renewDomain/success.http
440
461
  - spec/fixtures.http/resetDomainToken/success.http
441
462
  - spec/fixtures.http/response.http
463
+ - spec/fixtures.http/success-with-malformed-json.http
442
464
  - spec/fixtures.http/transferDomain/error-indnsimple.http
443
465
  - spec/fixtures.http/transferDomain/error-missing-authcode.http
444
466
  - spec/fixtures.http/transferDomain/success.http
@@ -447,9 +469,10 @@ test_files:
447
469
  - spec/fixtures.http/updateContact/success.http
448
470
  - spec/fixtures.http/updateTemplate/success.http
449
471
  - spec/fixtures.http/updateZoneRecord/success.http
472
+ - spec/fixtures.http/validation-error.http
473
+ - spec/fixtures.http/whoami/success-account.http
474
+ - spec/fixtures.http/whoami/success-user.http
450
475
  - spec/fixtures.http/whoami/success.http
451
- - spec/fixtures.http/whoami/success_account.http
452
- - spec/fixtures.http/whoami/success_user.http
453
476
  - spec/spec_helper.rb
454
477
  - spec/support/helpers.rb
455
478
  - spec/support/webmock.rb
@@ -1 +0,0 @@
1
- ruby-2.3.0
@@ -1,12 +0,0 @@
1
- HTTP/1.1 204 No Content
2
- Server: nginx
3
- Date: Thu, 04 Feb 2016 13:33:52 GMT
4
- Connection: keep-alive
5
- Status: 204 No Content
6
- X-RateLimit-Limit: 4000
7
- X-RateLimit-Remaining: 3998
8
- X-RateLimit-Reset: 1454596042
9
- Cache-Control: no-cache
10
- X-Request-Id: 192f9a74-c6bd-449f-95cb-b5ced155f251
11
- X-Runtime: 0.869286
12
- Strict-Transport-Security: max-age=31536000
@@ -1,12 +0,0 @@
1
- HTTP/1.1 204 No Content
2
- Server: nginx
3
- Date: Thu, 04 Feb 2016 13:27:23 GMT
4
- Connection: keep-alive
5
- Status: 204 No Content
6
- X-RateLimit-Limit: 4000
7
- X-RateLimit-Remaining: 3999
8
- X-RateLimit-Reset: 1454596043
9
- Cache-Control: no-cache
10
- X-Request-Id: c1a38224-2e32-4941-887e-ddfba81e9299
11
- X-Runtime: 1.485398
12
- Strict-Transport-Security: max-age=31536000