fog 0.2.30 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (531) hide show
  1. data/Gemfile.lock +8 -8
  2. data/README.rdoc +15 -6
  3. data/Rakefile +12 -19
  4. data/bin/fog +12 -10
  5. data/fog.gemspec +298 -286
  6. data/lib/fog.rb +22 -12
  7. data/lib/fog/attributes.rb +2 -6
  8. data/lib/fog/aws.rb +10 -5
  9. data/lib/fog/aws/bin.rb +29 -65
  10. data/lib/fog/aws/compute.rb +220 -0
  11. data/lib/fog/aws/ec2.rb +9 -216
  12. data/lib/fog/aws/elb.rb +9 -12
  13. data/lib/fog/aws/models/{ec2 → compute}/address.rb +3 -3
  14. data/lib/fog/aws/models/{ec2 → compute}/addresses.rb +3 -11
  15. data/lib/fog/aws/models/{ec2 → compute}/flavor.rb +2 -2
  16. data/lib/fog/aws/models/compute/flavors.rb +39 -0
  17. data/lib/fog/aws/models/compute/image.rb +44 -0
  18. data/lib/fog/aws/models/{ec2 → compute}/images.rb +3 -9
  19. data/lib/fog/aws/models/compute/key_pair.rb +44 -0
  20. data/lib/fog/aws/models/{ec2 → compute}/key_pairs.rb +3 -9
  21. data/lib/fog/aws/models/{ec2 → compute}/security_group.rb +28 -6
  22. data/lib/fog/aws/models/{ec2 → compute}/security_groups.rb +3 -9
  23. data/lib/fog/aws/models/{ec2 → compute}/server.rb +65 -38
  24. data/lib/fog/aws/models/compute/servers.rb +80 -0
  25. data/lib/fog/aws/models/{ec2 → compute}/snapshot.rb +7 -7
  26. data/lib/fog/aws/models/{ec2 → compute}/snapshots.rb +5 -13
  27. data/lib/fog/aws/models/{ec2 → compute}/volume.rb +8 -8
  28. data/lib/fog/aws/models/{ec2 → compute}/volumes.rb +3 -11
  29. data/lib/fog/aws/models/{s3 → storage}/directories.rb +3 -9
  30. data/lib/fog/aws/models/{s3 → storage}/directory.rb +5 -5
  31. data/lib/fog/aws/models/{s3 → storage}/file.rb +9 -9
  32. data/lib/fog/aws/models/{s3 → storage}/files.rb +13 -8
  33. data/lib/fog/aws/parsers/{ec2 → compute}/allocate_address.rb +1 -1
  34. data/lib/fog/aws/parsers/{ec2 → compute}/attach_volume.rb +1 -1
  35. data/lib/fog/aws/parsers/{ec2 → compute}/basic.rb +1 -1
  36. data/lib/fog/aws/parsers/{ec2 → compute}/create_image.rb +1 -1
  37. data/lib/fog/aws/parsers/{ec2 → compute}/create_key_pair.rb +1 -1
  38. data/lib/fog/aws/parsers/{ec2 → compute}/create_snapshot.rb +2 -2
  39. data/lib/fog/aws/parsers/{ec2 → compute}/create_volume.rb +1 -1
  40. data/lib/fog/aws/parsers/{ec2 → compute}/deregister_image.rb +1 -1
  41. data/lib/fog/aws/parsers/{ec2 → compute}/describe_addresses.rb +1 -1
  42. data/lib/fog/aws/parsers/{ec2 → compute}/describe_availability_zones.rb +2 -2
  43. data/lib/fog/aws/parsers/{ec2 → compute}/describe_images.rb +1 -1
  44. data/lib/fog/aws/parsers/{ec2 → compute}/describe_instances.rb +1 -1
  45. data/lib/fog/aws/parsers/{ec2 → compute}/describe_key_pairs.rb +1 -1
  46. data/lib/fog/aws/parsers/{ec2 → compute}/describe_regions.rb +2 -2
  47. data/lib/fog/aws/parsers/{ec2 → compute}/describe_reserved_instances.rb +1 -1
  48. data/lib/fog/aws/parsers/{ec2 → compute}/describe_security_groups.rb +1 -1
  49. data/lib/fog/aws/parsers/{ec2 → compute}/describe_snapshots.rb +1 -1
  50. data/lib/fog/aws/parsers/{ec2 → compute}/describe_volumes.rb +1 -1
  51. data/lib/fog/aws/parsers/{ec2 → compute}/detach_volume.rb +1 -1
  52. data/lib/fog/aws/parsers/{ec2 → compute}/get_console_output.rb +2 -2
  53. data/lib/fog/aws/parsers/compute/import_key_pair.rb +20 -0
  54. data/lib/fog/aws/parsers/{ec2 → compute}/register_image.rb +1 -1
  55. data/lib/fog/aws/parsers/{ec2 → compute}/run_instances.rb +1 -1
  56. data/lib/fog/aws/parsers/{ec2 → compute}/start_stop_instances.rb +1 -1
  57. data/lib/fog/aws/parsers/{ec2 → compute}/terminate_instances.rb +1 -1
  58. data/lib/fog/aws/parsers/{s3 → storage}/access_control_list.rb +1 -1
  59. data/lib/fog/aws/parsers/{s3 → storage}/copy_object.rb +1 -1
  60. data/lib/fog/aws/parsers/{s3 → storage}/get_bucket.rb +1 -1
  61. data/lib/fog/aws/parsers/{s3 → storage}/get_bucket_location.rb +1 -1
  62. data/lib/fog/aws/parsers/{s3 → storage}/get_bucket_logging.rb +1 -1
  63. data/lib/fog/aws/parsers/{s3 → storage}/get_bucket_object_versions.rb +1 -1
  64. data/lib/fog/aws/parsers/{s3 → storage}/get_bucket_versioning.rb +1 -1
  65. data/lib/fog/aws/parsers/{s3 → storage}/get_request_payment.rb +1 -1
  66. data/lib/fog/aws/parsers/{s3 → storage}/get_service.rb +1 -1
  67. data/lib/fog/aws/requests/{ec2 → compute}/allocate_address.rb +3 -3
  68. data/lib/fog/aws/requests/{ec2 → compute}/associate_address.rb +4 -4
  69. data/lib/fog/aws/requests/{ec2 → compute}/attach_volume.rb +6 -6
  70. data/lib/fog/aws/requests/{ec2 → compute}/authorize_security_group_ingress.rb +3 -3
  71. data/lib/fog/aws/requests/{ec2 → compute}/create_image.rb +3 -3
  72. data/lib/fog/aws/requests/{ec2 → compute}/create_key_pair.rb +4 -4
  73. data/lib/fog/aws/requests/{ec2 → compute}/create_security_group.rb +3 -3
  74. data/lib/fog/aws/requests/{ec2 → compute}/create_snapshot.rb +3 -3
  75. data/lib/fog/aws/requests/{ec2 → compute}/create_volume.rb +3 -3
  76. data/lib/fog/aws/requests/{ec2 → compute}/delete_key_pair.rb +2 -2
  77. data/lib/fog/aws/requests/{ec2 → compute}/delete_security_group.rb +3 -3
  78. data/lib/fog/aws/requests/{ec2 → compute}/delete_snapshot.rb +3 -3
  79. data/lib/fog/aws/requests/{ec2 → compute}/delete_volume.rb +4 -4
  80. data/lib/fog/aws/requests/{ec2 → compute}/deregister_image.rb +4 -4
  81. data/lib/fog/aws/requests/{ec2 → compute}/describe_addresses.rb +4 -4
  82. data/lib/fog/aws/requests/{ec2 → compute}/describe_availability_zones.rb +4 -4
  83. data/lib/fog/aws/requests/{ec2 → compute}/describe_images.rb +3 -3
  84. data/lib/fog/aws/requests/{ec2 → compute}/describe_instances.rb +4 -4
  85. data/lib/fog/aws/requests/{ec2 → compute}/describe_key_pairs.rb +4 -4
  86. data/lib/fog/aws/requests/{ec2 → compute}/describe_regions.rb +4 -4
  87. data/lib/fog/aws/requests/{ec2 → compute}/describe_reserved_instances.rb +3 -3
  88. data/lib/fog/aws/requests/{ec2 → compute}/describe_security_groups.rb +4 -4
  89. data/lib/fog/aws/requests/{ec2 → compute}/describe_snapshots.rb +4 -4
  90. data/lib/fog/aws/requests/{ec2 → compute}/describe_volumes.rb +4 -4
  91. data/lib/fog/aws/requests/{ec2 → compute}/detach_volume.rb +4 -4
  92. data/lib/fog/aws/requests/{ec2 → compute}/disassociate_address.rb +3 -3
  93. data/lib/fog/aws/requests/{ec2 → compute}/get_console_output.rb +4 -4
  94. data/lib/fog/aws/requests/compute/import_key_pair.rb +54 -0
  95. data/lib/fog/aws/requests/{ec2 → compute}/modify_image_attributes.rb +2 -2
  96. data/lib/fog/aws/requests/{ec2 → compute}/modify_snapshot_attribute.rb +2 -2
  97. data/lib/fog/aws/requests/{ec2 → compute}/reboot_instances.rb +3 -3
  98. data/lib/fog/aws/requests/{ec2 → compute}/register_image.rb +4 -4
  99. data/lib/fog/aws/requests/{ec2 → compute}/release_address.rb +3 -3
  100. data/lib/fog/aws/requests/{ec2 → compute}/revoke_security_group_ingress.rb +3 -3
  101. data/lib/fog/aws/requests/{ec2 → compute}/run_instances.rb +4 -3
  102. data/lib/fog/aws/requests/{ec2 → compute}/start_instances.rb +3 -3
  103. data/lib/fog/aws/requests/{ec2 → compute}/stop_instances.rb +3 -3
  104. data/lib/fog/aws/requests/{ec2 → compute}/terminate_instances.rb +4 -4
  105. data/lib/fog/aws/requests/elb/create_load_balancer.rb +1 -1
  106. data/lib/fog/aws/requests/elb/delete_load_balancer.rb +1 -1
  107. data/lib/fog/aws/requests/elb/deregister_instances_from_load_balancer.rb +1 -1
  108. data/lib/fog/aws/requests/elb/describe_instance_health.rb +1 -1
  109. data/lib/fog/aws/requests/elb/describe_load_balancers.rb +1 -1
  110. data/lib/fog/aws/requests/elb/disable_availability_zones_for_load_balancer.rb +1 -1
  111. data/lib/fog/aws/requests/elb/enable_availability_zones_for_load_balancer.rb +1 -1
  112. data/lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb +1 -1
  113. data/lib/fog/aws/requests/simpledb/batch_put_attributes.rb +1 -1
  114. data/lib/fog/aws/requests/simpledb/create_domain.rb +1 -1
  115. data/lib/fog/aws/requests/simpledb/delete_attributes.rb +1 -1
  116. data/lib/fog/aws/requests/simpledb/delete_domain.rb +1 -1
  117. data/lib/fog/aws/requests/simpledb/domain_metadata.rb +1 -1
  118. data/lib/fog/aws/requests/simpledb/get_attributes.rb +1 -1
  119. data/lib/fog/aws/requests/simpledb/list_domains.rb +1 -1
  120. data/lib/fog/aws/requests/simpledb/put_attributes.rb +1 -1
  121. data/lib/fog/aws/requests/simpledb/select.rb +1 -1
  122. data/lib/fog/aws/requests/{s3 → storage}/copy_object.rb +3 -3
  123. data/lib/fog/aws/requests/{s3 → storage}/delete_bucket.rb +1 -1
  124. data/lib/fog/aws/requests/{s3 → storage}/delete_object.rb +2 -2
  125. data/lib/fog/aws/requests/{s3 → storage}/get_bucket.rb +3 -3
  126. data/lib/fog/aws/requests/{s3 → storage}/get_bucket_acl.rb +3 -3
  127. data/lib/fog/aws/requests/{s3 → storage}/get_bucket_location.rb +3 -3
  128. data/lib/fog/aws/requests/{s3 → storage}/get_bucket_logging.rb +3 -3
  129. data/lib/fog/aws/requests/{s3 → storage}/get_bucket_object_versions.rb +3 -3
  130. data/lib/fog/aws/requests/{s3 → storage}/get_bucket_versioning.rb +3 -3
  131. data/lib/fog/aws/requests/{s3 → storage}/get_object.rb +1 -1
  132. data/lib/fog/aws/requests/{s3 → storage}/get_object_acl.rb +3 -3
  133. data/lib/fog/aws/requests/{s3 → storage}/get_object_torrent.rb +1 -1
  134. data/lib/fog/aws/requests/{s3 → storage}/get_object_url.rb +1 -1
  135. data/lib/fog/aws/requests/{s3 → storage}/get_request_payment.rb +3 -3
  136. data/lib/fog/aws/requests/{s3 → storage}/get_service.rb +3 -3
  137. data/lib/fog/aws/requests/{s3 → storage}/head_object.rb +1 -1
  138. data/lib/fog/aws/requests/{s3 → storage}/put_bucket.rb +1 -1
  139. data/lib/fog/aws/requests/{s3 → storage}/put_bucket_acl.rb +1 -1
  140. data/lib/fog/aws/requests/{s3 → storage}/put_bucket_logging.rb +1 -1
  141. data/lib/fog/aws/requests/{s3 → storage}/put_bucket_versioning.rb +1 -1
  142. data/lib/fog/aws/requests/{s3 → storage}/put_object.rb +1 -1
  143. data/lib/fog/aws/requests/{s3 → storage}/put_object_url.rb +1 -1
  144. data/lib/fog/aws/requests/{s3 → storage}/put_request_payment.rb +1 -1
  145. data/lib/fog/aws/s3.rb +8 -205
  146. data/lib/fog/aws/simpledb.rb +10 -13
  147. data/lib/fog/aws/storage.rb +209 -0
  148. data/lib/fog/bin.rb +59 -50
  149. data/lib/fog/bluebox.rb +9 -78
  150. data/lib/fog/bluebox/bin.rb +10 -28
  151. data/lib/fog/bluebox/compute.rb +87 -0
  152. data/lib/fog/bluebox/models/compute/flavor.rb +45 -0
  153. data/lib/fog/bluebox/models/compute/flavors.rb +28 -0
  154. data/lib/fog/bluebox/models/compute/image.rb +19 -0
  155. data/lib/fog/bluebox/models/compute/images.rb +28 -0
  156. data/lib/fog/bluebox/models/compute/server.rb +81 -0
  157. data/lib/fog/bluebox/models/compute/servers.rb +29 -0
  158. data/lib/fog/bluebox/requests/compute/create_block.rb +41 -0
  159. data/lib/fog/bluebox/requests/compute/destroy_block.rb +34 -0
  160. data/lib/fog/bluebox/requests/compute/get_block.rb +34 -0
  161. data/lib/fog/bluebox/requests/compute/get_blocks.rb +36 -0
  162. data/lib/fog/bluebox/requests/compute/get_product.rb +34 -0
  163. data/lib/fog/bluebox/requests/compute/get_products.rb +33 -0
  164. data/lib/fog/bluebox/requests/compute/get_template.rb +34 -0
  165. data/lib/fog/bluebox/requests/compute/get_templates.rb +34 -0
  166. data/lib/fog/bluebox/requests/compute/reboot_block.rb +35 -0
  167. data/lib/fog/go_grid.rb +9 -88
  168. data/lib/fog/go_grid/bin.rb +17 -22
  169. data/lib/fog/go_grid/compute.rb +96 -0
  170. data/lib/fog/go_grid/requests/compute/common_lookup_list.rb +36 -0
  171. data/lib/fog/go_grid/requests/compute/grid_image_list.rb +39 -0
  172. data/lib/fog/go_grid/requests/compute/grid_ip_list.rb +38 -0
  173. data/lib/fog/go_grid/requests/compute/grid_loadbalancer_list.rb +36 -0
  174. data/lib/fog/go_grid/requests/compute/grid_server_add.rb +44 -0
  175. data/lib/fog/go_grid/requests/compute/grid_server_delete.rb +33 -0
  176. data/lib/fog/go_grid/requests/compute/grid_server_get.rb +33 -0
  177. data/lib/fog/go_grid/requests/compute/grid_server_list.rb +38 -0
  178. data/lib/fog/go_grid/requests/compute/grid_server_power.rb +34 -0
  179. data/lib/fog/linode.rb +10 -71
  180. data/lib/fog/linode/bin.rb +17 -22
  181. data/lib/fog/linode/compute.rb +79 -0
  182. data/lib/fog/linode/requests/compute/avail_datacenters.rb +31 -0
  183. data/lib/fog/linode/requests/compute/avail_distributions.rb +38 -0
  184. data/lib/fog/linode/requests/compute/avail_kernels.rb +36 -0
  185. data/lib/fog/linode/requests/compute/avail_linodeplans.rb +35 -0
  186. data/lib/fog/linode/requests/compute/avail_stackscripts.rb +37 -0
  187. data/lib/fog/linode/requests/compute/linode_create.rb +41 -0
  188. data/lib/fog/linode/requests/compute/linode_delete.rb +36 -0
  189. data/lib/fog/linode/requests/compute/linode_list.rb +38 -0
  190. data/lib/fog/linode/requests/compute/linode_reboot.rb +36 -0
  191. data/lib/fog/local.rb +10 -51
  192. data/lib/fog/local/bin.rb +17 -26
  193. data/lib/fog/local/models/storage/directories.rb +33 -0
  194. data/lib/fog/local/models/storage/directory.rb +52 -0
  195. data/lib/fog/local/models/storage/file.rb +60 -0
  196. data/lib/fog/local/models/storage/files.rb +73 -0
  197. data/lib/fog/local/storage.rb +58 -0
  198. data/lib/fog/model.rb +1 -1
  199. data/lib/fog/new_servers.rb +9 -80
  200. data/lib/fog/new_servers/bin.rb +17 -22
  201. data/lib/fog/new_servers/compute.rb +88 -0
  202. data/lib/fog/new_servers/requests/compute/add_server.rb +41 -0
  203. data/lib/fog/new_servers/requests/compute/cancel_server.rb +38 -0
  204. data/lib/fog/new_servers/requests/compute/get_server.rb +44 -0
  205. data/lib/fog/new_servers/requests/compute/list_images.rb +35 -0
  206. data/lib/fog/new_servers/requests/compute/list_plans.rb +38 -0
  207. data/lib/fog/new_servers/requests/compute/list_servers.rb +44 -0
  208. data/lib/fog/new_servers/requests/compute/reboot_server.rb +32 -0
  209. data/lib/fog/provider.rb +18 -0
  210. data/lib/fog/rackspace.rb +8 -3
  211. data/lib/fog/rackspace/bin.rb +26 -41
  212. data/lib/fog/rackspace/compute.rb +107 -0
  213. data/lib/fog/rackspace/files.rb +9 -130
  214. data/lib/fog/rackspace/models/{servers → compute}/flavor.rb +1 -1
  215. data/lib/fog/rackspace/models/{servers → compute}/flavors.rb +4 -10
  216. data/lib/fog/rackspace/models/{servers → compute}/image.rb +4 -4
  217. data/lib/fog/rackspace/models/{servers → compute}/images.rb +4 -12
  218. data/lib/fog/rackspace/models/{servers → compute}/server.rb +20 -16
  219. data/lib/fog/rackspace/models/{servers → compute}/servers.rb +5 -11
  220. data/lib/fog/rackspace/models/{files → storage}/directories.rb +4 -10
  221. data/lib/fog/rackspace/models/{files → storage}/directory.rb +4 -4
  222. data/lib/fog/rackspace/models/{files → storage}/file.rb +6 -6
  223. data/lib/fog/rackspace/models/{files → storage}/files.rb +11 -15
  224. data/lib/fog/rackspace/requests/{servers → compute}/create_image.rb +1 -1
  225. data/lib/fog/rackspace/requests/{servers → compute}/create_server.rb +1 -1
  226. data/lib/fog/rackspace/requests/{servers → compute}/delete_image.rb +1 -1
  227. data/lib/fog/rackspace/requests/{servers → compute}/delete_server.rb +2 -2
  228. data/lib/fog/rackspace/requests/{servers → compute}/get_flavor_details.rb +1 -1
  229. data/lib/fog/rackspace/requests/{servers → compute}/get_image_details.rb +1 -1
  230. data/lib/fog/rackspace/requests/{servers → compute}/get_server_details.rb +2 -2
  231. data/lib/fog/rackspace/requests/{servers → compute}/list_addresses.rb +2 -2
  232. data/lib/fog/rackspace/requests/{servers → compute}/list_flavors.rb +1 -1
  233. data/lib/fog/rackspace/requests/{servers → compute}/list_flavors_detail.rb +1 -1
  234. data/lib/fog/rackspace/requests/{servers → compute}/list_images.rb +1 -1
  235. data/lib/fog/rackspace/requests/{servers → compute}/list_images_detail.rb +1 -1
  236. data/lib/fog/rackspace/requests/{servers → compute}/list_private_addresses.rb +2 -2
  237. data/lib/fog/rackspace/requests/{servers → compute}/list_public_addresses.rb +2 -2
  238. data/lib/fog/rackspace/requests/{servers → compute}/list_servers.rb +1 -1
  239. data/lib/fog/rackspace/requests/{servers → compute}/list_servers_detail.rb +1 -1
  240. data/lib/fog/rackspace/requests/{servers → compute}/reboot_server.rb +1 -1
  241. data/lib/fog/rackspace/requests/{servers → compute}/update_server.rb +2 -2
  242. data/lib/fog/rackspace/requests/{files → storage}/delete_container.rb +1 -1
  243. data/lib/fog/rackspace/requests/{files → storage}/delete_object.rb +1 -1
  244. data/lib/fog/rackspace/requests/{files → storage}/get_container.rb +1 -1
  245. data/lib/fog/rackspace/requests/{files → storage}/get_containers.rb +1 -1
  246. data/lib/fog/rackspace/requests/{files → storage}/get_object.rb +1 -1
  247. data/lib/fog/rackspace/requests/{files → storage}/head_container.rb +1 -1
  248. data/lib/fog/rackspace/requests/{files → storage}/head_containers.rb +1 -1
  249. data/lib/fog/rackspace/requests/{files → storage}/head_object.rb +1 -1
  250. data/lib/fog/rackspace/requests/{files → storage}/put_container.rb +1 -1
  251. data/lib/fog/rackspace/requests/{files → storage}/put_object.rb +1 -1
  252. data/lib/fog/rackspace/servers.rb +9 -104
  253. data/lib/fog/rackspace/storage.rb +151 -0
  254. data/lib/fog/service.rb +111 -59
  255. data/lib/fog/slicehost.rb +9 -83
  256. data/lib/fog/slicehost/bin.rb +17 -34
  257. data/lib/fog/slicehost/compute.rb +91 -0
  258. data/lib/fog/slicehost/models/compute/flavor.rb +45 -0
  259. data/lib/fog/slicehost/models/compute/flavors.rb +28 -0
  260. data/lib/fog/slicehost/models/compute/image.rb +17 -0
  261. data/lib/fog/slicehost/models/compute/images.rb +27 -0
  262. data/lib/fog/slicehost/models/compute/server.rb +64 -0
  263. data/lib/fog/slicehost/models/compute/servers.rb +31 -0
  264. data/lib/fog/slicehost/parsers/compute/create_slice.rb +31 -0
  265. data/lib/fog/slicehost/parsers/compute/get_backups.rb +32 -0
  266. data/lib/fog/slicehost/parsers/compute/get_flavor.rb +26 -0
  267. data/lib/fog/slicehost/parsers/compute/get_flavors.rb +30 -0
  268. data/lib/fog/slicehost/parsers/compute/get_image.rb +26 -0
  269. data/lib/fog/slicehost/parsers/compute/get_images.rb +30 -0
  270. data/lib/fog/slicehost/parsers/compute/get_slice.rb +31 -0
  271. data/lib/fog/slicehost/parsers/compute/get_slices.rb +35 -0
  272. data/lib/fog/slicehost/requests/compute/create_slice.rb +49 -0
  273. data/lib/fog/slicehost/requests/compute/delete_slice.rb +45 -0
  274. data/lib/fog/slicehost/requests/compute/get_backups.rb +37 -0
  275. data/lib/fog/slicehost/requests/compute/get_flavor.rb +40 -0
  276. data/lib/fog/slicehost/requests/compute/get_flavors.rb +37 -0
  277. data/lib/fog/slicehost/requests/compute/get_image.rb +38 -0
  278. data/lib/fog/slicehost/requests/compute/get_images.rb +35 -0
  279. data/lib/fog/slicehost/requests/compute/get_slice.rb +46 -0
  280. data/lib/fog/slicehost/requests/compute/get_slices.rb +43 -0
  281. data/lib/fog/slicehost/requests/compute/reboot_slice.rb +44 -0
  282. data/lib/fog/ssh.rb +16 -7
  283. data/lib/fog/terremark/bin.rb +25 -33
  284. data/lib/fog/terremark/models/shared/address.rb +1 -1
  285. data/lib/fog/terremark/models/shared/task.rb +6 -6
  286. data/lib/fog/vcloud.rb +60 -36
  287. data/lib/fog/vcloud/bin.rb +2 -2
  288. data/lib/fog/vcloud/collection.rb +1 -1
  289. data/lib/fog/vcloud/generators.rb +1 -1
  290. data/lib/fog/vcloud/model.rb +1 -1
  291. data/lib/fog/vcloud/models/vdc.rb +1 -1
  292. data/lib/fog/vcloud/models/vdcs.rb +3 -9
  293. data/lib/fog/vcloud/requests/get_network.rb +1 -1
  294. data/lib/fog/vcloud/requests/get_organization.rb +1 -1
  295. data/lib/fog/vcloud/requests/get_vdc.rb +1 -1
  296. data/lib/fog/vcloud/requests/get_versions.rb +1 -1
  297. data/lib/fog/vcloud/requests/login.rb +1 -1
  298. data/lib/fog/vcloud/terremark/ecloud.rb +19 -14
  299. data/lib/fog/vcloud/terremark/ecloud/models/catalog.rb +2 -2
  300. data/lib/fog/vcloud/terremark/ecloud/models/catalog_item.rb +3 -3
  301. data/lib/fog/vcloud/terremark/ecloud/models/firewall_acl.rb +3 -3
  302. data/lib/fog/vcloud/terremark/ecloud/models/firewall_acls.rb +4 -2
  303. data/lib/fog/vcloud/terremark/ecloud/models/internet_service.rb +4 -4
  304. data/lib/fog/vcloud/terremark/ecloud/models/internet_services.rb +4 -8
  305. data/lib/fog/vcloud/terremark/ecloud/models/ip.rb +4 -4
  306. data/lib/fog/vcloud/terremark/ecloud/models/ips.rb +4 -2
  307. data/lib/fog/vcloud/terremark/ecloud/models/network.rb +2 -2
  308. data/lib/fog/vcloud/terremark/ecloud/models/networks.rb +4 -8
  309. data/lib/fog/vcloud/terremark/ecloud/models/node.rb +3 -3
  310. data/lib/fog/vcloud/terremark/ecloud/models/nodes.rb +4 -2
  311. data/lib/fog/vcloud/terremark/ecloud/models/public_ip.rb +3 -3
  312. data/lib/fog/vcloud/terremark/ecloud/models/public_ips.rb +4 -14
  313. data/lib/fog/vcloud/terremark/ecloud/models/server.rb +4 -4
  314. data/lib/fog/vcloud/terremark/ecloud/models/servers.rb +4 -2
  315. data/lib/fog/vcloud/terremark/ecloud/models/task.rb +3 -3
  316. data/lib/fog/vcloud/terremark/ecloud/models/tasks.rb +4 -2
  317. data/lib/fog/vcloud/terremark/ecloud/models/vdc.rb +2 -2
  318. data/lib/fog/vcloud/terremark/ecloud/models/vdcs.rb +25 -15
  319. data/lib/fog/vcloud/terremark/ecloud/requests/add_internet_service.rb +4 -4
  320. data/lib/fog/vcloud/terremark/ecloud/requests/add_node.rb +4 -4
  321. data/lib/fog/vcloud/terremark/ecloud/requests/clone_vapp.rb +4 -4
  322. data/lib/fog/vcloud/terremark/ecloud/requests/configure_internet_service.rb +4 -4
  323. data/lib/fog/vcloud/terremark/ecloud/requests/configure_network.rb +4 -4
  324. data/lib/fog/vcloud/terremark/ecloud/requests/configure_network_ip.rb +4 -4
  325. data/lib/fog/vcloud/terremark/ecloud/requests/configure_node.rb +4 -4
  326. data/lib/fog/vcloud/terremark/ecloud/requests/configure_vapp.rb +4 -4
  327. data/lib/fog/vcloud/terremark/ecloud/requests/delete_internet_service.rb +4 -4
  328. data/lib/fog/vcloud/terremark/ecloud/requests/delete_node.rb +4 -4
  329. data/lib/fog/vcloud/terremark/ecloud/requests/delete_vapp.rb +4 -4
  330. data/lib/fog/vcloud/terremark/ecloud/requests/get_catalog.rb +4 -4
  331. data/lib/fog/vcloud/terremark/ecloud/requests/get_catalog_item.rb +4 -4
  332. data/lib/fog/vcloud/terremark/ecloud/requests/get_customization_options.rb +4 -4
  333. data/lib/fog/vcloud/terremark/ecloud/requests/get_firewall_acl.rb +4 -4
  334. data/lib/fog/vcloud/terremark/ecloud/requests/get_firewall_acls.rb +4 -4
  335. data/lib/fog/vcloud/terremark/ecloud/requests/get_internet_services.rb +4 -4
  336. data/lib/fog/vcloud/terremark/ecloud/requests/get_network.rb +4 -4
  337. data/lib/fog/vcloud/terremark/ecloud/requests/get_network_extensions.rb +4 -4
  338. data/lib/fog/vcloud/terremark/ecloud/requests/get_network_ip.rb +4 -4
  339. data/lib/fog/vcloud/terremark/ecloud/requests/get_network_ips.rb +4 -4
  340. data/lib/fog/vcloud/terremark/ecloud/requests/get_node.rb +4 -4
  341. data/lib/fog/vcloud/terremark/ecloud/requests/get_nodes.rb +4 -4
  342. data/lib/fog/vcloud/terremark/ecloud/requests/get_public_ip.rb +4 -4
  343. data/lib/fog/vcloud/terremark/ecloud/requests/get_public_ips.rb +4 -4
  344. data/lib/fog/vcloud/terremark/ecloud/requests/get_task.rb +4 -4
  345. data/lib/fog/vcloud/terremark/ecloud/requests/get_task_list.rb +4 -4
  346. data/lib/fog/vcloud/terremark/ecloud/requests/get_vapp.rb +4 -4
  347. data/lib/fog/vcloud/terremark/ecloud/requests/get_vapp_template.rb +4 -4
  348. data/lib/fog/vcloud/terremark/ecloud/requests/get_vdc.rb +4 -4
  349. data/lib/fog/vcloud/terremark/ecloud/requests/instantiate_vapp_template.rb +4 -4
  350. data/lib/fog/vcloud/terremark/ecloud/requests/power_off.rb +4 -4
  351. data/lib/fog/vcloud/terremark/ecloud/requests/power_on.rb +4 -4
  352. data/lib/fog/vcloud/terremark/ecloud/requests/power_reset.rb +4 -4
  353. data/lib/fog/vcloud/terremark/ecloud/requests/power_shutdown.rb +4 -4
  354. data/lib/fog/vcloud/terremark/vcloud.rb +9 -5
  355. data/lib/fog/vcloud/terremark/vcloud/requests/get_vdc.rb +4 -4
  356. data/spec/aws/models/{ec2 → compute}/address_spec.rb +12 -12
  357. data/spec/aws/models/compute/addresses_spec.rb +70 -0
  358. data/spec/aws/models/{ec2 → compute}/flavors_spec.rb +2 -2
  359. data/spec/aws/models/{ec2 → compute}/key_pair_spec.rb +12 -12
  360. data/spec/aws/models/compute/key_pairs_spec.rb +71 -0
  361. data/spec/aws/models/{ec2 → compute}/security_group_spec.rb +12 -12
  362. data/spec/aws/models/compute/security_groups_spec.rb +71 -0
  363. data/spec/aws/models/{ec2 → compute}/server_spec.rb +9 -9
  364. data/spec/aws/models/{ec2 → compute}/servers_spec.rb +2 -2
  365. data/spec/aws/models/{ec2 → compute}/snapshot_spec.rb +7 -7
  366. data/spec/aws/models/{ec2 → compute}/snapshots_spec.rb +12 -12
  367. data/spec/aws/models/{ec2 → compute}/volume_spec.rb +16 -16
  368. data/spec/aws/models/compute/volumes_spec.rb +71 -0
  369. data/spec/aws/models/storage/directories_spec.rb +49 -0
  370. data/spec/aws/models/{s3 → storage}/directory_spec.rb +13 -13
  371. data/spec/aws/models/{s3 → storage}/file_spec.rb +6 -6
  372. data/spec/aws/models/{s3 → storage}/files_spec.rb +6 -6
  373. data/spec/aws/requests/{ec2 → compute}/describe_images_spec.rb +4 -4
  374. data/spec/aws/requests/s3/copy_object_spec.rb +12 -12
  375. data/spec/aws/requests/s3/delete_bucket_spec.rb +9 -9
  376. data/spec/aws/requests/s3/delete_object_spec.rb +9 -9
  377. data/spec/aws/requests/s3/get_bucket_location_spec.rb +5 -5
  378. data/spec/aws/requests/s3/get_bucket_spec.rb +13 -13
  379. data/spec/aws/requests/s3/get_object_spec.rb +10 -10
  380. data/spec/aws/requests/s3/get_request_payment_spec.rb +5 -5
  381. data/spec/aws/requests/s3/get_service_spec.rb +6 -6
  382. data/spec/aws/requests/s3/head_object_spec.rb +6 -6
  383. data/spec/aws/requests/s3/put_bucket_spec.rb +4 -4
  384. data/spec/aws/requests/s3/put_object_spec.rb +12 -12
  385. data/spec/aws/requests/s3/put_request_payment_spec.rb +5 -5
  386. data/spec/{rackspace/models/servers → bluebox/models/compute}/flavors_spec.rb +3 -3
  387. data/spec/bluebox/models/{server_spec.rb → compute/server_spec.rb} +4 -4
  388. data/spec/bluebox/models/{servers_spec.rb → compute/servers_spec.rb} +4 -4
  389. data/spec/rackspace/models/compute/flavors_spec.rb +14 -0
  390. data/spec/rackspace/models/{servers → compute}/server_spec.rb +4 -4
  391. data/spec/rackspace/models/compute/servers_spec.rb +22 -0
  392. data/spec/rackspace/requests/{files → storage}/delete_container_spec.rb +5 -5
  393. data/spec/rackspace/requests/storage/delete_object_spec.rb +37 -0
  394. data/spec/rackspace/requests/{files → storage}/get_container_spec.rb +9 -9
  395. data/spec/rackspace/requests/{files → storage}/get_containers_spec.rb +4 -4
  396. data/spec/rackspace/requests/storage/get_object_spec.rb +21 -0
  397. data/spec/rackspace/requests/storage/head_container_spec.rb +30 -0
  398. data/spec/rackspace/requests/storage/head_containers_spec.rb +19 -0
  399. data/spec/rackspace/requests/storage/head_object_spec.rb +21 -0
  400. data/spec/rackspace/requests/{files → storage}/put_container_spec.rb +3 -3
  401. data/spec/rackspace/requests/storage/put_object_spec.rb +20 -0
  402. data/spec/slicehost/models/compute/flavors_spec.rb +14 -0
  403. data/spec/slicehost/models/{server_spec.rb → compute/server_spec.rb} +8 -8
  404. data/spec/{rackspace/models/servers → slicehost/models/compute}/servers_spec.rb +4 -4
  405. data/spec/spec_helper.rb +14 -14
  406. data/spec/vcloud/models/vdc_spec.rb +1 -1
  407. data/spec/vcloud/spec_helper.rb +7 -7
  408. data/spec/vcloud/terremark/ecloud/models/internet_service_spec.rb +1 -1
  409. data/tests/aws/helper.rb +8 -8
  410. data/tests/aws/models/storage/directory_tests.rb +8 -0
  411. data/tests/aws/requests/compute/address_tests.rb +80 -0
  412. data/tests/aws/requests/{ec2 → compute}/availability_zone_tests.rb +5 -5
  413. data/tests/aws/requests/{ec2 → compute}/instance_tests.rb +17 -17
  414. data/tests/aws/requests/{ec2 → compute}/key_pair_tests.rb +12 -12
  415. data/tests/aws/requests/{ec2 → compute}/region_tests.rb +5 -5
  416. data/tests/aws/requests/{ec2 → compute}/security_group_tests.rb +31 -31
  417. data/tests/aws/requests/{ec2 → compute}/snapshot_tests.rb +12 -12
  418. data/tests/aws/requests/{ec2 → compute}/volume_tests.rb +23 -23
  419. data/tests/bluebox/helper.rb +13 -9
  420. data/tests/bluebox/requests/{block_tests.rb → compute/block_tests.rb} +16 -17
  421. data/tests/bluebox/requests/compute/product_tests.rb +25 -0
  422. data/tests/bluebox/requests/{template_tests.rb → compute/template_tests.rb} +5 -5
  423. data/tests/linode/helper.rb +12 -8
  424. data/tests/linode/requests/{datacenter_tests.rb → compute/datacenter_tests.rb} +3 -3
  425. data/tests/linode/requests/{distribution_tests.rb → compute/distribution_tests.rb} +4 -4
  426. data/tests/linode/requests/{linode_tests.rb → compute/linode_tests.rb} +13 -13
  427. data/tests/linode/requests/{linodeplans_tests.rb → compute/linodeplans_tests.rb} +4 -4
  428. data/tests/rackspace/helper.rb +5 -13
  429. data/tests/rackspace/requests/compute/address_tests.rb +40 -0
  430. data/tests/rackspace/requests/compute/flavor_tests.rb +34 -0
  431. data/tests/rackspace/requests/compute/image_tests.rb +62 -0
  432. data/tests/rackspace/requests/{servers → compute}/server_tests.rb +20 -20
  433. data/tests/slicehost/helper.rb +3 -3
  434. data/tests/slicehost/requests/{backup_tests.rb → compute/backup_tests.rb} +2 -2
  435. data/tests/slicehost/requests/{flavor_tests.rb → compute/flavor_tests.rb} +4 -4
  436. data/tests/slicehost/requests/{image_tests.rb → compute/image_tests.rb} +4 -4
  437. data/tests/slicehost/requests/{slice_tests.rb → compute/slice_tests.rb} +12 -12
  438. metadata +304 -290
  439. data/lib/fog/aws/models/ec2/flavors.rb +0 -43
  440. data/lib/fog/aws/models/ec2/image.rb +0 -44
  441. data/lib/fog/aws/models/ec2/key_pair.rb +0 -34
  442. data/lib/fog/aws/models/ec2/servers.rb +0 -49
  443. data/lib/fog/bluebox/models/flavor.rb +0 -43
  444. data/lib/fog/bluebox/models/flavors.rb +0 -32
  445. data/lib/fog/bluebox/models/image.rb +0 -17
  446. data/lib/fog/bluebox/models/images.rb +0 -34
  447. data/lib/fog/bluebox/models/server.rb +0 -79
  448. data/lib/fog/bluebox/models/servers.rb +0 -33
  449. data/lib/fog/bluebox/requests/create_block.rb +0 -39
  450. data/lib/fog/bluebox/requests/destroy_block.rb +0 -32
  451. data/lib/fog/bluebox/requests/get_block.rb +0 -32
  452. data/lib/fog/bluebox/requests/get_blocks.rb +0 -34
  453. data/lib/fog/bluebox/requests/get_product.rb +0 -32
  454. data/lib/fog/bluebox/requests/get_products.rb +0 -31
  455. data/lib/fog/bluebox/requests/get_template.rb +0 -32
  456. data/lib/fog/bluebox/requests/get_templates.rb +0 -32
  457. data/lib/fog/bluebox/requests/reboot_block.rb +0 -33
  458. data/lib/fog/go_grid/requests/common_lookup_list.rb +0 -34
  459. data/lib/fog/go_grid/requests/grid_image_list.rb +0 -37
  460. data/lib/fog/go_grid/requests/grid_ip_list.rb +0 -36
  461. data/lib/fog/go_grid/requests/grid_loadbalancer_list.rb +0 -34
  462. data/lib/fog/go_grid/requests/grid_server_add.rb +0 -42
  463. data/lib/fog/go_grid/requests/grid_server_delete.rb +0 -31
  464. data/lib/fog/go_grid/requests/grid_server_get.rb +0 -31
  465. data/lib/fog/go_grid/requests/grid_server_list.rb +0 -36
  466. data/lib/fog/go_grid/requests/grid_server_power.rb +0 -32
  467. data/lib/fog/linode/requests/avail_datacenters.rb +0 -29
  468. data/lib/fog/linode/requests/avail_distributions.rb +0 -36
  469. data/lib/fog/linode/requests/avail_kernels.rb +0 -34
  470. data/lib/fog/linode/requests/avail_linodeplans.rb +0 -33
  471. data/lib/fog/linode/requests/avail_stackscripts.rb +0 -35
  472. data/lib/fog/linode/requests/linode_create.rb +0 -39
  473. data/lib/fog/linode/requests/linode_delete.rb +0 -34
  474. data/lib/fog/linode/requests/linode_list.rb +0 -36
  475. data/lib/fog/linode/requests/linode_reboot.rb +0 -34
  476. data/lib/fog/local/models/directories.rb +0 -37
  477. data/lib/fog/local/models/directory.rb +0 -50
  478. data/lib/fog/local/models/file.rb +0 -58
  479. data/lib/fog/local/models/files.rb +0 -74
  480. data/lib/fog/new_servers/requests/add_server.rb +0 -39
  481. data/lib/fog/new_servers/requests/cancel_server.rb +0 -36
  482. data/lib/fog/new_servers/requests/get_server.rb +0 -42
  483. data/lib/fog/new_servers/requests/list_images.rb +0 -33
  484. data/lib/fog/new_servers/requests/list_plans.rb +0 -36
  485. data/lib/fog/new_servers/requests/list_servers.rb +0 -43
  486. data/lib/fog/new_servers/requests/reboot_server.rb +0 -30
  487. data/lib/fog/slicehost/models/flavor.rb +0 -43
  488. data/lib/fog/slicehost/models/flavors.rb +0 -31
  489. data/lib/fog/slicehost/models/image.rb +0 -15
  490. data/lib/fog/slicehost/models/images.rb +0 -33
  491. data/lib/fog/slicehost/models/server.rb +0 -62
  492. data/lib/fog/slicehost/models/servers.rb +0 -35
  493. data/lib/fog/slicehost/parsers/create_slice.rb +0 -29
  494. data/lib/fog/slicehost/parsers/get_backups.rb +0 -30
  495. data/lib/fog/slicehost/parsers/get_flavor.rb +0 -24
  496. data/lib/fog/slicehost/parsers/get_flavors.rb +0 -28
  497. data/lib/fog/slicehost/parsers/get_image.rb +0 -24
  498. data/lib/fog/slicehost/parsers/get_images.rb +0 -28
  499. data/lib/fog/slicehost/parsers/get_slice.rb +0 -29
  500. data/lib/fog/slicehost/parsers/get_slices.rb +0 -33
  501. data/lib/fog/slicehost/requests/create_slice.rb +0 -47
  502. data/lib/fog/slicehost/requests/delete_slice.rb +0 -43
  503. data/lib/fog/slicehost/requests/get_backups.rb +0 -35
  504. data/lib/fog/slicehost/requests/get_flavor.rb +0 -38
  505. data/lib/fog/slicehost/requests/get_flavors.rb +0 -35
  506. data/lib/fog/slicehost/requests/get_image.rb +0 -36
  507. data/lib/fog/slicehost/requests/get_images.rb +0 -33
  508. data/lib/fog/slicehost/requests/get_slice.rb +0 -44
  509. data/lib/fog/slicehost/requests/get_slices.rb +0 -41
  510. data/lib/fog/slicehost/requests/reboot_slice.rb +0 -42
  511. data/lib/fog/vcloud/extension.rb +0 -37
  512. data/spec/aws/models/ec2/addresses_spec.rb +0 -70
  513. data/spec/aws/models/ec2/key_pairs_spec.rb +0 -71
  514. data/spec/aws/models/ec2/security_groups_spec.rb +0 -71
  515. data/spec/aws/models/ec2/volumes_spec.rb +0 -71
  516. data/spec/aws/models/s3/directories_spec.rb +0 -49
  517. data/spec/bluebox/models/flavors_spec.rb +0 -14
  518. data/spec/rackspace/requests/files/delete_object_spec.rb +0 -37
  519. data/spec/rackspace/requests/files/get_object_spec.rb +0 -21
  520. data/spec/rackspace/requests/files/head_container_spec.rb +0 -30
  521. data/spec/rackspace/requests/files/head_containers_spec.rb +0 -19
  522. data/spec/rackspace/requests/files/head_object_spec.rb +0 -21
  523. data/spec/rackspace/requests/files/put_object_spec.rb +0 -20
  524. data/spec/slicehost/models/flavors_spec.rb +0 -14
  525. data/spec/slicehost/models/servers_spec.rb +0 -22
  526. data/tests/aws/models/s3/directory_tests.rb +0 -8
  527. data/tests/aws/requests/ec2/address_tests.rb +0 -80
  528. data/tests/bluebox/requests/product_tests.rb +0 -25
  529. data/tests/rackspace/requests/servers/address_tests.rb +0 -40
  530. data/tests/rackspace/requests/servers/flavor_tests.rb +0 -34
  531. data/tests/rackspace/requests/servers/image_tests.rb +0 -59
