dnsimple 8.7.0 → 8.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71cf40738100b3388caeebb75622d78d73a3b1810711cfd9099b3f5fb97fbd43
4
- data.tar.gz: 812bb20d76f731d08065dfa7703fd77a41e56cd9078f5a8f7c431f36df7d6a7d
3
+ metadata.gz: 9cce6708be83ba43b6fdf2a1ce120b7b28fda094be88b6ef343d2abcb99ae1d3
4
+ data.tar.gz: ea60f222bb97f0f3a6c699aea0ba46bb0cf5be9dec717cbf39b7cc8f2969dea7
5
5
  SHA512:
6
- metadata.gz: fda1515e6b1d10f098f86c951d6f3d20af9bbbea762b062dd01ab4ebfa90f313c2fcf63718e93b016df05518101653edbb9d7cf0cd28e2d0870106ef9ee07e05
7
- data.tar.gz: bfad72709061c258c83829366b7aa4fa5758fb3765eac93cc58748c737f644f8d4e35981d33d76104e6b4126f9b6ecb5cf28ea091b95c6e048f0fdbd8ac4738b
6
+ metadata.gz: 948abbbf7c8a1da2fa915228d1d21edeb11405956e1a281b607c5d1ba54c919bae996e287dc3ef3748c4a81478bdd4e3c408dc47e939f9b4e28396de5ea3a7fb
7
+ data.tar.gz: 3ad4039b036f5e817ea4fdb15e4c7fc2908ac8935c01dd9130b3fefb6727aa020372f1fdd523a82181c07751415a91a2aee683b78193e754075f9b730ac6391d
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ This project uses [Semantic Versioning 2.0.0](http://semver.org/).
4
4
 
5
5
  ## main
6
6
 
7
+ ## 8.7.1
8
+
9
+ ENHANCEMENTS:
10
+
11
+ - NEW: Added `#secondary`, `#last_transferred_at`, `#active` to `Dnsimple::Struct::Zone` (dnsimple/dnsimple-ruby)
12
+
7
13
  ## 8.7.0
8
14
 
9
15
  FEATURES:
data/Gemfile CHANGED
@@ -5,7 +5,7 @@ source 'https://rubygems.org'
5
5
  gemspec
6
6
 
7
7
  gem 'coveralls', require: false
8
- gem 'rubocop', '1.57.1', require: false
8
+ gem 'rubocop', '1.57.2', require: false
9
9
  gem 'rubocop-performance', '1.19.1', require: false
10
10
  gem 'rubocop-rake', '0.6.0', require: false
11
- gem 'rubocop-rspec', '2.24.1', require: false
11
+ gem 'rubocop-rspec', '2.25.0', require: false
@@ -16,6 +16,15 @@ module Dnsimple
16
16
  # @return [Boolean] True if the zone is a reverse zone.
17
17
  attr_accessor :reverse
18
18
 
19
+ # @return [Boolean] True if the zone is a secondary zone.
20
+ attr_accessor :secondary
21
+
22
+ # @return [String] When the zone was last transferred from another provider.
23
+ attr_accessor :last_transferred_at
24
+
25
+ # @return [Boolean] True if DNS services are active for the zone. False when DNS services are disabled and DNS records will not be resolved
26
+ attr_accessor :active
27
+
19
28
  # @return [String] When the zone was created in DNSimple.
20
29
  attr_accessor :created_at
21
30
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dnsimple
4
- VERSION = "8.7.0"
4
+ VERSION = "8.7.1"
5
5
  end
@@ -120,6 +120,9 @@ describe Dnsimple::Client, ".zones" do
120
120
  expect(result.account_id).to eq(1010)
121
121
  expect(result.name).to eq("example-alpha.com")
122
122
  expect(result.reverse).to be(false)
123
+ expect(result.secondary).to be(false)
124
+ expect(result.last_transferred_at).to be_nil
125
+ expect(result.active).to be(true)
123
126
  expect(result.created_at).to eq("2015-04-23T07:40:03Z")
124
127
  expect(result.updated_at).to eq("2015-04-23T07:40:03Z")
125
128
  end
@@ -197,6 +200,7 @@ describe Dnsimple::Client, ".zones" do
197
200
  expect(result.account_id).to eq(1010)
198
201
  expect(result.name).to eq("example.com")
199
202
  expect(result.reverse).to be(false)
203
+ expect(result.active).to be(true)
200
204
  expect(result.created_at).to eq("2022-09-28T04:45:24Z")
201
205
  expect(result.updated_at).to eq("2023-07-06T11:19:48Z")
202
206
  end
@@ -238,6 +242,7 @@ describe Dnsimple::Client, ".zones" do
238
242
  expect(result.account_id).to eq(1010)
239
243
  expect(result.name).to eq("example.com")
240
244
  expect(result.reverse).to be(false)
245
+ expect(result.active).to be(false)
241
246
  expect(result.created_at).to eq("2022-09-28T04:45:24Z")
242
247
  expect(result.updated_at).to eq("2023-08-08T04:19:52Z")
243
248
  end
@@ -13,4 +13,4 @@ X-Request-Id: 93182033-a215-484e-a107-5235fa48001c
13
13
  X-Runtime: 0.177942
14
14
  Strict-Transport-Security: max-age=31536000
15
15
 
16
- {"data":{"id":1,"account_id":1010,"name":"example-alpha.com","reverse":false,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"}}
16
+ {"data":{"id":1,"account_id":1010,"name":"example-alpha.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":true,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"}}
@@ -13,4 +13,4 @@ X-Request-Id: 01be9fa5-3a00-4d51-a927-f17587cb67ec
13
13
  X-Runtime: 0.037083
14
14
  Strict-Transport-Security: max-age=31536000
15
15
 
16
- {"data":[{"id":1,"account_id":1010,"name":"example-alpha.com","reverse":false,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"},{"id":2,"account_id":1010,"name":"example-beta.com","reverse":true,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}}
16
+ {"data":[{"id":1,"account_id":1010,"name":"example-alpha.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":true,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"},{"id":2,"account_id":1010,"name":"example-beta.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":true,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}}
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: 8.7.0
4
+ version: 8.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - DNSimple
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-03 00:00:00.000000000 Z
11
+ date: 2023-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty