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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6e1796e235211700e0fa241c3cc92e2c2e7d10de71b8bd3e23e2294c7288300
4
- data.tar.gz: 6df994fe5bf2140b0c9bc16942275508fbd8f1f5b76eca4c0816ec3c970dd57d
3
+ metadata.gz: 1701e558aa2fed91d0b6c72af872774b72041f036bf02dd1068aa1709d5ccfd9
4
+ data.tar.gz: 04fed2502ce2e1b0075fdebafc3c56fd298b8a46ba4b231e7fa1f2e69e3ee887
5
5
  SHA512:
6
- metadata.gz: 0e77542d93e1fda04cbeba8e7e54e981bf01f1c16ac443824d4d2c0933083d23ff0443c2594eece179296c815a9d5f007cd6626a9a21adab2cf760ca37ad8fd2
7
- data.tar.gz: 12d4aaa4d256b1894194d8122b1d3770c73fd868986c71f8726a1f93f89ae8e453f1658bdf7b20a2e7b0de85908047bc1d87bfeed3c8204c529c67769114f420
6
+ metadata.gz: 910f9787ee627aad9b915e958e051d2e6d93cb5dd495d349631ffd2f535ea770720506dc9ed328522154a78d42d036eb83d57c6fbe86ea0d61d27b8b11aa9a46
7
+ data.tar.gz: 449186cae4d50e07048486daef865183f8efd808ec5b3f0f275ed501847a156e421083711459f8b39d24aba36d1c52beef9c05cbb97a60358264f3faabaf97b5
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Dslimple
2
- VERSION = '2.0.5'.freeze
2
+ VERSION = '2.0.6'.freeze
3
3
  end
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.5
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: 2019-08-18 00:00:00.000000000 Z
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.0.2
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: []