@@ -1,21 +1,21 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fog (0.2.30)
4
+ fog (0.3.0)
5
5
  builder
6
- excon (>= 0.2.0)
6
+ excon (>= 0.2.1)
7
7
  formatador (>= 0.0.15)
8
8
  json
9
9
  mime-types
10
- net-ssh
11
- nokogiri (>= 1.4.3.1)
10
+ net-ssh (~> 2.0.23)
11
+ nokogiri (~> 1.4.3.1)
12
12
  ruby-hmac
13
13
 
14
14
  GEM
15
15
  remote: http://rubygems.org/
16
16
  specs:
17
17
  builder (2.1.2)
18
- excon (0.2.0)
18
+ excon (0.2.1)
19
19
  formatador (0.0.15)
20
20
  gestalt (0.0.11)
21
21
  formatador (>= 0.0.12)
@@ -35,13 +35,13 @@ PLATFORMS
35
35
 
36
36
  DEPENDENCIES
37
37
  builder
38
- excon (>= 0.2.0)
38
+ excon (>= 0.2.1)
39
39
  fog!
40
40
  formatador (>= 0.0.15)
41
41
  json
42
42
  mime-types
43
- net-ssh
44
- nokogiri (>= 1.4.3.1)
43
+ net-ssh (~> 2.0.23)
44
+ nokogiri (~> 1.4.3.1)
45
45
  rake
