fog-brightbox 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/fog/brightbox.rb +1 -0
- data/lib/fog/brightbox/config.rb +102 -2
- data/lib/fog/brightbox/core.rb +1 -0
- data/lib/fog/brightbox/models/compute/api_client.rb +3 -1
- data/lib/fog/brightbox/models/storage/directories.rb +45 -0
- data/lib/fog/brightbox/models/storage/directory.rb +53 -0
- data/lib/fog/brightbox/models/storage/file.rb +166 -0
- data/lib/fog/brightbox/models/storage/files.rb +104 -0
- data/lib/fog/brightbox/oauth2.rb +140 -136
- data/lib/fog/brightbox/requests/storage/copy_object.rb +27 -0
- data/lib/fog/brightbox/requests/storage/delete_container.rb +22 -0
- data/lib/fog/brightbox/requests/storage/delete_multiple_objects.rb +67 -0
- data/lib/fog/brightbox/requests/storage/delete_object.rb +23 -0
- data/lib/fog/brightbox/requests/storage/delete_static_large_object.rb +43 -0
- data/lib/fog/brightbox/requests/storage/get_container.rb +44 -0
- data/lib/fog/brightbox/requests/storage/get_containers.rb +33 -0
- data/lib/fog/brightbox/requests/storage/get_object.rb +29 -0
- data/lib/fog/brightbox/requests/storage/get_object_http_url.rb +21 -0
- data/lib/fog/brightbox/requests/storage/get_object_https_url.rb +85 -0
- data/lib/fog/brightbox/requests/storage/head_container.rb +28 -0
- data/lib/fog/brightbox/requests/storage/head_containers.rb +25 -0
- data/lib/fog/brightbox/requests/storage/head_object.rb +23 -0
- data/lib/fog/brightbox/requests/storage/post_set_meta_temp_url_key.rb +37 -0
- data/lib/fog/brightbox/requests/storage/put_container.rb +27 -0
- data/lib/fog/brightbox/requests/storage/put_dynamic_obj_manifest.rb +43 -0
- data/lib/fog/brightbox/requests/storage/put_object.rb +42 -0
- data/lib/fog/brightbox/requests/storage/put_object_manifest.rb +16 -0
- data/lib/fog/brightbox/requests/storage/put_static_obj_manifest.rb +57 -0
- data/lib/fog/brightbox/storage.rb +166 -0
- data/lib/fog/brightbox/storage/authentication_request.rb +52 -0
- data/lib/fog/brightbox/storage/config.rb +23 -0
- data/lib/fog/brightbox/storage/connection.rb +83 -0
- data/lib/fog/brightbox/storage/errors.rb +11 -0
- data/lib/fog/brightbox/version.rb +1 -1
- data/spec/fog/brightbox/config_spec.rb +62 -1
- data/spec/fog/brightbox/storage/authentication_request_spec.rb +77 -0
- data/spec/fog/brightbox/storage/config_spec.rb +40 -0
- data/spec/fog/brightbox/storage/connection_errors_spec.rb +54 -0
- data/spec/fog/brightbox/storage/connection_spec.rb +120 -0
- data/spec/fog/storage/brightbox_spec.rb +290 -0
- metadata +40 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-brightbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Thornthwaite
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|
@@ -186,6 +186,10 @@ files:
|
|
186
186
|
- lib/fog/brightbox/models/compute/users.rb
|
187
187
|
- lib/fog/brightbox/models/compute/zone.rb
|
188
188
|
- lib/fog/brightbox/models/compute/zones.rb
|
189
|
+
- lib/fog/brightbox/models/storage/directories.rb
|
190
|
+
- lib/fog/brightbox/models/storage/directory.rb
|
191
|
+
- lib/fog/brightbox/models/storage/file.rb
|
192
|
+
- lib/fog/brightbox/models/storage/files.rb
|
189
193
|
- lib/fog/brightbox/oauth2.rb
|
190
194
|
- lib/fog/brightbox/requests/compute/accept_user_collaboration.rb
|
191
195
|
- lib/fog/brightbox/requests/compute/activate_console_server.rb
|
@@ -301,9 +305,37 @@ files:
|
|
301
305
|
- lib/fog/brightbox/requests/compute/update_server.rb
|
302
306
|
- lib/fog/brightbox/requests/compute/update_server_group.rb
|
303
307
|
- lib/fog/brightbox/requests/compute/update_user.rb
|
308
|
+
- lib/fog/brightbox/requests/storage/copy_object.rb
|
309
|
+
- lib/fog/brightbox/requests/storage/delete_container.rb
|
310
|
+
- lib/fog/brightbox/requests/storage/delete_multiple_objects.rb
|
311
|
+
- lib/fog/brightbox/requests/storage/delete_object.rb
|
312
|
+
- lib/fog/brightbox/requests/storage/delete_static_large_object.rb
|
313
|
+
- lib/fog/brightbox/requests/storage/get_container.rb
|
314
|
+
- lib/fog/brightbox/requests/storage/get_containers.rb
|
315
|
+
- lib/fog/brightbox/requests/storage/get_object.rb
|
316
|
+
- lib/fog/brightbox/requests/storage/get_object_http_url.rb
|
317
|
+
- lib/fog/brightbox/requests/storage/get_object_https_url.rb
|
318
|
+
- lib/fog/brightbox/requests/storage/head_container.rb
|
319
|
+
- lib/fog/brightbox/requests/storage/head_containers.rb
|
320
|
+
- lib/fog/brightbox/requests/storage/head_object.rb
|
321
|
+
- lib/fog/brightbox/requests/storage/post_set_meta_temp_url_key.rb
|
322
|
+
- lib/fog/brightbox/requests/storage/put_container.rb
|
323
|
+
- lib/fog/brightbox/requests/storage/put_dynamic_obj_manifest.rb
|
324
|
+
- lib/fog/brightbox/requests/storage/put_object.rb
|
325
|
+
- lib/fog/brightbox/requests/storage/put_object_manifest.rb
|
326
|
+
- lib/fog/brightbox/requests/storage/put_static_obj_manifest.rb
|
327
|
+
- lib/fog/brightbox/storage.rb
|
328
|
+
- lib/fog/brightbox/storage/authentication_request.rb
|
329
|
+
- lib/fog/brightbox/storage/config.rb
|
330
|
+
- lib/fog/brightbox/storage/connection.rb
|
331
|
+
- lib/fog/brightbox/storage/errors.rb
|
304
332
|
- lib/fog/brightbox/version.rb
|
305
333
|
- spec/fog/brightbox/compute/config_spec.rb
|
306
334
|
- spec/fog/brightbox/config_spec.rb
|
335
|
+
- spec/fog/brightbox/storage/authentication_request_spec.rb
|
336
|
+
- spec/fog/brightbox/storage/config_spec.rb
|
337
|
+
- spec/fog/brightbox/storage/connection_errors_spec.rb
|
338
|
+
- spec/fog/brightbox/storage/connection_spec.rb
|
307
339
|
- spec/fog/compute/brightbox/account_spec.rb
|
308
340
|
- spec/fog/compute/brightbox/api_client_spec.rb
|
309
341
|
- spec/fog/compute/brightbox/application_spec.rb
|
@@ -323,6 +355,7 @@ files:
|
|
323
355
|
- spec/fog/compute/brightbox/user_spec.rb
|
324
356
|
- spec/fog/compute/brightbox/zone_spec.rb
|
325
357
|
- spec/fog/compute/brightbox_spec.rb
|
358
|
+
- spec/fog/storage/brightbox_spec.rb
|
326
359
|
- spec/model_helper.rb
|
327
360
|
- spec/model_setup.rb
|
328
361
|
- spec/spec_helper.rb
|
@@ -355,6 +388,10 @@ summary: This library can be used as a module for `fog` or as standalone provide
|
|
355
388
|
test_files:
|
356
389
|
- spec/fog/brightbox/compute/config_spec.rb
|
357
390
|
- spec/fog/brightbox/config_spec.rb
|
391
|
+
- spec/fog/brightbox/storage/authentication_request_spec.rb
|
392
|
+
- spec/fog/brightbox/storage/config_spec.rb
|
393
|
+
- spec/fog/brightbox/storage/connection_errors_spec.rb
|
394
|
+
- spec/fog/brightbox/storage/connection_spec.rb
|
358
395
|
- spec/fog/compute/brightbox/account_spec.rb
|
359
396
|
- spec/fog/compute/brightbox/api_client_spec.rb
|
360
397
|
- spec/fog/compute/brightbox/application_spec.rb
|
@@ -374,8 +411,8 @@ test_files:
|
|
374
411
|
- spec/fog/compute/brightbox/user_spec.rb
|
375
412
|
- spec/fog/compute/brightbox/zone_spec.rb
|
376
413
|
- spec/fog/compute/brightbox_spec.rb
|
414
|
+
- spec/fog/storage/brightbox_spec.rb
|
377
415
|
- spec/model_helper.rb
|
378
416
|
- spec/model_setup.rb
|
379
417
|
- spec/spec_helper.rb
|
380
418
|
- spec/supports_resource_locking.rb
|
381
|
-
has_rdoc:
|