dnsmadeeasy 0.3.2 → 0.3.5
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.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -0
- data/.rubocop_todo.yml +174 -0
- data/.travis.yml +8 -4
- data/Gemfile +2 -0
- data/README.md +133 -31
- data/Rakefile +8 -7
- data/bin/console +1 -0
- data/dnsmadeeasy.gemspec +42 -28
- data/exe/dme +1 -3
- data/lib/dme.rb +9 -5
- data/lib/dnsmadeeasy.rb +18 -8
- data/lib/dnsmadeeasy/api/client.rb +86 -49
- data/lib/dnsmadeeasy/credentials.rb +4 -4
- data/lib/dnsmadeeasy/credentials/api_keys.rb +7 -5
- data/lib/dnsmadeeasy/credentials/yaml_file.rb +16 -9
- data/lib/dnsmadeeasy/dme.rb +2 -4
- data/lib/dnsmadeeasy/runner.rb +119 -104
- data/lib/dnsmadeeasy/version.rb +3 -1
- metadata +74 -34
data/lib/dnsmadeeasy/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dnsmadeeasy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Konstantin Gredeskoul
|
|
@@ -9,13 +9,14 @@ authors:
|
|
|
9
9
|
- Paul Henry
|
|
10
10
|
- James Hart
|
|
11
11
|
- Phil Cohen
|
|
12
|
+
- Praneeth Are
|
|
12
13
|
autorequire:
|
|
13
14
|
bindir: exe
|
|
14
15
|
cert_chain: []
|
|
15
|
-
date:
|
|
16
|
+
date: 2019-12-04 00:00:00.000000000 Z
|
|
16
17
|
dependencies:
|
|
17
18
|
- !ruby/object:Gem::Dependency
|
|
18
|
-
name:
|
|
19
|
+
name: awesome_print
|
|
19
20
|
requirement: !ruby/object:Gem::Requirement
|
|
20
21
|
requirements:
|
|
21
22
|
- - ">="
|
|
@@ -29,7 +30,7 @@ dependencies:
|
|
|
29
30
|
- !ruby/object:Gem::Version
|
|
30
31
|
version: '0'
|
|
31
32
|
- !ruby/object:Gem::Dependency
|
|
32
|
-
name:
|
|
33
|
+
name: colored2
|
|
33
34
|
requirement: !ruby/object:Gem::Requirement
|
|
34
35
|
requirements:
|
|
35
36
|
- - ">="
|
|
@@ -43,7 +44,7 @@ dependencies:
|
|
|
43
44
|
- !ruby/object:Gem::Version
|
|
44
45
|
version: '0'
|
|
45
46
|
- !ruby/object:Gem::Dependency
|
|
46
|
-
name:
|
|
47
|
+
name: hashie
|
|
47
48
|
requirement: !ruby/object:Gem::Requirement
|
|
48
49
|
requirements:
|
|
49
50
|
- - ">="
|
|
@@ -57,7 +58,7 @@ dependencies:
|
|
|
57
58
|
- !ruby/object:Gem::Version
|
|
58
59
|
version: '0'
|
|
59
60
|
- !ruby/object:Gem::Dependency
|
|
60
|
-
name:
|
|
61
|
+
name: sym
|
|
61
62
|
requirement: !ruby/object:Gem::Requirement
|
|
62
63
|
requirements:
|
|
63
64
|
- - ">="
|
|
@@ -71,7 +72,7 @@ dependencies:
|
|
|
71
72
|
- !ruby/object:Gem::Version
|
|
72
73
|
version: '0'
|
|
73
74
|
- !ruby/object:Gem::Dependency
|
|
74
|
-
name:
|
|
75
|
+
name: bundler
|
|
75
76
|
requirement: !ruby/object:Gem::Requirement
|
|
76
77
|
requirements:
|
|
77
78
|
- - ">="
|
|
@@ -85,7 +86,7 @@ dependencies:
|
|
|
85
86
|
- !ruby/object:Gem::Version
|
|
86
87
|
version: '0'
|
|
87
88
|
- !ruby/object:Gem::Dependency
|
|
88
|
-
name:
|
|
89
|
+
name: rake
|
|
89
90
|
requirement: !ruby/object:Gem::Requirement
|
|
90
91
|
requirements:
|
|
91
92
|
- - ">="
|
|
@@ -99,7 +100,7 @@ dependencies:
|
|
|
99
100
|
- !ruby/object:Gem::Version
|
|
100
101
|
version: '0'
|
|
101
102
|
- !ruby/object:Gem::Dependency
|
|
102
|
-
name:
|
|
103
|
+
name: relaxed-rubocop
|
|
103
104
|
requirement: !ruby/object:Gem::Requirement
|
|
104
105
|
requirements:
|
|
105
106
|
- - ">="
|
|
@@ -113,7 +114,7 @@ dependencies:
|
|
|
113
114
|
- !ruby/object:Gem::Version
|
|
114
115
|
version: '0'
|
|
115
116
|
- !ruby/object:Gem::Dependency
|
|
116
|
-
name:
|
|
117
|
+
name: rspec
|
|
117
118
|
requirement: !ruby/object:Gem::Requirement
|
|
118
119
|
requirements:
|
|
119
120
|
- - ">="
|
|
@@ -127,7 +128,7 @@ dependencies:
|
|
|
127
128
|
- !ruby/object:Gem::Version
|
|
128
129
|
version: '0'
|
|
129
130
|
- !ruby/object:Gem::Dependency
|
|
130
|
-
name:
|
|
131
|
+
name: rspec-its
|
|
131
132
|
requirement: !ruby/object:Gem::Requirement
|
|
132
133
|
requirements:
|
|
133
134
|
- - ">="
|
|
@@ -141,7 +142,7 @@ dependencies:
|
|
|
141
142
|
- !ruby/object:Gem::Version
|
|
142
143
|
version: '0'
|
|
143
144
|
- !ruby/object:Gem::Dependency
|
|
144
|
-
name:
|
|
145
|
+
name: rubocop
|
|
145
146
|
requirement: !ruby/object:Gem::Requirement
|
|
146
147
|
requirements:
|
|
147
148
|
- - ">="
|
|
@@ -155,7 +156,7 @@ dependencies:
|
|
|
155
156
|
- !ruby/object:Gem::Version
|
|
156
157
|
version: '0'
|
|
157
158
|
- !ruby/object:Gem::Dependency
|
|
158
|
-
name:
|
|
159
|
+
name: simplecov
|
|
159
160
|
requirement: !ruby/object:Gem::Requirement
|
|
160
161
|
requirements:
|
|
161
162
|
- - ">="
|
|
@@ -169,7 +170,21 @@ dependencies:
|
|
|
169
170
|
- !ruby/object:Gem::Version
|
|
170
171
|
version: '0'
|
|
171
172
|
- !ruby/object:Gem::Dependency
|
|
172
|
-
name:
|
|
173
|
+
name: webmock
|
|
174
|
+
requirement: !ruby/object:Gem::Requirement
|
|
175
|
+
requirements:
|
|
176
|
+
- - ">="
|
|
177
|
+
- !ruby/object:Gem::Version
|
|
178
|
+
version: '0'
|
|
179
|
+
type: :development
|
|
180
|
+
prerelease: false
|
|
181
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
182
|
+
requirements:
|
|
183
|
+
- - ">="
|
|
184
|
+
- !ruby/object:Gem::Version
|
|
185
|
+
version: '0'
|
|
186
|
+
- !ruby/object:Gem::Dependency
|
|
187
|
+
name: yard
|
|
173
188
|
requirement: !ruby/object:Gem::Requirement
|
|
174
189
|
requirements:
|
|
175
190
|
- - ">="
|
|
@@ -182,12 +197,26 @@ dependencies:
|
|
|
182
197
|
- - ">="
|
|
183
198
|
- !ruby/object:Gem::Version
|
|
184
199
|
version: '0'
|
|
185
|
-
description:
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
200
|
+
description: |
|
|
201
|
+
This is an authoratative and fully-featured API client for the DNS Provider "DnsMadeEasy.com".
|
|
202
|
+
|
|
203
|
+
This library offers both a rich Ruby API that you can use to automate DNS record management, as well
|
|
204
|
+
as a rich CLI interface with the command line executable "dme" installed when you install the gem.
|
|
205
|
+
The gem additionally supports storing credentials in the ~/.dnsmadeeasy/credentials.yml
|
|
206
|
+
file, supports multiple accounts, encryption, and more.
|
|
207
|
+
|
|
208
|
+
If you are using Chef consider using the "dnsmadeeasy" Chef Cookbook, while uses this gem behind
|
|
209
|
+
the scenes: https://supermarket.chef.io/cookbooks/dnsmadeeasy<br />
|
|
210
|
+
|
|
211
|
+
ACKNOWLEDGEMENTS:
|
|
212
|
+
|
|
213
|
+
1. This gem is based on the original work contributed by Wanelo.com to the
|
|
214
|
+
now abandonded "dnsmadeeasy-rest-api" client.
|
|
215
|
+
|
|
216
|
+
2. We also wish to thank the gem author Phil Cohen who
|
|
217
|
+
kindly yielded the "dnsmadeeasy" RubyGems namespace to this gem.
|
|
218
|
+
|
|
219
|
+
3. We also thank Praneeth Are for contributing the support for secondary domains in 0.3.5.
|
|
191
220
|
email:
|
|
192
221
|
- kigster@gmail.com
|
|
193
222
|
- letuboy@gmail.com
|
|
@@ -200,6 +229,8 @@ files:
|
|
|
200
229
|
- ".codeclimate.yml"
|
|
201
230
|
- ".gitignore"
|
|
202
231
|
- ".rspec"
|
|
232
|
+
- ".rubocop.yml"
|
|
233
|
+
- ".rubocop_todo.yml"
|
|
203
234
|
- ".travis.yml"
|
|
204
235
|
- Gemfile
|
|
205
236
|
- LICENSE.txt
|
|
@@ -222,12 +253,16 @@ homepage: https://github.com/kigster/dnsmadeeasy
|
|
|
222
253
|
licenses:
|
|
223
254
|
- MIT
|
|
224
255
|
metadata: {}
|
|
225
|
-
post_install_message:
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
256
|
+
post_install_message: |
|
|
257
|
+
Thank you for using the DnsMadeEasy ruby gem, the Ruby client
|
|
258
|
+
API for DnsMadeEasy.com's SDK v2. Please note that this gem
|
|
259
|
+
comes with a rich command line utility 'dme' which you can use
|
|
260
|
+
instead of the ruby API if you prefer. Run `dme` with no
|
|
261
|
+
arguments to see the help message.
|
|
262
|
+
|
|
263
|
+
You can also store (multi-account) credentials in a YAML file in
|
|
264
|
+
your home directory. For more information, please see README at:
|
|
265
|
+
https://github.com/kigster/dnsmadeeasy
|
|
231
266
|
rdoc_options: []
|
|
232
267
|
require_paths:
|
|
233
268
|
- lib
|
|
@@ -242,14 +277,19 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
242
277
|
- !ruby/object:Gem::Version
|
|
243
278
|
version: '0'
|
|
244
279
|
requirements: []
|
|
245
|
-
|
|
246
|
-
rubygems_version: 2.7.3
|
|
280
|
+
rubygems_version: 3.0.6
|
|
247
281
|
signing_key:
|
|
248
282
|
specification_version: 4
|
|
249
|
-
summary: This is
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
283
|
+
summary: 'This is an authoratative and fully-featured API client for the DNS Provider
|
|
284
|
+
"DnsMadeEasy.com". This library offers both a rich Ruby API that you can use to
|
|
285
|
+
automate DNS record management, as well as a rich CLI interface with the command
|
|
286
|
+
line executable "dme" installed when you install the gem. The gem additionally supports
|
|
287
|
+
storing credentials in the ~/.dnsmadeeasy/credentials.yml file, supports multiple
|
|
288
|
+
accounts, encryption, and more. If you are using Chef consider using the "dnsmadeeasy"
|
|
289
|
+
Chef Cookbook, while uses this gem behind the scenes: https://supermarket.chef.io/cookbooks/dnsmadeeasy<br
|
|
290
|
+
/> ACKNOWLEDGEMENTS: 1. This gem is based on the original work contributed by
|
|
291
|
+
Wanelo.com to the now abandonded "dnsmadeeasy-rest-api" client. 2. We also wish
|
|
292
|
+
to thank the gem author Phil Cohen who kindly yielded the "dnsmadeeasy" RubyGems
|
|
293
|
+
namespace to this gem. 3. We also thank Praneeth Are for contributing the support
|
|
294
|
+
for secondary domains in 0.3.5.'
|
|
255
295
|
test_files: []
|