dnsimple 4.3.0 → 5.1.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 (143) hide show
  1. checksums.yaml +5 -5
  2. data/.dependabot/config.yml +9 -0
  3. data/.rubocop.yml +7 -0
  4. data/.rubocop_dnsimple.yml +136 -45
  5. data/.travis.yml +13 -9
  6. data/CHANGELOG.md +57 -23
  7. data/CONTRIBUTING.md +55 -7
  8. data/Gemfile +4 -1
  9. data/LICENSE.txt +1 -1
  10. data/README.md +8 -6
  11. data/dnsimple.gemspec +3 -3
  12. data/lib/dnsimple.rb +2 -0
  13. data/lib/dnsimple/client.rb +12 -10
  14. data/lib/dnsimple/client/accounts.rb +2 -1
  15. data/lib/dnsimple/client/certificates.rb +188 -28
  16. data/lib/dnsimple/client/clients.rb +6 -2
  17. data/lib/dnsimple/client/contacts.rb +2 -5
  18. data/lib/dnsimple/client/domains.rb +3 -5
  19. data/lib/dnsimple/client/{collaborators.rb → domains_collaborators.rb} +3 -1
  20. data/lib/dnsimple/client/domains_delegation_signer_records.rb +2 -0
  21. data/lib/dnsimple/client/domains_dnssec.rb +2 -0
  22. data/lib/dnsimple/client/domains_email_forwards.rb +2 -0
  23. data/lib/dnsimple/client/domains_pushes.rb +2 -0
  24. data/lib/dnsimple/client/identity.rb +2 -0
  25. data/lib/dnsimple/client/oauth.rb +2 -0
  26. data/lib/dnsimple/client/registrar.rb +51 -5
  27. data/lib/dnsimple/client/registrar_auto_renewal.rb +2 -0
  28. data/lib/dnsimple/client/registrar_delegation.rb +6 -4
  29. data/lib/dnsimple/client/registrar_whois_privacy.rb +23 -1
  30. data/lib/dnsimple/client/services.rb +2 -2
  31. data/lib/dnsimple/client/services_domains.rb +2 -0
  32. data/lib/dnsimple/client/templates.rb +2 -0
  33. data/lib/dnsimple/client/templates_domains.rb +2 -0
  34. data/lib/dnsimple/client/templates_records.rb +2 -0
  35. data/lib/dnsimple/client/tlds.rb +16 -17
  36. data/lib/dnsimple/client/vanity_name_servers.rb +12 -10
  37. data/lib/dnsimple/client/webhooks.rb +2 -3
  38. data/lib/dnsimple/client/zones.rb +2 -1
  39. data/lib/dnsimple/client/zones_distributions.rb +49 -0
  40. data/lib/dnsimple/client/zones_records.rb +25 -28
  41. data/lib/dnsimple/default.rb +11 -9
  42. data/lib/dnsimple/error.rb +2 -0
  43. data/lib/dnsimple/extra.rb +2 -0
  44. data/lib/dnsimple/options.rb +2 -0
  45. data/lib/dnsimple/response.rb +6 -4
  46. data/lib/dnsimple/struct.rb +7 -0
  47. data/lib/dnsimple/struct/account.rb +2 -0
  48. data/lib/dnsimple/struct/certificate.rb +11 -0
  49. data/lib/dnsimple/struct/certificate_bundle.rb +5 -0
  50. data/lib/dnsimple/struct/certificate_purchase.rb +27 -0
  51. data/lib/dnsimple/struct/certificate_renewal.rb +30 -0
  52. data/lib/dnsimple/struct/collaborator.rb +2 -0
  53. data/lib/dnsimple/struct/contact.rb +2 -0
  54. data/lib/dnsimple/struct/delegation_signer_record.rb +2 -0
  55. data/lib/dnsimple/struct/dnssec.rb +2 -0
  56. data/lib/dnsimple/struct/domain.rb +24 -3
  57. data/lib/dnsimple/struct/domain_check.rb +2 -0
  58. data/lib/dnsimple/struct/domain_premium_price.rb +2 -0
  59. data/lib/dnsimple/struct/domain_push.rb +2 -0
  60. data/lib/dnsimple/struct/domain_registration.rb +2 -3
  61. data/lib/dnsimple/struct/domain_renewal.rb +2 -3
  62. data/lib/dnsimple/struct/domain_transfer.rb +4 -2
  63. data/lib/dnsimple/struct/email_forward.rb +2 -0
  64. data/lib/dnsimple/struct/extended_attribute.rb +3 -1
  65. data/lib/dnsimple/struct/oauth_token.rb +2 -0
  66. data/lib/dnsimple/struct/service.rb +3 -1
  67. data/lib/dnsimple/struct/template.rb +2 -0
  68. data/lib/dnsimple/struct/template_record.rb +2 -0
  69. data/lib/dnsimple/struct/tld.rb +2 -0
  70. data/lib/dnsimple/struct/user.rb +2 -0
  71. data/lib/dnsimple/struct/vanity_name_server.rb +27 -0
  72. data/lib/dnsimple/struct/webhook.rb +2 -0
  73. data/lib/dnsimple/struct/whoami.rb +4 -2
  74. data/lib/dnsimple/struct/whois_privacy.rb +2 -0
  75. data/lib/dnsimple/struct/whois_privacy_renewal.rb +30 -0
  76. data/lib/dnsimple/struct/zone.rb +2 -0
  77. data/lib/dnsimple/struct/zone_distribution.rb +13 -0
  78. data/lib/dnsimple/struct/zone_file.rb +2 -0
  79. data/lib/dnsimple/struct/zone_record.rb +2 -0
  80. data/lib/dnsimple/version.rb +3 -1
  81. data/spec/dnsimple/client/accounts_spec.rb +2 -0
  82. data/spec/dnsimple/client/certificates_spec.rb +227 -1
  83. data/spec/dnsimple/client/client_service_spec.rb +2 -0
  84. data/spec/dnsimple/client/contacts_spec.rb +3 -1
  85. data/spec/dnsimple/client/{collaborators_spec.rb → domains_collaborators_spec.rb} +3 -1
  86. data/spec/dnsimple/client/domains_delegation_signer_records_spec.rb +3 -1
  87. data/spec/dnsimple/client/domains_dnssec_spec.rb +4 -2
  88. data/spec/dnsimple/client/domains_email_forwards_spec.rb +3 -1
  89. data/spec/dnsimple/client/domains_pushes_spec.rb +3 -1
  90. data/spec/dnsimple/client/domains_spec.rb +19 -16
  91. data/spec/dnsimple/client/identity_spec.rb +2 -0
  92. data/spec/dnsimple/client/oauth_spec.rb +2 -0
  93. data/spec/dnsimple/client/registrar_auto_renewal_spec.rb +2 -0
  94. data/spec/dnsimple/client/registrar_delegation_spec.rb +5 -2
  95. data/spec/dnsimple/client/registrar_spec.rb +73 -4
  96. data/spec/dnsimple/client/registrar_whois_privacy_spec.rb +60 -3
  97. data/spec/dnsimple/client/services_domains_spec.rb +2 -0
  98. data/spec/dnsimple/client/services_spec.rb +3 -1
  99. data/spec/dnsimple/client/templates_domains_spec.rb +2 -0
  100. data/spec/dnsimple/client/templates_records_spec.rb +2 -0
  101. data/spec/dnsimple/client/templates_spec.rb +2 -0
  102. data/spec/dnsimple/client/tlds_spec.rb +22 -19
  103. data/spec/dnsimple/client/vanity_name_servers_spec.rb +2 -0
  104. data/spec/dnsimple/client/webhooks_spec.rb +2 -0
  105. data/spec/dnsimple/client/zones_distributions_spec.rb +137 -0
  106. data/spec/dnsimple/client/zones_records_spec.rb +37 -35
  107. data/spec/dnsimple/client/zones_spec.rb +4 -2
  108. data/spec/dnsimple/client_spec.rb +8 -6
  109. data/spec/dnsimple/extra_spec.rb +2 -0
  110. data/spec/dnsimple/options/base_spec.rb +2 -0
  111. data/spec/dnsimple/options/list_options_spec.rb +2 -0
  112. data/spec/fixtures.http/{transferDomainOut → authorizeDomainTransferOut}/success.http +0 -0
  113. data/spec/fixtures.http/cancelDomainTransfer/success.http +19 -0
  114. data/spec/fixtures.http/checkZoneDistribution/error.http +21 -0
  115. data/spec/fixtures.http/checkZoneDistribution/failure.http +21 -0
  116. data/spec/fixtures.http/checkZoneDistribution/success.http +21 -0
  117. data/spec/fixtures.http/checkZoneRecordDistribution/error.http +21 -0
  118. data/spec/fixtures.http/checkZoneRecordDistribution/failure.http +21 -0
  119. data/spec/fixtures.http/checkZoneRecordDistribution/success.http +21 -0
  120. data/spec/fixtures.http/createDomain/created.http +21 -16
  121. data/spec/fixtures.http/getCertificate/success.http +1 -1
  122. data/spec/fixtures.http/getDomain/success.http +14 -9
  123. data/spec/fixtures.http/getDomainTransfer/success.http +21 -0
  124. data/spec/fixtures.http/issueLetsencryptCertificate/success.http +21 -0
  125. data/spec/fixtures.http/issueRenewalLetsencryptCertificate/success.http +21 -0
  126. data/spec/fixtures.http/listCertificates/success.http +1 -1
  127. data/spec/fixtures.http/listDomains/success.http +21 -16
  128. data/spec/fixtures.http/purchaseLetsencryptCertificate/success.http +21 -0
  129. data/spec/fixtures.http/purchaseRenewalLetsencryptCertificate/success.http +21 -0
  130. data/spec/fixtures.http/registerDomain/success.http +2 -2
  131. data/spec/fixtures.http/renewDomain/success.http +2 -2
  132. data/spec/fixtures.http/renewWhoisPrivacy/success.http +21 -0
  133. data/spec/fixtures.http/renewWhoisPrivacy/whois-privacy-duplicated-order.http +19 -0
  134. data/spec/fixtures.http/renewWhoisPrivacy/whois-privacy-not-found.http +19 -0
  135. data/spec/fixtures.http/transferDomain/success.http +2 -2
  136. data/spec/fixtures.http/whoami/success-account.http +1 -1
  137. data/spec/fixtures.http/whoami/success-user.http +1 -1
  138. data/spec/fixtures.http/whoami/success.http +1 -1
  139. data/spec/spec_helper.rb +4 -2
  140. data/spec/support/helpers.rb +2 -0
  141. data/spec/support/webmock.rb +2 -0
  142. metadata +50 -19
  143. data/.ruby-gemset +0 -1
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 201 Created
2
+ Server: nginx
3
+ Date: Thu, 19 Oct 2017 08:18:53 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: 1508404733
10
+ ETag: W/"bda500d2cac6b1c4903e77e8113e9cdf"
11
+ Cache-Control: max-age=0, private, must-revalidate
12
+ X-Request-Id: 64115047-ced5-40d1-b673-e2fc51ad7587
13
+ X-Runtime: 0.072374
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":999,"old_certificate_id":200,"new_certificate_id":300,"state":"new","auto_renew":false,"created_at":"2017-10-19T08:18:53Z","updated_at":"2017-10-19T08:18:53Z"}}
@@ -2,7 +2,7 @@ HTTP/1.1 201 Created
2
2
  Server: nginx