46
46
  rspec
47
47
  ruby-hmac
@@ -3,7 +3,7 @@ http://geemus.com/fog.png
3
3
  fog is the Ruby cloud computing library.
4
4
 
5
5
  The quick and dirty, top to bottom:
6
- * Models provide a simplified interface, making clouds easier to work with and switch between.
6
+ * Collections provide a simplified interface, making clouds easier to work with and switch between.
7
7
  * Requests allow power users to get the most out of the features of each individual cloud.
8
8
  * Mocks make testing and integrating a breeze.
9
9
 
@@ -24,10 +24,11 @@ Now just type 'fog' to trying stuff out, confident that fog should let you know
24
24
 
25
25
  == Collections
26
26
 
27
- Nouns like Images and Servers are collections, which form the interface to the cloud.
27
+ A high level interface to each cloud is provided through collections, such as images and servers.
28
+ You can see a list of available collections by calling #collections on the connection object.
28
29
  Some of these collections are shared across multiple providers.
29
- The shared collections for compute resources are flavors, images and servers.
30
- Shared collections for storage are directory and file.
30
+ Shared collections for compute are: flavors, images and servers.
31
+ Shared collections for storage are: directory and file.
31
32
 
32
33
  Some common methods for all of these collections are:
33
34
  * #all - fetch every object of that type from the provider.
