dnsimple 7.0.0 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.github/CODEOWNERS +1 -0
  3. data/.github/dependabot.yml +11 -1
  4. data/.github/workflows/ci.yml +67 -0
  5. data/.github/workflows/release.yml +28 -0
  6. data/.markdownlint.yaml +3 -0
  7. data/.rubocop.yml +2 -5
  8. data/.rubocop_dnsimple.yml +28 -18
  9. data/.rubocop_todo.yml +1 -1
  10. data/.yamllint.yml +29 -0
  11. data/CHANGELOG.md +19 -13
  12. data/CONTRIBUTING.md +6 -21
  13. data/Gemfile +1 -1
  14. data/LICENSE.txt +1 -1
  15. data/README.md +5 -9
  16. data/Rakefile +1 -1
  17. data/UPGRADING.md +4 -5
  18. data/dnsimple.gemspec +1 -1
  19. data/lib/dnsimple/client/certificates.rb +5 -7
  20. data/lib/dnsimple/client/clients.rb +0 -5
  21. data/lib/dnsimple/client/domains_delegation_signer_records.rb +5 -4
  22. data/lib/dnsimple/client/registrar.rb +0 -29
  23. data/lib/dnsimple/default.rb +9 -9
  24. data/lib/dnsimple/extra.rb +1 -1
  25. data/lib/dnsimple/struct/delegation_signer_record.rb +3 -0
  26. data/lib/dnsimple/struct/tld.rb +3 -0
  27. data/lib/dnsimple/version.rb +1 -1
  28. data/spec/dnsimple/client/certificates_spec.rb +8 -9
  29. data/spec/dnsimple/client/contacts_spec.rb +2 -2
  30. data/spec/dnsimple/client/domains_collaborators_spec.rb +2 -2
  31. data/spec/dnsimple/client/domains_delegation_signer_records_spec.rb +3 -2
  32. data/spec/dnsimple/client/domains_email_forwards_spec.rb +2 -2
  33. data/spec/dnsimple/client/domains_spec.rb +2 -2
  34. data/spec/dnsimple/client/registrar_spec.rb +1 -49
  35. data/spec/dnsimple/client/services_spec.rb +1 -1
  36. data/spec/dnsimple/client/templates_records_spec.rb +1 -1
  37. data/spec/dnsimple/client/templates_spec.rb +2 -2
  38. data/spec/dnsimple/client/tlds_spec.rb +2 -1
  39. data/spec/dnsimple/client/zones_records_spec.rb +3 -3
  40. data/spec/dnsimple/client/zones_spec.rb +2 -2
  41. data/spec/dnsimple/client_spec.rb +32 -33
  42. data/spec/dnsimple/extra_spec.rb +1 -1
  43. data/spec/fixtures.http/createDelegationSignerRecord/created.http +1 -1
  44. data/spec/fixtures.http/getDelegationSignerRecord/success.http +1 -1
  45. data/spec/fixtures.http/getTld/success.http +1 -1
  46. data/spec/fixtures.http/listDelegationSignerRecords/success.http +1 -1
  47. data/spec/fixtures.http/listTlds/success.http +1 -1
  48. metadata +10 -186
  49. data/.travis.yml +0 -25
@@ -17,4 +17,4 @@ X-Permitted-Cross-Domain-Policies: none
17
17
  X-XSS-Protection: 1; mode=block
18
18
  Strict-Transport-Security: max-age=31536000
19
19
 