3
3
  Date: Fri, 09 Dec 2016 19:35:38 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
- Transfer-Encoding: chunked
5
+ Transfer-Encoding: identity
6
6
  Connection: keep-alive
7
7
  X-RateLimit-Limit: 2400
8
8
  X-RateLimit-Remaining: 2396
@@ -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":1,"domain_id":999,"registrant_id":2,"period":1,"state":"new","auto_renew":false,"whois_privacy":false,"premium_price":null,"created_at":"2016-12-09T19:35:31Z","updated_at":"2016-12-09T19:35:31Z"}}
21
+ {"data":{"id":1,"domain_id":999,"registrant_id":2,"period":1,"state":"new","auto_renew":false,"whois_privacy":false,"created_at":"2016-12-09T19:35:31Z","updated_at":"2016-12-09T19:35:31Z"}}
@@ -2,7 +2,7 @@ HTTP/1.1 201 Created
2
2
  Server: nginx
3
3
  Date: Fri, 09 Dec 2016 19:46:57 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
- Transfer-Encoding: chunked
5
+ Transfer-Encoding: identity
6
6
  Connection: keep-alive
7
7
  X-RateLimit-Limit: 2400
8
8
  X-RateLimit-Remaining: 2394
@@ -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":1,"domain_id":999,"period":1,"state":"new","premium_price":null,"created_at":"2016-12-09T19:46:45Z","updated_at":"2016-12-09T19:46:45Z"}}
21
+ {"data":{"id":1,"domain_id":999,"period":1,"state":"new","created_at":"2016-12-09T19:46:45Z","updated_at":"2016-12-09T19:46:45Z"}}
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 201 Created
2
+ Server: nginx
3
+ Date: Thu, 10 Jan 2019 12:12:50 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: 1547125899
10
+ ETag: W/"e5bf5d90a6c95e5f1443dcbaf2cc27c6"
11
+ Cache-Control: max-age=0, private, must-revalidate
12
+ X-Request-Id: 6e80e830-21ae-46ea-9191-98811884808a
13
+ X-Runtime: 1.459325
14
+ X-Frame-Options: DENY
15
+ X-Content-Type-Options: nosniff
16
+ X-XSS-Protection: 1; mode=block
17
+ X-Download-Options: noopen
18
+ X-Permitted-Cross-Domain-Policies: none
19
+ Strict-Transport-Security: max-age=31536000
20
+
21
+ {"data":{"id":1,"domain_id":100,"whois_privacy_id":999,"state":"new","expires_on":"2020-01-10","enabled":true,"created_at":"2019-01-10T12:12:48Z","updated_at":"2019-01-10T12:12:48Z"}}
@@ -0,0 +1,19 @@
1
+ HTTP/1.1 400 Bad Request
2
+ Server: nginx
3
+ Date: Thu, 10 Jan 2019 12:13:21 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: 1547125899
10
+ Cache-Control: no-cache
11
+ X-Request-Id: 16cc92bb-fe38-434b-b483-602d77ac77d3
12
+ X-Runtime: 0.122201
13
+ X-Frame-Options: DENY
14
+ X-Content-Type-Options: nosniff
15
+ X-XSS-Protection: 1; mode=block
16
+ X-Download-Options: noopen
17
+ X-Permitted-Cross-Domain-Policies: none
18
+
19
+ {"message":"The whois privacy for example.com has just been renewed, a new renewal cannot be started at this time"}
@@ -0,0 +1,19 @@
1
+ HTTP/1.1 400 Bad Request
2
+ Server: nginx
3
+ Date: Thu, 10 Jan 2019 12:11:39 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: 1547125899
10
+ Cache-Control: no-cache
11
+ X-Request-Id: 2727b7c4-97af-4e22-9c7f-bd84e20f2dc1
12
+ X-Runtime: 0.139925
13
+ X-Frame-Options: DENY
14
+ X-Content-Type-Options: nosniff
15
+ X-XSS-Protection: 1; mode=block
16
+ X-Download-Options: noopen
17
+ X-Permitted-Cross-Domain-Policies: none
18
+
19
+ {"message":"WHOIS privacy not found for example.com"}
@@ -2,7 +2,7 @@ HTTP/1.1 201 Created
2
2
  Server: nginx