@@ -58,7 +59,7 @@ As an example, we'll try initializing and persisting a Rackspace Cloud server:
58
59
 
59
60
  == Models
60
61
 
61
- Many of the collection methods return individual objects, which provide destroy, save and wait_for methods.
62
+ Many of the collection methods return individual objects, which also provide some common methods:
62
63
  * #destroy - will destroy the persisted object from the provider
63
64
  * #save - persist the object to the provider
64
65
  * #wait_for - takes a block and waits for either the block to return true for the object or for a timeout (defaults to 10 minutes)
@@ -77,6 +78,7 @@ Some mocks are not implemented just yet, but fog will raise an error to let you
77
78
  == Requests
78
79
 
79
80
  Requests allow you to dive deeper when the models just can't cut it.
81
+ You can see a list of available requests by calling #requests on the connection object.
80
82
  For instance, ec2 provides methods related to reserved instances that don't have any models (yet).
81
83
  Here is how you can lookup your reserved instances:
82
84
 
@@ -92,16 +94,23 @@ Play around and use the console to explore or check out the {getting started gui
92
94
 
93
95
  You should try out the (varying) support fog has for:
94
96
  * {AWS}[http://aws.amazon.com] [{EC2}[http://aws.amazon.com/ec2], {ELB}[http://aws.amazon.com/elasticloadbalancing], {S3}[http://aws.amazon.com/s3], {SimpleDB}[http://aws.amazon.com/simpledb]]
97
+ * {Blue Box Group}[http://www.blueboxgrp.com] [{Blocks}[http://www.blueboxgrp.com/blocks]]
95
98
  * {Rackspace}[http://www.rackspace.com] [{Files}[http://www.rackspacecloud.com/cloud_hosting_products/files], {Servers}[http://www.rackspacecloud.com/cloud_hosting_products/servers]]
96
99
  * {Slicehost}[http://www.slicehost.com]
97
100
  * {Terremark}[http://www.terremark.com] [{vCloud Express}[http://vcloudexpress.terremark.com]]
98
- * {Blue Box Group}[http://www.blueboxgrp.com] [{Blocks}[http://www.blueboxgrp.com/blocks]]
101
+
102
+ There are also the basics of these providers (that could use your love):
103
+ * {GoGrid}[http://www.gogrid.com]
104
+ * {Linode}[http://www.linode.com]
105
+ * Local [Files]
106
+ * {New Servers}[http://www.newservers.com]
99
107
 
100
108
  Enjoy, and let me know what I can do to continue improving fog!
101
109
 
102
110
  * See what already uses fog and add your own stuff to {the list}[http://wiki.github.com/geemus/fog/in-the-wild].
103
111
  * Work for {twitter}[http://twitter.com]? I'd love to reclaim the unused {@fog}[http://twitter.com/fog] account!
104
112
  * Follow {@geemus}[http://twitter.com/geemus] on Twitter.
113
+ * Discuss in irc on the {#ruby-fog}[irc://irc.freenode.net/ruby-fog]#ruby-fog channel on Freenode or via email on the {mailing list}[http://groups.google.com/group/ruby-fog].
105
114
  * See upcoming work in the {tracker}[http://www.pivotaltracker.com/projects/54635].
106
115
  * Report bugs in {issues}[http://github.com/geemus/fog/issues].
107
116
  * Learn about {contributing}[http://wiki.github.com/geemus/fog/contributors-guide].
data/Rakefile CHANGED
@@ -45,11 +45,18 @@ end
45
45
 
46
46
  task :default => :test
47
47
 
48
- require 'rake/testtask'
49
- Rake::TestTask.new(:test) do |test|
50
- test.libs << 'lib' << 'test'
51
- test.pattern = 'test/**/test_*.rb'
52
- test.verbose = true
48
+ task :test do
49
+ sh("export FOG_MOCK=true && bundle exec spec -cfs spec") &&
50
+ sh("export FOG_MOCK=true && bundle exec shindo tests") &&
51
+ sh("export FOG_MOCK=false && bundle exec spec -cfs spec") &&
52
+ sh("export FOG_MOCK=false && bundle exec shindo tests")
53
+ end
54
+
55
+ task :ci do
56
+ sh("export FOG_MOCK=true && bundle exec spec spec") &&
57
+ sh("export FOG_MOCK=true && bundle exec shindont tests") &&
58
+ sh("export FOG_MOCK=false && bundle exec spec spec") &&
59
+ sh("export FOG_MOCK=false && bundle exec shindont tests")
53
60
  end
54
61
 
55
62
  desc "Generate RCov test coverage and open in your browser"
@@ -73,20 +80,6 @@ task :console do
73
80
  sh "irb -rubygems -r ./lib/#{name}.rb"
74
81
  end
75
82
 
76
- #############################################################################
77
- #
78
- # Custom tasks (add your own tasks here)
79
- #
80
- #############################################################################
81
-
82
- require 'spec/rake/spectask'
83
- Spec::Rake::SpecTask.new(:spec) do |spec|
84
- spec.libs << 'lib' << 'spec' << File.expand_path("../", __FILE__)
85
- spec.spec_opts = ['--colour', "--format", "specdoc"]
86
- spec.spec_files = FileList['spec/**/*_spec.rb']
87
- end
88
-
89
-
90
83
  #############################################################################
91
84
  #
92
85
  # Packaging tasks
data/bin/fog CHANGED
@@ -3,7 +3,8 @@ require File.join(File.dirname(__FILE__), '..', 'lib', 'fog')
3
3
  require 'irb'
4
4
  require 'yaml'
5
5
  require File.join('fog', 'credentials')
6
- Fog.credential = ARGV.first ? :"#{ARGV.first}" : :default
6
+ Fog.credential = ARGV.first ? ARGV.first.to_sym : nil
7
+ Fog.bin = true
7
8
  unless Fog.credentials
8
9
  exit
9
10
  end
@@ -23,17 +24,18 @@ else
23
24
  @irb.context.prompt_mode = :FOG
24
25
  @irb.context.workspace = IRB::WorkSpace.new(binding)
25
26
 
26
- services = Fog.services.map{|service| service.to_s}
27
- available_services = if services.length > 1
28
- services[0...-1].join(', ') << ' and ' << services[-1]
27
+ providers = Fog.providers.map{|provider| provider.to_s}
28
+ providers = if providers.length > 1
29
+ providers[0...-1].join(', ') << ' and ' << providers[-1]
29
30
  else
30
- services.first
31
+ providers.first
31
32
  end
32
- print "Welcome to fog interactive!\n"
33
- print "Your '#{Fog.credential.to_s}' configuration provides access to #{available_services}.\n"
34
- Fog.services.each do |service|
35
- if service.respond_to?(:startup_notice)
36
- service.send(:startup_notice)
33
+ Formatador.display_line('Welcome to fog interactive!')
34
+ Formatador.display_line(":#{Fog.credential.to_s} credentials provide #{providers}")
35
+ providers = Fog.providers
36
+ Fog.modules.each do |_module_|
37
+ if _module_.respond_to?(:startup_notice)
38
+ _module_.send(:startup_notice)
37
39
  end
38
40
  end
39
41
 
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
7
7
  ## If your rubyforge_project name is different, then edit it and comment out
8
8
  ## the sub! line in the Rakefile
9
9
  s.name = 'fog'
10
- s.version = '0.2.30'
11
- s.date = '2010-09-01'
10
+ s.version = '0.3.0'
11
+ s.date = '2010-09-22'
12
12
  s.rubyforge_project = 'fog'
13
13
 
14
14
  ## Make sure your summary is short. The description may be as long
@@ -43,12 +43,12 @@ Gem::Specification.new do |s|
43
43
  ## List your runtime dependencies here. Runtime dependencies are those
44
44
  ## that are needed for an end user to actually USE your code.
45
45
  s.add_dependency('builder')
46
- s.add_dependency('excon', '>=0.2.0')
46
+ s.add_dependency('excon', '>=0.2.1')
47
47
  s.add_dependency('formatador', '>=0.0.15')
48
48
  s.add_dependency('json')
49
49
  s.add_dependency('mime-types')
50
- s.add_dependency('net-ssh')
51
- s.add_dependency('nokogiri', '>=1.4.3.1')
50
+ s.add_dependency('net-ssh', '~>2.0.23')
51
+ s.add_dependency('nokogiri', '~>1.4.3.1')
52
52
  s.add_dependency('ruby-hmac')
53
53
 
54
54
  ## List your development dependencies here. Development dependencies are
@@ -76,52 +76,54 @@ Gem::Specification.new do |s|
76
76
  lib/fog/attributes.rb
77
77
  lib/fog/aws.rb
78
78
  lib/fog/aws/bin.rb
79
+ lib/fog/aws/compute.rb
79
80
  lib/fog/aws/ec2.rb
80
81
  lib/fog/aws/elb.rb
81
- lib/fog/aws/models/ec2/address.rb
82
- lib/fog/aws/models/ec2/addresses.rb
83
- lib/fog/aws/models/ec2/flavor.rb
84
- lib/fog/aws/models/ec2/flavors.rb
85
- lib/fog/aws/models/ec2/image.rb
86
- lib/fog/aws/models/ec2/images.rb
87
- lib/fog/aws/models/ec2/key_pair.rb
88
- lib/fog/aws/models/ec2/key_pairs.rb
89
- lib/fog/aws/models/ec2/security_group.rb
90
- lib/fog/aws/models/ec2/security_groups.rb
91
- lib/fog/aws/models/ec2/server.rb
92
- lib/fog/aws/models/ec2/servers.rb
93
- lib/fog/aws/models/ec2/snapshot.rb
94
- lib/fog/aws/models/ec2/snapshots.rb
95
- lib/fog/aws/models/ec2/volume.rb
96
- lib/fog/aws/models/ec2/volumes.rb
97
- lib/fog/aws/models/s3/directories.rb
98
- lib/fog/aws/models/s3/directory.rb
99
- lib/fog/aws/models/s3/file.rb
100
- lib/fog/aws/models/s3/files.rb
101
- lib/fog/aws/parsers/ec2/allocate_address.rb
102
- lib/fog/aws/parsers/ec2/attach_volume.rb
103
- lib/fog/aws/parsers/ec2/basic.rb
104
- lib/fog/aws/parsers/ec2/create_image.rb
105
- lib/fog/aws/parsers/ec2/create_key_pair.rb
106
- lib/fog/aws/parsers/ec2/create_snapshot.rb
107
- lib/fog/aws/parsers/ec2/create_volume.rb
108
- lib/fog/aws/parsers/ec2/deregister_image.rb
109
- lib/fog/aws/parsers/ec2/describe_addresses.rb
110
- lib/fog/aws/parsers/ec2/describe_availability_zones.rb
111
- lib/fog/aws/parsers/ec2/describe_images.rb
112
- lib/fog/aws/parsers/ec2/describe_instances.rb
113
- lib/fog/aws/parsers/ec2/describe_key_pairs.rb
114
- lib/fog/aws/parsers/ec2/describe_regions.rb
115
- lib/fog/aws/parsers/ec2/describe_reserved_instances.rb
116
- lib/fog/aws/parsers/ec2/describe_security_groups.rb
117
- lib/fog/aws/parsers/ec2/describe_snapshots.rb
118
- lib/fog/aws/parsers/ec2/describe_volumes.rb
119
- lib/fog/aws/parsers/ec2/detach_volume.rb
120
- lib/fog/aws/parsers/ec2/get_console_output.rb
121
- lib/fog/aws/parsers/ec2/register_image.rb
122
- lib/fog/aws/parsers/ec2/run_instances.rb
123
- lib/fog/aws/parsers/ec2/start_stop_instances.rb
124
- lib/fog/aws/parsers/ec2/terminate_instances.rb
82
+ lib/fog/aws/models/compute/address.rb
83
+ lib/fog/aws/models/compute/addresses.rb
84
+ lib/fog/aws/models/compute/flavor.rb
85
+ lib/fog/aws/models/compute/flavors.rb
86
+ lib/fog/aws/models/compute/image.rb
87
+ lib/fog/aws/models/compute/images.rb
88
+ lib/fog/aws/models/compute/key_pair.rb
89
+ lib/fog/aws/models/compute/key_pairs.rb
90
+ lib/fog/aws/models/compute/security_group.rb
91
+ lib/fog/aws/models/compute/security_groups.rb
92
+ lib/fog/aws/models/compute/server.rb
93
+ lib/fog/aws/models/compute/servers.rb
94
+ lib/fog/aws/models/compute/snapshot.rb
95
+ lib/fog/aws/models/compute/snapshots.rb
96
+ lib/fog/aws/models/compute/volume.rb
97
+ lib/fog/aws/models/compute/volumes.rb
98
+ lib/fog/aws/models/storage/directories.rb
99
+ lib/fog/aws/models/storage/directory.rb
100
+ lib/fog/aws/models/storage/file.rb
101
+ lib/fog/aws/models/storage/files.rb
102
+ lib/fog/aws/parsers/compute/allocate_address.rb
103
+ lib/fog/aws/parsers/compute/attach_volume.rb
104
+ lib/fog/aws/parsers/compute/basic.rb
105
+ lib/fog/aws/parsers/compute/create_image.rb
106
+ lib/fog/aws/parsers/compute/create_key_pair.rb
107
+ lib/fog/aws/parsers/compute/create_snapshot.rb
108
+ lib/fog/aws/parsers/compute/create_volume.rb
109
+ lib/fog/aws/parsers/compute/deregister_image.rb
110
+ lib/fog/aws/parsers/compute/describe_addresses.rb
111
+ lib/fog/aws/parsers/compute/describe_availability_zones.rb
112
+ lib/fog/aws/parsers/compute/describe_images.rb
113
+ lib/fog/aws/parsers/compute/describe_instances.rb
114
+ lib/fog/aws/parsers/compute/describe_key_pairs.rb
115
+ lib/fog/aws/parsers/compute/describe_regions.rb
116
+ lib/fog/aws/parsers/compute/describe_reserved_instances.rb
117
+ lib/fog/aws/parsers/compute/describe_security_groups.rb
118
+ lib/fog/aws/parsers/compute/describe_snapshots.rb
119
+ lib/fog/aws/parsers/compute/describe_volumes.rb
120
+ lib/fog/aws/parsers/compute/detach_volume.rb
121
+ lib/fog/aws/parsers/compute/get_console_output.rb
122
+ lib/fog/aws/parsers/compute/import_key_pair.rb
123
+ lib/fog/aws/parsers/compute/register_image.rb
124
+ lib/fog/aws/parsers/compute/run_instances.rb
125
+ lib/fog/aws/parsers/compute/start_stop_instances.rb
126
+ lib/fog/aws/parsers/compute/terminate_instances.rb
125
127
  lib/fog/aws/parsers/elb/create_load_balancer.rb
126
128
  lib/fog/aws/parsers/elb/delete_load_balancer.rb
127
129
  lib/fog/aws/parsers/elb/deregister_instances_from_load_balancer.rb
@@ -130,57 +132,58 @@ Gem::Specification.new do |s|
130
132
  lib/fog/aws/parsers/elb/disable_availability_zones_for_load_balancer.rb
131
133
  lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
132
134
  lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
133
- lib/fog/aws/parsers/s3/access_control_list.rb
134
- lib/fog/aws/parsers/s3/copy_object.rb
135
- lib/fog/aws/parsers/s3/get_bucket.rb
136
- lib/fog/aws/parsers/s3/get_bucket_location.rb
137
- lib/fog/aws/parsers/s3/get_bucket_logging.rb
138
- lib/fog/aws/parsers/s3/get_bucket_object_versions.rb
139
- lib/fog/aws/parsers/s3/get_bucket_versioning.rb
140
- lib/fog/aws/parsers/s3/get_request_payment.rb
141
- lib/fog/aws/parsers/s3/get_service.rb
142
135
  lib/fog/aws/parsers/simpledb/basic.rb
143
136
  lib/fog/aws/parsers/simpledb/domain_metadata.rb
144
137
  lib/fog/aws/parsers/simpledb/get_attributes.rb
145
138
  lib/fog/aws/parsers/simpledb/list_domains.rb
146
139
  lib/fog/aws/parsers/simpledb/select.rb
147
- lib/fog/aws/requests/ec2/allocate_address.rb
148
- lib/fog/aws/requests/ec2/associate_address.rb
149
- lib/fog/aws/requests/ec2/attach_volume.rb
150
- lib/fog/aws/requests/ec2/authorize_security_group_ingress.rb
151
- lib/fog/aws/requests/ec2/create_image.rb
152
- lib/fog/aws/requests/ec2/create_key_pair.rb
153
- lib/fog/aws/requests/ec2/create_security_group.rb
154
- lib/fog/aws/requests/ec2/create_snapshot.rb
155
- lib/fog/aws/requests/ec2/create_volume.rb
156
- lib/fog/aws/requests/ec2/delete_key_pair.rb
157
- lib/fog/aws/requests/ec2/delete_security_group.rb
158
- lib/fog/aws/requests/ec2/delete_snapshot.rb
159
- lib/fog/aws/requests/ec2/delete_volume.rb
160
- lib/fog/aws/requests/ec2/deregister_image.rb
161
- lib/fog/aws/requests/ec2/describe_addresses.rb
162
- lib/fog/aws/requests/ec2/describe_availability_zones.rb
163
- lib/fog/aws/requests/ec2/describe_images.rb
164
- lib/fog/aws/requests/ec2/describe_instances.rb
165
- lib/fog/aws/requests/ec2/describe_key_pairs.rb
166
- lib/fog/aws/requests/ec2/describe_regions.rb
167
- lib/fog/aws/requests/ec2/describe_reserved_instances.rb
168
- lib/fog/aws/requests/ec2/describe_security_groups.rb
169
- lib/fog/aws/requests/ec2/describe_snapshots.rb
170
- lib/fog/aws/requests/ec2/describe_volumes.rb
171
- lib/fog/aws/requests/ec2/detach_volume.rb
172
- lib/fog/aws/requests/ec2/disassociate_address.rb
173
- lib/fog/aws/requests/ec2/get_console_output.rb
174
- lib/fog/aws/requests/ec2/modify_image_attributes.rb
175
- lib/fog/aws/requests/ec2/modify_snapshot_attribute.rb
176
- lib/fog/aws/requests/ec2/reboot_instances.rb
177
- lib/fog/aws/requests/ec2/register_image.rb
178
- lib/fog/aws/requests/ec2/release_address.rb
179
- lib/fog/aws/requests/ec2/revoke_security_group_ingress.rb
180
- lib/fog/aws/requests/ec2/run_instances.rb
181
- lib/fog/aws/requests/ec2/start_instances.rb
182
- lib/fog/aws/requests/ec2/stop_instances.rb
183
- lib/fog/aws/requests/ec2/terminate_instances.rb
140
+ lib/fog/aws/parsers/storage/access_control_list.rb
141
+ lib/fog/aws/parsers/storage/copy_object.rb
142
+ lib/fog/aws/parsers/storage/get_bucket.rb
143
+ lib/fog/aws/parsers/storage/get_bucket_location.rb
144
+ lib/fog/aws/parsers/storage/get_bucket_logging.rb
145
+ lib/fog/aws/parsers/storage/get_bucket_object_versions.rb
146
+ lib/fog/aws/parsers/storage/get_bucket_versioning.rb
147
+ lib/fog/aws/parsers/storage/get_request_payment.rb
148
+ lib/fog/aws/parsers/storage/get_service.rb
149
+ lib/fog/aws/requests/compute/allocate_address.rb
150
+ lib/fog/aws/requests/compute/associate_address.rb
151
+ lib/fog/aws/requests/compute/attach_volume.rb
152
+ lib/fog/aws/requests/compute/authorize_security_group_ingress.rb
153
+ lib/fog/aws/requests/compute/create_image.rb
154
+ lib/fog/aws/requests/compute/create_key_pair.rb
155
+ lib/fog/aws/requests/compute/create_security_group.rb
156
+ lib/fog/aws/requests/compute/create_snapshot.rb
157
+ lib/fog/aws/requests/compute/create_volume.rb
158
+ lib/fog/aws/requests/compute/delete_key_pair.rb
159
+ lib/fog/aws/requests/compute/delete_security_group.rb
160
+ lib/fog/aws/requests/compute/delete_snapshot.rb
161
+ lib/fog/aws/requests/compute/delete_volume.rb
162
+ lib/fog/aws/requests/compute/deregister_image.rb
163
+ lib/fog/aws/requests/compute/describe_addresses.rb
164
+ lib/fog/aws/requests/compute/describe_availability_zones.rb
165
+ lib/fog/aws/requests/compute/describe_images.rb
166
+ lib/fog/aws/requests/compute/describe_instances.rb
167
+ lib/fog/aws/requests/compute/describe_key_pairs.rb
168
+ lib/fog/aws/requests/compute/describe_regions.rb
169
+ lib/fog/aws/requests/compute/describe_reserved_instances.rb
170
+ lib/fog/aws/requests/compute/describe_security_groups.rb
171
+ lib/fog/aws/requests/compute/describe_snapshots.rb
172
+ lib/fog/aws/requests/compute/describe_volumes.rb
173
+ lib/fog/aws/requests/compute/detach_volume.rb
174
+ lib/fog/aws/requests/compute/disassociate_address.rb
175
+ lib/fog/aws/requests/compute/get_console_output.rb
176
+ lib/fog/aws/requests/compute/import_key_pair.rb
177
+ lib/fog/aws/requests/compute/modify_image_attributes.rb
178
+ lib/fog/aws/requests/compute/modify_snapshot_attribute.rb
179
+ lib/fog/aws/requests/compute/reboot_instances.rb
180
+ lib/fog/aws/requests/compute/register_image.rb
181
+ lib/fog/aws/requests/compute/release_address.rb
182
+ lib/fog/aws/requests/compute/revoke_security_group_ingress.rb
183
+ lib/fog/aws/requests/compute/run_instances.rb
184
+ lib/fog/aws/requests/compute/start_instances.rb
185
+ lib/fog/aws/requests/compute/stop_instances.rb
186
+ lib/fog/aws/requests/compute/terminate_instances.rb
184
187
  lib/fog/aws/requests/elb/create_load_balancer.rb
185
188
  lib/fog/aws/requests/elb/delete_load_balancer.rb
186
189
  lib/fog/aws/requests/elb/deregister_instances_from_load_balancer.rb
@@ -189,29 +192,6 @@ Gem::Specification.new do |s|
189
192
  lib/fog/aws/requests/elb/disable_availability_zones_for_load_balancer.rb
190
193
  lib/fog/aws/requests/elb/enable_availability_zones_for_load_balancer.rb
191
194
  lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb
192
- lib/fog/aws/requests/s3/copy_object.rb
193
- lib/fog/aws/requests/s3/delete_bucket.rb
194
- lib/fog/aws/requests/s3/delete_object.rb
195
- lib/fog/aws/requests/s3/get_bucket.rb
196
- lib/fog/aws/requests/s3/get_bucket_acl.rb
197
- lib/fog/aws/requests/s3/get_bucket_location.rb
198
- lib/fog/aws/requests/s3/get_bucket_logging.rb
199
- lib/fog/aws/requests/s3/get_bucket_object_versions.rb
200
- lib/fog/aws/requests/s3/get_bucket_versioning.rb
201
- lib/fog/aws/requests/s3/get_object.rb
202
- lib/fog/aws/requests/s3/get_object_acl.rb
203
- lib/fog/aws/requests/s3/get_object_torrent.rb
204
- lib/fog/aws/requests/s3/get_object_url.rb
205
- lib/fog/aws/requests/s3/get_request_payment.rb
206
- lib/fog/aws/requests/s3/get_service.rb
207
- lib/fog/aws/requests/s3/head_object.rb
208
- lib/fog/aws/requests/s3/put_bucket.rb
209
- lib/fog/aws/requests/s3/put_bucket_acl.rb
210
- lib/fog/aws/requests/s3/put_bucket_logging.rb
211
- lib/fog/aws/requests/s3/put_bucket_versioning.rb
212
- lib/fog/aws/requests/s3/put_object.rb
213
- lib/fog/aws/requests/s3/put_object_url.rb
214
- lib/fog/aws/requests/s3/put_request_payment.rb
215
195
  lib/fog/aws/requests/simpledb/batch_put_attributes.rb
216
196
  lib/fog/aws/requests/simpledb/create_domain.rb
217
197
  lib/fog/aws/requests/simpledb/delete_attributes.rb
@@ -221,26 +201,51 @@ Gem::Specification.new do |s|
221
201
  lib/fog/aws/requests/simpledb/list_domains.rb
222
202
  lib/fog/aws/requests/simpledb/put_attributes.rb
223
203
  lib/fog/aws/requests/simpledb/select.rb
204
+ lib/fog/aws/requests/storage/copy_object.rb
205
+ lib/fog/aws/requests/storage/delete_bucket.rb
206
+ lib/fog/aws/requests/storage/delete_object.rb
207
+ lib/fog/aws/requests/storage/get_bucket.rb
208
+ lib/fog/aws/requests/storage/get_bucket_acl.rb
209
+ lib/fog/aws/requests/storage/get_bucket_location.rb
210
+ lib/fog/aws/requests/storage/get_bucket_logging.rb
211
+ lib/fog/aws/requests/storage/get_bucket_object_versions.rb
212
+ lib/fog/aws/requests/storage/get_bucket_versioning.rb
213
+ lib/fog/aws/requests/storage/get_object.rb
214
+ lib/fog/aws/requests/storage/get_object_acl.rb
215
+ lib/fog/aws/requests/storage/get_object_torrent.rb
216
+ lib/fog/aws/requests/storage/get_object_url.rb
217
+ lib/fog/aws/requests/storage/get_request_payment.rb
218
+ lib/fog/aws/requests/storage/get_service.rb
219
+ lib/fog/aws/requests/storage/head_object.rb
220
+ lib/fog/aws/requests/storage/put_bucket.rb
221
+ lib/fog/aws/requests/storage/put_bucket_acl.rb
222
+ lib/fog/aws/requests/storage/put_bucket_logging.rb
223
+ lib/fog/aws/requests/storage/put_bucket_versioning.rb
224
+ lib/fog/aws/requests/storage/put_object.rb
225
+ lib/fog/aws/requests/storage/put_object_url.rb
226
+ lib/fog/aws/requests/storage/put_request_payment.rb
224
227
  lib/fog/aws/s3.rb
225
228
  lib/fog/aws/simpledb.rb
229
+ lib/fog/aws/storage.rb
226
230
  lib/fog/bin.rb
227
231
  lib/fog/bluebox.rb
228
232
  lib/fog/bluebox/bin.rb
229
- lib/fog/bluebox/models/flavor.rb
230
- lib/fog/bluebox/models/flavors.rb
231
- lib/fog/bluebox/models/image.rb
232
- lib/fog/bluebox/models/images.rb
233
- lib/fog/bluebox/models/server.rb
234
- lib/fog/bluebox/models/servers.rb
235
- lib/fog/bluebox/requests/create_block.rb
236
- lib/fog/bluebox/requests/destroy_block.rb
237
- lib/fog/bluebox/requests/get_block.rb
238
- lib/fog/bluebox/requests/get_blocks.rb
239
- lib/fog/bluebox/requests/get_product.rb
240
- lib/fog/bluebox/requests/get_products.rb
241
- lib/fog/bluebox/requests/get_template.rb
242
- lib/fog/bluebox/requests/get_templates.rb
243
- lib/fog/bluebox/requests/reboot_block.rb
233
+ lib/fog/bluebox/compute.rb
234
+ lib/fog/bluebox/models/compute/flavor.rb
235
+ lib/fog/bluebox/models/compute/flavors.rb
236
+ lib/fog/bluebox/models/compute/image.rb
237
+ lib/fog/bluebox/models/compute/images.rb
238
+ lib/fog/bluebox/models/compute/server.rb
239
+ lib/fog/bluebox/models/compute/servers.rb
240
+ lib/fog/bluebox/requests/compute/create_block.rb
241
+ lib/fog/bluebox/requests/compute/destroy_block.rb
242
+ lib/fog/bluebox/requests/compute/get_block.rb
243
+ lib/fog/bluebox/requests/compute/get_blocks.rb
244
+ lib/fog/bluebox/requests/compute/get_product.rb
245
+ lib/fog/bluebox/requests/compute/get_products.rb
246
+ lib/fog/bluebox/requests/compute/get_template.rb
247
+ lib/fog/bluebox/requests/compute/get_templates.rb
248
+ lib/fog/bluebox/requests/compute/reboot_block.rb
244
249
  lib/fog/collection.rb
245
250
  lib/fog/connection.rb
246
251
  lib/fog/credentials.rb
@@ -248,113 +253,121 @@ Gem::Specification.new do |s|
248
253
  lib/fog/errors.rb
249
254
  lib/fog/go_grid.rb
250
255
  lib/fog/go_grid/bin.rb
251
- lib/fog/go_grid/requests/common_lookup_list.rb
252
- lib/fog/go_grid/requests/grid_image_list.rb
253
- lib/fog/go_grid/requests/grid_ip_list.rb
254
- lib/fog/go_grid/requests/grid_loadbalancer_list.rb
255
- lib/fog/go_grid/requests/grid_server_add.rb
256
- lib/fog/go_grid/requests/grid_server_delete.rb
257
- lib/fog/go_grid/requests/grid_server_get.rb
258
- lib/fog/go_grid/requests/grid_server_list.rb
259
- lib/fog/go_grid/requests/grid_server_power.rb
256
+ lib/fog/go_grid/compute.rb
257
+ lib/fog/go_grid/requests/compute/common_lookup_list.rb
258
+ lib/fog/go_grid/requests/compute/grid_image_list.rb
259
+ lib/fog/go_grid/requests/compute/grid_ip_list.rb
260
+ lib/fog/go_grid/requests/compute/grid_loadbalancer_list.rb
261
+ lib/fog/go_grid/requests/compute/grid_server_add.rb
262
+ lib/fog/go_grid/requests/compute/grid_server_delete.rb
263
+ lib/fog/go_grid/requests/compute/grid_server_get.rb
264
+ lib/fog/go_grid/requests/compute/grid_server_list.rb
265
+ lib/fog/go_grid/requests/compute/grid_server_power.rb
260
266
  lib/fog/hmac.rb
261
267
  lib/fog/linode.rb
262
268
  lib/fog/linode/bin.rb
263
- lib/fog/linode/requests/avail_datacenters.rb
264
- lib/fog/linode/requests/avail_distributions.rb
265
- lib/fog/linode/requests/avail_kernels.rb
266
- lib/fog/linode/requests/avail_linodeplans.rb
267
- lib/fog/linode/requests/avail_stackscripts.rb
268
- lib/fog/linode/requests/linode_create.rb
269
- lib/fog/linode/requests/linode_delete.rb
270
- lib/fog/linode/requests/linode_list.rb
271
- lib/fog/linode/requests/linode_reboot.rb
269
+ lib/fog/linode/compute.rb
270
+ lib/fog/linode/requests/compute/avail_datacenters.rb
271
+ lib/fog/linode/requests/compute/avail_distributions.rb
272
+ lib/fog/linode/requests/compute/avail_kernels.rb
273
+ lib/fog/linode/requests/compute/avail_linodeplans.rb
274
+ lib/fog/linode/requests/compute/avail_stackscripts.rb
275
+ lib/fog/linode/requests/compute/linode_create.rb
276
+ lib/fog/linode/requests/compute/linode_delete.rb
277
+ lib/fog/linode/requests/compute/linode_list.rb
278
+ lib/fog/linode/requests/compute/linode_reboot.rb
272
279
  lib/fog/local.rb
273
280
  lib/fog/local/bin.rb
274
- lib/fog/local/models/directories.rb
275
- lib/fog/local/models/directory.rb
276
- lib/fog/local/models/file.rb
277
- lib/fog/local/models/files.rb
281
+ lib/fog/local/models/storage/directories.rb
282
+ lib/fog/local/models/storage/directory.rb
283
+ lib/fog/local/models/storage/file.rb
284
+ lib/fog/local/models/storage/files.rb
285
+ lib/fog/local/storage.rb
278
286
  lib/fog/model.rb
279
287
  lib/fog/new_servers.rb
280
288
  lib/fog/new_servers/bin.rb
281
- lib/fog/new_servers/requests/add_server.rb
282
- lib/fog/new_servers/requests/cancel_server.rb
283
- lib/fog/new_servers/requests/get_server.rb
284
- lib/fog/new_servers/requests/list_images.rb
285
- lib/fog/new_servers/requests/list_plans.rb
286
- lib/fog/new_servers/requests/list_servers.rb
287
- lib/fog/new_servers/requests/reboot_server.rb
289
+ lib/fog/new_servers/compute.rb
290
+ lib/fog/new_servers/requests/compute/add_server.rb
291
+ lib/fog/new_servers/requests/compute/cancel_server.rb
292
+ lib/fog/new_servers/requests/compute/get_server.rb
293
+ lib/fog/new_servers/requests/compute/list_images.rb
294
+ lib/fog/new_servers/requests/compute/list_plans.rb
295
+ lib/fog/new_servers/requests/compute/list_servers.rb
296
+ lib/fog/new_servers/requests/compute/reboot_server.rb
288
297
  lib/fog/parser.rb
298
+ lib/fog/provider.rb
289
299
  lib/fog/rackspace.rb
290
300
  lib/fog/rackspace/bin.rb
301
+ lib/fog/rackspace/compute.rb
291
302
  lib/fog/rackspace/files.rb
292
- lib/fog/rackspace/models/files/directories.rb
293
- lib/fog/rackspace/models/files/directory.rb
294
- lib/fog/rackspace/models/files/file.rb
295
- lib/fog/rackspace/models/files/files.rb
296
- lib/fog/rackspace/models/servers/flavor.rb
297
- lib/fog/rackspace/models/servers/flavors.rb
298
- lib/fog/rackspace/models/servers/image.rb
299
- lib/fog/rackspace/models/servers/images.rb
300
- lib/fog/rackspace/models/servers/server.rb
301
- lib/fog/rackspace/models/servers/servers.rb
302
- lib/fog/rackspace/requests/files/delete_container.rb
303
- lib/fog/rackspace/requests/files/delete_object.rb
304
- lib/fog/rackspace/requests/files/get_container.rb
305
- lib/fog/rackspace/requests/files/get_containers.rb
306
- lib/fog/rackspace/requests/files/get_object.rb
307
- lib/fog/rackspace/requests/files/head_container.rb
308
- lib/fog/rackspace/requests/files/head_containers.rb
309
- lib/fog/rackspace/requests/files/head_object.rb
310
- lib/fog/rackspace/requests/files/put_container.rb
311
- lib/fog/rackspace/requests/files/put_object.rb
312
- lib/fog/rackspace/requests/servers/create_image.rb
313
- lib/fog/rackspace/requests/servers/create_server.rb
314
- lib/fog/rackspace/requests/servers/delete_image.rb
315
- lib/fog/rackspace/requests/servers/delete_server.rb
316
- lib/fog/rackspace/requests/servers/get_flavor_details.rb
317
- lib/fog/rackspace/requests/servers/get_image_details.rb
318
- lib/fog/rackspace/requests/servers/get_server_details.rb
319
- lib/fog/rackspace/requests/servers/list_addresses.rb
320
- lib/fog/rackspace/requests/servers/list_flavors.rb
321
- lib/fog/rackspace/requests/servers/list_flavors_detail.rb
322
- lib/fog/rackspace/requests/servers/list_images.rb
323
- lib/fog/rackspace/requests/servers/list_images_detail.rb
324
- lib/fog/rackspace/requests/servers/list_private_addresses.rb
325
- lib/fog/rackspace/requests/servers/list_public_addresses.rb
326
- lib/fog/rackspace/requests/servers/list_servers.rb
327
- lib/fog/rackspace/requests/servers/list_servers_detail.rb
328
- lib/fog/rackspace/requests/servers/reboot_server.rb
329
- lib/fog/rackspace/requests/servers/update_server.rb
303
+ lib/fog/rackspace/models/compute/flavor.rb
304
+ lib/fog/rackspace/models/compute/flavors.rb
305
+ lib/fog/rackspace/models/compute/image.rb
306
+ lib/fog/rackspace/models/compute/images.rb
307
+ lib/fog/rackspace/models/compute/server.rb
308
+ lib/fog/rackspace/models/compute/servers.rb
309
+ lib/fog/rackspace/models/storage/directories.rb
310
+ lib/fog/rackspace/models/storage/directory.rb
311
+ lib/fog/rackspace/models/storage/file.rb
312
+ lib/fog/rackspace/models/storage/files.rb
313
+ lib/fog/rackspace/requests/compute/create_image.rb
314
+ lib/fog/rackspace/requests/compute/create_server.rb
315
+ lib/fog/rackspace/requests/compute/delete_image.rb
316
+ lib/fog/rackspace/requests/compute/delete_server.rb
317
+ lib/fog/rackspace/requests/compute/get_flavor_details.rb
318
+ lib/fog/rackspace/requests/compute/get_image_details.rb
319
+ lib/fog/rackspace/requests/compute/get_server_details.rb
320
+ lib/fog/rackspace/requests/compute/list_addresses.rb
321
+ lib/fog/rackspace/requests/compute/list_flavors.rb
322
+ lib/fog/rackspace/requests/compute/list_flavors_detail.rb
323
+ lib/fog/rackspace/requests/compute/list_images.rb
324
+ lib/fog/rackspace/requests/compute/list_images_detail.rb
325
+ lib/fog/rackspace/requests/compute/list_private_addresses.rb
326
+ lib/fog/rackspace/requests/compute/list_public_addresses.rb
327
+ lib/fog/rackspace/requests/compute/list_servers.rb
328
+ lib/fog/rackspace/requests/compute/list_servers_detail.rb
329
+ lib/fog/rackspace/requests/compute/reboot_server.rb
330
+ lib/fog/rackspace/requests/compute/update_server.rb
331
+ lib/fog/rackspace/requests/storage/delete_container.rb
332
+ lib/fog/rackspace/requests/storage/delete_object.rb
333
+ lib/fog/rackspace/requests/storage/get_container.rb
334
+ lib/fog/rackspace/requests/storage/get_containers.rb
335
+ lib/fog/rackspace/requests/storage/get_object.rb
336
+ lib/fog/rackspace/requests/storage/head_container.rb
337
+ lib/fog/rackspace/requests/storage/head_containers.rb
338
+ lib/fog/rackspace/requests/storage/head_object.rb
339
+ lib/fog/rackspace/requests/storage/put_container.rb
340
+ lib/fog/rackspace/requests/storage/put_object.rb
330
341
  lib/fog/rackspace/servers.rb
342
+ lib/fog/rackspace/storage.rb
331
343
  lib/fog/service.rb
332
344
  lib/fog/slicehost.rb
333
345
  lib/fog/slicehost/bin.rb
334
- lib/fog/slicehost/models/flavor.rb
335
- lib/fog/slicehost/models/flavors.rb
336
- lib/fog/slicehost/models/image.rb
337
- lib/fog/slicehost/models/images.rb
338
- lib/fog/slicehost/models/server.rb
339
- lib/fog/slicehost/models/servers.rb
340
- lib/fog/slicehost/parsers/create_slice.rb
341
- lib/fog/slicehost/parsers/get_backups.rb
342
- lib/fog/slicehost/parsers/get_flavor.rb
343
- lib/fog/slicehost/parsers/get_flavors.rb
344
- lib/fog/slicehost/parsers/get_image.rb
345
- lib/fog/slicehost/parsers/get_images.rb
346
- lib/fog/slicehost/parsers/get_slice.rb
347
- lib/fog/slicehost/parsers/get_slices.rb
348
- lib/fog/slicehost/requests/create_slice.rb
349
- lib/fog/slicehost/requests/delete_slice.rb
350
- lib/fog/slicehost/requests/get_backups.rb
351
- lib/fog/slicehost/requests/get_flavor.rb
352
- lib/fog/slicehost/requests/get_flavors.rb
353
- lib/fog/slicehost/requests/get_image.rb
354
- lib/fog/slicehost/requests/get_images.rb
355
- lib/fog/slicehost/requests/get_slice.rb
356
- lib/fog/slicehost/requests/get_slices.rb
357
- lib/fog/slicehost/requests/reboot_slice.rb
346
+ lib/fog/slicehost/compute.rb
347
+ lib/fog/slicehost/models/compute/flavor.rb
348
+ lib/fog/slicehost/models/compute/flavors.rb
349
+ lib/fog/slicehost/models/compute/image.rb
350
+ lib/fog/slicehost/models/compute/images.rb
351
+ lib/fog/slicehost/models/compute/server.rb
352
+ lib/fog/slicehost/models/compute/servers.rb
353
+ lib/fog/slicehost/parsers/compute/create_slice.rb
354
+ lib/fog/slicehost/parsers/compute/get_backups.rb
355
+ lib/fog/slicehost/parsers/compute/get_flavor.rb
356
+ lib/fog/slicehost/parsers/compute/get_flavors.rb
357
+ lib/fog/slicehost/parsers/compute/get_image.rb
358
+ lib/fog/slicehost/parsers/compute/get_images.rb
359
+ lib/fog/slicehost/parsers/compute/get_slice.rb
360
+ lib/fog/slicehost/parsers/compute/get_slices.rb
361
+ lib/fog/slicehost/requests/compute/create_slice.rb
362
+ lib/fog/slicehost/requests/compute/delete_slice.rb
363
+ lib/fog/slicehost/requests/compute/get_backups.rb
364
+ lib/fog/slicehost/requests/compute/get_flavor.rb
365
+ lib/fog/slicehost/requests/compute/get_flavors.rb
366
+ lib/fog/slicehost/requests/compute/get_image.rb
367
+ lib/fog/slicehost/requests/compute/get_images.rb
368
+ lib/fog/slicehost/requests/compute/get_slice.rb
369
+ lib/fog/slicehost/requests/compute/get_slices.rb
370
+ lib/fog/slicehost/requests/compute/reboot_slice.rb
358
371
  lib/fog/ssh.rb
359
372
  lib/fog/terremark.rb
360
373
  lib/fog/terremark/bin.rb
@@ -421,7 +434,6 @@ Gem::Specification.new do |s|
421
434
  lib/fog/vcloud.rb
422
435
  lib/fog/vcloud/bin.rb
423
436
  lib/fog/vcloud/collection.rb
424
- lib/fog/vcloud/extension.rb
425
437
  lib/fog/vcloud/generators.rb
426
438
  lib/fog/vcloud/model.rb
427
439
  lib/fog/vcloud/models/vdc.rb
@@ -489,24 +501,24 @@ Gem::Specification.new do |s|
489
501
  lib/fog/vcloud/terremark/ecloud/requests/power_shutdown.rb
490
502
  lib/fog/vcloud/terremark/vcloud.rb
491
503
  lib/fog/vcloud/terremark/vcloud/requests/get_vdc.rb
492
- spec/aws/models/ec2/address_spec.rb
493
- spec/aws/models/ec2/addresses_spec.rb
494
- spec/aws/models/ec2/flavors_spec.rb
495
- spec/aws/models/ec2/key_pair_spec.rb
496
- spec/aws/models/ec2/key_pairs_spec.rb
497
- spec/aws/models/ec2/security_group_spec.rb
498
- spec/aws/models/ec2/security_groups_spec.rb
499
- spec/aws/models/ec2/server_spec.rb
500
- spec/aws/models/ec2/servers_spec.rb
501
- spec/aws/models/ec2/snapshot_spec.rb
502
- spec/aws/models/ec2/snapshots_spec.rb
503
- spec/aws/models/ec2/volume_spec.rb
504
- spec/aws/models/ec2/volumes_spec.rb
505
- spec/aws/models/s3/directories_spec.rb
506
- spec/aws/models/s3/directory_spec.rb
507
- spec/aws/models/s3/file_spec.rb
508
- spec/aws/models/s3/files_spec.rb
509
- spec/aws/requests/ec2/describe_images_spec.rb
504
+ spec/aws/models/compute/address_spec.rb
505
+ spec/aws/models/compute/addresses_spec.rb
506
+ spec/aws/models/compute/flavors_spec.rb
507
+ spec/aws/models/compute/key_pair_spec.rb
508
+ spec/aws/models/compute/key_pairs_spec.rb
509
+ spec/aws/models/compute/security_group_spec.rb
510
+ spec/aws/models/compute/security_groups_spec.rb
511
+ spec/aws/models/compute/server_spec.rb
512
+ spec/aws/models/compute/servers_spec.rb
513
+ spec/aws/models/compute/snapshot_spec.rb
514
+ spec/aws/models/compute/snapshots_spec.rb
515
+ spec/aws/models/compute/volume_spec.rb
516
+ spec/aws/models/compute/volumes_spec.rb
517
+ spec/aws/models/storage/directories_spec.rb
518
+ spec/aws/models/storage/directory_spec.rb
519
+ spec/aws/models/storage/file_spec.rb
520
+ spec/aws/models/storage/files_spec.rb
521
+ spec/aws/requests/compute/describe_images_spec.rb
510
522
  spec/aws/requests/s3/copy_object_spec.rb
511
523
  spec/aws/requests/s3/delete_bucket_spec.rb
512
524
  spec/aws/requests/s3/delete_object_spec.rb
@@ -528,30 +540,30 @@ Gem::Specification.new do |s|
528
540
  spec/aws/requests/simpledb/list_domains_spec.rb
529
541
  spec/aws/requests/simpledb/put_attributes_spec.rb
530
542
  spec/aws/requests/simpledb/select_spec.rb
531
- spec/bluebox/models/flavors_spec.rb
532
- spec/bluebox/models/server_spec.rb
533
- spec/bluebox/models/servers_spec.rb
543
+ spec/bluebox/models/compute/flavors_spec.rb
544
+ spec/bluebox/models/compute/server_spec.rb
545
+ spec/bluebox/models/compute/servers_spec.rb
534
546
  spec/compact_progress_bar_formatter.rb
535
547
  spec/lorem.txt
536
- spec/rackspace/models/servers/flavors_spec.rb
537
- spec/rackspace/models/servers/server_spec.rb
538
- spec/rackspace/models/servers/servers_spec.rb
539
- spec/rackspace/requests/files/delete_container_spec.rb
540
- spec/rackspace/requests/files/delete_object_spec.rb
541
- spec/rackspace/requests/files/get_container_spec.rb
542
- spec/rackspace/requests/files/get_containers_spec.rb
543
- spec/rackspace/requests/files/get_object_spec.rb
544
- spec/rackspace/requests/files/head_container_spec.rb
545
- spec/rackspace/requests/files/head_containers_spec.rb
546
- spec/rackspace/requests/files/head_object_spec.rb
547
- spec/rackspace/requests/files/put_container_spec.rb
548
- spec/rackspace/requests/files/put_object_spec.rb
548
+ spec/rackspace/models/compute/flavors_spec.rb
549
+ spec/rackspace/models/compute/server_spec.rb
550
+ spec/rackspace/models/compute/servers_spec.rb
551
+ spec/rackspace/requests/storage/delete_container_spec.rb
552
+ spec/rackspace/requests/storage/delete_object_spec.rb
553
+ spec/rackspace/requests/storage/get_container_spec.rb
554
+ spec/rackspace/requests/storage/get_containers_spec.rb
555
+ spec/rackspace/requests/storage/get_object_spec.rb
556
+ spec/rackspace/requests/storage/head_container_spec.rb
557
+ spec/rackspace/requests/storage/head_containers_spec.rb
558
+ spec/rackspace/requests/storage/head_object_spec.rb
559
+ spec/rackspace/requests/storage/put_container_spec.rb
560
+ spec/rackspace/requests/storage/put_object_spec.rb
549
561
  spec/shared_examples/flavors_examples.rb
550
562
  spec/shared_examples/server_examples.rb
551
563
  spec/shared_examples/servers_examples.rb
552
- spec/slicehost/models/flavors_spec.rb
553
- spec/slicehost/models/server_spec.rb
554
- spec/slicehost/models/servers_spec.rb
564
+ spec/slicehost/models/compute/flavors_spec.rb
565
+ spec/slicehost/models/compute/server_spec.rb
566
+ spec/slicehost/models/compute/servers_spec.rb
555
567
  spec/spec_helper.rb
556
568
  spec/vcloud/bin_spec.rb
557
569
  spec/vcloud/models/vdc_spec.rb
@@ -592,37 +604,37 @@ Gem::Specification.new do |s|
592
604
  spec/vcloud/terremark/ecloud/requests/login_spec.rb
593
605
  spec/vcloud/vcloud_spec.rb
594
606
  tests/aws/helper.rb
595
- tests/aws/models/s3/directory_tests.rb
596
- tests/aws/requests/ec2/address_tests.rb
597
- tests/aws/requests/ec2/availability_zone_tests.rb
598
- tests/aws/requests/ec2/instance_tests.rb
599
- tests/aws/requests/ec2/key_pair_tests.rb
600
- tests/aws/requests/ec2/region_tests.rb
601
- tests/aws/requests/ec2/security_group_tests.rb
602
- tests/aws/requests/ec2/snapshot_tests.rb
603
- tests/aws/requests/ec2/volume_tests.rb
607
+ tests/aws/models/storage/directory_tests.rb
608
+ tests/aws/requests/compute/address_tests.rb
609
+ tests/aws/requests/compute/availability_zone_tests.rb
610
+ tests/aws/requests/compute/instance_tests.rb
611
+ tests/aws/requests/compute/key_pair_tests.rb
612
+ tests/aws/requests/compute/region_tests.rb
613
+ tests/aws/requests/compute/security_group_tests.rb
614
+ tests/aws/requests/compute/snapshot_tests.rb
615
+ tests/aws/requests/compute/volume_tests.rb
604
616
  tests/bluebox/helper.rb
605
- tests/bluebox/requests/block_tests.rb
606
- tests/bluebox/requests/product_tests.rb
607
- tests/bluebox/requests/template_tests.rb
617
+ tests/bluebox/requests/compute/block_tests.rb
618
+ tests/bluebox/requests/compute/product_tests.rb
619
+ tests/bluebox/requests/compute/template_tests.rb
608
620
  tests/helper.rb
609
621
  tests/helper_tests.rb
610
622
  tests/helpers/model_helper.rb
611
623
  tests/linode/helper.rb
612
- tests/linode/requests/datacenter_tests.rb
613
- tests/linode/requests/distribution_tests.rb
614
- tests/linode/requests/linode_tests.rb
615
- tests/linode/requests/linodeplans_tests.rb
624
+ tests/linode/requests/compute/datacenter_tests.rb
625
+ tests/linode/requests/compute/distribution_tests.rb
626
+ tests/linode/requests/compute/linode_tests.rb
627
+ tests/linode/requests/compute/linodeplans_tests.rb
616
628
  tests/rackspace/helper.rb
617
- tests/rackspace/requests/servers/address_tests.rb
618
- tests/rackspace/requests/servers/flavor_tests.rb
619
- tests/rackspace/requests/servers/image_tests.rb
620
- tests/rackspace/requests/servers/server_tests.rb
629
+ tests/rackspace/requests/compute/address_tests.rb
630
+ tests/rackspace/requests/compute/flavor_tests.rb
631
+ tests/rackspace/requests/compute/image_tests.rb
632
+ tests/rackspace/requests/compute/server_tests.rb
621
633
  tests/slicehost/helper.rb
622
- tests/slicehost/requests/backup_tests.rb
623
- tests/slicehost/requests/flavor_tests.rb
624
- tests/slicehost/requests/image_tests.rb
625
- tests/slicehost/requests/slice_tests.rb
634
+ tests/slicehost/requests/compute/backup_tests.rb
635
+ tests/slicehost/requests/compute/flavor_tests.rb
636
+ tests/slicehost/requests/compute/image_tests.rb
637
+ tests/slicehost/requests/compute/slice_tests.rb
626
638
  ]
627
639
  # = MANIFEST =
628
640