dslimple 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dslimple/client.rb +3 -2
- data/lib/dslimple/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76fd44602ed610b20a5e3ef82bb894729699459954fc2b04a90b19212ba69bc2
|
4
|
+
data.tar.gz: 98e8ed71b3baaa2b045b04dbe11f5f56135b2697b73339a3201381a9a3428817
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2552106afd4c2c9b7737d63c60757f379e6d83f8232eb6c159e4421d39887e96aef586dd1388d377a645cf95550f7280ce780de2a5164457cdec2096ef4a167b
|
7
|
+
data.tar.gz: 6a6aa968a3c0884164a271de40dcf397b5324a20199d714f9b4511c05214975d1c7fa7b6c58dfd24c31ffaf514af1a9df3923f8fba1ee8b5f857f316b7334260
|
data/lib/dslimple/client.rb
CHANGED
@@ -46,13 +46,14 @@ class Dslimple::Client < Dnsimple::Client
|
|
46
46
|
end
|
47
47
|
|
48
48
|
def all_records(zone)
|
49
|
-
|
49
|
+
zone = zone.name if zone.is_a?(Dslimple::Zone)
|
50
|
+
response = zones.list_zone_records(account_id, zone)
|
50
51
|
|
51
52
|
records = []
|
52
53
|
while response
|
53
54
|
records = records + response.data.map do |record|
|
54
55
|
record = Dslimple::Record.new(record)
|
55
|
-
record.zone = zone
|
56
|
+
record.zone = zone
|
56
57
|
record
|
57
58
|
end
|
58
59
|
|
data/lib/dslimple/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dslimple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sho Kusano
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|