3
3
  Date: Fri, 09 Dec 2016 19:43:43 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
- Transfer-Encoding: chunked
5
+ Transfer-Encoding: identity
6
6
  Connection: keep-alive
7
7
  X-RateLimit-Limit: 2400
8
8
  X-RateLimit-Remaining: 2395
@@ -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":1,"domain_id":999,"registrant_id":2,"state":"transferring","auto_renew":false,"whois_privacy":false,"premium_price":null,"created_at":"2016-12-09T19:43:41Z","updated_at":"2016-12-09T19:43:43Z"}}
21
+ {"data":{"id":1,"domain_id":999,"registrant_id":2,"state":"transferring","auto_renew":false,"whois_privacy":false,"created_at":"2016-12-09T19:43:41Z","updated_at":"2016-12-09T19:43:43Z"}}
@@ -13,4 +13,4 @@ X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
13
13
  X-Runtime: 0.141588
14
14
  Strict-Transport-Security: max-age=31536000
15
15
 
16
- {"data":{"user":null,"account":{"id":1,"email":"example-account@example.com"}}}
16
+ {"data":{"user":null,"account":{"id":1,"email":"example-account@example.com","plan_identifier":"dnsimple-professional","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"}}}
@@ -13,4 +13,4 @@ X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
13
13
  X-Runtime: 0.141588
14
14
  Strict-Transport-Security: max-age=31536000
15
15
 
16
- {"data":{"user":{"id":1,"email":"example-user@example.com"},"account":null}}
16
+ {"data":{"user":{"id":1,"email":"example-user@example.com","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"},"account":null}}
@@ -13,4 +13,4 @@ X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
13
13
  X-Runtime: 0.141588
14
14
  Strict-Transport-Security: max-age=31536000
15
15
 
16
- {"data":{"user":null,"account":{"id":1,"email":"example-account@example.com"}}}
16
+ {"data":{"user":null,"account":{"id":1,"email":"example-account@example.com","plan_identifier":"dnsimple-professional","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"}}}
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rspec'
2
4
 
3
5
  if ENV['COVERALL']
@@ -9,7 +11,7 @@ $:.unshift(File.dirname(__FILE__) + '/lib')
9
11
  require 'dnsimple'
10
12
 
11
13
  unless defined?(SPEC_ROOT)
12
- SPEC_ROOT = File.expand_path("../", __FILE__)
14
+ SPEC_ROOT = File.expand_path(__dir__)
13
15
  end
14
16
 
15
- Dir[File.join(SPEC_ROOT, "support/**/*.rb")].each { |f| require f }
17
+ Dir[File.join(SPEC_ROOT, "support/**/*.rb")].sort.each { |f| require f }
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RSpecSupportHelpers
2
4
 
