1and1 1.1 → 1.2.0
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/.gitattributes +1 -0
- data/.travis.yml +28 -0
- data/1and1.gemspec +2 -2
- data/README.md +87 -14
- data/docs/reference.md +2595 -2446
- data/examples/block_storage_examples.rb +50 -0
- data/examples/ssh_key_examples.rb +38 -0
- data/lib/1and1/block_storage.rb +286 -0
- data/lib/1and1/image.rb +6 -2
- data/lib/1and1/recovery_appliance.rb +73 -0
- data/lib/1and1/server.rb +170 -102
- data/lib/1and1/ssh_keys.rb +227 -0
- data/lib/oneandone.rb +3 -0
- data/sphinx/recovery_appliances.rst +42 -0
- data/test/mock-api/attach-block-storage.json +18 -0
- data/test/mock-api/create-block-storage.json +14 -0
- data/test/mock-api/create-ssh-key.json +10 -0
- data/test/mock-api/delete-block-storage.json +18 -0
- data/test/mock-api/delete-ssh-key.json +13 -0
- data/test/mock-api/detach-block-storage.json +14 -0
- data/test/mock-api/get-block-storage.json +18 -0
- data/test/mock-api/get-recovery-appliance.json +13 -0
- data/test/mock-api/get-ssh-key.json +13 -0
- data/test/mock-api/list-block-storages.json +52 -0
- data/test/mock-api/list-recovery-appliances.json +58 -0
- data/test/mock-api/list-ssh-keys.json +28 -0
- data/test/mock-api/modify-block-storage.json +18 -0
- data/test/mock-api/modify-ssh-key.json +13 -0
- data/test/test_mock_block_storage.rb +167 -0
- data/test/test_mock_recovery_appliance.rb +55 -0
- data/test/test_mock_ssh_key.rb +118 -0
- metadata +36 -12
- data/1and1-1.0.gem +0 -0
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: 1and1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyler Burkhardt (stackpointcloud.com)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.44'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.44'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.8'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.8'
|
41
41
|
description: The 1&1 SDK for Ruby provides integration with the 1&1 cloud environment
|
@@ -45,13 +45,15 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- .
|
49
|
-
-
|
48
|
+
- ".gitattributes"
|
49
|
+
- ".gitignore"
|
50
|
+
- ".travis.yml"
|
50
51
|
- 1and1.gemspec
|
51
52
|
- Gemfile
|
52
53
|
- LICENSE
|
53
54
|
- README.md
|
54
55
|
- docs/reference.md
|
56
|
+
- examples/block_storage_examples.rb
|
55
57
|
- examples/dvd_examples.rb
|
56
58
|
- examples/example_app.rb
|
57
59
|
- examples/firewall_examples.rb
|
@@ -66,9 +68,11 @@ files:
|
|
66
68
|
- examples/server_appliance_examples.rb
|
67
69
|
- examples/server_examples.rb
|
68
70
|
- examples/shared_storage_examples.rb
|
71
|
+
- examples/ssh_key_examples.rb
|
69
72
|
- examples/usage_examples.rb
|
70
73
|
- examples/user_examples.rb
|
71
74
|
- examples/vpn_examples.rb
|
75
|
+
- lib/1and1/block_storage.rb
|
72
76
|
- lib/1and1/datacenter.rb
|
73
77
|
- lib/1and1/dvd.rb
|
74
78
|
- lib/1and1/firewall.rb
|
@@ -83,10 +87,12 @@ files:
|
|
83
87
|
- lib/1and1/pricing.rb
|
84
88
|
- lib/1and1/private_network.rb
|
85
89
|
- lib/1and1/public_ip.rb
|
90
|
+
- lib/1and1/recovery_appliance.rb
|
86
91
|
- lib/1and1/role.rb
|
87
92
|
- lib/1and1/server.rb
|
88
93
|
- lib/1and1/server_appliance.rb
|
89
94
|
- lib/1and1/shared_storage.rb
|
95
|
+
- lib/1and1/ssh_keys.rb
|
90
96
|
- lib/1and1/usage.rb
|
91
97
|
- lib/1and1/user.rb
|
92
98
|
- lib/1and1/vpn.rb
|
@@ -177,6 +183,7 @@ files:
|
|
177
183
|
- sphinx/monitoring_policies.rst
|
178
184
|
- sphinx/private_networks.rst
|
179
185
|
- sphinx/public_ips.rst
|
186
|
+
- sphinx/recovery_appliances.rst
|
180
187
|
- sphinx/server_appliances.rst
|
181
188
|
- sphinx/servers.rst
|
182
189
|
- sphinx/shared_storages.rst
|
@@ -195,12 +202,14 @@ files:
|
|
195
202
|
- test/mock-api/add-server-mp.json
|
196
203
|
- test/mock-api/assign-ip-fp.json
|
197
204
|
- test/mock-api/assign-server-lb.json
|
205
|
+
- test/mock-api/attach-block-storage.json
|
198
206
|
- test/mock-api/attach-server-pn.json
|
199
207
|
- test/mock-api/attach-server-storage.json
|
200
208
|
- test/mock-api/change-api-key.json
|
201
209
|
- test/mock-api/change-password.json
|
202
210
|
- test/mock-api/change-server-status.json
|
203
211
|
- test/mock-api/clone-server.json
|
212
|
+
- test/mock-api/create-block-storage.json
|
204
213
|
- test/mock-api/create-fp.json
|
205
214
|
- test/mock-api/create-image.json
|
206
215
|
- test/mock-api/create-lb.json
|
@@ -209,8 +218,10 @@ files:
|
|
209
218
|
- test/mock-api/create-public-ip.json
|
210
219
|
- test/mock-api/create-server.json
|
211
220
|
- test/mock-api/create-snapshot.json
|
221
|
+
- test/mock-api/create-ssh-key.json
|
212
222
|
- test/mock-api/create-storage.json
|
213
223
|
- test/mock-api/create-user.json
|
224
|
+
- test/mock-api/delete-block-storage.json
|
214
225
|
- test/mock-api/delete-fp.json
|
215
226
|
- test/mock-api/delete-image.json
|
216
227
|
- test/mock-api/delete-ip.json
|
@@ -221,8 +232,10 @@ files:
|
|
221
232
|
- test/mock-api/delete-rule-fp.json
|
222
233
|
- test/mock-api/delete-server.json
|
223
234
|
- test/mock-api/delete-snapshot.json
|
235
|
+
- test/mock-api/delete-ssh-key.json
|
224
236
|
- test/mock-api/delete-storage.json
|
225
237
|
- test/mock-api/delete-user.json
|
238
|
+
- test/mock-api/detach-block-storage.json
|
226
239
|
- test/mock-api/detach-server-lb.json
|
227
240
|
- test/mock-api/detach-server-mp.json
|
228
241
|
- test/mock-api/detach-server-storage.json
|
@@ -230,6 +243,7 @@ files:
|
|
230
243
|
- test/mock-api/eject-dvd.json
|
231
244
|
- test/mock-api/fixed-server-flavors.json
|
232
245
|
- test/mock-api/get-appliance.json
|
246
|
+
- test/mock-api/get-block-storage.json
|
233
247
|
- test/mock-api/get-dvd.json
|
234
248
|
- test/mock-api/get-firewall.json
|
235
249
|
- test/mock-api/get-fixed-server.json
|
@@ -249,6 +263,7 @@ files:
|
|
249
263
|
- test/mock-api/get-pn-server.json
|
250
264
|
- test/mock-api/get-private-network.json
|
251
265
|
- test/mock-api/get-public-ip.json
|
266
|
+
- test/mock-api/get-recovery-appliance.json
|
252
267
|
- test/mock-api/get-server-dvd.json
|
253
268
|
- test/mock-api/get-server-image.json
|
254
269
|
- test/mock-api/get-server-ip-fp.json
|
@@ -257,12 +272,14 @@ files:
|
|
257
272
|
- test/mock-api/get-server-status.json
|
258
273
|
- test/mock-api/get-server-storage.json
|
259
274
|
- test/mock-api/get-server.json
|
275
|
+
- test/mock-api/get-ssh-key.json
|
260
276
|
- test/mock-api/get-storage.json
|
261
277
|
- test/mock-api/get-usage.json
|
262
278
|
- test/mock-api/get-user-api-key.json
|
263
279
|
- test/mock-api/get-user-api.json
|
264
280
|
- test/mock-api/get-user.json
|
265
281
|
- test/mock-api/list-appliances.json
|
282
|
+
- test/mock-api/list-block-storages.json
|
266
283
|
- test/mock-api/list-credentials.json
|
267
284
|
- test/mock-api/list-dvds.json
|
268
285
|
- test/mock-api/list-firewalls.json
|
@@ -281,6 +298,7 @@ files:
|
|
281
298
|
- test/mock-api/list-pn-servers.json
|
282
299
|
- test/mock-api/list-private-networks.json
|
283
300
|
- test/mock-api/list-public-ips.json
|
301
|
+
- test/mock-api/list-recovery-appliances.json
|
284
302
|
- test/mock-api/list-server-fps.json
|
285
303
|
- test/mock-api/list-server-ips-fp.json
|
286
304
|
- test/mock-api/list-server-ips.json
|
@@ -288,11 +306,13 @@ files:
|
|
288
306
|
- test/mock-api/list-server-pns.json
|
289
307
|
- test/mock-api/list-servers.json
|
290
308
|
- test/mock-api/list-snapshots.json
|
309
|
+
- test/mock-api/list-ssh-keys.json
|
291
310
|
- test/mock-api/list-storages.json
|
292
311
|
- test/mock-api/list-usages.json
|
293
312
|
- test/mock-api/list-user-ips.json
|
294
313
|
- test/mock-api/list-users.json
|
295
314
|
- test/mock-api/load-dvd.json
|
315
|
+
- test/mock-api/modify-block-storage.json
|
296
316
|
- test/mock-api/modify-fp.json
|
297
317
|
- test/mock-api/modify-lb.json
|
298
318
|
- test/mock-api/modify-mp.json
|
@@ -303,6 +323,7 @@ files:
|
|
303
323
|
- test/mock-api/modify-server-hardware.json
|
304
324
|
- test/mock-api/modify-server-hdd.json
|
305
325
|
- test/mock-api/modify-server.json
|
326
|
+
- test/mock-api/modify-ssh-key.json
|
306
327
|
- test/mock-api/modify-storage.json
|
307
328
|
- test/mock-api/modify-user-api.json
|
308
329
|
- test/mock-api/modify-user.json
|
@@ -319,6 +340,7 @@ files:
|
|
319
340
|
- test/mock-api/remove-server-pn.json
|
320
341
|
- test/mock-api/restore-snapshot.json
|
321
342
|
- test/mock-api/storage-servers.json
|
343
|
+
- test/test_mock_block_storage.rb
|
322
344
|
- test/test_mock_dvd.rb
|
323
345
|
- test/test_mock_firewall.rb
|
324
346
|
- test/test_mock_image.rb
|
@@ -328,12 +350,14 @@ files:
|
|
328
350
|
- test/test_mock_monitoring_policy.rb
|
329
351
|
- test/test_mock_private_network.rb
|
330
352
|
- test/test_mock_public_ip.rb
|
353
|
+
- test/test_mock_recovery_appliance.rb
|
331
354
|
- test/test_mock_server.rb
|
332
355
|
- test/test_mock_server_appliance.rb
|
333
356
|
- test/test_mock_shared_storage.rb
|
357
|
+
- test/test_mock_ssh_key.rb
|
334
358
|
- test/test_mock_usage.rb
|
335
359
|
- test/test_mock_user.rb
|
336
|
-
homepage: https://github.com/
|
360
|
+
homepage: https://github.com/1and1/oneandone-cloudserver-sdk-ruby
|
337
361
|
licenses:
|
338
362
|
- Apache 2.0
|
339
363
|
metadata: {}
|
@@ -343,17 +367,17 @@ require_paths:
|
|
343
367
|
- lib
|
344
368
|
required_ruby_version: !ruby/object:Gem::Requirement
|
345
369
|
requirements:
|
346
|
-
- -
|
370
|
+
- - ">="
|
347
371
|
- !ruby/object:Gem::Version
|
348
372
|
version: '0'
|
349
373
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
350
374
|
requirements:
|
351
|
-
- -
|
375
|
+
- - ">="
|
352
376
|
- !ruby/object:Gem::Version
|
353
377
|
version: '0'
|
354
378
|
requirements: []
|
355
379
|
rubyforge_project:
|
356
|
-
rubygems_version: 2.
|
380
|
+
rubygems_version: 2.6.12
|
357
381
|
signing_key:
|
358
382
|
specification_version: 4
|
359
383
|
summary: Official 1&1 SDK for Ruby
|
data/1and1-1.0.gem
DELETED
Binary file
|