fog 0.0.31 → 0.0.32
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +0 -2
- data/Rakefile +12 -7
- data/VERSION +1 -1
- data/bin/fog +16 -18
- data/fog.gemspec +34 -8
- data/lib/fog.rb +11 -0
- data/lib/fog/aws/models/ec2/address.rb +4 -0
- data/lib/fog/aws/models/ec2/instance.rb +17 -0
- data/lib/fog/aws/models/ec2/key_pair.rb +4 -0
- data/lib/fog/aws/models/ec2/security_group.rb +8 -0
- data/lib/fog/aws/models/ec2/snapshot.rb +7 -1
- data/lib/fog/aws/models/ec2/volume.rb +9 -1
- data/lib/fog/aws/models/s3/bucket.rb +10 -0
- data/lib/fog/aws/models/s3/buckets.rb +10 -4
- data/lib/fog/aws/models/s3/object.rb +5 -0
- data/lib/fog/aws/requests/ec2/allocate_address.rb +1 -1
- data/lib/fog/aws/requests/ec2/associate_address.rb +2 -2
- data/lib/fog/aws/requests/ec2/attach_volume.rb +2 -2
- data/lib/fog/aws/requests/ec2/authorize_security_group_ingress.rb +1 -1
- data/lib/fog/aws/requests/ec2/create_key_pair.rb +2 -2
- data/lib/fog/aws/requests/ec2/create_security_group.rb +2 -2
- data/lib/fog/aws/requests/ec2/create_snapshot.rb +2 -2
- data/lib/fog/aws/requests/ec2/create_volume.rb +1 -1
- data/lib/fog/aws/requests/ec2/delete_key_pair.rb +1 -1
- data/lib/fog/aws/requests/ec2/delete_security_group.rb +2 -2
- data/lib/fog/aws/requests/ec2/delete_snapshot.rb +2 -2
- data/lib/fog/aws/requests/ec2/delete_volume.rb +2 -2
- data/lib/fog/aws/requests/ec2/describe_addresses.rb +2 -2
- data/lib/fog/aws/requests/ec2/describe_availability_zones.rb +1 -1
- data/lib/fog/aws/requests/ec2/describe_images.rb +1 -1
- data/lib/fog/aws/requests/ec2/describe_instances.rb +2 -2
- data/lib/fog/aws/requests/ec2/describe_key_pairs.rb +2 -2
- data/lib/fog/aws/requests/ec2/describe_regions.rb +1 -1
- data/lib/fog/aws/requests/ec2/describe_security_groups.rb +2 -2
- data/lib/fog/aws/requests/ec2/describe_snapshots.rb +2 -2
- data/lib/fog/aws/requests/ec2/describe_volumes.rb +2 -2
- data/lib/fog/aws/requests/ec2/detach_volume.rb +2 -2
- data/lib/fog/aws/requests/ec2/disassociate_address.rb +2 -2
- data/lib/fog/aws/requests/ec2/get_console_output.rb +2 -2
- data/lib/fog/aws/requests/ec2/reboot_instances.rb +2 -2
- data/lib/fog/aws/requests/ec2/release_address.rb +2 -2
- data/lib/fog/aws/requests/ec2/revoke_security_group_ingress.rb +1 -1
- data/lib/fog/aws/requests/ec2/run_instances.rb +1 -1
- data/lib/fog/aws/requests/ec2/terminate_instances.rb +2 -2
- data/lib/fog/aws/requests/s3/copy_object.rb +2 -2
- data/lib/fog/aws/requests/s3/delete_bucket.rb +3 -3
- data/lib/fog/aws/requests/s3/delete_object.rb +8 -7
- data/lib/fog/aws/requests/s3/get_bucket.rb +2 -2
- data/lib/fog/aws/requests/s3/get_bucket_location.rb +2 -2
- data/lib/fog/aws/requests/s3/get_object.rb +2 -2
- data/lib/fog/aws/requests/s3/get_request_payment.rb +2 -2
- data/lib/fog/aws/requests/s3/get_service.rb +1 -1
- data/lib/fog/aws/requests/s3/put_bucket.rb +8 -6
- data/lib/fog/aws/requests/s3/put_object.rb +9 -9
- data/lib/fog/aws/requests/s3/put_request_payment.rb +2 -2
- data/lib/fog/aws/requests/simpledb/batch_put_attributes.rb +2 -2
- data/lib/fog/aws/requests/simpledb/create_domain.rb +1 -1
- data/lib/fog/aws/requests/simpledb/delete_attributes.rb +2 -2
- data/lib/fog/aws/requests/simpledb/delete_domain.rb +1 -1
- data/lib/fog/aws/requests/simpledb/domain_metadata.rb +2 -2
- data/lib/fog/aws/requests/simpledb/get_attributes.rb +2 -2
- data/lib/fog/aws/requests/simpledb/list_domains.rb +1 -1
- data/lib/fog/aws/s3.rb +1 -12
- data/lib/fog/collection.rb +16 -8
- data/lib/fog/model.rb +36 -14
- data/lib/fog/rackspace/models/servers/image.rb +40 -0
- data/lib/fog/rackspace/models/servers/images.rb +50 -0
- data/lib/fog/rackspace/models/servers/server.rb +18 -2
- data/lib/fog/rackspace/requests/servers/create_image.rb +18 -1
- data/lib/fog/rackspace/requests/servers/create_server.rb +5 -5
- data/lib/fog/rackspace/requests/servers/delete_image.rb +16 -1
- data/lib/fog/rackspace/requests/servers/delete_server.rb +4 -4
- data/lib/fog/rackspace/requests/servers/get_server_details.rb +2 -2
- data/lib/fog/rackspace/requests/servers/list_addresses.rb +2 -2
- data/lib/fog/rackspace/requests/servers/list_images.rb +10 -0
- data/lib/fog/rackspace/requests/servers/list_images_detail.rb +16 -1
- data/lib/fog/rackspace/requests/servers/list_private_addresses.rb +2 -2
- data/lib/fog/rackspace/requests/servers/list_public_addresses.rb +2 -2
- data/lib/fog/rackspace/requests/servers/list_servers.rb +1 -1
- data/lib/fog/rackspace/requests/servers/list_servers_detail.rb +2 -2
- data/lib/fog/rackspace/requests/servers/update_server.rb +2 -2
- data/lib/fog/rackspace/servers.rb +8 -2
- data/lib/fog/slicehost.rb +66 -0
- data/lib/fog/slicehost/parsers/create_slice.rb +29 -0
- data/lib/fog/slicehost/parsers/get_backups.rb +30 -0
- data/lib/fog/slicehost/parsers/get_flavors.rb +28 -0
- data/lib/fog/slicehost/parsers/get_images.rb +28 -0
- data/lib/fog/slicehost/parsers/get_slices.rb +33 -0
- data/lib/fog/slicehost/requests/create_slice.rb +50 -0
- data/lib/fog/slicehost/requests/delete_slice.rb +48 -0
- data/lib/fog/slicehost/requests/get_backups.rb +38 -0
- data/lib/fog/slicehost/requests/get_flavors.rb +38 -0
- data/lib/fog/slicehost/requests/get_images.rb +36 -0
- data/lib/fog/slicehost/requests/get_slices.rb +44 -0
- data/spec/aws/requests/s3/put_object_spec.rb +8 -0
- data/spec/rackspace/requests/servers/create_image_spec.rb +1 -1
- data/spec/rackspace/requests/servers/create_server_spec.rb +1 -1
- data/spec/rackspace/requests/servers/delete_image_spec.rb +7 -5
- data/spec/rackspace/requests/servers/delete_server_spec.rb +1 -1
- data/spec/rackspace/requests/servers/get_server_details_spec.rb +1 -1
- data/spec/rackspace/requests/servers/list_addresses_spec.rb +1 -1
- data/spec/rackspace/requests/servers/list_private_addresses_spec.rb +1 -1
- data/spec/rackspace/requests/servers/list_public_addresses_spec.rb +1 -1
- data/spec/rackspace/requests/servers/list_servers_detail_spec.rb +1 -1
- data/spec/rackspace/requests/servers/list_servers_spec.rb +1 -1
- data/spec/rackspace/requests/servers/reboot_server_spec.rb +1 -1
- data/spec/rackspace/requests/servers/update_server_spec.rb +1 -1
- data/spec/slicehost/requests/create_slice_spec.rb +29 -0
- data/spec/slicehost/requests/delete_slice_spec.rb +18 -0
- data/spec/slicehost/requests/get_backups_spec.rb +17 -0
- data/spec/slicehost/requests/get_flavors_spec.rb +17 -0
- data/spec/slicehost/requests/get_images_spec.rb +15 -0
- data/spec/slicehost/requests/get_slices_spec.rb +23 -0
- data/spec/spec_helper.rb +20 -22
- metadata +29 -4
- data/lib/fog/aws/models/s3/owner.rb +0 -18
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.32
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- geemus (Wesley Beary)
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-12-03 00:00:00 -08:00
|
13
13
|
default_executable: fog
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
23
|
+
version: 0.0.10
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: mime-types
|
@@ -90,7 +90,6 @@ files:
|
|
90
90
|
- lib/fog/aws/models/s3/buckets.rb
|
91
91
|
- lib/fog/aws/models/s3/object.rb
|
92
92
|
- lib/fog/aws/models/s3/objects.rb
|
93
|
-
- lib/fog/aws/models/s3/owner.rb
|
94
93
|
- lib/fog/aws/parsers/ec2/allocate_address.rb
|
95
94
|
- lib/fog/aws/parsers/ec2/attach_volume.rb
|
96
95
|
- lib/fog/aws/parsers/ec2/basic.rb
|
@@ -180,6 +179,8 @@ files:
|
|
180
179
|
- lib/fog/rackspace/files.rb
|
181
180
|
- lib/fog/rackspace/models/servers/flavor.rb
|
182
181
|
- lib/fog/rackspace/models/servers/flavors.rb
|
182
|
+
- lib/fog/rackspace/models/servers/image.rb
|
183
|
+
- lib/fog/rackspace/models/servers/images.rb
|
183
184
|
- lib/fog/rackspace/models/servers/server.rb
|
184
185
|
- lib/fog/rackspace/models/servers/servers.rb
|
185
186
|
- lib/fog/rackspace/requests/files/delete_container.rb
|
@@ -208,6 +209,18 @@ files:
|
|
208
209
|
- lib/fog/rackspace/requests/servers/reboot_server.rb
|
209
210
|
- lib/fog/rackspace/requests/servers/update_server.rb
|
210
211
|
- lib/fog/rackspace/servers.rb
|
212
|
+
- lib/fog/slicehost.rb
|
213
|
+
- lib/fog/slicehost/parsers/create_slice.rb
|
214
|
+
- lib/fog/slicehost/parsers/get_backups.rb
|
215
|
+
- lib/fog/slicehost/parsers/get_flavors.rb
|
216
|
+
- lib/fog/slicehost/parsers/get_images.rb
|
217
|
+
- lib/fog/slicehost/parsers/get_slices.rb
|
218
|
+
- lib/fog/slicehost/requests/create_slice.rb
|
219
|
+
- lib/fog/slicehost/requests/delete_slice.rb
|
220
|
+
- lib/fog/slicehost/requests/get_backups.rb
|
221
|
+
- lib/fog/slicehost/requests/get_flavors.rb
|
222
|
+
- lib/fog/slicehost/requests/get_images.rb
|
223
|
+
- lib/fog/slicehost/requests/get_slices.rb
|
211
224
|
- spec/aws/models/ec2/address_spec.rb
|
212
225
|
- spec/aws/models/ec2/addresses_spec.rb
|
213
226
|
- spec/aws/models/ec2/instance_spec.rb
|
@@ -301,6 +314,12 @@ files:
|
|
301
314
|
- spec/rackspace/requests/servers/list_servers_spec.rb
|
302
315
|
- spec/rackspace/requests/servers/reboot_server_spec.rb
|
303
316
|
- spec/rackspace/requests/servers/update_server_spec.rb
|
317
|
+
- spec/slicehost/requests/create_slice_spec.rb
|
318
|
+
- spec/slicehost/requests/delete_slice_spec.rb
|
319
|
+
- spec/slicehost/requests/get_backups_spec.rb
|
320
|
+
- spec/slicehost/requests/get_flavors_spec.rb
|
321
|
+
- spec/slicehost/requests/get_images_spec.rb
|
322
|
+
- spec/slicehost/requests/get_slices_spec.rb
|
304
323
|
- spec/spec.opts
|
305
324
|
- spec/spec_helper.rb
|
306
325
|
has_rdoc: true
|
@@ -424,4 +443,10 @@ test_files:
|
|
424
443
|
- spec/rackspace/requests/servers/list_servers_spec.rb
|
425
444
|
- spec/rackspace/requests/servers/reboot_server_spec.rb
|
426
445
|
- spec/rackspace/requests/servers/update_server_spec.rb
|
446
|
+
- spec/slicehost/requests/create_slice_spec.rb
|
447
|
+
- spec/slicehost/requests/delete_slice_spec.rb
|
448
|
+
- spec/slicehost/requests/get_backups_spec.rb
|
449
|
+
- spec/slicehost/requests/get_flavors_spec.rb
|
450
|
+
- spec/slicehost/requests/get_images_spec.rb
|
451
|
+
- spec/slicehost/requests/get_slices_spec.rb
|
427
452
|
- spec/spec_helper.rb
|