3
5
  def http_fixture(*names)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'webmock/rspec'
2
4
 
3
5
  RSpec.configure do |config|
metadata CHANGED
@@ -1,17 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dnsimple
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
- - Anthony Eden
8
- - Simone Carletti
9
- - Javier Acero
10
- - Luca Guidi
7
+ - DNSimple
11
8
  autorequire:
12
9
  bindir: bin
13
10
  cert_chain: []
14
- date: 2017-06-20 00:00:00.000000000 Z
11
+ date: 2020-06-10 00:00:00.000000000 Z
15
12
  dependencies:
16
13
  - !ruby/object:Gem::Dependency
17
14
  name: httparty
@@ -85,21 +82,18 @@ dependencies:
85
82
  version: '0'
86
83
  description: The DNSimple API client for Ruby.
87
84
  email:
88
- - anthony.eden@dnsimple.com
89
- - simone.carletti@dnsimple.com
90
- - javier.acero@dnsimple.com
91
- - luca.guidi@dnsimple.com
85
+ - support@dnsimple.com
92
86
  executables: []
93
87
  extensions: []
94
88
  extra_rdoc_files:
95
89
  - LICENSE.txt
96
90
  files:
91
+ - ".dependabot/config.yml"
97
92
  - ".gitignore"
98
93
  - ".rspec"
99
94
  - ".rubocop.yml"
100
95
  - ".rubocop_dnsimple.yml"
101
96
  - ".rubocop_todo.yml"
102
- - ".ruby-gemset"
103
97
  - ".travis.yml"
104
98
  - CHANGELOG.md
105
99
  - CONTRIBUTING.md
@@ -114,9 +108,9 @@ files:
114
108
  - lib/dnsimple/client/accounts.rb
115
109
  - lib/dnsimple/client/certificates.rb
116
110
  - lib/dnsimple/client/clients.rb
117
- - lib/dnsimple/client/collaborators.rb
118
111
  - lib/dnsimple/client/contacts.rb
119
112
  - lib/dnsimple/client/domains.rb
113
+ - lib/dnsimple/client/domains_collaborators.rb
120
114
  - lib/dnsimple/client/domains_delegation_signer_records.rb
121
115
  - lib/dnsimple/client/domains_dnssec.rb
122
116
  - lib/dnsimple/client/domains_email_forwards.rb
@@ -136,6 +130,7 @@ files:
136
130
  - lib/dnsimple/client/vanity_name_servers.rb
137
131
  - lib/dnsimple/client/webhooks.rb
138
132
  - lib/dnsimple/client/zones.rb
133
+ - lib/dnsimple/client/zones_distributions.rb
139
134
  - lib/dnsimple/client/zones_records.rb
140
135
  - lib/dnsimple/default.rb
141
136
  - lib/dnsimple/error.rb
@@ -146,6 +141,8 @@ files:
146
141
  - lib/dnsimple/struct/account.rb
147
142
  - lib/dnsimple/struct/certificate.rb
148
143
  - lib/dnsimple/struct/certificate_bundle.rb
144
+ - lib/dnsimple/struct/certificate_purchase.rb
145
+ - lib/dnsimple/struct/certificate_renewal.rb
149
146
  - lib/dnsimple/struct/collaborator.rb
