fog-digitalocean 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -2
  3. data/README.md +1 -2
  4. data/lib/fog/bin/digitalocean.rb +30 -0
  5. data/lib/fog/digitalocean/compute.rb +27 -15
  6. data/lib/fog/digitalocean/models/compute/volume.rb +15 -0
  7. data/lib/fog/digitalocean/models/compute/volumes.rb +42 -0
  8. data/lib/fog/digitalocean/requests/compute/attach_volume.rb +122 -0
  9. data/lib/fog/digitalocean/requests/compute/create_server.rb +2 -0
  10. data/lib/fog/digitalocean/requests/compute/create_volume.rb +50 -0
  11. data/lib/fog/digitalocean/requests/compute/destroy_volume.rb +32 -0
  12. data/lib/fog/digitalocean/requests/compute/detach_volume.rb +121 -0
  13. data/lib/fog/digitalocean/requests/compute/get_image_details.rb +1 -1
  14. data/lib/fog/digitalocean/requests/compute/get_volume_details.rb +60 -0
  15. data/lib/fog/digitalocean/requests/compute/list_volume_actions.rb +64 -0
  16. data/lib/fog/digitalocean/requests/compute/list_volumes.rb +64 -0
  17. data/lib/fog/digitalocean/requests/compute/resize_volume.rb +65 -0
  18. data/lib/fog/digitalocean/version.rb +1 -1
  19. data/tests/digitalocean/requests/compute/attach_volume_tests.rb +10 -0
  20. data/tests/digitalocean/requests/compute/create_volume_tests.rb +10 -0
  21. data/tests/digitalocean/requests/{compute_v2 → compute}/list_ssh_keys_tests.rb +2 -2
  22. data/tests/digitalocean/requests/compute/list_volumes_tests.rb +23 -0
  23. metadata +21 -136
  24. data/benchs/each_provider.sh +0 -6
  25. data/benchs/each_service.sh +0 -6
  26. data/benchs/fog_vs.rb +0 -106
  27. data/benchs/load_times.rb +0 -37
  28. data/benchs/params.rb +0 -43
  29. data/benchs/parse_vs_push.rb +0 -67
  30. data/spec/fog/account_spec.rb +0 -14
  31. data/spec/fog/billing_spec.rb +0 -14
  32. data/spec/fog/bin/atmos_spec.rb +0 -33
  33. data/spec/fog/bin/aws_spec.rb +0 -98
  34. data/spec/fog/bin/baremetalcloud_spec.rb +0 -33
  35. data/spec/fog/bin/bluebox_spec.rb +0 -55
  36. data/spec/fog/bin/brightbox_spec.rb +0 -30
  37. data/spec/fog/bin/clodo_spec.rb +0 -9
  38. data/spec/fog/bin/cloudsigma_spec.rb +0 -9
  39. data/spec/fog/bin/cloudstack_spec.rb +0 -9
  40. data/spec/fog/bin/digitalocean_spec.rb +0 -9
  41. data/spec/fog/bin/dnsimple_spec.rb +0 -9
  42. data/spec/fog/bin/dnsmadeeasy_spec.rb +0 -9
  43. data/spec/fog/bin/dreamhost_spec.rb +0 -9
  44. data/spec/fog/bin/dynect_spec.rb +0 -9
  45. data/spec/fog/bin/ecloud_spec.rb +0 -10
  46. data/spec/fog/bin/fogdocker_spec.rb +0 -10
  47. data/spec/fog/bin/glesys_spec.rb +0 -10
  48. data/spec/fog/bin/gogrid_spec.rb +0 -10
  49. data/spec/fog/bin/google_spec.rb +0 -10
  50. data/spec/fog/bin/ibm_spec.rb +0 -10
  51. data/spec/fog/bin/internetarchive_spec.rb +0 -10
  52. data/spec/fog/bin/joyent_spec.rb +0 -10
  53. data/spec/fog/bin/linode_spec.rb +0 -10
  54. data/spec/fog/bin/local_spec.rb +0 -10
  55. data/spec/fog/bin/ninefold_spec.rb +0 -10
  56. data/spec/fog/bin/opennebula_spec.rb +0 -10
  57. data/spec/fog/bin/openstack_spec.rb +0 -10
  58. data/spec/fog/bin/openvz_spec.rb +0 -10
  59. data/spec/fog/bin/ovirt_spec.rb +0 -10
  60. data/spec/fog/bin/powerdns_spec.rb +0 -9
  61. data/spec/fog/bin/profitbricks_spec.rb +0 -10
  62. data/spec/fog/bin/rackspace_spec.rb +0 -10
  63. data/spec/fog/bin/rage4_spec.rb +0 -10
  64. data/spec/fog/bin/riakcs_spec.rb +0 -10
  65. data/spec/fog/bin/sakuracloud_spec.rb +0 -10
  66. data/spec/fog/bin/serverlove_spec.rb +0 -10
  67. data/spec/fog/bin/softlayer_spec.rb +0 -10
  68. data/spec/fog/bin/stormondemand_spec.rb +0 -10
  69. data/spec/fog/bin/vcloud_spec.rb +0 -10
  70. data/spec/fog/bin/vclouddirector_spec.rb +0 -10
  71. data/spec/fog/bin/vmfusion_spec.rb +0 -10
  72. data/spec/fog/bin/voxel_spec.rb +0 -10
  73. data/spec/fog/bin/vsphere_spec.rb +0 -10
  74. data/spec/fog/bin/xenserver_spec.rb +0 -10
  75. data/spec/fog/bin/zerigo_spec.rb +0 -10
  76. data/spec/fog/bin_spec.rb +0 -161
  77. data/spec/fog/cdn_spec.rb +0 -14
  78. data/spec/fog/compute_spec.rb +0 -19
  79. data/spec/fog/dns_spec.rb +0 -19
  80. data/spec/fog/identity_spec.rb +0 -14
  81. data/spec/fog/image_spec.rb +0 -14
  82. data/spec/fog/metering_spec.rb +0 -14
  83. data/spec/fog/monitoring_spec.rb +0 -14
  84. data/spec/fog/network_spec.rb +0 -14
  85. data/spec/fog/orchestration_spec.rb +0 -14
  86. data/spec/fog/storage_spec.rb +0 -14
  87. data/spec/fog/support_spec.rb +0 -14
  88. data/spec/fog/volume_spec.rb +0 -14
  89. data/spec/fog/vpn_spec.rb +0 -14
  90. data/spec/fog/xml/connection_spec.rb +0 -33
  91. data/spec/helpers/bin.rb +0 -34
  92. data/spec/spec_helper.rb +0 -18