20
- {"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}}
20
+ {"data":[{"id":24,"domain_id":1010,"algorithm":"8","digest":"C1F6E04A5A61FBF65BF9DC8294C363CF11C89E802D926BDAB79C55D27BEFA94F","digest_type":"2","keytag":"44620","public_key":null,"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}}
@@ -17,4 +17,4 @@ X-Permitted-Cross-Domain-Policies: none
17
17
  X-XSS-Protection: 1; mode=block
18
18
  Strict-Transport-Security: max-age=31536000
19
19
 
20
- {"data":[{"tld":"ac","tld_type":2,"whois_privacy":false,"auto_renew_only":true,"idn":false,"minimum_registration":1,"registration_enabled":true,"renewal_enabled":true,"transfer_enabled":false},{"tld":"academy","tld_type":3,"whois_privacy":true,"auto_renew_only":false,"idn":true,"minimum_registration":1,"registration_enabled":true,"renewal_enabled":true,"transfer_enabled":true}],"pagination":{"current_page":1,"per_page":2,"total_entries":195,"total_pages":98}}
20
+ {"data":[{"tld":"ac","tld_type":2,"whois_privacy":false,"auto_renew_only":true,"idn":false,"minimum_registration":1,"registration_enabled":true,"renewal_enabled":true,"transfer_enabled":false,"dnssec_interface_type":"ds"},{"tld":"academy","tld_type":3,"whois_privacy":true,"auto_renew_only":false,"idn":true,"minimum_registration":1,"registration_enabled":true,"renewal_enabled":true,"transfer_enabled":true,"dnssec_interface_type":"key"}],"pagination":{"current_page":1,"per_page":2,"total_entries":195,"total_pages":98}}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dnsimple
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - DNSimple
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-07 00:00:00.000000000 Z
11
+ date: 2022-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -88,13 +88,17 @@ extensions: []
88
88
  extra_rdoc_files:
89
89
  - LICENSE.txt
90
90
  files:
91
+ - ".github/CODEOWNERS"
91
92
  - ".github/dependabot.yml"
93
+ - ".github/workflows/ci.yml"
94
+ - ".github/workflows/release.yml"
92
95
  - ".gitignore"
96
+ - ".markdownlint.yaml"
93
97
  - ".rspec"
94
98
  - ".rubocop.yml"
95
99
  - ".rubocop_dnsimple.yml"
96
100
  - ".rubocop_todo.yml"
97
- - ".travis.yml"
101
+ - ".yamllint.yml"
98
102
  - CHANGELOG.md
99
103
  - CONTRIBUTING.md
100
104
  - Gemfile
@@ -364,195 +368,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
364
368
  requirements:
365
369
  - - ">="
366
370
  - !ruby/object:Gem::Version
367
- version: '2.6'
371
+ version: '2.7'
368
372
  required_rubygems_version: !ruby/object:Gem::Requirement
369
373
  requirements:
370
374
  - - ">="
371
375
  - !ruby/object:Gem::Version
372
376
  version: '0'
373
377
  requirements: []
374
- rubygems_version: 3.1.4
378
+ rubygems_version: 3.3.7
375
379
  signing_key:
376
380
  specification_version: 4
377
381
  summary: The DNSimple API client for Ruby
378
- test_files:
379
- - spec/dnsimple/client/accounts_spec.rb
380
- - spec/dnsimple/client/certificates_spec.rb
381
- - spec/dnsimple/client/client_service_spec.rb
382
- - spec/dnsimple/client/contacts_spec.rb
383
- - spec/dnsimple/client/domains_collaborators_spec.rb
384
- - spec/dnsimple/client/domains_delegation_signer_records_spec.rb
385
- - spec/dnsimple/client/domains_dnssec_spec.rb
386
- - spec/dnsimple/client/domains_email_forwards_spec.rb
387
- - spec/dnsimple/client/domains_pushes_spec.rb
388
- - spec/dnsimple/client/domains_spec.rb
389
- - spec/dnsimple/client/identity_spec.rb
390
- - spec/dnsimple/client/oauth_spec.rb
391
- - spec/dnsimple/client/registrar_auto_renewal_spec.rb
392
- - spec/dnsimple/client/registrar_delegation_spec.rb
393
- - spec/dnsimple/client/registrar_spec.rb
394
- - spec/dnsimple/client/registrar_whois_privacy_spec.rb
395
- - spec/dnsimple/client/services_domains_spec.rb
396
- - spec/dnsimple/client/services_spec.rb
397
- - spec/dnsimple/client/templates_domains_spec.rb
398
- - spec/dnsimple/client/templates_records_spec.rb
399
- - spec/dnsimple/client/templates_spec.rb
400
- - spec/dnsimple/client/tlds_spec.rb
401
- - spec/dnsimple/client/vanity_name_servers_spec.rb
402
- - spec/dnsimple/client/webhooks_spec.rb
403
- - spec/dnsimple/client/zones_distributions_spec.rb
404
- - spec/dnsimple/client/zones_records_spec.rb
405
- - spec/dnsimple/client/zones_spec.rb
406
- - spec/dnsimple/client_spec.rb
407
- - spec/dnsimple/extra_spec.rb
408
- - spec/dnsimple/options/base_spec.rb
409
- - spec/dnsimple/options/list_options_spec.rb
410
- - spec/fixtures.http/acceptPush/success.http
411
- - spec/fixtures.http/accounts/success-account.http
412
- - spec/fixtures.http/accounts/success-user.http
413
- - spec/fixtures.http/addCollaborator/invite-success.http
414
- - spec/fixtures.http/addCollaborator/success.http
415
- - spec/fixtures.http/appliedServices/success.http
416
- - spec/fixtures.http/applyService/success.http
417
- - spec/fixtures.http/applyTemplate/success.http
418
- - spec/fixtures.http/authorizeDomainTransferOut/success.http
419
- - spec/fixtures.http/badgateway.http
420
- - spec/fixtures.http/cancelDomainTransfer/success.http
421
- - spec/fixtures.http/changeDomainDelegation/success.http
422
- - spec/fixtures.http/changeDomainDelegationFromVanity/success.http
423
- - spec/fixtures.http/changeDomainDelegationToVanity/success.http
424
- - spec/fixtures.http/checkDomain/success.http
425
- - spec/fixtures.http/checkDomainPremiumPrice/error_400_not_a_premium_domain.http
426
- - spec/fixtures.http/checkDomainPremiumPrice/error_400_tld_not_supported.http
427
- - spec/fixtures.http/checkDomainPremiumPrice/success.http
428
- - spec/fixtures.http/checkZoneDistribution/error.http
429
- - spec/fixtures.http/checkZoneDistribution/failure.http
430
- - spec/fixtures.http/checkZoneDistribution/success.http
431
- - spec/fixtures.http/checkZoneRecordDistribution/error.http
432
- - spec/fixtures.http/checkZoneRecordDistribution/failure.http
433
- - spec/fixtures.http/checkZoneRecordDistribution/success.http
434
- - spec/fixtures.http/createContact/created.http
435
- - spec/fixtures.http/createDelegationSignerRecord/created.http
436
- - spec/fixtures.http/createDelegationSignerRecord/validation-error.http
437
- - spec/fixtures.http/createDomain/created.http
438
- - spec/fixtures.http/createEmailForward/created.http
439
- - spec/fixtures.http/createPrimaryServer/created.http
440
- - spec/fixtures.http/createSecondaryZone/created.http
441
- - spec/fixtures.http/createTemplate/created.http
442
- - spec/fixtures.http/createTemplateRecord/created.http
443
- - spec/fixtures.http/createWebhook/created.http
444
- - spec/fixtures.http/createZoneRecord/created-apex.http
445
- - spec/fixtures.http/createZoneRecord/created.http
446
- - spec/fixtures.http/deleteContact/error-contact-in-use.http
447
- - spec/fixtures.http/deleteContact/success.http
448
- - spec/fixtures.http/deleteDelegationSignerRecord/success.http
449
- - spec/fixtures.http/deleteDomain/success.http
450
- - spec/fixtures.http/deleteEmailForward/success.http
451
- - spec/fixtures.http/deleteTemplate/success.http
452
- - spec/fixtures.http/deleteTemplateRecord/success.http
453
- - spec/fixtures.http/deleteWebhook/success.http
454
- - spec/fixtures.http/deleteZoneRecord/success.http
455
- - spec/fixtures.http/disableDnssec/not-enabled.http
456
- - spec/fixtures.http/disableDnssec/success.http
457
- - spec/fixtures.http/disableDomainAutoRenewal/success.http
458
- - spec/fixtures.http/disableVanityNameServers/success.http
459
- - spec/fixtures.http/disableWhoisPrivacy/success.http
460
- - spec/fixtures.http/downloadCertificate/success.http
461
- - spec/fixtures.http/enableDnssec/success.http
462
- - spec/fixtures.http/enableDomainAutoRenewal/success.http
463
- - spec/fixtures.http/enableVanityNameServers/success.http
464
- - spec/fixtures.http/enableWhoisPrivacy/created.http
465
- - spec/fixtures.http/enableWhoisPrivacy/success.http
466
- - spec/fixtures.http/getCertificate/success.http
467
- - spec/fixtures.http/getCertificatePrivateKey/success.http
468
- - spec/fixtures.http/getContact/success.http
469
- - spec/fixtures.http/getDelegationSignerRecord/success.http
470
- - spec/fixtures.http/getDnssec/success.http
471
- - spec/fixtures.http/getDomain/success.http
472
- - spec/fixtures.http/getDomainDelegation/success-empty.http
473
- - spec/fixtures.http/getDomainDelegation/success.http
474
- - spec/fixtures.http/getDomainPremiumPrice/failure.http
475
- - spec/fixtures.http/getDomainPremiumPrice/success.http
476
- - spec/fixtures.http/getDomainPrices/failure.http
477
- - spec/fixtures.http/getDomainPrices/success.http
478
- - spec/fixtures.http/getDomainTransfer/success.http
479
- - spec/fixtures.http/getEmailForward/success.http
480
- - spec/fixtures.http/getPrimaryServer/success.http
481
- - spec/fixtures.http/getService/success.http
482
- - spec/fixtures.http/getTemplate/success.http
483
- - spec/fixtures.http/getTemplateRecord/success.http
484
- - spec/fixtures.http/getTld/success.http
485
- - spec/fixtures.http/getTldExtendedAttributes/success-attributes.http
486
- - spec/fixtures.http/getTldExtendedAttributes/success-noattributes.http
487
- - spec/fixtures.http/getTldExtendedAttributes/success.http
488
- - spec/fixtures.http/getWebhook/success.http
489
- - spec/fixtures.http/getWhoisPrivacy/success.http
490
- - spec/fixtures.http/getZone/success.http
491
- - spec/fixtures.http/getZoneFile/success.http
492
- - spec/fixtures.http/getZoneRecord/success.http
493
- - spec/fixtures.http/initiatePush/success.http
494
- - spec/fixtures.http/issueLetsencryptCertificate/success.http
495
- - spec/fixtures.http/issueRenewalLetsencryptCertificate/success.http
496
- - spec/fixtures.http/linkPrimaryServer/success.http
497
- - spec/fixtures.http/listAccounts/success-account.http
498
- - spec/fixtures.http/listAccounts/success-user.http
499
- - spec/fixtures.http/listCertificates/success.http
500
- - spec/fixtures.http/listCollaborators/success.http
501
- - spec/fixtures.http/listContacts/success.http
502
- - spec/fixtures.http/listDelegationSignerRecords/success.http
503
- - spec/fixtures.http/listDomains/success.http
504
- - spec/fixtures.http/listEmailForwards/success.http
505
- - spec/fixtures.http/listPrimaryServers/success.http
506
- - spec/fixtures.http/listPushes/success.http
507
- - spec/fixtures.http/listServices/success.http
508
- - spec/fixtures.http/listTemplateRecords/success.http
509
- - spec/fixtures.http/listTemplates/success.http
510
- - spec/fixtures.http/listTlds/success.http
511
- - spec/fixtures.http/listWebhooks/success.http
512
- - spec/fixtures.http/listZoneRecords/success.http
513
- - spec/fixtures.http/listZones/success.http
514
- - spec/fixtures.http/method-not-allowed.http
515
- - spec/fixtures.http/notfound-certificate.http
516
- - spec/fixtures.http/notfound-collaborator.http
517
- - spec/fixtures.http/notfound-contact.http
518
- - spec/fixtures.http/notfound-delegationsignerrecord.http
519
- - spec/fixtures.http/notfound-domain.http
520
- - spec/fixtures.http/notfound-domainpush.http
521
- - spec/fixtures.http/notfound-emailforward.http
522
- - spec/fixtures.http/notfound-record.http
523
- - spec/fixtures.http/notfound-template.http
524
- - spec/fixtures.http/notfound-webhook.http
525
- - spec/fixtures.http/notfound-whoisprivacy.http
526
- - spec/fixtures.http/notfound-zone.http
527
- - spec/fixtures.http/oauthAccessToken/error-invalid-request.http
528
- - spec/fixtures.http/oauthAccessToken/success.http
529
- - spec/fixtures.http/pages-1of3.http
530
- - spec/fixtures.http/pages-2of3.http
531
- - spec/fixtures.http/pages-3of3.http
532
- - spec/fixtures.http/purchaseLetsencryptCertificate/success.http
533
- - spec/fixtures.http/purchaseRenewalLetsencryptCertificate/success.http
534
- - spec/fixtures.http/registerDomain/success.http
535
- - spec/fixtures.http/rejectPush/success.http
536
- - spec/fixtures.http/removeCollaborator/success.http
537
- - spec/fixtures.http/renewDomain/error-tooearly.http
538
- - spec/fixtures.http/renewDomain/success.http
539
- - spec/fixtures.http/renewWhoisPrivacy/success.http
540
- - spec/fixtures.http/renewWhoisPrivacy/whois-privacy-duplicated-order.http
541
- - spec/fixtures.http/renewWhoisPrivacy/whois-privacy-not-found.http
542
- - spec/fixtures.http/response.http
543
- - spec/fixtures.http/success-with-malformed-json.http
544
- - spec/fixtures.http/transferDomain/error-indnsimple.http
545
- - spec/fixtures.http/transferDomain/error-missing-authcode.http
546
- - spec/fixtures.http/transferDomain/success.http
547
- - spec/fixtures.http/unapplyService/success.http
548
- - spec/fixtures.http/unlinkPrimaryServer/success.http
549
- - spec/fixtures.http/updateContact/success.http
550
- - spec/fixtures.http/updateTemplate/success.http
551
- - spec/fixtures.http/updateZoneRecord/success.http
552
- - spec/fixtures.http/validation-error.http
553
- - spec/fixtures.http/whoami/success-account.http
554
- - spec/fixtures.http/whoami/success-user.http
555
- - spec/fixtures.http/whoami/success.http
556
- - spec/spec_helper.rb
557
- - spec/support/helpers.rb
558
- - spec/support/webmock.rb
382
+ test_files: []
data/.travis.yml DELETED
@@ -1,25 +0,0 @@
1
- dist: focal
2
-
3
- language: ruby
4
-
5
- rvm:
6
- - 2.6
7
- - 2.7
8
- - 3.0
9
- - ruby-head
10
- - truffleruby-head
11
-
12
- cache: bundler
13
-
14
- jobs:
15
- allow_failures:
16
- - rvm: ruby-head
17
- - rvm: truffleruby-head
18
-
19
- env:
20
- - COVERALL=1
21
-
22
- notifications:
23
- email: false
24
- slack:
25
- secure: "N9zPR5jnF1TBiqvb3mCV6Wem3TIvqu4tXiob2P66vBMwmj1ewWvyUzNLwAEOCDc3mRfsI50IYXHewckAUpCWW7XEJlT/pv8llMsoiHqArb7SGJyDdy3ZRr35L7glixs/ikod+xhRKXMM3jML/2MgSa+Culzhl42tMUFDk+bBBQU="