150
147
  - lib/dnsimple/struct/contact.rb
151
148
  - lib/dnsimple/struct/delegation_signer_record.rb
@@ -165,18 +162,21 @@ files:
165
162
  - lib/dnsimple/struct/template_record.rb
166
163
  - lib/dnsimple/struct/tld.rb
167
164
  - lib/dnsimple/struct/user.rb
165
+ - lib/dnsimple/struct/vanity_name_server.rb
168
166
  - lib/dnsimple/struct/webhook.rb
169
167
  - lib/dnsimple/struct/whoami.rb
170
168
  - lib/dnsimple/struct/whois_privacy.rb
169
+ - lib/dnsimple/struct/whois_privacy_renewal.rb
171
170
  - lib/dnsimple/struct/zone.rb
171
+ - lib/dnsimple/struct/zone_distribution.rb
172
172
  - lib/dnsimple/struct/zone_file.rb
173
173
  - lib/dnsimple/struct/zone_record.rb
174
174
  - lib/dnsimple/version.rb
175
175
  - spec/dnsimple/client/accounts_spec.rb
176
176
  - spec/dnsimple/client/certificates_spec.rb
177
177
  - spec/dnsimple/client/client_service_spec.rb
178
- - spec/dnsimple/client/collaborators_spec.rb
179
178
  - spec/dnsimple/client/contacts_spec.rb
179
+ - spec/dnsimple/client/domains_collaborators_spec.rb
180
180
  - spec/dnsimple/client/domains_delegation_signer_records_spec.rb
181
181
  - spec/dnsimple/client/domains_dnssec_spec.rb
182
182
  - spec/dnsimple/client/domains_email_forwards_spec.rb
@@ -196,6 +196,7 @@ files:
196
196
  - spec/dnsimple/client/tlds_spec.rb
197
197
  - spec/dnsimple/client/vanity_name_servers_spec.rb
198
198
  - spec/dnsimple/client/webhooks_spec.rb
199
+ - spec/dnsimple/client/zones_distributions_spec.rb
199
200
  - spec/dnsimple/client/zones_records_spec.rb
200
201
  - spec/dnsimple/client/zones_spec.rb
201
202
  - spec/dnsimple/client_spec.rb
@@ -210,11 +211,19 @@ files:
210
211
  - spec/fixtures.http/appliedServices/success.http
211
212
  - spec/fixtures.http/applyService/success.http
212
213
  - spec/fixtures.http/applyTemplate/success.http
214
+ - spec/fixtures.http/authorizeDomainTransferOut/success.http
213
215
  - spec/fixtures.http/badgateway.http
216
+ - spec/fixtures.http/cancelDomainTransfer/success.http
214
217
  - spec/fixtures.http/changeDomainDelegation/success.http
215
218
  - spec/fixtures.http/changeDomainDelegationFromVanity/success.http
216
219
  - spec/fixtures.http/changeDomainDelegationToVanity/success.http
217
220
  - spec/fixtures.http/checkDomain/success.http
221
+ - spec/fixtures.http/checkZoneDistribution/error.http
222
+ - spec/fixtures.http/checkZoneDistribution/failure.http
223
+ - spec/fixtures.http/checkZoneDistribution/success.http
224
+ - spec/fixtures.http/checkZoneRecordDistribution/error.http
225
+ - spec/fixtures.http/checkZoneRecordDistribution/failure.http
226
+ - spec/fixtures.http/checkZoneRecordDistribution/success.http
218
227
  - spec/fixtures.http/createContact/created.http
219
228
  - spec/fixtures.http/createDelegationSignerRecord/created.http
220
229
  - spec/fixtures.http/createDelegationSignerRecord/validation-error.http
@@ -254,6 +263,7 @@ files:
254
263
  - spec/fixtures.http/getDomainDelegation/success.http
255
264
  - spec/fixtures.http/getDomainPremiumPrice/failure.http
256
265
  - spec/fixtures.http/getDomainPremiumPrice/success.http
266
+ - spec/fixtures.http/getDomainTransfer/success.http
257
267
  - spec/fixtures.http/getEmailForward/success.http
258
268
  - spec/fixtures.http/getService/success.http
259
269
  - spec/fixtures.http/getTemplate/success.http