@@ -13,7 +13,7 @@ module Fog
13
13
 
14
14
  # noinspection RubyStringKeysInHashInspection
15
15
  class Mock
16
- def get_server_details(_)
16
+ def get_image_details(_)
17
17
  response = Excon::Response.new
18
18
  response.status = 200
19
19
 
@@ -0,0 +1,60 @@
1
+ module Fog
2
+ module Compute
3
+ class DigitalOcean
4
+ class Real
5
+ def get_volume_details(volume_id)
6
+ request(
7
+ :expects => [200],
8
+ :method => 'GET',
9
+ :path => "/v2/volumes/#{volume_id}"
10
+ )
11
+ end
12
+ end
13
+
14
+ # noinspection RubyStringKeysInHashInspection
15
+ class Mock
16
+ def get_volume_details(_)
17
+ response = Excon::Response.new
18
+ response.status = 200
19
+
20
+ response.body = {
21
+ 'volume' => {
22
+ "id" => "v4-e098-11e5-ad9f-000f53306ae1",
23
+ "region" => {
24
+ "name" => "New York 1",
25
+ "slug" => "nyc1",
26
+ "sizes" => [
27
+ "512mb",
28
+ "1gb",
29
+ "2gb",
30
+ "4gb",
31
+ "8gb",
32
+ "16gb",
33
+ "32gb",
34
+ "48gb",
35
+ "64gb"
36
+ ],
37
+ "features" => [
38
+ "private_networking",
39
+ "backups",
40
+ "ipv6",
41
+ "metadata"
42
+ ],
43
+ "available" => true
44
+ },
45
+ "droplet_ids" => [
46
+
47
+ ],
48
+ "name" => "example",
49
+ "description" => "Block store for examples",
50
+ "size_gigabytes" => 10,
51
+ "created_at" => "2016-03-02T17:00:49Z"
52
+ }
53
+ }
54
+
55
+ response
56
+ end
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,64 @@
1
+ module Fog
2
+ module Compute
3
+ class DigitalOcean
4
+ class Real
5
+ def list_volume_actions(id)
6
+ request(
7
+ :expects => [200],
8
+ :method => 'GET',
9
+ :path => "v2/volumes/#{id}/actions",
10
+ )
11
+ end
12
+ end
13
+
14
+ class Mock
15
+ def list_volume_actions(id)
16
+ response = Excon::Response.new
17
+ response.status = 201
18
+ response.body = {
19
+ "actions" => [
20
+ {
21
+ "id" => 72531856,
22
+ "status" => "completed",
23
+ "type" => "attach_volume",
24
+ "started_at" => "2015-11-21T21:51:09Z",
25
+ "completed_at" => "2015-11-21T21:51:09Z",
26
+ "resource_id" => null,
27
+ "resource_type" => "volume",
28
+ "region" => {
29
+ "name" => "New York 1",
30
+ "slug" => "nyc1",
31
+ "sizes" => [
32
+ "512mb",
33
+ "1gb",
34
+ "2gb",
35
+ "4gb",
36
+ "8gb",
37
+ "16gb",
38
+ "32gb",
39
+ "48gb",
40
+ "64gb"
41
+ ],
42
+ "features" => [
43
+ "private_networking",
44
+ "backups",
45
+ "ipv6",
46
+ "metadata"
47
+ ],
48
+ "available" => true
49
+ },
50
+ "region_slug" => "nyc1"
51
+ }
52
+ ],
53
+ "links" => {
54
+ },
55
+ "meta" => {
56
+ "total" => 1
57
+ }
58
+ }
59
+ response
60
+ end
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,64 @@
1
+ module Fog
2
+ module Compute
3
+ class DigitalOcean
4
+ class Real
5
+ def list_volumes(filters = {})
6
+ request(
7
+ :expects => [200],
8
+ :method => 'GET',
9
+ :path => "/v2/volumes",
10
+ :query => filters
11
+ )
12
+ end
13
+ end
14
+
15
+ # noinspection RubyStringKeysInHashInspection
16
+ class Mock
17
+ def list_volumes(filters = {})
18
+ response = Excon::Response.new
19
+ response.status = 200
20
+ response.body = {
21
+ "volumes" => [
22
+ {
23
+ "id" => "506f78a4-e098-11e5-ad9f-000f53306ae1",
24
+ "region" => {
25
+ "name" => "New York 1",
26
+ "slug" =>"nyc1",
27
+ "sizes" => [
28
+ "512mb",
29
+ "1gb",
30
+ "2gb",
31
+ "4gb",
32
+ "8gb",
33
+ "16gb",
34
+ "32gb",
35
+ "48gb",
36
+ "64gb"
37
+ ],
38
+ "features" => [
39
+ "private_networking",
40
+ "backups",
41
+ "ipv6",
42
+ "metadata"
43
+ ],
44
+ "available" => true
45
+ },
46
+ "droplet_ids" => [],
47
+ "name" =>"example",
48
+ "description" =>"Block store for examples",
49
+ "size_gigabytes" =>10,
50
+ "created_at" =>"2016-03-02T17:00:49Z"
51
+ }
52
+ ],
53
+ "links" => {},
54
+ "meta" => {
55
+ "total" => 1
56
+ }
57
+ }
58
+
59
+ response
60
+ end
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,65 @@
1
+ module Fog
2
+ module Compute
3
+ class DigitalOcean
4
+ class Real
5
+ def resize_volume(volume_id, size, region)
6
+ body = { :type => 'resize', size_gigabytes: size, region: region}
7
+
8
+ encoded_body = Fog::JSON.encode(body)
9
+
10
+ request(
11
+ :expects => [201],
12
+ :headers => {
13
+ 'Content-Type' => "application/json; charset=UTF-8",
14
+ },
15
+ :method => 'POST',
16
+ :path => "v2/images/#{volume_id}/actions",
17
+ :body => encoded_body,
18
+ )
19
+ end
20
+ end
21
+
22
+ class Mock
23
+ def resize_volume(volume_id, size, region)
24
+ response = Excon::Response.new
25
+ response.status = 201
26
+ response.body = {
27
+ "action" => {
28
+ "id" => 72531856,
29
+ "status" => "in-progress",
30
+ "type" => "resize",
31
+ "started_at" => "2015-11-12T17:51:03Z",
32
+ "completed_at" => "2015-11-12T17:51:14Z",
33
+ "resource_id" => null,
34
+ "resource_type" => "volume",
35
+ "region" => {
36
+ "name" => "New York 1",
37
+ "slug" => "nyc1",
38
+ "sizes" => [
39
+ "1gb",
40
+ "2gb",
41
+ "4gb",
42
+ "8gb",
43
+ "32gb",
44
+ "64gb",
45
+ "512mb",
46
+ "48gb",
47
+ "16gb"
48
+ ],
49
+ "features" => [
50
+ "private_networking",
51
+ "backups",
52
+ "ipv6",
53
+ "metadata"
54
+ ],
55
+ "available" => true
56
+ },
57
+ "region_slug" => "nyc1"
58
+ }
59
+ }
60
+ response
61
+ end
62
+ end
63
+ end
64
+ end
65
+ end
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Digitalocean
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -0,0 +1,10 @@
1
+ Shindo.tests('Fog::Compute::DigitalOcean | attach_volume request', ['digitalocean', 'compute']) do
2
+ service = Fog::Compute.new(:provider => 'DigitalOcean')
3
+
4
+ tests('success') do
5
+ tests('creates a new volume') do
6
+ response = service.attach_volume(1, 1, 'nyc1')
7
+ response.body['result'] == 'success'
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ Shindo.tests('Fog::Compute::DigitalOcean | create_volume request', ['digitalocean', 'compute']) do
2
+ service = Fog::Compute.new(:provider => 'DigitalOcean')
3
+
4
+ tests('success') do
5
+ tests('creates a new volume') do
6
+ response = service.create_volume({ name: "test" })
7
+ response.body['result'] == 'success'
8
+ end
9
+ end
10
+ end
@@ -1,5 +1,5 @@
1
- Shindo.tests('Fog::Compute::DigitalOceanV2 | list_ssh_keys request', ['digitalocean', 'compute']) do
2
- service = Fog::Compute.new(:provider => 'DigitalOcean', :version => 'V2')
1
+ Shindo.tests('Fog::Compute::DigitalOcean | list_ssh_keys request', ['digitalocean', 'compute']) do
2
+ service = Fog::Compute.new(:provider => 'DigitalOcean')
3
3
 
