dslimple 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dslimple/record.rb +4 -2
- data/lib/dslimple/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1701e558aa2fed91d0b6c72af872774b72041f036bf02dd1068aa1709d5ccfd9
|
4
|
+
data.tar.gz: 04fed2502ce2e1b0075fdebafc3c56fd298b8a46ba4b231e7fa1f2e69e3ee887
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 910f9787ee627aad9b915e958e051d2e6d93cb5dd495d349631ffd2f535ea770720506dc9ed328522154a78d42d036eb83d57c6fbe86ea0d61d27b8b11aa9a46
|
7
|
+
data.tar.gz: 449186cae4d50e07048486daef865183f8efd808ec5b3f0f275ed501847a156e421083711459f8b39d24aba36d1c52beef9c05cbb97a60358264f3faabaf97b5
|
data/lib/dslimple/record.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'dslimple'
|
2
2
|
require 'dnsimple'
|
3
|
-
require 'dslimple'
|
4
3
|
|
5
4
|
class Dslimple::Record
|
6
5
|
RECORD_TYPES = %w[A ALIAS CNAME MX SPF URL TXT NS SRV NAPTR PTR AAAA SSHFP HINFO POOL CAA]
|
@@ -59,7 +58,7 @@ class Dslimple::Record
|
|
59
58
|
end
|
60
59
|
|
61
60
|
def to_params
|
62
|
-
{
|
61
|
+
params = {
|
63
62
|
id: @id,
|
64
63
|
name: name,
|
65
64
|
type: type.to_s.upcase,
|
@@ -68,6 +67,9 @@ class Dslimple::Record
|
|
68
67
|
priority: priority,
|
69
68
|
regions: regions,
|
70
69
|
}
|
70
|
+
params.delete(:regions)
|
71
|
+
|
72
|
+
params
|
71
73
|
end
|
72
74
|
|
73
75
|
private
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sho Kusano
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -132,7 +132,7 @@ homepage: https://github.com/zeny-io/dslimple
|
|
132
132
|
licenses:
|
133
133
|
- MIT
|
134
134
|
metadata: {}
|
135
|
-
post_install_message:
|
135
|
+
post_install_message:
|
136
136
|
rdoc_options: []
|
137
137
|
require_paths:
|
138
138
|
- lib
|
@@ -147,8 +147,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
|
-
rubygems_version: 3.
|
151
|
-
signing_key:
|
150
|
+
rubygems_version: 3.2.3
|
151
|
+
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: DSLimple is a tool to manage DNSimple.
|
154
154
|
test_files: []
|