@@ -268,6 +278,8 @@ files:
268
278
  - spec/fixtures.http/getZoneFile/success.http
269
279
  - spec/fixtures.http/getZoneRecord/success.http
270
280
  - spec/fixtures.http/initiatePush/success.http
281
+ - spec/fixtures.http/issueLetsencryptCertificate/success.http
282
+ - spec/fixtures.http/issueRenewalLetsencryptCertificate/success.http
271
283
  - spec/fixtures.http/listAccounts/success-account.http
272
284
  - spec/fixtures.http/listAccounts/success-user.http
273
285
  - spec/fixtures.http/listCertificates/success.http
@@ -302,18 +314,22 @@ files:
302
314
  - spec/fixtures.http/pages-1of3.http
303
315
  - spec/fixtures.http/pages-2of3.http
304
316
  - spec/fixtures.http/pages-3of3.http
317
+ - spec/fixtures.http/purchaseLetsencryptCertificate/success.http
318
+ - spec/fixtures.http/purchaseRenewalLetsencryptCertificate/success.http
305
319
  - spec/fixtures.http/registerDomain/success.http
306
320
  - spec/fixtures.http/rejectPush/success.http
307
321
  - spec/fixtures.http/removeCollaborator/success.http
308
322
  - spec/fixtures.http/renewDomain/error-tooearly.http
309
323
  - spec/fixtures.http/renewDomain/success.http
324
+ - spec/fixtures.http/renewWhoisPrivacy/success.http
325
+ - spec/fixtures.http/renewWhoisPrivacy/whois-privacy-duplicated-order.http
326
+ - spec/fixtures.http/renewWhoisPrivacy/whois-privacy-not-found.http
310
327
  - spec/fixtures.http/resetDomainToken/success.http
311
328
  - spec/fixtures.http/response.http
312
329
  - spec/fixtures.http/success-with-malformed-json.http
313
330
  - spec/fixtures.http/transferDomain/error-indnsimple.http
314
331
  - spec/fixtures.http/transferDomain/error-missing-authcode.http
315
332
  - spec/fixtures.http/transferDomain/success.http
316
- - spec/fixtures.http/transferDomainOut/success.http
317
333
  - spec/fixtures.http/unapplyService/success.http
318
334
  - spec/fixtures.http/updateContact/success.http
319
335
  - spec/fixtures.http/updateTemplate/success.http
@@ -336,15 +352,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
336
352
  requirements:
337
353
  - - ">="
338
354
  - !ruby/object:Gem::Version
339
- version: '2.0'
355
+ version: '2.4'
340
356
  required_rubygems_version: !ruby/object:Gem::Requirement
341
357
  requirements:
342
358
  - - ">="
343
359
  - !ruby/object:Gem::Version
344
360
  version: '0'
345
361
  requirements: []
346
- rubyforge_project:
347
- rubygems_version: 2.6.10
362
+ rubygems_version: 3.1.2
348
363
  signing_key:
349
364
  specification_version: 4
350
365
  summary: The DNSimple API client for Ruby
@@ -352,8 +367,8 @@ test_files:
352
367
  - spec/dnsimple/client/accounts_spec.rb
353
368
  - spec/dnsimple/client/certificates_spec.rb
354
369
  - spec/dnsimple/client/client_service_spec.rb
355
- - spec/dnsimple/client/collaborators_spec.rb
356
370
  - spec/dnsimple/client/contacts_spec.rb
371
+ - spec/dnsimple/client/domains_collaborators_spec.rb
357
372
  - spec/dnsimple/client/domains_delegation_signer_records_spec.rb
358
373
  - spec/dnsimple/client/domains_dnssec_spec.rb
359
374
  - spec/dnsimple/client/domains_email_forwards_spec.rb
@@ -373,6 +388,7 @@ test_files:
373
388
  - spec/dnsimple/client/tlds_spec.rb
374
389
  - spec/dnsimple/client/vanity_name_servers_spec.rb
375
390
  - spec/dnsimple/client/webhooks_spec.rb
391
+ - spec/dnsimple/client/zones_distributions_spec.rb
376
392
  - spec/dnsimple/client/zones_records_spec.rb
377
393
  - spec/dnsimple/client/zones_spec.rb
378
394
  - spec/dnsimple/client_spec.rb
@@ -387,11 +403,19 @@ test_files:
387
403
  - spec/fixtures.http/appliedServices/success.http
