dnsimple 4.1.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 201 Created
2
+ Server: nginx
3
+ Date: Fri, 03 Mar 2017 15:24:00 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: 2399
9
+ X-RateLimit-Reset: 1488558240
10
+ ETag: W/"6443c4a27424c31a2a08e941be6319a4"
11
+ Cache-Control: max-age=0, private, must-revalidate
12
+ X-Request-Id: 44b1448f-c7da-4988-ba5a-5b7f9892b1d2
13
+ X-Runtime: 0.351659
14
+ X-Content-Type-Options: nosniff
15
+ X-Download-Options: noopen
16
+ X-Frame-Options: DENY
17
+ X-Permitted-Cross-Domain-Policies: none
18
+ X-XSS-Protection: 1; mode=block
19
+ Strict-Transport-Security: max-age=31536000
20
+
21
+ {"data":{"id":2,"domain_id":1010,"algorithm":"13","digest":"684a1f049d7d082b7f98691657da5a65764913df7f065f6f8c36edf62d66ca03","digest_type":"2","keytag":"2371","created_at":"2017-03-03T15:24:00Z","updated_at":"2017-03-03T15:24:00Z"}}
@@ -0,0 +1,19 @@
1
+ HTTP/1.1 400 Bad Request
2
+ Server: nginx
3
+ Date: Fri, 03 Mar 2017 15:20:28 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: 2395
9
+ X-RateLimit-Reset: 1488554574
10
+ Cache-Control: no-cache
11
+ X-Request-Id: bf652af9-54cd-42c7-8fd3-2f52e2baea4b
12
+ X-Runtime: 0.350846
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":{"algorithm":["can't be blank"],"digest":["can't be blank"],"digest_type":["can't be blank"],"keytag":["can't be blank"]}}
@@ -0,0 +1,17 @@
1
+ HTTP/1.1 204 No Content
2
+ Server: nginx
3
+ Date: Fri, 03 Mar 2017 15:25:00 GMT
4
+ Connection: keep-alive
5
+ X-RateLimit-Limit: 2400
6
+ X-RateLimit-Remaining: 2398
7
+ X-RateLimit-Reset: 1488558240
8
+ Cache-Control: no-cache
9
+ X-Request-Id: 50271e09-f056-4413-9eea-87e097d43e8b
10
+ X-Runtime: 0.306806
11
+ X-Content-Type-Options: nosniff
12
+ X-Download-Options: noopen
13
+ X-Frame-Options: DENY
14
+ X-Permitted-Cross-Domain-Policies: none
15
+ X-XSS-Protection: 1; mode=block
16
+ Strict-Transport-Security: max-age=31536000
17
+
@@ -0,0 +1,19 @@
1
+ HTTP/1.1 428 Precondition Required
2
+ Server: nginx
3
+ Date: Fri, 03 Mar 2017 10:00:36 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: 1488538622
10
+ Cache-Control: no-cache
11
+ X-Request-Id: 8e6cfeba-61f3-4449-9d95-dceaa1be30b0
12
+ X-Runtime: 0.033649
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":"DNSSEC cannot be disabled because it is not enabled"}
@@ -0,0 +1,17 @@
1
+ HTTP/1.1 204 No Content
2
+ Server: nginx
3
+ Date: Fri, 03 Mar 2017 09:59:48 GMT
4
+ Connection: keep-alive
5
+ X-RateLimit-Limit: 2400
6
+ X-RateLimit-Remaining: 2397
7
+ X-RateLimit-Reset: 1488538622
8
+ Cache-Control: no-cache
9
+ X-Request-Id: d4904f31-9f5a-4616-a398-65915a2ade0f
10
+ X-Runtime: 0.150273
11
+ X-Content-Type-Options: nosniff
12
+ X-Download-Options: noopen
13
+ X-Frame-Options: DENY
14
+ X-Permitted-Cross-Domain-Policies: none
15
+ X-XSS-Protection: 1; mode=block
16
+ Strict-Transport-Security: max-age=31536000
17
+
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 201 Created
2
+ Server: nginx
3
+ Date: Fri, 03 Mar 2017 13:49:58 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: 2398
9
+ X-RateLimit-Reset: 1488552566
10
+ ETag: W/"80f207d402f1a1a4845455aa064c3735"
11
+ Cache-Control: max-age=0, private, must-revalidate
12
+ X-Request-Id: 49ea1585-3871-4829-90f4-ea2aad994256
13
+ X-Runtime: 0.700056
14
+ X-Content-Type-Options: nosniff
15
+ X-Download-Options: noopen
16
+ X-Frame-Options: DENY
17
+ X-Permitted-Cross-Domain-Policies: none
18
+ X-XSS-Protection: 1; mode=block
19
+ Strict-Transport-Security: max-age=31536000
20
+
21
+ {"data":{"enabled":true,"created_at":"2017-03-03T13:49:58Z","updated_at":"2017-03-03T13:49:58Z"}}
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Fri, 03 Mar 2017 13:53:06 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: 1488552566
10
+ ETag: W/"0aa4c6cec5adfa60dcf78ed2c3c661dd"
11
+ Cache-Control: max-age=0, private, must-revalidate
12
+ X-Request-Id: ccf90c89-d463-43c6-ac25-3839169e1afd
13
+ X-Runtime: 0.024246
14
+ X-Content-Type-Options: nosniff
15
+ X-Download-Options: noopen
16
+ X-Frame-Options: DENY
17
+ X-Permitted-Cross-Domain-Policies: none
18
+ X-XSS-Protection: 1; mode=block
19
+ Strict-Transport-Security: max-age=31536000
20
+
21
+ {"data":{"id":24,"domain_id":1010,"algorithm":"8","digest":"C1F6E04A5A61FBF65BF9DC8294C363CF11C89E802D926BDAB79C55D27BEFA94F","digest_type":"2","keytag":"44620","created_at":"2017-03-03T13:49:58Z","updated_at":"2017-03-03T13:49:58Z"}}
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Fri, 03 Mar 2017 09:58:37 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: 2398
9
+ X-RateLimit-Reset: 1488538623
10
+ ETag: W/"fc2368a31a1b6a3afcca33bb37ff6b9d"
11
+ Cache-Control: max-age=0, private, must-revalidate
12
+ X-Request-Id: 8b0fe49a-c810-4552-84ab-a1cd9b4a7786
13
+ X-Runtime: 0.024780
14
+ X-Content-Type-Options: nosniff
15
+ X-Download-Options: noopen
16
+ X-Frame-Options: DENY
17
+ X-Permitted-Cross-Domain-Policies: none
18
+ X-XSS-Protection: 1; mode=block
19
+ Strict-Transport-Security: max-age=31536000
20
+
21
+ {"data":{"enabled":true,"created_at":"2017-02-03T17:43:22Z","updated_at":"2017-02-03T17:43:22Z"}}
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Fri, 03 Mar 2017 13:50:42 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: 2397
9
+ X-RateLimit-Reset: 1488552565
10
+ ETag: W/"33c8bbfc699dba2c259b8ec2596ae40d"
11
+ Cache-Control: max-age=0, private, must-revalidate
12
+ X-Request-Id: ef8f1fe9-d342-41c4-a7bc-402434c53458
13
+ X-Runtime: 0.019866
14
+ X-Content-Type-Options: nosniff
15
+ X-Download-Options: noopen
16
+ X-Frame-Options: DENY
17
+ X-Permitted-Cross-Domain-Policies: none
18
+ X-XSS-Protection: 1; mode=block
19
+ Strict-Transport-Security: max-age=31536000
20
+
21
+ {"data":[{"id":24,"domain_id":1010,"algorithm":"8","digest":"C1F6E04A5A61FBF65BF9DC8294C363CF11C89E802D926BDAB79C55D27BEFA94F","digest_type":"2","keytag":"44620","created_at":"2017-03-03T13:49:58Z","updated_at":"2017-03-03T13:49:58Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":1,"total_pages":1}}
@@ -0,0 +1,12 @@
1
+ HTTP/1.1 404 Not Found
2
+ Server: nginx
3
+ Date: Thu, 04 Feb 2016 14:44:56 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Status: 404 Not Found
8
+ Cache-Control: no-cache
9
+ X-Request-Id: 50eea494-cc14-4db0-bc11-306aa525bbfd
10
+ X-Runtime: 0.028036
11
+
12
+ {"message":"Delegation signer record `0` not found"}
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.1.0
4
+ version: 4.2.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-12-12 00:00:00.000000000 Z
15
+ date: 2017-03-07 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: httparty
@@ -119,6 +119,8 @@ files:
119
119
  - lib/dnsimple/client/collaborators.rb
120
120
  - lib/dnsimple/client/contacts.rb
121
121
  - lib/dnsimple/client/domains.rb
122
+ - lib/dnsimple/client/domains_delegation_signer_records.rb
123
+ - lib/dnsimple/client/domains_dnssec.rb
122
124
  - lib/dnsimple/client/domains_email_forwards.rb
123
125
  - lib/dnsimple/client/domains_pushes.rb
124
126
  - lib/dnsimple/client/identity.rb
@@ -148,6 +150,8 @@ files:
148
150
  - lib/dnsimple/struct/certificate_bundle.rb
149
151
  - lib/dnsimple/struct/collaborator.rb
150
152
  - lib/dnsimple/struct/contact.rb
153
+ - lib/dnsimple/struct/delegation_signer_record.rb
154
+ - lib/dnsimple/struct/dnssec.rb
151
155
  - lib/dnsimple/struct/domain.rb
152
156
  - lib/dnsimple/struct/domain_check.rb
153
157
  - lib/dnsimple/struct/domain_premium_price.rb
@@ -175,6 +179,8 @@ files:
175
179
  - spec/dnsimple/client/client_service_spec.rb
176
180
  - spec/dnsimple/client/collaborators_spec.rb
177
181
  - spec/dnsimple/client/contacts_spec.rb
182
+ - spec/dnsimple/client/domains_delegation_signer_records_spec.rb
183
+ - spec/dnsimple/client/domains_dnssec_spec.rb
178
184
  - spec/dnsimple/client/domains_email_forwards_spec.rb
179
185
  - spec/dnsimple/client/domains_pushes_spec.rb
180
186
  - spec/dnsimple/client/domains_spec.rb
@@ -212,6 +218,8 @@ files:
212
218
  - spec/fixtures.http/changeDomainDelegationToVanity/success.http
213
219
  - spec/fixtures.http/checkDomain/success.http
214
220
  - spec/fixtures.http/createContact/created.http
221
+ - spec/fixtures.http/createDelegationSignerRecord/created.http
222
+ - spec/fixtures.http/createDelegationSignerRecord/validation-error.http
215
223
  - spec/fixtures.http/createDomain/created.http
216
224
  - spec/fixtures.http/createEmailForward/created.http
217
225
  - spec/fixtures.http/createTemplate/created.http
@@ -220,16 +228,20 @@ files:
220
228
  - spec/fixtures.http/createZoneRecord/created-apex.http
221
229
  - spec/fixtures.http/createZoneRecord/created.http
222
230
  - spec/fixtures.http/deleteContact/success.http
231
+ - spec/fixtures.http/deleteDelegationSignerRecord/success.http
223
232
  - spec/fixtures.http/deleteDomain/success.http
224
233
  - spec/fixtures.http/deleteEmailForward/success.http
225
234
  - spec/fixtures.http/deleteTemplate/success.http
226
235
  - spec/fixtures.http/deleteTemplateRecord/success.http
227
236
  - spec/fixtures.http/deleteWebhook/success.http
228
237
  - spec/fixtures.http/deleteZoneRecord/success.http
238
+ - spec/fixtures.http/disableDnssec/not-enabled.http
239
+ - spec/fixtures.http/disableDnssec/success.http
229
240
  - spec/fixtures.http/disableDomainAutoRenewal/success.http
230
241
  - spec/fixtures.http/disableVanityNameServers/success.http
231
242
  - spec/fixtures.http/disableWhoisPrivacy/success.http
232
243
  - spec/fixtures.http/downloadCertificate/success.http
244
+ - spec/fixtures.http/enableDnssec/success.http
233
245
  - spec/fixtures.http/enableDomainAutoRenewal/success.http
234
246
  - spec/fixtures.http/enableVanityNameServers/success.http
235
247
  - spec/fixtures.http/enableWhoisPrivacy/created.http
@@ -237,6 +249,8 @@ files:
237
249
  - spec/fixtures.http/getCertificate/success.http
238
250
  - spec/fixtures.http/getCertificatePrivateKey/success.http
239
251
  - spec/fixtures.http/getContact/success.http
252
+ - spec/fixtures.http/getDelegationSignerRecord/success.http
253
+ - spec/fixtures.http/getDnssec/success.http
240
254
  - spec/fixtures.http/getDomain/success.http
241
255
  - spec/fixtures.http/getDomainDelegation/success-empty.http
242
256
  - spec/fixtures.http/getDomainDelegation/success.http
@@ -261,6 +275,7 @@ files:
261
275
  - spec/fixtures.http/listCertificates/success.http
262
276
  - spec/fixtures.http/listCollaborators/success.http
263
277
  - spec/fixtures.http/listContacts/success.http
278
+ - spec/fixtures.http/listDelegationSignerRecords/success.http
264
279
  - spec/fixtures.http/listDomains/success.http
265
280
  - spec/fixtures.http/listEmailForwards/success.http
266
281
  - spec/fixtures.http/listPushes/success.http
@@ -275,6 +290,7 @@ files:
275
290
  - spec/fixtures.http/notfound-certificate.http
276
291
  - spec/fixtures.http/notfound-collaborator.http
277
292
  - spec/fixtures.http/notfound-contact.http
293
+ - spec/fixtures.http/notfound-delegationsignerrecord.http
278
294
  - spec/fixtures.http/notfound-domain.http
279
295
  - spec/fixtures.http/notfound-domainpush.http
280
296
  - spec/fixtures.http/notfound-emailforward.http
@@ -340,6 +356,8 @@ test_files:
340
356
  - spec/dnsimple/client/client_service_spec.rb
341
357
  - spec/dnsimple/client/collaborators_spec.rb
342
358
  - spec/dnsimple/client/contacts_spec.rb
359
+ - spec/dnsimple/client/domains_delegation_signer_records_spec.rb
360
+ - spec/dnsimple/client/domains_dnssec_spec.rb
343
361
  - spec/dnsimple/client/domains_email_forwards_spec.rb
344
362
  - spec/dnsimple/client/domains_pushes_spec.rb
345
363
  - spec/dnsimple/client/domains_spec.rb
@@ -377,6 +395,8 @@ test_files:
377
395
  - spec/fixtures.http/changeDomainDelegationToVanity/success.http
378
396
  - spec/fixtures.http/checkDomain/success.http
379
397
  - spec/fixtures.http/createContact/created.http
398
+ - spec/fixtures.http/createDelegationSignerRecord/created.http
399
+ - spec/fixtures.http/createDelegationSignerRecord/validation-error.http
380
400
  - spec/fixtures.http/createDomain/created.http
381
401
  - spec/fixtures.http/createEmailForward/created.http
382
402
  - spec/fixtures.http/createTemplate/created.http
@@ -385,16 +405,20 @@ test_files:
385
405
  - spec/fixtures.http/createZoneRecord/created-apex.http
386
406
  - spec/fixtures.http/createZoneRecord/created.http
387
407
  - spec/fixtures.http/deleteContact/success.http
408
+ - spec/fixtures.http/deleteDelegationSignerRecord/success.http
388
409
  - spec/fixtures.http/deleteDomain/success.http
389
410
  - spec/fixtures.http/deleteEmailForward/success.http
390
411
  - spec/fixtures.http/deleteTemplate/success.http
391
412
  - spec/fixtures.http/deleteTemplateRecord/success.http
392
413
  - spec/fixtures.http/deleteWebhook/success.http
393
414
  - spec/fixtures.http/deleteZoneRecord/success.http
415
+ - spec/fixtures.http/disableDnssec/not-enabled.http
416
+ - spec/fixtures.http/disableDnssec/success.http
394
417
  - spec/fixtures.http/disableDomainAutoRenewal/success.http
395
418
  - spec/fixtures.http/disableVanityNameServers/success.http
396
419
  - spec/fixtures.http/disableWhoisPrivacy/success.http
397
420
  - spec/fixtures.http/downloadCertificate/success.http
421
+ - spec/fixtures.http/enableDnssec/success.http
398
422
  - spec/fixtures.http/enableDomainAutoRenewal/success.http
399
423
  - spec/fixtures.http/enableVanityNameServers/success.http
400
424
  - spec/fixtures.http/enableWhoisPrivacy/created.http
@@ -402,6 +426,8 @@ test_files:
402
426
  - spec/fixtures.http/getCertificate/success.http
403
427
  - spec/fixtures.http/getCertificatePrivateKey/success.http
404
428
  - spec/fixtures.http/getContact/success.http
429
+ - spec/fixtures.http/getDelegationSignerRecord/success.http
430
+ - spec/fixtures.http/getDnssec/success.http
405
431
  - spec/fixtures.http/getDomain/success.http
406
432
  - spec/fixtures.http/getDomainDelegation/success-empty.http
407
433
  - spec/fixtures.http/getDomainDelegation/success.http
@@ -426,6 +452,7 @@ test_files:
426
452
  - spec/fixtures.http/listCertificates/success.http
427
453
  - spec/fixtures.http/listCollaborators/success.http
428
454
  - spec/fixtures.http/listContacts/success.http
455
+ - spec/fixtures.http/listDelegationSignerRecords/success.http
429
456
  - spec/fixtures.http/listDomains/success.http
430
457
  - spec/fixtures.http/listEmailForwards/success.http
431
458
  - spec/fixtures.http/listPushes/success.http
@@ -440,6 +467,7 @@ test_files:
440
467
  - spec/fixtures.http/notfound-certificate.http
441
468
  - spec/fixtures.http/notfound-collaborator.http
442
469
  - spec/fixtures.http/notfound-contact.http
470
+ - spec/fixtures.http/notfound-delegationsignerrecord.http
443
471
  - spec/fixtures.http/notfound-domain.http
444
472
  - spec/fixtures.http/notfound-domainpush.http
445
473
  - spec/fixtures.http/notfound-emailforward.http