4
4
  ssh_key_format = {
5
5
  'id' => Integer,
@@ -0,0 +1,23 @@
1
+ Shindo.tests('Fog::Compute::DigitalOcean | list_volumes request', ['digitalocean', 'compute']) do
2
+ service = Fog::Compute.new(:provider => 'DigitalOcean')
3
+
4
+ volume_format = {
5
+ 'id' => String,
6
+ 'region' => Hash,
7
+ 'droplet_ids' => Array,
8
+ 'name' => String,
9
+ 'description' => String,
10
+ 'size_gigabytes' => Integer,
11
+ 'created_at' => String
12
+ }
13
+
14
+ tests('success') do
15
+ tests('#list_volumes') do
16
+ service.list_volumes.body['volumes'].each do |volume|
17
+ tests('format').data_matches_schema(volume_format) do
18
+ volume
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-digitalocean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JJ Asghar
@@ -190,15 +190,10 @@ files:
190
190
  - README.md
191
191
  - RELEASE.md
192
192
  - Rakefile
193
- - benchs/each_provider.sh
194
- - benchs/each_service.sh
195
- - benchs/fog_vs.rb
196
- - benchs/load_times.rb
197
- - benchs/params.rb
198
- - benchs/parse_vs_push.rb
199
193
  - bin/fog
200
194
  - fog-digitalocean.gemspec
201
195
  - gemfiles/Gemfile-edge
196
+ - lib/fog/bin/digitalocean.rb
202
197
  - lib/fog/digitalocean.rb
203
198
  - lib/fog/digitalocean/CHANGELOG.md
204
199
  - lib/fog/digitalocean/compute.rb
@@ -214,13 +209,19 @@ files:
214
209
  - lib/fog/digitalocean/models/compute/servers.rb
215
210
  - lib/fog/digitalocean/models/compute/ssh_key.rb
216
211
  - lib/fog/digitalocean/models/compute/ssh_keys.rb
212
+ - lib/fog/digitalocean/models/compute/volume.rb
213
+ - lib/fog/digitalocean/models/compute/volumes.rb
217
214
  - lib/fog/digitalocean/models/paging_collection.rb
215
+ - lib/fog/digitalocean/requests/compute/attach_volume.rb
218
216
  - lib/fog/digitalocean/requests/compute/change_kernel.rb
219
217
  - lib/fog/digitalocean/requests/compute/convert_to_snapshot.rb
220
218
  - lib/fog/digitalocean/requests/compute/create_server.rb
221
219
  - lib/fog/digitalocean/requests/compute/create_ssh_key.rb
220
+ - lib/fog/digitalocean/requests/compute/create_volume.rb
222
221
  - lib/fog/digitalocean/requests/compute/delete_ssh_key.rb
223
222
  - lib/fog/digitalocean/requests/compute/destroy_server.rb
223
+ - lib/fog/digitalocean/requests/compute/destroy_volume.rb
224
+ - lib/fog/digitalocean/requests/compute/detach_volume.rb
224
225
  - lib/fog/digitalocean/requests/compute/disable_backups.rb
225
226
  - lib/fog/digitalocean/requests/compute/enable_ipv6.rb
226
227
  - lib/fog/digitalocean/requests/compute/enable_private_networking.rb
@@ -228,12 +229,15 @@ files:
228
229
  - lib/fog/digitalocean/requests/compute/get_image_details.rb
229
230
  - lib/fog/digitalocean/requests/compute/get_server_details.rb
230
231
  - lib/fog/digitalocean/requests/compute/get_ssh_key.rb
232
+ - lib/fog/digitalocean/requests/compute/get_volume_details.rb
231
233
  - lib/fog/digitalocean/requests/compute/list_droplet_actions.rb
232
234
  - lib/fog/digitalocean/requests/compute/list_flavors.rb
233
235
  - lib/fog/digitalocean/requests/compute/list_images.rb
234
236
  - lib/fog/digitalocean/requests/compute/list_regions.rb
235
237
  - lib/fog/digitalocean/requests/compute/list_servers.rb
236
238
  - lib/fog/digitalocean/requests/compute/list_ssh_keys.rb
239
+ - lib/fog/digitalocean/requests/compute/list_volume_actions.rb
240
+ - lib/fog/digitalocean/requests/compute/list_volumes.rb
237
241
  - lib/fog/digitalocean/requests/compute/password_reset.rb
238
242
  - lib/fog/digitalocean/requests/compute/power_cycle.rb
239
243
  - lib/fog/digitalocean/requests/compute/power_off.rb
@@ -242,6 +246,7 @@ files:
242
246
  - lib/fog/digitalocean/requests/compute/rebuild.rb
243
247
  - lib/fog/digitalocean/requests/compute/rename.rb
244
248
  - lib/fog/digitalocean/requests/compute/resize.rb
249
+ - lib/fog/digitalocean/requests/compute/resize_volume.rb
245
250
  - lib/fog/digitalocean/requests/compute/restore.rb
246
251
  - lib/fog/digitalocean/requests/compute/shutdown.rb
247
252
  - lib/fog/digitalocean/requests/compute/snapshot.rb
@@ -250,75 +255,15 @@ files:
250
255
  - lib/fog/digitalocean/requests/compute/upgrade.rb
251
256
  - lib/fog/digitalocean/service.rb
252
257
  - lib/fog/digitalocean/version.rb
253
- - spec/fog/account_spec.rb
254
- - spec/fog/billing_spec.rb
255
- - spec/fog/bin/atmos_spec.rb
256
- - spec/fog/bin/aws_spec.rb
257
- - spec/fog/bin/baremetalcloud_spec.rb
258
- - spec/fog/bin/bluebox_spec.rb
259
- - spec/fog/bin/brightbox_spec.rb
260
- - spec/fog/bin/clodo_spec.rb
261
- - spec/fog/bin/cloudsigma_spec.rb
262
- - spec/fog/bin/cloudstack_spec.rb
263
- - spec/fog/bin/digitalocean_spec.rb
264
- - spec/fog/bin/dnsimple_spec.rb
265
- - spec/fog/bin/dnsmadeeasy_spec.rb
266
- - spec/fog/bin/dreamhost_spec.rb
267
- - spec/fog/bin/dynect_spec.rb
268
- - spec/fog/bin/ecloud_spec.rb
269
- - spec/fog/bin/fogdocker_spec.rb
270
- - spec/fog/bin/glesys_spec.rb
271
- - spec/fog/bin/gogrid_spec.rb
272
- - spec/fog/bin/google_spec.rb
273
- - spec/fog/bin/ibm_spec.rb
274
- - spec/fog/bin/internetarchive_spec.rb
275
- - spec/fog/bin/joyent_spec.rb
276
- - spec/fog/bin/linode_spec.rb
277
- - spec/fog/bin/local_spec.rb
278
- - spec/fog/bin/ninefold_spec.rb
279
- - spec/fog/bin/opennebula_spec.rb
280
- - spec/fog/bin/openstack_spec.rb
281
- - spec/fog/bin/openvz_spec.rb
282
- - spec/fog/bin/ovirt_spec.rb
283
- - spec/fog/bin/powerdns_spec.rb
284
- - spec/fog/bin/profitbricks_spec.rb
285
- - spec/fog/bin/rackspace_spec.rb
286
- - spec/fog/bin/rage4_spec.rb
287
- - spec/fog/bin/riakcs_spec.rb
288
- - spec/fog/bin/sakuracloud_spec.rb
289
- - spec/fog/bin/serverlove_spec.rb
290
- - spec/fog/bin/softlayer_spec.rb
291
- - spec/fog/bin/stormondemand_spec.rb
292
- - spec/fog/bin/vcloud_spec.rb
293
- - spec/fog/bin/vclouddirector_spec.rb
294
- - spec/fog/bin/vmfusion_spec.rb
295
- - spec/fog/bin/voxel_spec.rb
296
- - spec/fog/bin/vsphere_spec.rb
297
- - spec/fog/bin/xenserver_spec.rb
298
- - spec/fog/bin/zerigo_spec.rb
299
- - spec/fog/bin_spec.rb
300
- - spec/fog/cdn_spec.rb
301
- - spec/fog/compute_spec.rb
302
- - spec/fog/dns_spec.rb
303
- - spec/fog/identity_spec.rb
304
- - spec/fog/image_spec.rb
305
- - spec/fog/metering_spec.rb
306
- - spec/fog/monitoring_spec.rb
307
- - spec/fog/network_spec.rb
308
- - spec/fog/orchestration_spec.rb
309
- - spec/fog/storage_spec.rb
310
- - spec/fog/support_spec.rb
311
- - spec/fog/volume_spec.rb
312
- - spec/fog/vpn_spec.rb
313
- - spec/fog/xml/connection_spec.rb
314
- - spec/helpers/bin.rb
315
- - spec/spec_helper.rb
316
258
  - tests/digitalocean/helper.rb
259
+ - tests/digitalocean/requests/compute/attach_volume_tests.rb
260
+ - tests/digitalocean/requests/compute/create_volume_tests.rb
317
261
  - tests/digitalocean/requests/compute/list_flavors_tests.rb
318
262
  - tests/digitalocean/requests/compute/list_images_tests.rb
319
263
  - tests/digitalocean/requests/compute/list_regions_tests.rb
264
+ - tests/digitalocean/requests/compute/list_ssh_keys_tests.rb
265
+ - tests/digitalocean/requests/compute/list_volumes_tests.rb
320
266
  - tests/digitalocean/requests/compute/server_tests.rb
321
- - tests/digitalocean/requests/compute_v2/list_ssh_keys_tests.rb
322
267
  - tests/helper.rb
323
268
  - tests/helpers/format_helper.rb
324
269
  - tests/helpers/mock_helper.rb
@@ -346,80 +291,20 @@ required_rubygems_version: !ruby/object:Gem::Requirement
346
291
  version: '0'
347
292
  requirements: []
348
293
  rubyforge_project:
349
- rubygems_version: 2.4.8
294
+ rubygems_version: 2.4.5.1
350
295
  signing_key:
351
296
  specification_version: 2
352
297
  summary: DigitalOcean fog provider gem
353
298
  test_files:
354
- - spec/fog/account_spec.rb
355
- - spec/fog/billing_spec.rb
356
- - spec/fog/bin/atmos_spec.rb
357
- - spec/fog/bin/aws_spec.rb
358
- - spec/fog/bin/baremetalcloud_spec.rb
359
- - spec/fog/bin/bluebox_spec.rb
360
- - spec/fog/bin/brightbox_spec.rb
361
- - spec/fog/bin/clodo_spec.rb
362
- - spec/fog/bin/cloudsigma_spec.rb
363
- - spec/fog/bin/cloudstack_spec.rb
364
- - spec/fog/bin/digitalocean_spec.rb
365
- - spec/fog/bin/dnsimple_spec.rb
366
- - spec/fog/bin/dnsmadeeasy_spec.rb
367
- - spec/fog/bin/dreamhost_spec.rb
368
- - spec/fog/bin/dynect_spec.rb
369
- - spec/fog/bin/ecloud_spec.rb
370
- - spec/fog/bin/fogdocker_spec.rb
371
- - spec/fog/bin/glesys_spec.rb
372
- - spec/fog/bin/gogrid_spec.rb
373
- - spec/fog/bin/google_spec.rb
374
- - spec/fog/bin/ibm_spec.rb
375
- - spec/fog/bin/internetarchive_spec.rb
376
- - spec/fog/bin/joyent_spec.rb
377
- - spec/fog/bin/linode_spec.rb
378
- - spec/fog/bin/local_spec.rb
379
- - spec/fog/bin/ninefold_spec.rb
380
- - spec/fog/bin/opennebula_spec.rb
381
- - spec/fog/bin/openstack_spec.rb
382
- - spec/fog/bin/openvz_spec.rb
383
- - spec/fog/bin/ovirt_spec.rb
384
- - spec/fog/bin/powerdns_spec.rb
385
- - spec/fog/bin/profitbricks_spec.rb
386
- - spec/fog/bin/rackspace_spec.rb
387
- - spec/fog/bin/rage4_spec.rb
388
- - spec/fog/bin/riakcs_spec.rb
389
- - spec/fog/bin/sakuracloud_spec.rb
390
- - spec/fog/bin/serverlove_spec.rb
391
- - spec/fog/bin/softlayer_spec.rb
392
- - spec/fog/bin/stormondemand_spec.rb
393
- - spec/fog/bin/vcloud_spec.rb
394
- - spec/fog/bin/vclouddirector_spec.rb
395
- - spec/fog/bin/vmfusion_spec.rb
396
- - spec/fog/bin/voxel_spec.rb
397
- - spec/fog/bin/vsphere_spec.rb
398
- - spec/fog/bin/xenserver_spec.rb
399
- - spec/fog/bin/zerigo_spec.rb
400
- - spec/fog/bin_spec.rb
401
- - spec/fog/cdn_spec.rb
402
- - spec/fog/compute_spec.rb
403
- - spec/fog/dns_spec.rb
404
- - spec/fog/identity_spec.rb
405
- - spec/fog/image_spec.rb
406
- - spec/fog/metering_spec.rb
407
- - spec/fog/monitoring_spec.rb
408
- - spec/fog/network_spec.rb
409
- - spec/fog/orchestration_spec.rb
410
- - spec/fog/storage_spec.rb
411
- - spec/fog/support_spec.rb
412
- - spec/fog/volume_spec.rb
413
- - spec/fog/vpn_spec.rb
414
- - spec/fog/xml/connection_spec.rb
415
- - spec/helpers/bin.rb
416
- - spec/spec_helper.rb
417
299
  - tests/digitalocean/helper.rb
300
+ - tests/digitalocean/requests/compute/attach_volume_tests.rb
301
+ - tests/digitalocean/requests/compute/create_volume_tests.rb
418
302
  - tests/digitalocean/requests/compute/list_flavors_tests.rb
419
303
  - tests/digitalocean/requests/compute/list_images_tests.rb
420
304
  - tests/digitalocean/requests/compute/list_regions_tests.rb
305
+ - tests/digitalocean/requests/compute/list_ssh_keys_tests.rb
306
+ - tests/digitalocean/requests/compute/list_volumes_tests.rb
421
307
  - tests/digitalocean/requests/compute/server_tests.rb
422
- - tests/digitalocean/requests/compute_v2/list_ssh_keys_tests.rb
423
308
  - tests/helper.rb
424
309
  - tests/helpers/format_helper.rb
425
310
  - tests/helpers/mock_helper.rb