388
404
  - spec/fixtures.http/applyService/success.http
389
405
  - spec/fixtures.http/applyTemplate/success.http
406
+ - spec/fixtures.http/authorizeDomainTransferOut/success.http
390
407
  - spec/fixtures.http/badgateway.http
408
+ - spec/fixtures.http/cancelDomainTransfer/success.http
391
409
  - spec/fixtures.http/changeDomainDelegation/success.http
392
410
  - spec/fixtures.http/changeDomainDelegationFromVanity/success.http
393
411
  - spec/fixtures.http/changeDomainDelegationToVanity/success.http
394
412
  - spec/fixtures.http/checkDomain/success.http
413
+ - spec/fixtures.http/checkZoneDistribution/error.http
414
+ - spec/fixtures.http/checkZoneDistribution/failure.http
415
+ - spec/fixtures.http/checkZoneDistribution/success.http
416
+ - spec/fixtures.http/checkZoneRecordDistribution/error.http
417
+ - spec/fixtures.http/checkZoneRecordDistribution/failure.http
418
+ - spec/fixtures.http/checkZoneRecordDistribution/success.http
395
419
  - spec/fixtures.http/createContact/created.http
396
420
  - spec/fixtures.http/createDelegationSignerRecord/created.http
397
421
  - spec/fixtures.http/createDelegationSignerRecord/validation-error.http
@@ -431,6 +455,7 @@ test_files:
431
455
  - spec/fixtures.http/getDomainDelegation/success.http
432
456
  - spec/fixtures.http/getDomainPremiumPrice/failure.http
433
457
  - spec/fixtures.http/getDomainPremiumPrice/success.http
458
+ - spec/fixtures.http/getDomainTransfer/success.http
434
459
  - spec/fixtures.http/getEmailForward/success.http
435
460
  - spec/fixtures.http/getService/success.http
436
461
  - spec/fixtures.http/getTemplate/success.http
@@ -445,6 +470,8 @@ test_files:
445
470
  - spec/fixtures.http/getZoneFile/success.http
446
471
  - spec/fixtures.http/getZoneRecord/success.http
447
472
  - spec/fixtures.http/initiatePush/success.http
473
+ - spec/fixtures.http/issueLetsencryptCertificate/success.http
474
+ - spec/fixtures.http/issueRenewalLetsencryptCertificate/success.http
448
475
  - spec/fixtures.http/listAccounts/success-account.http
449
476
  - spec/fixtures.http/listAccounts/success-user.http
450
477
  - spec/fixtures.http/listCertificates/success.http
@@ -479,18 +506,22 @@ test_files:
479
506
  - spec/fixtures.http/pages-1of3.http
480
507
  - spec/fixtures.http/pages-2of3.http
481
508
  - spec/fixtures.http/pages-3of3.http
509
+ - spec/fixtures.http/purchaseLetsencryptCertificate/success.http
510
+ - spec/fixtures.http/purchaseRenewalLetsencryptCertificate/success.http
482
511
  - spec/fixtures.http/registerDomain/success.http
483
512
  - spec/fixtures.http/rejectPush/success.http
484
513
  - spec/fixtures.http/removeCollaborator/success.http
485
514
  - spec/fixtures.http/renewDomain/error-tooearly.http
486
515
  - spec/fixtures.http/renewDomain/success.http
516
+ - spec/fixtures.http/renewWhoisPrivacy/success.http
517
+ - spec/fixtures.http/renewWhoisPrivacy/whois-privacy-duplicated-order.http
518
+ - spec/fixtures.http/renewWhoisPrivacy/whois-privacy-not-found.http
487
519
  - spec/fixtures.http/resetDomainToken/success.http
488
520
  - spec/fixtures.http/response.http
489
521
  - spec/fixtures.http/success-with-malformed-json.http
490
522
  - spec/fixtures.http/transferDomain/error-indnsimple.http
491
523
  - spec/fixtures.http/transferDomain/error-missing-authcode.http
492
524
  - spec/fixtures.http/transferDomain/success.http
493
- - spec/fixtures.http/transferDomainOut/success.http
494
525
  - spec/fixtures.http/unapplyService/success.http
495
526
  - spec/fixtures.http/updateContact/success.http
496
527
  - spec/fixtures.http/updateTemplate/success.http
@@ -1 +0,0 @@
1
- dnsimple-ruby