fog 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (428) hide show
  1. data/Rakefile +7 -4
  2. data/bin/fog +4 -1
  3. data/changelog.txt +464 -0
  4. data/docs/index.markdown +2 -2
  5. data/fog.gemspec +11 -11
  6. data/lib/fog.rb +1 -1
  7. data/lib/fog/aws/auto_scaling.rb +221 -0
  8. data/lib/fog/aws/cloud_formation.rb +1 -1
  9. data/lib/fog/aws/cloud_watch.rb +110 -0
  10. data/lib/fog/aws/elb.rb +58 -26
  11. data/lib/fog/aws/iam.rb +65 -13
  12. data/lib/fog/aws/models/auto_scaling/activities.rb +30 -0
  13. data/lib/fog/aws/models/auto_scaling/activity.rb +29 -0
  14. data/lib/fog/aws/models/auto_scaling/configuration.rb +63 -0
  15. data/lib/fog/aws/models/auto_scaling/configurations.rb +35 -0
  16. data/lib/fog/aws/models/auto_scaling/group.rb +140 -0
  17. data/lib/fog/aws/models/auto_scaling/groups.rb +35 -0
  18. data/lib/fog/aws/models/auto_scaling/instance.rb +60 -0
  19. data/lib/fog/aws/models/auto_scaling/instances.rb +30 -0
  20. data/lib/fog/aws/models/cloud_watch/metric.rb +14 -0
  21. data/lib/fog/aws/models/cloud_watch/metric_statistic.rb +46 -0
  22. data/lib/fog/aws/models/cloud_watch/metric_statistics.rb +23 -0
  23. data/lib/fog/aws/models/cloud_watch/metrics.rb +32 -0
  24. data/lib/fog/aws/models/elb/listener.rb +6 -0
  25. data/lib/fog/aws/models/elb/listeners.rb +2 -2
  26. data/lib/fog/aws/models/elb/load_balancer.rb +8 -5
  27. data/lib/fog/aws/models/rds/server.rb +3 -1
  28. data/lib/fog/aws/parsers/auto_scaling/basic.rb +28 -0
  29. data/lib/fog/aws/parsers/auto_scaling/describe_adjustment_types.rb +39 -0
  30. data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_groups.rb +126 -0
  31. data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_instances.rb +43 -0
  32. data/lib/fog/aws/parsers/auto_scaling/describe_launch_configurations.rb +94 -0
  33. data/lib/fog/aws/parsers/auto_scaling/describe_metric_collection_types.rb +66 -0
  34. data/lib/fog/aws/parsers/auto_scaling/describe_policies.rb +66 -0
  35. data/lib/fog/aws/parsers/auto_scaling/describe_scaling_activities.rb +47 -0
  36. data/lib/fog/aws/parsers/auto_scaling/describe_scaling_process_types.rb +39 -0
  37. data/lib/fog/aws/parsers/auto_scaling/describe_scheduled_actions.rb +46 -0
  38. data/lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb +30 -0
  39. data/lib/fog/aws/parsers/auto_scaling/terminate_instance_in_auto_scaling_group.rb +35 -0
  40. data/lib/fog/aws/parsers/cloud_watch/get_metric_statistics.rb +42 -0
  41. data/lib/fog/aws/parsers/cloud_watch/list_metrics.rb +58 -0
  42. data/lib/fog/aws/parsers/cloud_watch/put_metric_data.rb +26 -0
  43. data/lib/fog/aws/parsers/elb/describe_load_balancers.rb +1 -1
  44. data/lib/fog/aws/parsers/iam/get_group_policy.rb +27 -0
  45. data/lib/fog/aws/parsers/iam/list_account_aliases.rb +28 -0
  46. data/lib/fog/aws/parsers/rds/db_engine_version_parser.rb +35 -0
  47. data/lib/fog/aws/parsers/rds/db_parser.rb +1 -1
  48. data/lib/fog/aws/parsers/rds/describe_db_engine_versions.rb +39 -0
  49. data/lib/fog/aws/parsers/rds/describe_db_reserved_instances.rb +43 -0
  50. data/lib/fog/aws/parsers/sns/add_permission.rb +24 -0
  51. data/lib/fog/aws/parsers/sns/confirm_subscription.rb +24 -0
  52. data/lib/fog/aws/parsers/sns/create_topic.rb +24 -0
  53. data/lib/fog/aws/parsers/sns/delete_topic.rb +24 -0
  54. data/lib/fog/aws/parsers/sns/get_topic_attributes.rb +32 -0
  55. data/lib/fog/aws/parsers/sns/list_subscriptions.rb +29 -0
  56. data/lib/fog/aws/parsers/sns/list_topics.rb +26 -0
  57. data/lib/fog/aws/parsers/sns/publish.rb +24 -0
  58. data/lib/fog/aws/parsers/sns/remove_permission.rb +24 -0
  59. data/lib/fog/aws/parsers/sns/set_topic_attributes.rb +24 -0
  60. data/lib/fog/aws/parsers/sns/subscribe.rb +24 -0
  61. data/lib/fog/aws/parsers/sns/unsubscribe.rb +24 -0
  62. data/lib/fog/aws/parsers/sqs/basic.rb +23 -0
  63. data/lib/fog/aws/parsers/sqs/create_queue.rb +26 -0
  64. data/lib/fog/aws/parsers/sqs/get_queue_attributes.rb +35 -0
  65. data/lib/fog/aws/parsers/sqs/list_queues.rb +25 -0
  66. data/lib/fog/aws/parsers/sqs/receive_message.rb +41 -0
  67. data/lib/fog/aws/parsers/sqs/send_message.rb +28 -0
  68. data/lib/fog/aws/rds.rb +3 -1
  69. data/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb +108 -0
  70. data/lib/fog/aws/requests/auto_scaling/create_launch_configuration.rb +105 -0
  71. data/lib/fog/aws/requests/auto_scaling/delete_auto_scaling_group.rb +45 -0
  72. data/lib/fog/aws/requests/auto_scaling/delete_launch_configuration.rb +48 -0
  73. data/lib/fog/aws/requests/auto_scaling/delete_policy.rb +47 -0
  74. data/lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb +48 -0
  75. data/lib/fog/aws/requests/auto_scaling/describe_adjustment_types.rb +52 -0
  76. data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_groups.rb +128 -0
  77. data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_instances.rb +96 -0
  78. data/lib/fog/aws/requests/auto_scaling/describe_launch_configurations.rb +108 -0
  79. data/lib/fog/aws/requests/auto_scaling/describe_metric_collection_types.rb +60 -0
  80. data/lib/fog/aws/requests/auto_scaling/describe_policies.rb +85 -0
  81. data/lib/fog/aws/requests/auto_scaling/describe_scaling_activities.rb +88 -0
  82. data/lib/fog/aws/requests/auto_scaling/describe_scaling_process_types.rb +54 -0
  83. data/lib/fog/aws/requests/auto_scaling/describe_scheduled_actions.rb +83 -0
  84. data/lib/fog/aws/requests/auto_scaling/disable_metrics_collection.rb +56 -0
  85. data/lib/fog/aws/requests/auto_scaling/enable_metrics_collection.rb +66 -0
  86. data/lib/fog/aws/requests/auto_scaling/execute_policy.rb +50 -0
  87. data/lib/fog/aws/requests/auto_scaling/put_scaling_policy.rb +66 -0
  88. data/lib/fog/aws/requests/auto_scaling/put_scheduled_update_group_action.rb +57 -0
  89. data/lib/fog/aws/requests/auto_scaling/resume_processes.rb +50 -0
  90. data/lib/fog/aws/requests/auto_scaling/set_desired_capacity.rb +87 -0
  91. data/lib/fog/aws/requests/auto_scaling/set_instance_health.rb +55 -0
  92. data/lib/fog/aws/requests/auto_scaling/suspend_processes.rb +57 -0
  93. data/lib/fog/aws/requests/auto_scaling/terminate_instance_in_auto_scaling_group.rb +65 -0
  94. data/lib/fog/aws/requests/auto_scaling/update_auto_scaling_group.rb +79 -0
  95. data/lib/fog/aws/requests/cloud_watch/get_metric_statistics.rb +48 -0
  96. data/lib/fog/aws/requests/cloud_watch/list_metrics.rb +38 -0
  97. data/lib/fog/aws/requests/cloud_watch/put_metric_data.rb +73 -0
  98. data/lib/fog/aws/requests/elb/configure_health_check.rb +24 -0
  99. data/lib/fog/aws/requests/elb/create_app_cookie_stickiness_policy.rb +21 -0
  100. data/lib/fog/aws/requests/elb/create_lb_cookie_stickiness_policy.rb +21 -0
  101. data/lib/fog/aws/requests/elb/create_load_balancer.rb +55 -0
  102. data/lib/fog/aws/requests/elb/create_load_balancer_listeners.rb +28 -0
  103. data/lib/fog/aws/requests/elb/delete_load_balancer.rb +18 -0
  104. data/lib/fog/aws/requests/elb/delete_load_balancer_listeners.rb +20 -1
  105. data/lib/fog/aws/requests/elb/delete_load_balancer_policy.rb +23 -0
  106. data/lib/fog/aws/requests/elb/deregister_instances_from_load_balancer.rb +21 -5
  107. data/lib/fog/aws/requests/elb/describe_instance_health.rb +35 -0
  108. data/lib/fog/aws/requests/elb/describe_load_balancers.rb +29 -0
  109. data/lib/fog/aws/requests/elb/disable_availability_zones_for_load_balancer.rb +18 -5
  110. data/lib/fog/aws/requests/elb/enable_availability_zones_for_load_balancer.rb +18 -3
  111. data/lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb +22 -5
  112. data/lib/fog/aws/requests/elb/set_load_balancer_listener_ssl_certificate.rb +40 -0
  113. data/lib/fog/aws/requests/elb/set_load_balancer_policies_of_listener.rb +37 -0
  114. data/lib/fog/aws/requests/iam/create_account_alias.rb +19 -0
  115. data/lib/fog/aws/requests/iam/delete_account_alias.rb +19 -0
  116. data/lib/fog/aws/requests/iam/delete_server_certificate.rb +14 -0
  117. data/lib/fog/aws/requests/iam/get_group_policy.rb +36 -0
  118. data/lib/fog/aws/requests/iam/get_server_certificate.rb +50 -0
  119. data/lib/fog/aws/requests/iam/list_account_aliases.rb +18 -0
  120. data/lib/fog/aws/requests/iam/list_server_certificates.rb +12 -0
  121. data/lib/fog/aws/requests/iam/put_group_policy.rb +1 -1
  122. data/lib/fog/aws/requests/iam/put_user_policy.rb +1 -1
  123. data/lib/fog/aws/requests/iam/upload_server_certificate.rb +53 -5
  124. data/lib/fog/aws/requests/rds/describe_db_engine_versions.rb +34 -0
  125. data/lib/fog/aws/requests/rds/describe_db_reserved_instances.rb +42 -0
  126. data/lib/fog/aws/requests/simpledb/get_attributes.rb +29 -17
  127. data/lib/fog/aws/requests/simpledb/select.rb +11 -3
  128. data/lib/fog/aws/requests/sns/add_permission.rb +26 -0
  129. data/lib/fog/aws/requests/sns/confirm_subscription.rb +33 -0
  130. data/lib/fog/aws/requests/sns/create_topic.rb +29 -0
  131. data/lib/fog/aws/requests/sns/delete_topic.rb +29 -0
  132. data/lib/fog/aws/requests/sns/get_topic_attributes.rb +29 -0
  133. data/lib/fog/aws/requests/sns/list_subscriptions.rb +29 -0
  134. data/lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb +31 -0
  135. data/lib/fog/aws/requests/sns/list_topics.rb +29 -0
  136. data/lib/fog/aws/requests/sns/publish.rb +34 -0
  137. data/lib/fog/aws/requests/sns/remove_permission.rb +26 -0
  138. data/lib/fog/aws/requests/sns/set_topic_attributes.rb +33 -0
  139. data/lib/fog/aws/requests/sns/subscribe.rb +33 -0
  140. data/lib/fog/aws/requests/sns/unsubscribe.rb +29 -0
  141. data/lib/fog/aws/requests/sqs/change_message_visibility.rb +33 -0
  142. data/lib/fog/aws/requests/sqs/create_queue.rb +31 -0
  143. data/lib/fog/aws/requests/sqs/delete_message.rb +31 -0
  144. data/lib/fog/aws/requests/sqs/delete_queue.rb +29 -0
  145. data/lib/fog/aws/requests/sqs/get_queue_attributes.rb +31 -0
  146. data/lib/fog/aws/requests/sqs/list_queues.rb +28 -0
  147. data/lib/fog/aws/requests/sqs/receive_message.rb +34 -0
  148. data/lib/fog/aws/requests/sqs/send_message.rb +31 -0
  149. data/lib/fog/aws/requests/sqs/set_queue_attributes.rb +33 -0
  150. data/lib/fog/aws/sns.rb +112 -0
  151. data/lib/fog/aws/sqs.rb +115 -0
  152. data/lib/fog/bin.rb +1 -0
  153. data/lib/fog/bin/aws.rb +16 -0
  154. data/lib/fog/bin/brightbox.rb +1 -1
  155. data/lib/fog/bin/ninefold.rb +5 -0
  156. data/lib/fog/bin/vcloud.rb +30 -0
  157. data/lib/fog/bin/virtual_box.rb +5 -1
  158. data/lib/fog/cdn/rackspace.rb +16 -8
  159. data/lib/fog/compute.rb +4 -1
  160. data/lib/fog/compute/aws.rb +16 -4
  161. data/lib/fog/compute/bluebox.rb +2 -2
  162. data/lib/fog/compute/brightbox.rb +4 -4
  163. data/lib/fog/compute/go_grid.rb +2 -2
  164. data/lib/fog/compute/linode.rb +2 -2
  165. data/lib/fog/compute/models/aws/server.rb +17 -3
  166. data/lib/fog/compute/models/aws/spot_request.rb +93 -0
  167. data/lib/fog/compute/models/aws/spot_requests.rb +48 -0
  168. data/lib/fog/compute/models/aws/volume.rb +13 -13
  169. data/lib/fog/compute/models/bluebox/server.rb +4 -4
  170. data/lib/fog/compute/models/go_grid/server.rb +2 -2
  171. data/lib/fog/compute/models/ninefold/server.rb +18 -14
  172. data/lib/fog/compute/models/rackspace/flavor.rb +3 -2
  173. data/lib/fog/compute/models/rackspace/server.rb +2 -2
  174. data/lib/fog/compute/models/slicehost/server.rb +1 -1
  175. data/lib/fog/compute/models/vcloud/catalog.rb +22 -0
  176. data/lib/fog/compute/models/vcloud/catalog_item.rb +29 -0
  177. data/lib/fog/compute/models/vcloud/catalog_items.rb +32 -0
  178. data/lib/fog/compute/models/vcloud/catalogs.rb +39 -0
  179. data/lib/fog/compute/models/vcloud/ip.rb +42 -0
  180. data/lib/fog/compute/models/vcloud/ips.rb +33 -0
  181. data/lib/fog/compute/models/vcloud/network.rb +65 -0
  182. data/lib/fog/compute/models/vcloud/networks.rb +34 -0
  183. data/lib/fog/compute/models/vcloud/server.rb +291 -0
  184. data/lib/fog/compute/models/vcloud/servers.rb +58 -0
  185. data/lib/fog/compute/models/vcloud/task.rb +21 -0
  186. data/lib/fog/compute/models/vcloud/tasks.rb +32 -0
  187. data/lib/fog/compute/models/vcloud/vdc.rb +56 -0
  188. data/lib/fog/compute/models/vcloud/vdcs.rb +40 -0
  189. data/lib/fog/compute/models/virtual_box/server.rb +2 -2
  190. data/lib/fog/compute/ninefold.rb +3 -3
  191. data/lib/fog/compute/parsers/aws/cancel_spot_instance_requests.rb +30 -0
  192. data/lib/fog/compute/parsers/aws/describe_instances.rb +9 -4
  193. data/lib/fog/compute/parsers/aws/describe_placement_groups.rb +30 -0
  194. data/lib/fog/compute/parsers/aws/describe_reserved_instances.rb +1 -1
  195. data/lib/fog/compute/parsers/aws/describe_reserved_instances_offerings.rb +2 -2
  196. data/lib/fog/compute/parsers/aws/describe_spot_price_history.rb +34 -0
  197. data/lib/fog/compute/parsers/aws/purchase_reserved_instances_offering.rb +24 -0
  198. data/lib/fog/compute/parsers/aws/run_instances.rb +17 -16
  199. data/lib/fog/compute/parsers/aws/spot_datafeed_subscription.rb +29 -0
  200. data/lib/fog/compute/parsers/aws/spot_instance_requests.rb +67 -0
  201. data/lib/fog/compute/rackspace.rb +6 -5
  202. data/lib/fog/compute/requests/aws/cancel_spot_instance_requests.rb +34 -0
  203. data/lib/fog/compute/requests/aws/create_placement_group.rb +34 -0
  204. data/lib/fog/compute/requests/aws/create_spot_datafeed_subscription.rb +41 -0
  205. data/lib/fog/compute/requests/aws/delete_placement_group.rb +32 -0
  206. data/lib/fog/compute/requests/aws/delete_spot_datafeed_subscription.rb +28 -0
  207. data/lib/fog/compute/requests/aws/describe_placement_groups.rb +35 -0
  208. data/lib/fog/compute/requests/aws/describe_reserved_instances.rb +14 -0
  209. data/lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb +25 -0
  210. data/lib/fog/compute/requests/aws/describe_spot_datafeed_subscription.rb +35 -0
  211. data/lib/fog/compute/requests/aws/describe_spot_instance_requests.rb +47 -0
  212. data/lib/fog/compute/requests/aws/describe_spot_price_history.rb +37 -0
  213. data/lib/fog/compute/requests/aws/describe_volumes.rb +1 -1
  214. data/lib/fog/compute/requests/aws/purchase_reserved_instances_offering.rb +63 -0
  215. data/lib/fog/compute/requests/aws/request_spot_instances.rb +83 -0
  216. data/lib/fog/compute/requests/aws/run_instances.rb +2 -3
  217. data/lib/fog/compute/requests/brightbox/activate_console_server.rb +1 -1
  218. data/lib/fog/compute/requests/brightbox/add_listeners_load_balancer.rb +1 -1
  219. data/lib/fog/compute/requests/brightbox/add_nodes_load_balancer.rb +1 -1
  220. data/lib/fog/compute/requests/brightbox/create_api_client.rb +1 -1
  221. data/lib/fog/compute/requests/brightbox/create_cloud_ip.rb +1 -1
  222. data/lib/fog/compute/requests/brightbox/create_image.rb +1 -1
  223. data/lib/fog/compute/requests/brightbox/create_load_balancer.rb +1 -1
  224. data/lib/fog/compute/requests/brightbox/create_server.rb +1 -1
  225. data/lib/fog/compute/requests/brightbox/destroy_api_client.rb +1 -1
  226. data/lib/fog/compute/requests/brightbox/destroy_cloud_ip.rb +1 -1
  227. data/lib/fog/compute/requests/brightbox/destroy_image.rb +1 -1
  228. data/lib/fog/compute/requests/brightbox/destroy_load_balancer.rb +1 -1
  229. data/lib/fog/compute/requests/brightbox/destroy_server.rb +1 -1
  230. data/lib/fog/compute/requests/brightbox/get_account.rb +1 -1
  231. data/lib/fog/compute/requests/brightbox/get_api_client.rb +1 -1
  232. data/lib/fog/compute/requests/brightbox/get_cloud_ip.rb +1 -1
  233. data/lib/fog/compute/requests/brightbox/get_image.rb +1 -1
  234. data/lib/fog/compute/requests/brightbox/get_interface.rb +1 -1
  235. data/lib/fog/compute/requests/brightbox/get_load_balancer.rb +1 -1
  236. data/lib/fog/compute/requests/brightbox/get_server.rb +1 -1
  237. data/lib/fog/compute/requests/brightbox/get_server_type.rb +1 -1
  238. data/lib/fog/compute/requests/brightbox/get_user.rb +1 -1
  239. data/lib/fog/compute/requests/brightbox/get_zone.rb +1 -1
  240. data/lib/fog/compute/requests/brightbox/list_api_clients.rb +1 -1
  241. data/lib/fog/compute/requests/brightbox/list_cloud_ips.rb +1 -1
  242. data/lib/fog/compute/requests/brightbox/list_images.rb +1 -1
  243. data/lib/fog/compute/requests/brightbox/list_load_balancers.rb +1 -1
  244. data/lib/fog/compute/requests/brightbox/list_server_types.rb +1 -1
  245. data/lib/fog/compute/requests/brightbox/list_servers.rb +1 -1
  246. data/lib/fog/compute/requests/brightbox/list_users.rb +1 -1
  247. data/lib/fog/compute/requests/brightbox/list_zones.rb +1 -1
  248. data/lib/fog/compute/requests/brightbox/map_cloud_ip.rb +1 -1
  249. data/lib/fog/compute/requests/brightbox/remove_listeners_load_balancer.rb +1 -1
  250. data/lib/fog/compute/requests/brightbox/remove_nodes_load_balancer.rb +1 -1
  251. data/lib/fog/compute/requests/brightbox/reset_ftp_password_account.rb +1 -1
  252. data/lib/fog/compute/requests/brightbox/resize_server.rb +1 -1
  253. data/lib/fog/compute/requests/brightbox/shutdown_server.rb +1 -1
  254. data/lib/fog/compute/requests/brightbox/snapshot_server.rb +1 -1
  255. data/lib/fog/compute/requests/brightbox/start_server.rb +1 -1
  256. data/lib/fog/compute/requests/brightbox/stop_server.rb +1 -1
  257. data/lib/fog/compute/requests/brightbox/unmap_cloud_ip.rb +1 -1
  258. data/lib/fog/compute/requests/brightbox/update_account.rb +1 -1
  259. data/lib/fog/compute/requests/brightbox/update_api_client.rb +1 -1
  260. data/lib/fog/compute/requests/brightbox/update_image.rb +1 -1
  261. data/lib/fog/compute/requests/brightbox/update_load_balancer.rb +1 -1
  262. data/lib/fog/compute/requests/brightbox/update_server.rb +1 -1
  263. data/lib/fog/compute/requests/brightbox/update_user.rb +1 -1
  264. data/lib/fog/compute/requests/linode/linode_disk_createfromstackscript.rb +1 -1
  265. data/lib/fog/compute/requests/rackspace/create_image.rb +1 -1
  266. data/lib/fog/compute/requests/rackspace/create_server.rb +1 -1
  267. data/lib/fog/compute/requests/rackspace/server_action.rb +2 -2
  268. data/lib/fog/compute/requests/rackspace/update_server.rb +1 -1
  269. data/lib/fog/compute/requests/storm_on_demand/add_balancer_node.rb +1 -1
  270. data/lib/fog/compute/requests/storm_on_demand/clone_server.rb +1 -1
  271. data/lib/fog/compute/requests/storm_on_demand/create_server.rb +1 -1
  272. data/lib/fog/compute/requests/storm_on_demand/delete_server.rb +1 -1
  273. data/lib/fog/compute/requests/storm_on_demand/get_server.rb +1 -1
  274. data/lib/fog/compute/requests/storm_on_demand/get_stats.rb +1 -1
  275. data/lib/fog/compute/requests/storm_on_demand/list_balancers.rb +1 -1
  276. data/lib/fog/compute/requests/storm_on_demand/list_configs.rb +1 -1
  277. data/lib/fog/compute/requests/storm_on_demand/list_images.rb +1 -1
  278. data/lib/fog/compute/requests/storm_on_demand/list_private_ips.rb +1 -1
  279. data/lib/fog/compute/requests/storm_on_demand/list_servers.rb +1 -1
  280. data/lib/fog/compute/requests/storm_on_demand/list_templates.rb +1 -1
  281. data/lib/fog/compute/requests/storm_on_demand/reboot_server.rb +1 -1
  282. data/lib/fog/compute/requests/storm_on_demand/remove_balancer_node.rb +1 -1
  283. data/lib/fog/compute/requests/storm_on_demand/resize_server.rb +1 -1
  284. data/lib/fog/compute/requests/vcloud/clone_vapp.rb +40 -0
  285. data/lib/fog/compute/requests/vcloud/configure_network.rb +43 -0
  286. data/lib/fog/compute/requests/vcloud/configure_network_ip.rb +46 -0
  287. data/lib/fog/compute/requests/vcloud/configure_node.rb +38 -0
  288. data/lib/fog/compute/requests/vcloud/configure_vapp.rb +112 -0
  289. data/lib/fog/compute/requests/vcloud/configure_vm.rb +247 -0
  290. data/lib/fog/compute/requests/vcloud/configure_vm_disks.rb +100 -0
  291. data/lib/fog/compute/requests/vcloud/configure_vm_memory.rb +40 -0
  292. data/lib/fog/compute/requests/vcloud/configure_vm_name_description.rb +30 -0
  293. data/lib/fog/compute/requests/vcloud/delete_node.rb +10 -0
  294. data/lib/fog/compute/requests/vcloud/delete_vapp.rb +10 -0
  295. data/lib/fog/compute/requests/vcloud/get_catalog.rb +10 -0
  296. data/lib/fog/compute/requests/vcloud/get_catalog_item.rb +10 -0
  297. data/lib/fog/compute/requests/vcloud/get_customization_options.rb +10 -0
  298. data/lib/fog/compute/requests/vcloud/get_network.rb +10 -0
  299. data/lib/fog/compute/requests/vcloud/get_network_extensions.rb +11 -0
  300. data/lib/fog/compute/requests/vcloud/get_network_ip.rb +15 -0
  301. data/lib/fog/compute/requests/vcloud/get_network_ips.rb +15 -0
  302. data/lib/fog/compute/requests/vcloud/get_organization.rb +11 -0
  303. data/lib/fog/compute/requests/vcloud/get_task.rb +11 -0
  304. data/lib/fog/compute/requests/vcloud/get_task_list.rb +11 -0
  305. data/lib/fog/compute/requests/vcloud/get_vapp.rb +10 -0
  306. data/lib/fog/compute/requests/vcloud/get_vapp_template.rb +11 -0
  307. data/lib/fog/compute/requests/vcloud/get_vdc.rb +10 -0
  308. data/lib/fog/compute/requests/vcloud/get_vm_disks.rb +16 -0
  309. data/lib/fog/compute/requests/vcloud/get_vm_memory.rb +16 -0
  310. data/lib/fog/compute/requests/vcloud/instantiate_vapp_template.rb +83 -0
  311. data/lib/fog/compute/requests/vcloud/login.rb +23 -0
  312. data/lib/fog/compute/requests/vcloud/power_off.rb +10 -0
  313. data/lib/fog/compute/requests/vcloud/power_on.rb +11 -0
  314. data/lib/fog/compute/requests/vcloud/power_reset.rb +11 -0
  315. data/lib/fog/compute/requests/vcloud/power_shutdown.rb +11 -0
  316. data/lib/fog/compute/requests/vcloud/undeploy.rb +23 -0
  317. data/lib/fog/compute/storm_on_demand.rb +2 -2
  318. data/lib/fog/compute/vcloud.rb +310 -0
  319. data/lib/fog/core.rb +2 -1
  320. data/lib/fog/core/attributes.rb +23 -11
  321. data/lib/fog/core/collection.rb +7 -7
  322. data/lib/fog/core/credentials.rb +4 -2
  323. data/lib/fog/core/model.rb +4 -4
  324. data/lib/fog/core/time.rb +1 -2
  325. data/lib/fog/core/timeout.rb +11 -0
  326. data/lib/fog/core/wait_for.rb +2 -2
  327. data/lib/fog/dns/dnsimple.rb +2 -2
  328. data/lib/fog/dns/dnsmadeeasy.rb +2 -2
  329. data/lib/fog/dns/linode.rb +2 -2
  330. data/lib/fog/dns/requests/dnsimple/create_domain.rb +1 -1
  331. data/lib/fog/dns/requests/dnsimple/create_record.rb +1 -1
  332. data/lib/fog/dns/requests/dnsimple/update_record.rb +1 -1
  333. data/lib/fog/dns/requests/dnsmadeeasy/create_record.rb +1 -1
  334. data/lib/fog/dns/requests/dnsmadeeasy/create_secondary.rb +1 -1
  335. data/lib/fog/dns/requests/dnsmadeeasy/update_record.rb +1 -1
  336. data/lib/fog/dns/requests/dnsmadeeasy/update_secondary.rb +1 -1
  337. data/lib/fog/providers.rb +1 -0
  338. data/lib/fog/providers/aws.rb +15 -2
  339. data/lib/fog/providers/ninefold.rb +1 -0
  340. data/lib/fog/providers/rackspace.rb +4 -3
  341. data/lib/fog/providers/vcloud.rb +11 -0
  342. data/lib/fog/storage.rb +9 -6
  343. data/lib/fog/storage/aws.rb +18 -1
  344. data/lib/fog/storage/google.rb +19 -1
  345. data/lib/fog/storage/models/aws/file.rb +3 -3
  346. data/lib/fog/storage/models/aws/files.rb +9 -2
  347. data/lib/fog/storage/models/google/files.rb +9 -2
  348. data/lib/fog/storage/models/ninefold/directories.rb +48 -0
  349. data/lib/fog/storage/models/ninefold/directory.rb +53 -0
  350. data/lib/fog/storage/models/ninefold/file.rb +99 -0
  351. data/lib/fog/storage/models/ninefold/files.rb +72 -0
  352. data/lib/fog/storage/models/rackspace/directory.rb +7 -2
  353. data/lib/fog/storage/ninefold.rb +149 -0
  354. data/lib/fog/storage/rackspace.rb +8 -2
  355. data/lib/fog/storage/requests/aws/get_bucket_policy.rb +1 -1
  356. data/lib/fog/storage/requests/aws/get_object.rb +6 -2
  357. data/lib/fog/storage/requests/aws/get_object_http_url.rb +51 -0
  358. data/lib/fog/storage/requests/aws/get_object_https_url.rb +51 -0
  359. data/lib/fog/storage/requests/aws/get_object_url.rb +4 -24
  360. data/lib/fog/storage/requests/aws/post_object_hidden_fields.rb +1 -1
  361. data/lib/fog/storage/requests/aws/put_bucket_policy.rb +1 -1
  362. data/lib/fog/storage/requests/google/get_object_http_url.rb +51 -0
  363. data/lib/fog/storage/requests/google/get_object_https_url.rb +51 -0
  364. data/lib/fog/storage/requests/google/get_object_url.rb +8 -25
  365. data/lib/fog/storage/requests/ninefold/delete_namespace.rb +19 -0
  366. data/lib/fog/storage/requests/ninefold/get_namespace.rb +20 -0
  367. data/lib/fog/storage/requests/ninefold/post_namespace.rb +20 -0
  368. data/lib/fog/storage/requests/ninefold/put_namespace.rb +20 -0
  369. data/lib/fog/storage/requests/rackspace/put_object.rb +3 -0
  370. data/lib/fog/storage/requests/rackspace/put_object_manifest.rb +25 -0
  371. data/tests/aws/models/auto_scaling/activities_tests.rb +6 -0
  372. data/tests/aws/models/auto_scaling/configuration_test.rb +13 -0
  373. data/tests/aws/models/auto_scaling/configurations_tests.rb +11 -0
  374. data/tests/aws/models/auto_scaling/helper.rb +0 -0
  375. data/tests/aws/models/auto_scaling/instances_tests.rb +6 -0
  376. data/tests/aws/models/cloud_watch/metric_statistics_tests.rb +51 -0
  377. data/tests/aws/models/cloud_watch/metrics_tests.rb +17 -0
  378. data/tests/aws/{requests → models}/elb/model_tests.rb +82 -18
  379. data/tests/aws/models/rds/security_group_tests.rb +1 -1
  380. data/tests/aws/requests/auto_scaling/auto_scaling_tests.rb +80 -0
  381. data/tests/aws/requests/auto_scaling/helper.rb +185 -0
  382. data/tests/aws/requests/auto_scaling/model_tests.rb +235 -0
  383. data/tests/aws/requests/cloud_formation/stack_tests.rb +1 -1
  384. data/tests/aws/requests/cloud_watch/get_metric_statistics_tests.rb +28 -0
  385. data/tests/aws/requests/cloud_watch/list_metrics_test.rb +64 -0
  386. data/tests/aws/requests/cloud_watch/put_metric_data_tests.rb +36 -0
  387. data/tests/aws/requests/elb/listener_tests.rb +50 -0
  388. data/tests/aws/requests/elb/load_balancer_tests.rb +23 -44
  389. data/tests/aws/requests/elb/policy_tests.rb +41 -0
  390. data/tests/aws/requests/iam/helper.rb +29 -0
  391. data/tests/aws/requests/iam/login_profile_tests.rb +2 -2
  392. data/tests/aws/requests/iam/server_certificate_tests.rb +39 -6
  393. data/tests/aws/requests/rds/helper.rb +1 -0
  394. data/tests/aws/requests/simpledb/attributes_tests.rb +10 -15
  395. data/tests/aws/requests/sns/helper.rb +9 -0
  396. data/tests/aws/requests/sns/subscription_tests.rb +86 -0
  397. data/tests/aws/requests/sns/topic_tests.rb +50 -0
  398. data/tests/aws/requests/sqs/helper.rb +15 -0
  399. data/tests/aws/requests/sqs/message_tests.rb +57 -0
  400. data/tests/aws/requests/sqs/queue_tests.rb +55 -0
  401. data/tests/aws/signed_params_tests.rb +3 -1
  402. data/tests/compute/models/aws/volume_tests.rb +13 -0
  403. data/tests/compute/models/vcloud/helper.rb +25 -0
  404. data/tests/compute/models/vcloud/servers_tests.rb +95 -0
  405. data/tests/compute/requests/aws/address_tests.rb +1 -1
  406. data/tests/compute/requests/aws/instance_tests.rb +65 -4
  407. data/tests/compute/requests/aws/placement_group_tests.rb +48 -0
  408. data/tests/compute/requests/aws/spot_datafeed_subscription_tests.rb +47 -0
  409. data/tests/compute/requests/aws/spot_instance_tests.rb +53 -0
  410. data/tests/compute/requests/aws/spot_price_history_tests.rb +24 -0
  411. data/tests/compute/requests/aws/volume_tests.rb +4 -0
  412. data/tests/compute/requests/brightbox/helper.rb +2 -1
  413. data/tests/compute/requests/brightbox/interface_tests.rb +4 -4
  414. data/tests/compute/requests/ninefold/helper.rb +1 -1
  415. data/tests/compute/requests/vcloud/disk_configure_tests.rb +114 -0
  416. data/tests/compute/requests/voxel/server_tests.rb +2 -2
  417. data/tests/core/attribute_tests.rb +10 -1
  418. data/tests/core/credential_tests.rb +6 -0
  419. data/tests/core/timeout_tests.rb +10 -0
  420. data/tests/helpers/collection_helper.rb +4 -1
  421. data/tests/helpers/formats_helper.rb +1 -1
  422. data/tests/helpers/mock_helper.rb +5 -0
  423. data/tests/storage/helper.rb +4 -1
  424. data/tests/storage/models/ninefold/file_update_tests.rb +19 -0
  425. data/tests/storage/models/ninefold/nested_directories_tests.rb +23 -0
  426. data/tests/storage/requests/aws/multipart_upload_tests.rb +2 -5
  427. data/tests/storage/requests/rackspace/large_object_tests.rb +47 -0
  428. metadata +366 -105
@@ -78,6 +78,10 @@ Shindo.tests('Fog::Compute[:aws] | volume requests', ['aws']) do
78
78
 
79
79
  Fog::Compute[:aws].volumes.get(@volume_id).wait_for { state == 'in-use' }
80
80
 
81
+ tests("#describe_volume('attachment.device' => '/dev/sdh')").formats(@volumes_format) do
82
+ Fog::Compute[:aws].describe_volumes('attachment.device' => '/dev/sdh').body
83
+ end
84
+
81
85
  tests("#detach_volume('#{@volume_id}')").formats(@volume_attachment_format) do
82
86
  Fog::Compute[:aws].detach_volume(@volume_id).body
83
87
  end
@@ -402,7 +402,8 @@ class Brightbox
402
402
  "email_verified" => Fog::Boolean,
403
403
  "accounts" => [Brightbox::Compute::Formats::Nested::ACCOUNT],
404
404
  "default_account" => Fog::Brightbox::Nullable::Account,
405
- "ssh_key" => Fog::Nullable::String
405
+ "ssh_key" => Fog::Nullable::String,
406
+ "messaging_pref" => Fog::Boolean
406
407
  }
407
408
 
408
409
  ZONE = {
@@ -3,13 +3,13 @@ Shindo.tests('Fog::Compute[:brightbox] | interface requests', ['brightbox']) do
3
3
  tests('success') do
4
4
 
5
5
  unless Fog.mocking?
6
- server = Brightbox[:compute].servers.first
6
+ server = Fog::Compute[:brightbox].servers.first
7
7
  @interface_id = server.interfaces.first["id"]
8
8
  end
9
9
 
10
10
  tests("#get_interface('#{@interface_id}')").formats(Brightbox::Compute::Formats::Full::INTERFACE) do
11
11
  pending if Fog.mocking?
12
- Brightbox[:compute].get_interface(@interface_id)
12
+ Fog::Compute[:brightbox].get_interface(@interface_id)
13
13
  end
14
14
 
15
15
  end
@@ -18,12 +18,12 @@ Shindo.tests('Fog::Compute[:brightbox] | interface requests', ['brightbox']) do
18
18
 
19
19
  tests("#get_interface('int-00000')").raises(Excon::Errors::Forbidden) do
20
20
  pending if Fog.mocking?
21
- Brightbox[:compute].get_interface('int-00000')
21
+ Fog::Compute[:brightbox].get_interface('int-00000')
22
22
  end
23
23
 
24
24
  tests("#get_interface()").raises(ArgumentError) do
25
25
  pending if Fog.mocking?
26
- Brightbox[:compute].get_interface()
26
+ Fog::Compute[:brightbox].get_interface()
27
27
  end
28
28
  end
29
29
 
@@ -128,6 +128,7 @@ class Ninefold
128
128
  "name"=>String
129
129
  }]
130
130
  ZONES = [{
131
+ "allocationstate"=>String,
131
132
  "id"=>Integer,
132
133
  "name"=>String,
133
134
  "networktype"=>String,
@@ -177,7 +178,6 @@ class Ninefold
177
178
  "guestosid"=>Integer,
178
179
  "rootdeviceid"=>Integer,
179
180
  "rootdevicetype"=>String,
180
- "securitygroup"=>Array,
181
181
  "nic"=>[{
182
182
  "id"=>Integer,
183
183
  "networkid"=>Integer,
@@ -0,0 +1,114 @@
1
+ require 'spec'
2
+ require 'spec/mocks'
3
+
4
+ Shindo.tests("Vcloud::Compute | disk_requests", ['vcloud']) do
5
+
6
+ @xmlns = {
7
+ "xmlns" => "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData",
8
+ "xmlns:vcloud" => "http://www.vmware.com/vcloud/v1"
9
+ }
10
+
11
+ def disk_hash
12
+ [{:"rasd:AddressOnParent"=>"0",
13
+ :"rasd:Description"=>"Hard disk",
14
+ :"rasd:ElementName"=>"Hard disk 1",
15
+ :"rasd:HostResource"=>
16
+ {:vcloud_capacity=>"8192",
17
+ :vcloud_busType=>"6",
18
+ :vcloud_busSubType=>"lsilogic"},
19
+ :"rasd:InstanceID"=>"2000",
20
+ :"rasd:Parent"=>"2",
21
+ :"rasd:ResourceType"=>"17"}]
22
+ end
23
+
24
+ def nokogiri_load
25
+ Nokogiri::XML(MockDiskResponse.new.body)
26
+ end
27
+
28
+ class MockDiskResponse
29
+ def body
30
+ <<EOF
31
+ <RasdItemsList xmlns="http://www.vmware.com/vcloud/v1" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://vcd01.esx.dev.int.realestate.com.au/api/v1.0/vApp/vm-329805878/virtualHardwareSection/disks" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2.22.0/CIM_ResourceAllocationSettingData.xsd http://www.vmware.com/vcloud/v1 http://vcd01.esx.dev.int.realestate.com.au/api/v1.0/schema/master.xsd">
32
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://vcd01.esx.dev.int.realestate.com.au/api/v1.0/vApp/vm-329805878/virtualHardwareSection/disks"/>
33
+ <Item>
34
+ <rasd:Address>0</rasd:Address>
35
+ <rasd:Description>SCSI Controller</rasd:Description>
36
+ <rasd:ElementName>SCSI Controller 0</rasd:ElementName>
37
+ <rasd:InstanceID>2</rasd:InstanceID>
38
+ <rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
39
+ <rasd:ResourceType>6</rasd:ResourceType>
40
+ </Item>
41
+ <Item>
42
+ <rasd:AddressOnParent>0</rasd:AddressOnParent>
43
+ <rasd:Description>Hard disk</rasd:Description>
44
+ <rasd:ElementName>Hard disk 1</rasd:ElementName>
45
+ <rasd:HostResource xmlns:vcloud="http://www.vmware.com/vcloud/v1" vcloud:capacity="8192" vcloud:busType="6" vcloud:busSubType="lsilogic"></rasd:HostResource>
46
+ <rasd:InstanceID>2000</rasd:InstanceID>
47
+ <rasd:Parent>2</rasd:Parent>
48
+ <rasd:ResourceType>17</rasd:ResourceType>
49
+ </Item>
50
+ <Item>
51
+ <rasd:Address>0</rasd:Address>
52
+ <rasd:Description>IDE Controller</rasd:Description>
53
+ <rasd:ElementName>IDE Controller 0</rasd:ElementName>
54
+ <rasd:InstanceID>3</rasd:InstanceID>
55
+ <rasd:ResourceType>5</rasd:ResourceType>
56
+ </Item>
57
+ </RasdItemsList>
58
+ EOF
59
+ end
60
+ end
61
+
62
+ unless Fog.mocking?
63
+ Vcloud[:compute].stub!(:request).and_return(MockDiskResponse.new)
64
+ end
65
+
66
+ tests("Call to generate config returns string").returns(true) do
67
+ pending if Fog.mocking?
68
+ Vcloud[:compute].generate_configure_vm_disks_request('http://blah', disk_hash).kind_of? String
69
+ end
70
+
71
+ tests("Call to generate config with no changes returns input data").returns(true) do
72
+ pending if Fog.mocking?
73
+ Nokogiri::XML(Vcloud[:compute].generate_configure_vm_disks_request('http://blah', disk_hash)).to_s ==
74
+ Nokogiri::XML(MockDiskResponse.new.body).to_s
75
+ end
76
+
77
+ tests("Call to generate config with no disks removes disk").returns(true) do
78
+ pending if Fog.mocking?
79
+ xml = Vcloud[:compute].generate_configure_vm_disks_request('http://blah', [])
80
+ ng = Nokogiri::XML(xml)
81
+ # Should have 2 controllers, but no disks.
82
+ ng.xpath("//xmlns:ResourceType", @xmlns).size == 2 &&
83
+ ng.xpath("//xmlns:ResourceType[ .='17']", @xmlns).size == 0
84
+ end
85
+
86
+ tests("Call to generate config adding a disk").returns(['4096', true, true]) do
87
+ pending if Fog.mocking?
88
+ disks = disk_hash
89
+ disks << {
90
+ :"rasd:AddressOnParent"=>"1",
91
+ :"rasd:Description"=>"Hard disk",
92
+ :"rasd:ElementName"=>"Hard disk 2",
93
+ :"rasd:HostResource"=>
94
+ {:vcloud_capacity=>"4096",
95
+ :vcloud_busType=>"6",
96
+ :vcloud_busSubType=>"lsilogic"},
97
+ :"rasd:InstanceID"=>"2000",
98
+ :"rasd:Parent"=>"2",
99
+ :"rasd:ResourceType"=>"17"}
100
+ xml = Vcloud[:compute].generate_configure_vm_disks_request('http://blah', disks)
101
+ ng = Nokogiri::XML(xml)
102
+ [
103
+ # should be 4096mb
104
+ ng.at("//xmlns:ResourceType[ .='17']/../xmlns:AddressOnParent[.='-1']/../xmlns:HostResource", @xmlns)["capacity"],
105
+ # Should have 2 controllers, and 2 disks
106
+ ng.xpath("//xmlns:ResourceType", @xmlns).size == 4,
107
+ ng.xpath("//xmlns:ResourceType[ .='17']", @xmlns).size == 2
108
+ ]
109
+ end
110
+
111
+ unless Fog.mocking?
112
+ Vcloud[:compute].unstub!(:request)
113
+ end
114
+ end
@@ -12,10 +12,10 @@ Shindo.tests('Fog::Compute[:voxel] | server requests', ['voxel']) do
12
12
  'devices' => [{
13
13
  'access_methods' => [],
14
14
  'description' => String,
15
- 'drives' => {
15
+ 'drives' => [{
16
16
  'position' => Fog::Nullable::Integer,
17
17
  'size' => Integer
18
- },
18
+ }],
19
19
  'id' => String,
20
20
  'ipassignments' => [{
21
21
  'description' => String,
@@ -19,6 +19,15 @@ Shindo.tests('Fog::Attributes', 'core') do
19
19
  @model.key
20
20
  end
21
21
 
22
+ tests('"keys" => {"id" => false}').returns(false) do
23
+ @model.merge_attributes("keys" => {'id' => false })
24
+ @model.key
25
+ end
26
+
27
+ tests('"keys" => {:id => false}').returns(false) do
28
+ @model.merge_attributes("keys" => {:id => false })
29
+ @model.key
30
+ end
22
31
  end
23
32
 
24
33
  tests(':type => :time') do
@@ -42,4 +51,4 @@ Shindo.tests('Fog::Attributes', 'core') do
42
51
 
43
52
  end
44
53
 
45
- end
54
+ end
@@ -32,6 +32,12 @@ Shindo.tests do
32
32
  Fog.credentials_path
33
33
  }
34
34
 
35
+ returns(nil, 'File.expand_path raises because of non-absolute path') {
36
+ ENV.delete('FOG_RC')
37
+ ENV['HOME'] = '.'
38
+ Fog.credentials_path
39
+ }
40
+
35
41
  returns(nil, 'returns nil when neither FOG_RC or HOME are set') {
36
42
  ENV.delete('HOME')
37
43
  ENV.delete('FOG_RC')
@@ -0,0 +1,10 @@
1
+ Shindo.tests('Fog#timeout', 'core') do
2
+ tests('timeout').returns(600) do
3
+ Fog.timeout
4
+ end
5
+
6
+ tests('timeout = 300').returns(300) do
7
+ Fog.timeout = 300
8
+ Fog.timeout
9
+ end
10
+ end
@@ -38,7 +38,10 @@ def collection_tests(collection, params = {}, mocks_implemented = true)
38
38
  tests('failure') do
39
39
 
40
40
  if !Fog.mocking? || mocks_implemented
41
- @identity = @identity.to_s.gsub(/\w/, Fog::Mock.random_letters(1))
41
+ @identity = @identity.to_s
42
+ @identity.gsub!(/[a-zA-Z]/) { Fog::Mock.random_letters(1) }
43
+ @identity.gsub!(/\d/) { Fog::Mock.random_numbers(1) }
44
+ @identity
42
45
  end
43
46
 
44
47
  tests("#get('#{@identity}')").returns(nil) do
@@ -57,7 +57,7 @@ module Shindo
57
57
  valid &&= datum.is_a?(Hash) || p("not Hash: #{datum.inspect}")
58
58
  valid &&= formats_kernel(datum, value, false)
59
59
  else
60
- p "#{key} not #{value}: #{datum.inspect}" unless datum.is_a?(value)
60
+ p "#{key.inspect} not #{value.inspect}: #{datum.inspect}" unless datum.is_a?(value)
61
61
  valid &&= datum.is_a?(value)
62
62
  end
63
63
  end
@@ -32,6 +32,8 @@ if Fog.mock?
32
32
  :new_servers_username => 'new_servers_username',
33
33
  :ninefold_compute_key => 'ninefold_compute_key',
34
34
  :ninefold_compute_secret => 'ninefold_compute_secret',
35
+ :ninefold_storage_secret => 'ninefold_storage_secret',
36
+ :ninefold_storage_token => 'ninefold_storage_token',
35
37
  # :public_key_path => '~/.ssh/id_rsa.pub',
36
38
  # :private_key_path => '~/.ssh/id_rsa',
37
39
  :rackspace_api_key => 'rackspace_api_key',
@@ -39,6 +41,9 @@ if Fog.mock?
39
41
  :slicehost_password => 'slicehost_password',
40
42
  :storm_on_demand_username => 'storm_on_demand_username',
41
43
  :storm_on_demand_password => 'storm_on_demand_password',
44
+ :vcloud_host => 'vcloud_host',
45
+ :vcloud_password => 'vcloud_password',
46
+ :vcloud_username => 'vcloud_username',
42
47
  :voxel_api_key => 'voxel_api_key',
43
48
  :voxel_api_secret => 'voxel_api_secret',
44
49
  :zerigo_email => 'zerigo_email',
@@ -9,8 +9,11 @@ def storage_providers
9
9
  :local => {
10
10
  :mocked => false
11
11
  },
12
+ :ninefold => {
13
+ :mocked => false
14
+ },
12
15
  :rackspace => {
13
16
  :mocked => false
14
17
  }
15
18
  }
16
- end
19
+ end
@@ -0,0 +1,19 @@
1
+ Shindo.tests("Storage[:ninefold] | nested directories", ['ninefold']) do
2
+
3
+ unless Fog.mocking?
4
+ @directory = Fog::Storage[:ninefold].directories.create(:key => 'updatefiletests')
5
+ end
6
+
7
+ ninefold = Fog::Storage[:ninefold]
8
+ tests("update a file").succeeds do
9
+ pending if Fog.mocking?
10
+ file = @directory.files.create(:key => 'lorem.txt', :body => lorem_file)
11
+ file.body = "xxxxxx"
12
+ file.save
13
+ end
14
+
15
+ unless Fog.mocking?
16
+ @directory.destroy(:recursive => true)
17
+ end
18
+
19
+ end
@@ -0,0 +1,23 @@
1
+ Shindo.tests("Storage[:ninefold] | nested directories", ['ninefold']) do
2
+ ninefold = Fog::Storage[:ninefold]
3
+ tests("create a directory with a / character").succeeds do
4
+ pending if Fog.mocking?
5
+ ninefold.directories.create(:key => 'sub/path')
6
+ end
7
+
8
+ tests("List of top directory returns sub dir").returns(1) do
9
+ pending if Fog.mocking?
10
+ ninefold.directories.get('sub').directories.count
11
+ end
12
+
13
+ tests("create a directory in a sub dir").returns('sub/path/newdir/') do
14
+ pending if Fog.mocking?
15
+ ninefold.directories.get('sub/path').directories.create(:key => 'newdir').identity
16
+ end
17
+
18
+ tests("Recursively destroy parent dir").succeeds do
19
+ pending if Fog.mocking?
20
+ ninefold.directories.get('sub').destroy(:recursive => true)
21
+ end
22
+
23
+ end
@@ -1,4 +1,4 @@
1
- Shindo.tests('Fog::Storage[:aws] | object requests', [:aws]) do
1
+ Shindo.tests('Fog::Storage[:aws] | multipart upload requests', [:aws]) do
2
2
 
3
3
  @directory = Fog::Storage[:aws].directories.create(:key => 'fogmultipartuploadtests')
4
4
 
@@ -98,10 +98,7 @@ Shindo.tests('Fog::Storage[:aws] | object requests', [:aws]) do
98
98
 
99
99
  tests("#get_object('#{@directory.identity}', 'fog_multipart_upload').body").succeeds do
100
100
  pending if Fog.mocking?
101
- data = Fog::Storage[:aws].get_object(@directory.identity, 'fog_multipart_upload').body
102
- unless data == ('x' * 10 * 1024 * 1024)
103
- raise 'content mismatch'
104
- end
101
+ Fog::Storage[:aws].get_object(@directory.identity, 'fog_multipart_upload').body == ('x' * 10 * 1024 * 1024)
105
102
  end
106
103
 
107
104
  if !Fog.mocking?
@@ -0,0 +1,47 @@
1
+ Shindo.tests('Fog::Storage[:rackspace] | large object requests', [:rackspace]) do
2
+
3
+ unless Fog.mocking?
4
+ @directory = Fog::Storage[:rackspace].directories.create(:key => 'foglargeobjecttests')
5
+ end
6
+
7
+ tests('success') do
8
+
9
+ tests("#put_object('foglargeobjecttests', 'fog_large_object/1', ('x' * 6 * 1024 * 1024))").succeeds do
10
+ pending if Fog.mocking?
11
+ Fog::Storage[:rackspace].put_object(@directory.identity, 'fog_large_object/1', ('x' * 6 * 1024 * 1024))
12
+ end
13
+
14
+ tests("#put_object('foglargeobjecttests', 'fog_large_object/2', ('x' * 4 * 1024 * 1024))").succeeds do
15
+ pending if Fog.mocking?
16
+ Fog::Storage[:rackspace].put_object(@directory.identity, 'fog_large_object/2', ('x' * 4 * 1024 * 1024))
17
+ end
18
+
19
+ tests("#put_object_manifest('foglargeobjecttests', 'fog_large_object')").succeeds do
20
+ pending if Fog.mocking?
21
+ Fog::Storage[:rackspace].put_object_manifest(@directory.identity, 'fog_large_object')
22
+ end
23
+
24
+ tests("#get_object('foglargeobjecttests', 'fog_large_object').body").succeeds do
25
+ pending if Fog.mocking?
26
+ Fog::Storage[:rackspace].get_object(@directory.identity, 'fog_large_object').body == ('x' * 10 * 1024 * 1024)
27
+ end
28
+
29
+ unless Fog.mocking?
30
+ ['fog_large_object', 'fog_large_object/1', 'fog_large_object/2'].each do |key|
31
+ @directory.files.new(:key => key).destroy
32
+ end
33
+ end
34
+
35
+ end
36
+
37
+ tests('failure') do
38
+
39
+ tests("put_object_manifest")
40
+
41
+ end
42
+
43
+ unless Fog.mocking?
44
+ @directory.destroy
45
+ end
46
+
47
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog
3
3
  version: !ruby/object:Gem::Version
4
- hash: 59
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 9
8
+ - 10
9
9
  - 0
10
- version: 0.9.0
10
+ version: 0.10.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - geemus (Wesley Beary)
@@ -15,13 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-24 00:00:00 -07:00
19
- default_executable:
18
+ date: 2011-07-25 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- name: builder
23
- prerelease: false
24
- version_requirements: &id001 !ruby/object:Gem::Requirement
21
+ type: :runtime
22
+ requirement: &id001 !ruby/object:Gem::Requirement
25
23
  none: false
26
24
  requirements:
27
25
  - - ">="
@@ -30,58 +28,60 @@ dependencies:
30
28
  segments:
31
29
  - 0
32
30
  version: "0"
33
- type: :runtime
34
- requirement: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: excon
31
+ version_requirements: *id001
32
+ name: builder
37
33
  prerelease: false
38
- version_requirements: &id002 !ruby/object:Gem::Requirement
34
+ - !ruby/object:Gem::Dependency
35
+ type: :runtime
36
+ requirement: &id002 !ruby/object:Gem::Requirement
39
37
  none: false
40
38
  requirements:
41
39
  - - ~>
42
40
  - !ruby/object:Gem::Version
43
- hash: 5
41
+ hash: 13
44
42
  segments:
45
43
  - 0
46
44
  - 6
47
- - 1
48
- version: 0.6.1
49
- type: :runtime
50
- requirement: *id002
51
- - !ruby/object:Gem::Dependency
52
- name: formatador
45
+ - 5
46
+ version: 0.6.5
47
+ version_requirements: *id002
48
+ name: excon
53
49
  prerelease: false
54
- version_requirements: &id003 !ruby/object:Gem::Requirement
50
+ - !ruby/object:Gem::Dependency
51
+ type: :runtime
52
+ requirement: &id003 !ruby/object:Gem::Requirement
55
53
  none: false
56
54
  requirements:
57
- - - ">="
55
+ - - ~>
58
56
  - !ruby/object:Gem::Version
59
- hash: 29
57
+ hash: 23
60
58
  segments:
61
59
  - 0
62
- - 1
63
- - 3
64
- version: 0.1.3
65
- type: :runtime
66
- requirement: *id003
67
- - !ruby/object:Gem::Dependency
68
- name: json
60
+ - 2
61
+ - 0
62
+ version: 0.2.0
63
+ version_requirements: *id003
64
+ name: formatador
69
65
  prerelease: false
70
- version_requirements: &id004 !ruby/object:Gem::Requirement
66
+ - !ruby/object:Gem::Dependency
67
+ type: :runtime
68
+ requirement: &id004 !ruby/object:Gem::Requirement
71
69
  none: false
72
70
  requirements:
73
- - - ">="
71
+ - - ~>
74
72
  - !ruby/object:Gem::Version
75
- hash: 3
73
+ hash: 17
76
74
  segments:
75
+ - 1
77
76
  - 0
78
- version: "0"
79
- type: :runtime
80
- requirement: *id004
81
- - !ruby/object:Gem::Dependency
82
- name: mime-types
77
+ - 3
78
+ version: 1.0.3
79
+ version_requirements: *id004
80
+ name: multi_json
83
81
  prerelease: false
84
- version_requirements: &id005 !ruby/object:Gem::Requirement
82
+ - !ruby/object:Gem::Dependency
83
+ type: :runtime
84
+ requirement: &id005 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ">="
@@ -90,15 +90,15 @@ dependencies:
90
90
  segments:
91
91
  - 0
92
92
  version: "0"
93
- type: :runtime
94
- requirement: *id005
95
- - !ruby/object:Gem::Dependency
96
- name: net-scp
93
+ version_requirements: *id005
94
+ name: mime-types
97
95
  prerelease: false
98
- version_requirements: &id006 !ruby/object:Gem::Requirement
96
+ - !ruby/object:Gem::Dependency
97
+ type: :runtime
98
+ requirement: &id006 !ruby/object:Gem::Requirement
99
99
  none: false
100
100
  requirements:
101
- - - ">="
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
103
  hash: 31
104
104
  segments:
@@ -106,15 +106,15 @@ dependencies:
106
106
  - 0
107
107
  - 4
108
108
  version: 1.0.4
109
- type: :runtime
110
- requirement: *id006
111
- - !ruby/object:Gem::Dependency
112
- name: net-ssh
109
+ version_requirements: *id006
110
+ name: net-scp
113
111
  prerelease: false
114
- version_requirements: &id007 !ruby/object:Gem::Requirement
112
+ - !ruby/object:Gem::Dependency
113
+ type: :runtime
114
+ requirement: &id007 !ruby/object:Gem::Requirement
115
115
  none: false
116
116
  requirements:
117
- - - ">="
117
+ - - ~>
118
118
  - !ruby/object:Gem::Version
119
119
  hash: 3
120
120
  segments:
@@ -122,28 +122,28 @@ dependencies:
122
122
  - 1
123
123
  - 4
124
124
  version: 2.1.4
125
- type: :runtime
126
- requirement: *id007
127
- - !ruby/object:Gem::Dependency
128
- name: nokogiri
125
+ version_requirements: *id007
126
+ name: net-ssh
129
127
  prerelease: false
130
- version_requirements: &id008 !ruby/object:Gem::Requirement
128
+ - !ruby/object:Gem::Dependency
129
+ type: :runtime
130
+ requirement: &id008 !ruby/object:Gem::Requirement
131
131
  none: false
132
132
  requirements:
133
- - - ">="
133
+ - - ~>
134
134
  - !ruby/object:Gem::Version
135
- hash: 15
135
+ hash: 3
136
136
  segments:
137
137
  - 1
138
- - 4
139
- - 4
140
- version: 1.4.4
141
- type: :runtime
142
- requirement: *id008
143
- - !ruby/object:Gem::Dependency
144
- name: ruby-hmac
138
+ - 5
139
+ - 0
140
+ version: 1.5.0
141
+ version_requirements: *id008
142
+ name: nokogiri
145
143
  prerelease: false
146
- version_requirements: &id009 !ruby/object:Gem::Requirement
144
+ - !ruby/object:Gem::Dependency
145
+ type: :runtime
146
+ requirement: &id009 !ruby/object:Gem::Requirement
147
147
  none: false
148
148
  requirements:
149
149
  - - ">="
@@ -152,12 +152,12 @@ dependencies:
152
152
  segments:
153
153
  - 0
154
154
  version: "0"
155
- type: :runtime
156
- requirement: *id009
157
- - !ruby/object:Gem::Dependency
158
- name: jekyll
155
+ version_requirements: *id009
156
+ name: ruby-hmac
159
157
  prerelease: false
160
- version_requirements: &id010 !ruby/object:Gem::Requirement
158
+ - !ruby/object:Gem::Dependency
159
+ type: :development
160
+ requirement: &id010 !ruby/object:Gem::Requirement
161
161
  none: false
162
162
  requirements:
163
163
  - - ">="
@@ -166,12 +166,12 @@ dependencies:
166
166
  segments:
167
167
  - 0
168
168
  version: "0"
169
- type: :development
170
- requirement: *id010
171
- - !ruby/object:Gem::Dependency
172
- name: rake
169
+ version_requirements: *id010
170
+ name: jekyll
173
171
  prerelease: false
174
- version_requirements: &id011 !ruby/object:Gem::Requirement
172
+ - !ruby/object:Gem::Dependency
173
+ type: :development
174
+ requirement: &id011 !ruby/object:Gem::Requirement
175
175
  none: false
176
176
  requirements:
177
177
  - - ">="
@@ -180,12 +180,12 @@ dependencies:
180
180
  segments:
181
181
  - 0
182
182
  version: "0"
183
- type: :development
184
- requirement: *id011
185
- - !ruby/object:Gem::Dependency
186
- name: rdoc
183
+ version_requirements: *id011
184
+ name: rake
187
185
  prerelease: false
188
- version_requirements: &id012 !ruby/object:Gem::Requirement
186
+ - !ruby/object:Gem::Dependency
187
+ type: :development
188
+ requirement: &id012 !ruby/object:Gem::Requirement
189
189
  none: false
190
190
  requirements:
191
191
  - - ">="
@@ -194,15 +194,15 @@ dependencies:
194
194
  segments:
195
195
  - 0
196
196
  version: "0"
197
- type: :development
198
- requirement: *id012
199
- - !ruby/object:Gem::Dependency
200
- name: rspec
197
+ version_requirements: *id012
198
+ name: rdoc
201
199
  prerelease: false
202
- version_requirements: &id013 !ruby/object:Gem::Requirement
200
+ - !ruby/object:Gem::Dependency
201
+ type: :development
202
+ requirement: &id013 !ruby/object:Gem::Requirement
203
203
  none: false
204
204
  requirements:
205
- - - "="
205
+ - - ~>
206
206
  - !ruby/object:Gem::Version
207
207
  hash: 25
208
208
  segments:
@@ -210,15 +210,15 @@ dependencies:
210
210
  - 3
211
211
  - 1
212
212
  version: 1.3.1
213
- type: :development
214
- requirement: *id013
215
- - !ruby/object:Gem::Dependency
216
- name: shindo
213
+ version_requirements: *id013
214
+ name: rspec
217
215
  prerelease: false
218
- version_requirements: &id014 !ruby/object:Gem::Requirement
216
+ - !ruby/object:Gem::Dependency
217
+ type: :development
218
+ requirement: &id014 !ruby/object:Gem::Requirement
219
219
  none: false
220
220
  requirements:
221
- - - "="
221
+ - - ~>
222
222
  - !ruby/object:Gem::Version
223
223
  hash: 27
224
224
  segments:
@@ -226,15 +226,15 @@ dependencies:
226
226
  - 3
227
227
  - 4
228
228
  version: 0.3.4
229
- type: :development
230
- requirement: *id014
231
- - !ruby/object:Gem::Dependency
232
- name: virtualbox
229
+ version_requirements: *id014
230
+ name: shindo
233
231
  prerelease: false
234
- version_requirements: &id015 !ruby/object:Gem::Requirement
232
+ - !ruby/object:Gem::Dependency
233
+ type: :development
234
+ requirement: &id015 !ruby/object:Gem::Requirement
235
235
  none: false
236
236
  requirements:
237
- - - "="
237
+ - - ~>
238
238
  - !ruby/object:Gem::Version
239
239
  hash: 57
240
240
  segments:
@@ -242,8 +242,9 @@ dependencies:
242
242
  - 8
243
243
  - 3
244
244
  version: 0.8.3
245
- type: :development
246
- requirement: *id015
245
+ version_requirements: *id015
246
+ name: virtualbox
247
+ prerelease: false
247
248
  description: The Ruby cloud services library.
248
249
  email: geemus@gmail.com
249
250
  executables:
@@ -298,9 +299,23 @@ files:
298
299
  - examples/storage_tests.rb
299
300
  - fog.gemspec
300
301
  - lib/fog.rb
302
+ - lib/fog/aws/auto_scaling.rb
301
303
  - lib/fog/aws/cloud_formation.rb
304
+ - lib/fog/aws/cloud_watch.rb
302
305
  - lib/fog/aws/elb.rb
303
306
  - lib/fog/aws/iam.rb
307
+ - lib/fog/aws/models/auto_scaling/activities.rb
308
+ - lib/fog/aws/models/auto_scaling/activity.rb
309
+ - lib/fog/aws/models/auto_scaling/configuration.rb
310
+ - lib/fog/aws/models/auto_scaling/configurations.rb
311
+ - lib/fog/aws/models/auto_scaling/group.rb
312
+ - lib/fog/aws/models/auto_scaling/groups.rb
313
+ - lib/fog/aws/models/auto_scaling/instance.rb
314
+ - lib/fog/aws/models/auto_scaling/instances.rb
315
+ - lib/fog/aws/models/cloud_watch/metric.rb
316
+ - lib/fog/aws/models/cloud_watch/metric_statistic.rb
317
+ - lib/fog/aws/models/cloud_watch/metric_statistics.rb
318
+ - lib/fog/aws/models/cloud_watch/metrics.rb
304
319
  - lib/fog/aws/models/elb/listener.rb
305
320
  - lib/fog/aws/models/elb/listeners.rb
306
321
  - lib/fog/aws/models/elb/load_balancer.rb
@@ -317,6 +332,18 @@ files:
317
332
  - lib/fog/aws/models/rds/servers.rb
318
333
  - lib/fog/aws/models/rds/snapshot.rb
319
334
  - lib/fog/aws/models/rds/snapshots.rb
335
+ - lib/fog/aws/parsers/auto_scaling/basic.rb
336
+ - lib/fog/aws/parsers/auto_scaling/describe_adjustment_types.rb
337
+ - lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_groups.rb
338
+ - lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_instances.rb
339
+ - lib/fog/aws/parsers/auto_scaling/describe_launch_configurations.rb
340
+ - lib/fog/aws/parsers/auto_scaling/describe_metric_collection_types.rb
341
+ - lib/fog/aws/parsers/auto_scaling/describe_policies.rb
342
+ - lib/fog/aws/parsers/auto_scaling/describe_scaling_activities.rb
343
+ - lib/fog/aws/parsers/auto_scaling/describe_scaling_process_types.rb
344
+ - lib/fog/aws/parsers/auto_scaling/describe_scheduled_actions.rb
345
+ - lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
346
+ - lib/fog/aws/parsers/auto_scaling/terminate_instance_in_auto_scaling_group.rb
320
347
  - lib/fog/aws/parsers/cloud_formation/basic.rb
321
348
  - lib/fog/aws/parsers/cloud_formation/create_stack.rb
322
349
  - lib/fog/aws/parsers/cloud_formation/describe_stack_events.rb
@@ -324,6 +351,9 @@ files:
324
351
  - lib/fog/aws/parsers/cloud_formation/describe_stacks.rb
325
352
  - lib/fog/aws/parsers/cloud_formation/get_template.rb
326
353
  - lib/fog/aws/parsers/cloud_formation/validate_template.rb
354
+ - lib/fog/aws/parsers/cloud_watch/get_metric_statistics.rb
355
+ - lib/fog/aws/parsers/cloud_watch/list_metrics.rb
356
+ - lib/fog/aws/parsers/cloud_watch/put_metric_data.rb
327
357
  - lib/fog/aws/parsers/elb/configure_health_check.rb
328
358
  - lib/fog/aws/parsers/elb/create_load_balancer.rb
329
359
  - lib/fog/aws/parsers/elb/delete_load_balancer.rb
@@ -339,9 +369,11 @@ files:
339
369
  - lib/fog/aws/parsers/iam/create_group.rb
340
370
  - lib/fog/aws/parsers/iam/create_user.rb
341
371
  - lib/fog/aws/parsers/iam/get_group.rb
372
+ - lib/fog/aws/parsers/iam/get_group_policy.rb
342
373
  - lib/fog/aws/parsers/iam/get_user.rb
343
374
  - lib/fog/aws/parsers/iam/get_user_policy.rb
344
375
  - lib/fog/aws/parsers/iam/list_access_keys.rb
376
+ - lib/fog/aws/parsers/iam/list_account_aliases.rb
345
377
  - lib/fog/aws/parsers/iam/list_groups.rb
346
378
  - lib/fog/aws/parsers/iam/list_groups_for_user.rb
347
379
  - lib/fog/aws/parsers/iam/list_policies.rb
@@ -359,14 +391,17 @@ files:
359
391
  - lib/fog/aws/parsers/rds/create_db_parameter_group.rb
360
392
  - lib/fog/aws/parsers/rds/create_db_security_group.rb
361
393
  - lib/fog/aws/parsers/rds/create_db_snapshot.rb
394
+ - lib/fog/aws/parsers/rds/db_engine_version_parser.rb
362
395
  - lib/fog/aws/parsers/rds/db_parser.rb
363
396
  - lib/fog/aws/parsers/rds/delete_db_instance.rb
364
397
  - lib/fog/aws/parsers/rds/delete_db_parameter_group.rb
365
398
  - lib/fog/aws/parsers/rds/delete_db_security_group.rb
366
399
  - lib/fog/aws/parsers/rds/delete_db_snapshot.rb
400
+ - lib/fog/aws/parsers/rds/describe_db_engine_versions.rb
367
401
  - lib/fog/aws/parsers/rds/describe_db_instances.rb
368
402
  - lib/fog/aws/parsers/rds/describe_db_parameter_groups.rb
369
403
  - lib/fog/aws/parsers/rds/describe_db_parameters.rb
404
+ - lib/fog/aws/parsers/rds/describe_db_reserved_instances.rb
370
405
  - lib/fog/aws/parsers/rds/describe_db_security_groups.rb
371
406
  - lib/fog/aws/parsers/rds/describe_db_snapshots.rb
372
407
  - lib/fog/aws/parsers/rds/modify_db_instance.rb
@@ -389,7 +424,51 @@ files:
389
424
  - lib/fog/aws/parsers/simpledb/get_attributes.rb
390
425
  - lib/fog/aws/parsers/simpledb/list_domains.rb
391
426
  - lib/fog/aws/parsers/simpledb/select.rb
427
+ - lib/fog/aws/parsers/sns/add_permission.rb
428
+ - lib/fog/aws/parsers/sns/confirm_subscription.rb
429
+ - lib/fog/aws/parsers/sns/create_topic.rb
430
+ - lib/fog/aws/parsers/sns/delete_topic.rb
431
+ - lib/fog/aws/parsers/sns/get_topic_attributes.rb
432
+ - lib/fog/aws/parsers/sns/list_subscriptions.rb
433
+ - lib/fog/aws/parsers/sns/list_topics.rb
434
+ - lib/fog/aws/parsers/sns/publish.rb
435
+ - lib/fog/aws/parsers/sns/remove_permission.rb
436
+ - lib/fog/aws/parsers/sns/set_topic_attributes.rb
437
+ - lib/fog/aws/parsers/sns/subscribe.rb
438
+ - lib/fog/aws/parsers/sns/unsubscribe.rb
439
+ - lib/fog/aws/parsers/sqs/basic.rb
440
+ - lib/fog/aws/parsers/sqs/create_queue.rb
441
+ - lib/fog/aws/parsers/sqs/get_queue_attributes.rb
442
+ - lib/fog/aws/parsers/sqs/list_queues.rb
443
+ - lib/fog/aws/parsers/sqs/receive_message.rb
444
+ - lib/fog/aws/parsers/sqs/send_message.rb
392
445
  - lib/fog/aws/rds.rb
446
+ - lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb
447
+ - lib/fog/aws/requests/auto_scaling/create_launch_configuration.rb
448
+ - lib/fog/aws/requests/auto_scaling/delete_auto_scaling_group.rb
449
+ - lib/fog/aws/requests/auto_scaling/delete_launch_configuration.rb
450
+ - lib/fog/aws/requests/auto_scaling/delete_policy.rb
451
+ - lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
452
+ - lib/fog/aws/requests/auto_scaling/describe_adjustment_types.rb
453
+ - lib/fog/aws/requests/auto_scaling/describe_auto_scaling_groups.rb
454
+ - lib/fog/aws/requests/auto_scaling/describe_auto_scaling_instances.rb
455
+ - lib/fog/aws/requests/auto_scaling/describe_launch_configurations.rb
456
+ - lib/fog/aws/requests/auto_scaling/describe_metric_collection_types.rb
457
+ - lib/fog/aws/requests/auto_scaling/describe_policies.rb
458
+ - lib/fog/aws/requests/auto_scaling/describe_scaling_activities.rb
459
+ - lib/fog/aws/requests/auto_scaling/describe_scaling_process_types.rb
460
+ - lib/fog/aws/requests/auto_scaling/describe_scheduled_actions.rb
461
+ - lib/fog/aws/requests/auto_scaling/disable_metrics_collection.rb
462
+ - lib/fog/aws/requests/auto_scaling/enable_metrics_collection.rb
463
+ - lib/fog/aws/requests/auto_scaling/execute_policy.rb
464
+ - lib/fog/aws/requests/auto_scaling/put_scaling_policy.rb
465
+ - lib/fog/aws/requests/auto_scaling/put_scheduled_update_group_action.rb
466
+ - lib/fog/aws/requests/auto_scaling/resume_processes.rb
467
+ - lib/fog/aws/requests/auto_scaling/set_desired_capacity.rb
468
+ - lib/fog/aws/requests/auto_scaling/set_instance_health.rb
469
+ - lib/fog/aws/requests/auto_scaling/suspend_processes.rb
470
+ - lib/fog/aws/requests/auto_scaling/terminate_instance_in_auto_scaling_group.rb
471
+ - lib/fog/aws/requests/auto_scaling/update_auto_scaling_group.rb
393
472
  - lib/fog/aws/requests/cloud_formation/create_stack.rb
394
473
  - lib/fog/aws/requests/cloud_formation/delete_stack.rb
395
474
  - lib/fog/aws/requests/cloud_formation/describe_stack_events.rb
@@ -397,6 +476,9 @@ files:
397
476
  - lib/fog/aws/requests/cloud_formation/describe_stacks.rb
398
477
  - lib/fog/aws/requests/cloud_formation/get_template.rb
399
478
  - lib/fog/aws/requests/cloud_formation/validate_template.rb
479
+ - lib/fog/aws/requests/cloud_watch/get_metric_statistics.rb
480
+ - lib/fog/aws/requests/cloud_watch/list_metrics.rb
481
+ - lib/fog/aws/requests/cloud_watch/put_metric_data.rb
400
482
  - lib/fog/aws/requests/elb/configure_health_check.rb
401
483
  - lib/fog/aws/requests/elb/create_app_cookie_stickiness_policy.rb
402
484
  - lib/fog/aws/requests/elb/create_lb_cookie_stickiness_policy.rb
@@ -411,13 +493,16 @@ files:
411
493
  - lib/fog/aws/requests/elb/disable_availability_zones_for_load_balancer.rb
412
494
  - lib/fog/aws/requests/elb/enable_availability_zones_for_load_balancer.rb
413
495
  - lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb
496
+ - lib/fog/aws/requests/elb/set_load_balancer_listener_ssl_certificate.rb
414
497
  - lib/fog/aws/requests/elb/set_load_balancer_policies_of_listener.rb
415
498
  - lib/fog/aws/requests/iam/add_user_to_group.rb
416
499
  - lib/fog/aws/requests/iam/create_access_key.rb
500
+ - lib/fog/aws/requests/iam/create_account_alias.rb
417
501
  - lib/fog/aws/requests/iam/create_group.rb
418
502
  - lib/fog/aws/requests/iam/create_login_profile.rb
419
503
  - lib/fog/aws/requests/iam/create_user.rb
420
504
  - lib/fog/aws/requests/iam/delete_access_key.rb
505
+ - lib/fog/aws/requests/iam/delete_account_alias.rb
421
506
  - lib/fog/aws/requests/iam/delete_group.rb
422
507
  - lib/fog/aws/requests/iam/delete_group_policy.rb
423
508
  - lib/fog/aws/requests/iam/delete_login_profile.rb
@@ -426,10 +511,13 @@ files:
426
511
  - lib/fog/aws/requests/iam/delete_user.rb
427
512
  - lib/fog/aws/requests/iam/delete_user_policy.rb
428
513
  - lib/fog/aws/requests/iam/get_group.rb
514
+ - lib/fog/aws/requests/iam/get_group_policy.rb
429
515
  - lib/fog/aws/requests/iam/get_login_profile.rb
516
+ - lib/fog/aws/requests/iam/get_server_certificate.rb
430
517
  - lib/fog/aws/requests/iam/get_user.rb
431
518
  - lib/fog/aws/requests/iam/get_user_policy.rb
432
519
  - lib/fog/aws/requests/iam/list_access_keys.rb
520
+ - lib/fog/aws/requests/iam/list_account_aliases.rb
433
521
  - lib/fog/aws/requests/iam/list_group_policies.rb
434
522
  - lib/fog/aws/requests/iam/list_groups.rb
435
523
  - lib/fog/aws/requests/iam/list_groups_for_user.rb
@@ -457,9 +545,11 @@ files:
457
545
  - lib/fog/aws/requests/rds/delete_db_parameter_group.rb
458
546
  - lib/fog/aws/requests/rds/delete_db_security_group.rb
459
547
  - lib/fog/aws/requests/rds/delete_db_snapshot.rb
548
+ - lib/fog/aws/requests/rds/describe_db_engine_versions.rb
460
549
  - lib/fog/aws/requests/rds/describe_db_instances.rb
461
550
  - lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
462
551
  - lib/fog/aws/requests/rds/describe_db_parameters.rb
552
+ - lib/fog/aws/requests/rds/describe_db_reserved_instances.rb
463
553
  - lib/fog/aws/requests/rds/describe_db_security_groups.rb
464
554
  - lib/fog/aws/requests/rds/describe_db_snapshots.rb
465
555
  - lib/fog/aws/requests/rds/modify_db_instance.rb
@@ -484,8 +574,32 @@ files:
484
574
  - lib/fog/aws/requests/simpledb/list_domains.rb
485
575
  - lib/fog/aws/requests/simpledb/put_attributes.rb
486
576
  - lib/fog/aws/requests/simpledb/select.rb
577
+ - lib/fog/aws/requests/sns/add_permission.rb
578
+ - lib/fog/aws/requests/sns/confirm_subscription.rb
579
+ - lib/fog/aws/requests/sns/create_topic.rb
580
+ - lib/fog/aws/requests/sns/delete_topic.rb
581
+ - lib/fog/aws/requests/sns/get_topic_attributes.rb
582
+ - lib/fog/aws/requests/sns/list_subscriptions.rb
583
+ - lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb
584
+ - lib/fog/aws/requests/sns/list_topics.rb
585
+ - lib/fog/aws/requests/sns/publish.rb
586
+ - lib/fog/aws/requests/sns/remove_permission.rb
587
+ - lib/fog/aws/requests/sns/set_topic_attributes.rb
588
+ - lib/fog/aws/requests/sns/subscribe.rb
589
+ - lib/fog/aws/requests/sns/unsubscribe.rb
590
+ - lib/fog/aws/requests/sqs/change_message_visibility.rb
591
+ - lib/fog/aws/requests/sqs/create_queue.rb
592
+ - lib/fog/aws/requests/sqs/delete_message.rb
593
+ - lib/fog/aws/requests/sqs/delete_queue.rb
594
+ - lib/fog/aws/requests/sqs/get_queue_attributes.rb
595
+ - lib/fog/aws/requests/sqs/list_queues.rb
596
+ - lib/fog/aws/requests/sqs/receive_message.rb
597
+ - lib/fog/aws/requests/sqs/send_message.rb
598
+ - lib/fog/aws/requests/sqs/set_queue_attributes.rb
487
599
  - lib/fog/aws/ses.rb
488
600
  - lib/fog/aws/simpledb.rb
601
+ - lib/fog/aws/sns.rb
602
+ - lib/fog/aws/sqs.rb
489
603
  - lib/fog/bin.rb
490
604
  - lib/fog/bin/aws.rb
491
605
  - lib/fog/bin/bluebox.rb
@@ -503,6 +617,7 @@ files:
503
617
  - lib/fog/bin/slicehost.rb
504
618
  - lib/fog/bin/stormondemand.rb
505
619
  - lib/fog/bin/terremark.rb
620
+ - lib/fog/bin/vcloud.rb
506
621
  - lib/fog/bin/virtual_box.rb
507
622
  - lib/fog/bin/voxel.rb
508
623
  - lib/fog/bin/zerigo.rb
@@ -543,6 +658,8 @@ files:
543
658
  - lib/fog/compute/models/aws/servers.rb
544
659
  - lib/fog/compute/models/aws/snapshot.rb
545
660
  - lib/fog/compute/models/aws/snapshots.rb
661
+ - lib/fog/compute/models/aws/spot_request.rb
662
+ - lib/fog/compute/models/aws/spot_requests.rb
546
663
  - lib/fog/compute/models/aws/tag.rb
547
664
  - lib/fog/compute/models/aws/tags.rb
548
665
  - lib/fog/compute/models/aws/volume.rb
@@ -648,6 +765,20 @@ files:
648
765
  - lib/fog/compute/models/storm_on_demand/stats.rb
649
766
  - lib/fog/compute/models/storm_on_demand/template.rb
650
767
  - lib/fog/compute/models/storm_on_demand/templates.rb
768
+ - lib/fog/compute/models/vcloud/catalog.rb
769
+ - lib/fog/compute/models/vcloud/catalog_item.rb
770
+ - lib/fog/compute/models/vcloud/catalog_items.rb
771
+ - lib/fog/compute/models/vcloud/catalogs.rb
772
+ - lib/fog/compute/models/vcloud/ip.rb
773
+ - lib/fog/compute/models/vcloud/ips.rb
774
+ - lib/fog/compute/models/vcloud/network.rb
775
+ - lib/fog/compute/models/vcloud/networks.rb
776
+ - lib/fog/compute/models/vcloud/server.rb
777
+ - lib/fog/compute/models/vcloud/servers.rb
778
+ - lib/fog/compute/models/vcloud/task.rb
779
+ - lib/fog/compute/models/vcloud/tasks.rb
780
+ - lib/fog/compute/models/vcloud/vdc.rb
781
+ - lib/fog/compute/models/vcloud/vdcs.rb
651
782
  - lib/fog/compute/models/virtual_box/medium.rb
652
783
  - lib/fog/compute/models/virtual_box/medium_format.rb
653
784
  - lib/fog/compute/models/virtual_box/mediums.rb
@@ -669,6 +800,7 @@ files:
669
800
  - lib/fog/compute/parsers/aws/allocate_address.rb
670
801
  - lib/fog/compute/parsers/aws/attach_volume.rb
671
802
  - lib/fog/compute/parsers/aws/basic.rb
803
+ - lib/fog/compute/parsers/aws/cancel_spot_instance_requests.rb
672
804
  - lib/fog/compute/parsers/aws/create_image.rb
673
805
  - lib/fog/compute/parsers/aws/create_key_pair.rb
674
806
  - lib/fog/compute/parsers/aws/create_snapshot.rb
@@ -679,11 +811,13 @@ files:
679
811
  - lib/fog/compute/parsers/aws/describe_images.rb
680
812
  - lib/fog/compute/parsers/aws/describe_instances.rb
681
813
  - lib/fog/compute/parsers/aws/describe_key_pairs.rb
814
+ - lib/fog/compute/parsers/aws/describe_placement_groups.rb
682
815
  - lib/fog/compute/parsers/aws/describe_regions.rb
683
816
  - lib/fog/compute/parsers/aws/describe_reserved_instances.rb
684
817
  - lib/fog/compute/parsers/aws/describe_reserved_instances_offerings.rb
685
818
  - lib/fog/compute/parsers/aws/describe_security_groups.rb
686
819
  - lib/fog/compute/parsers/aws/describe_snapshots.rb
820
+ - lib/fog/compute/parsers/aws/describe_spot_price_history.rb
687
821
  - lib/fog/compute/parsers/aws/describe_tags.rb
688
822
  - lib/fog/compute/parsers/aws/describe_volumes.rb
689
823
  - lib/fog/compute/parsers/aws/detach_volume.rb
@@ -691,8 +825,11 @@ files:
691
825
  - lib/fog/compute/parsers/aws/get_password_data.rb
692
826
  - lib/fog/compute/parsers/aws/import_key_pair.rb
693
827
  - lib/fog/compute/parsers/aws/monitor_unmonitor_instances.rb
828
+ - lib/fog/compute/parsers/aws/purchase_reserved_instances_offering.rb
694
829
  - lib/fog/compute/parsers/aws/register_image.rb
695
830
  - lib/fog/compute/parsers/aws/run_instances.rb
831
+ - lib/fog/compute/parsers/aws/spot_datafeed_subscription.rb
832
+ - lib/fog/compute/parsers/aws/spot_instance_requests.rb
696
833
  - lib/fog/compute/parsers/aws/start_stop_instances.rb
697
834
  - lib/fog/compute/parsers/aws/terminate_instances.rb
698
835
  - lib/fog/compute/parsers/slicehost/create_slice.rb
@@ -714,15 +851,20 @@ files:
714
851
  - lib/fog/compute/requests/aws/associate_address.rb
715
852
  - lib/fog/compute/requests/aws/attach_volume.rb
716
853
  - lib/fog/compute/requests/aws/authorize_security_group_ingress.rb
854
+ - lib/fog/compute/requests/aws/cancel_spot_instance_requests.rb
717
855
  - lib/fog/compute/requests/aws/create_image.rb
718
856
  - lib/fog/compute/requests/aws/create_key_pair.rb
857
+ - lib/fog/compute/requests/aws/create_placement_group.rb
719
858
  - lib/fog/compute/requests/aws/create_security_group.rb
720
859
  - lib/fog/compute/requests/aws/create_snapshot.rb
860
+ - lib/fog/compute/requests/aws/create_spot_datafeed_subscription.rb
721
861
  - lib/fog/compute/requests/aws/create_tags.rb
722
862
  - lib/fog/compute/requests/aws/create_volume.rb
723
863
  - lib/fog/compute/requests/aws/delete_key_pair.rb
864
+ - lib/fog/compute/requests/aws/delete_placement_group.rb
724
865
  - lib/fog/compute/requests/aws/delete_security_group.rb
725
866
  - lib/fog/compute/requests/aws/delete_snapshot.rb
867
+ - lib/fog/compute/requests/aws/delete_spot_datafeed_subscription.rb
726
868
  - lib/fog/compute/requests/aws/delete_tags.rb
727
869
  - lib/fog/compute/requests/aws/delete_volume.rb
728
870
  - lib/fog/compute/requests/aws/deregister_image.rb
@@ -731,11 +873,15 @@ files:
731
873
  - lib/fog/compute/requests/aws/describe_images.rb
732
874
  - lib/fog/compute/requests/aws/describe_instances.rb
733
875
  - lib/fog/compute/requests/aws/describe_key_pairs.rb
876
+ - lib/fog/compute/requests/aws/describe_placement_groups.rb
734
877
  - lib/fog/compute/requests/aws/describe_regions.rb
735
878
  - lib/fog/compute/requests/aws/describe_reserved_instances.rb
736
879
  - lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb
737
880
  - lib/fog/compute/requests/aws/describe_security_groups.rb
738
881
  - lib/fog/compute/requests/aws/describe_snapshots.rb
882
+ - lib/fog/compute/requests/aws/describe_spot_datafeed_subscription.rb
883
+ - lib/fog/compute/requests/aws/describe_spot_instance_requests.rb
884
+ - lib/fog/compute/requests/aws/describe_spot_price_history.rb
739
885
  - lib/fog/compute/requests/aws/describe_tags.rb
740
886
  - lib/fog/compute/requests/aws/describe_volumes.rb
741
887
  - lib/fog/compute/requests/aws/detach_volume.rb
@@ -746,9 +892,11 @@ files:
746
892
  - lib/fog/compute/requests/aws/modify_image_attributes.rb
747
893
  - lib/fog/compute/requests/aws/modify_snapshot_attribute.rb
748
894
  - lib/fog/compute/requests/aws/monitor_instances.rb
895
+ - lib/fog/compute/requests/aws/purchase_reserved_instances_offering.rb
749
896
  - lib/fog/compute/requests/aws/reboot_instances.rb
750
897
  - lib/fog/compute/requests/aws/register_image.rb
751
898
  - lib/fog/compute/requests/aws/release_address.rb
899
+ - lib/fog/compute/requests/aws/request_spot_instances.rb
752
900
  - lib/fog/compute/requests/aws/revoke_security_group_ingress.rb
753
901
  - lib/fog/compute/requests/aws/run_instances.rb
754
902
  - lib/fog/compute/requests/aws/start_instances.rb
@@ -968,6 +1116,39 @@ files:
968
1116
  - lib/fog/compute/requests/storm_on_demand/reboot_server.rb
969
1117
  - lib/fog/compute/requests/storm_on_demand/remove_balancer_node.rb
970
1118
  - lib/fog/compute/requests/storm_on_demand/resize_server.rb
1119
+ - lib/fog/compute/requests/vcloud/clone_vapp.rb
1120
+ - lib/fog/compute/requests/vcloud/configure_network.rb
1121
+ - lib/fog/compute/requests/vcloud/configure_network_ip.rb
1122
+ - lib/fog/compute/requests/vcloud/configure_node.rb
1123
+ - lib/fog/compute/requests/vcloud/configure_vapp.rb
1124
+ - lib/fog/compute/requests/vcloud/configure_vm.rb
1125
+ - lib/fog/compute/requests/vcloud/configure_vm_disks.rb
1126
+ - lib/fog/compute/requests/vcloud/configure_vm_memory.rb
1127
+ - lib/fog/compute/requests/vcloud/configure_vm_name_description.rb
1128
+ - lib/fog/compute/requests/vcloud/delete_node.rb
1129
+ - lib/fog/compute/requests/vcloud/delete_vapp.rb
1130
+ - lib/fog/compute/requests/vcloud/get_catalog.rb
1131
+ - lib/fog/compute/requests/vcloud/get_catalog_item.rb
1132
+ - lib/fog/compute/requests/vcloud/get_customization_options.rb
1133
+ - lib/fog/compute/requests/vcloud/get_network.rb
1134
+ - lib/fog/compute/requests/vcloud/get_network_extensions.rb
1135
+ - lib/fog/compute/requests/vcloud/get_network_ip.rb
1136
+ - lib/fog/compute/requests/vcloud/get_network_ips.rb
1137
+ - lib/fog/compute/requests/vcloud/get_organization.rb
1138
+ - lib/fog/compute/requests/vcloud/get_task.rb
1139
+ - lib/fog/compute/requests/vcloud/get_task_list.rb
1140
+ - lib/fog/compute/requests/vcloud/get_vapp.rb
1141
+ - lib/fog/compute/requests/vcloud/get_vapp_template.rb
1142
+ - lib/fog/compute/requests/vcloud/get_vdc.rb
1143
+ - lib/fog/compute/requests/vcloud/get_vm_disks.rb
1144
+ - lib/fog/compute/requests/vcloud/get_vm_memory.rb
1145
+ - lib/fog/compute/requests/vcloud/instantiate_vapp_template.rb
1146
+ - lib/fog/compute/requests/vcloud/login.rb
1147
+ - lib/fog/compute/requests/vcloud/power_off.rb
1148
+ - lib/fog/compute/requests/vcloud/power_on.rb
1149
+ - lib/fog/compute/requests/vcloud/power_reset.rb
1150
+ - lib/fog/compute/requests/vcloud/power_shutdown.rb
1151
+ - lib/fog/compute/requests/vcloud/undeploy.rb
971
1152
  - lib/fog/compute/requests/voxel/devices_list.rb
972
1153
  - lib/fog/compute/requests/voxel/devices_power.rb
973
1154
  - lib/fog/compute/requests/voxel/images_list.rb
@@ -976,6 +1157,7 @@ files:
976
1157
  - lib/fog/compute/requests/voxel/voxcloud_status.rb
977
1158
  - lib/fog/compute/slicehost.rb
978
1159
  - lib/fog/compute/storm_on_demand.rb
1160
+ - lib/fog/compute/vcloud.rb
979
1161
  - lib/fog/compute/virtual_box.rb
980
1162
  - lib/fog/compute/voxel.rb
981
1163
  - lib/fog/core.rb
@@ -994,6 +1176,7 @@ files:
994
1176
  - lib/fog/core/service.rb
995
1177
  - lib/fog/core/ssh.rb
996
1178
  - lib/fog/core/time.rb
1179
+ - lib/fog/core/timeout.rb
997
1180
  - lib/fog/core/wait_for.rb
998
1181
  - lib/fog/dns.rb
999
1182
  - lib/fog/dns/aws.rb
@@ -1148,6 +1331,7 @@ files:
1148
1331
  - lib/fog/providers/rackspace.rb
1149
1332
  - lib/fog/providers/slicehost.rb
1150
1333
  - lib/fog/providers/storm_on_demand.rb
1334
+ - lib/fog/providers/vcloud.rb
1151
1335
  - lib/fog/providers/virtual_box.rb
1152
1336
  - lib/fog/providers/voxel.rb
1153
1337
  - lib/fog/providers/zerigo.rb
@@ -1167,10 +1351,15 @@ files:
1167
1351
  - lib/fog/storage/models/local/directory.rb
1168
1352
  - lib/fog/storage/models/local/file.rb
1169
1353
  - lib/fog/storage/models/local/files.rb
1354
+ - lib/fog/storage/models/ninefold/directories.rb
1355
+ - lib/fog/storage/models/ninefold/directory.rb
1356
+ - lib/fog/storage/models/ninefold/file.rb
1357
+ - lib/fog/storage/models/ninefold/files.rb
1170
1358
  - lib/fog/storage/models/rackspace/directories.rb
1171
1359
  - lib/fog/storage/models/rackspace/directory.rb
1172
1360
  - lib/fog/storage/models/rackspace/file.rb
1173
1361
  - lib/fog/storage/models/rackspace/files.rb
1362
+ - lib/fog/storage/ninefold.rb
1174
1363
  - lib/fog/storage/parsers/aws/access_control_list.rb
1175
1364
  - lib/fog/storage/parsers/aws/complete_multipart_upload.rb
1176
1365
  - lib/fog/storage/parsers/aws/copy_object.rb
@@ -1211,6 +1400,8 @@ files:
1211
1400
  - lib/fog/storage/requests/aws/get_bucket_website.rb
1212
1401
  - lib/fog/storage/requests/aws/get_object.rb
1213
1402
  - lib/fog/storage/requests/aws/get_object_acl.rb
1403
+ - lib/fog/storage/requests/aws/get_object_http_url.rb
1404
+ - lib/fog/storage/requests/aws/get_object_https_url.rb
1214
1405
  - lib/fog/storage/requests/aws/get_object_torrent.rb
1215
1406
  - lib/fog/storage/requests/aws/get_object_url.rb
1216
1407
  - lib/fog/storage/requests/aws/get_request_payment.rb
@@ -1239,6 +1430,8 @@ files:
1239
1430
  - lib/fog/storage/requests/google/get_bucket_acl.rb
1240
1431
  - lib/fog/storage/requests/google/get_object.rb
1241
1432
  - lib/fog/storage/requests/google/get_object_acl.rb
1433
+ - lib/fog/storage/requests/google/get_object_http_url.rb
1434
+ - lib/fog/storage/requests/google/get_object_https_url.rb
1242
1435
  - lib/fog/storage/requests/google/get_object_torrent.rb
1243
1436
  - lib/fog/storage/requests/google/get_object_url.rb
1244
1437
  - lib/fog/storage/requests/google/get_service.rb
@@ -1247,6 +1440,10 @@ files:
1247
1440
  - lib/fog/storage/requests/google/put_bucket_acl.rb
1248
1441
  - lib/fog/storage/requests/google/put_object.rb
1249
1442
  - lib/fog/storage/requests/google/put_object_url.rb
1443
+ - lib/fog/storage/requests/ninefold/delete_namespace.rb
1444
+ - lib/fog/storage/requests/ninefold/get_namespace.rb
1445
+ - lib/fog/storage/requests/ninefold/post_namespace.rb
1446
+ - lib/fog/storage/requests/ninefold/put_namespace.rb
1250
1447
  - lib/fog/storage/requests/rackspace/delete_container.rb
1251
1448
  - lib/fog/storage/requests/rackspace/delete_object.rb
1252
1449
  - lib/fog/storage/requests/rackspace/get_container.rb
@@ -1257,6 +1454,7 @@ files:
1257
1454
  - lib/fog/storage/requests/rackspace/head_object.rb
1258
1455
  - lib/fog/storage/requests/rackspace/put_container.rb
1259
1456
  - lib/fog/storage/requests/rackspace/put_object.rb
1457
+ - lib/fog/storage/requests/rackspace/put_object_manifest.rb
1260
1458
  - lib/fog/terremark.rb
1261
1459
  - lib/fog/terremark/models/shared/address.rb
1262
1460
  - lib/fog/terremark/models/shared/addresses.rb
@@ -1365,6 +1563,14 @@ files:
1365
1563
  - spec/ecloud/spec_helper.rb
1366
1564
  - spec/ecloud/vcloud_spec.rb
1367
1565
  - spec/spec_helper.rb
1566
+ - tests/aws/models/auto_scaling/activities_tests.rb
1567
+ - tests/aws/models/auto_scaling/configuration_test.rb
1568
+ - tests/aws/models/auto_scaling/configurations_tests.rb
1569
+ - tests/aws/models/auto_scaling/helper.rb
1570
+ - tests/aws/models/auto_scaling/instances_tests.rb
1571
+ - tests/aws/models/cloud_watch/metric_statistics_tests.rb
1572
+ - tests/aws/models/cloud_watch/metrics_tests.rb
1573
+ - tests/aws/models/elb/model_tests.rb
1368
1574
  - tests/aws/models/rds/helper.rb
1369
1575
  - tests/aws/models/rds/parameter_group_tests.rb
1370
1576
  - tests/aws/models/rds/parameter_groups_tests.rb
@@ -1374,10 +1580,17 @@ files:
1374
1580
  - tests/aws/models/rds/servers_tests.rb
1375
1581
  - tests/aws/models/rds/snapshot_tests.rb
1376
1582
  - tests/aws/models/rds/snapshots_tests.rb
1583
+ - tests/aws/requests/auto_scaling/auto_scaling_tests.rb
1584
+ - tests/aws/requests/auto_scaling/helper.rb
1585
+ - tests/aws/requests/auto_scaling/model_tests.rb
1377
1586
  - tests/aws/requests/cloud_formation/stack_tests.rb
1587
+ - tests/aws/requests/cloud_watch/get_metric_statistics_tests.rb
1588
+ - tests/aws/requests/cloud_watch/list_metrics_test.rb
1589
+ - tests/aws/requests/cloud_watch/put_metric_data_tests.rb
1378
1590
  - tests/aws/requests/elb/helper.rb
1591
+ - tests/aws/requests/elb/listener_tests.rb
1379
1592
  - tests/aws/requests/elb/load_balancer_tests.rb
1380
- - tests/aws/requests/elb/model_tests.rb
1593
+ - tests/aws/requests/elb/policy_tests.rb
1381
1594
  - tests/aws/requests/iam/access_key_tests.rb
1382
1595
  - tests/aws/requests/iam/group_policy_tests.rb
1383
1596
  - tests/aws/requests/iam/group_tests.rb
@@ -1395,6 +1608,12 @@ files:
1395
1608
  - tests/aws/requests/simpledb/attributes_tests.rb
1396
1609
  - tests/aws/requests/simpledb/domain_tests.rb
1397
1610
  - tests/aws/requests/simpledb/helper.rb
1611
+ - tests/aws/requests/sns/helper.rb
1612
+ - tests/aws/requests/sns/subscription_tests.rb
1613
+ - tests/aws/requests/sns/topic_tests.rb
1614
+ - tests/aws/requests/sqs/helper.rb
1615
+ - tests/aws/requests/sqs/message_tests.rb
1616
+ - tests/aws/requests/sqs/queue_tests.rb
1398
1617
  - tests/aws/signed_params_tests.rb
1399
1618
  - tests/compute/helper.rb
1400
1619
  - tests/compute/models/aws/address_tests.rb
@@ -1411,6 +1630,8 @@ files:
1411
1630
  - tests/compute/models/flavors_tests.rb
1412
1631
  - tests/compute/models/server_tests.rb
1413
1632
  - tests/compute/models/servers_tests.rb
1633
+ - tests/compute/models/vcloud/helper.rb
1634
+ - tests/compute/models/vcloud/servers_tests.rb
1414
1635
  - tests/compute/parsers/aws/monitor_unmonitor_instances_tests.rb
1415
1636
  - tests/compute/requests/aws/address_tests.rb
1416
1637
  - tests/compute/requests/aws/availability_zone_tests.rb
@@ -1418,9 +1639,13 @@ files:
1418
1639
  - tests/compute/requests/aws/image_tests.rb
1419
1640
  - tests/compute/requests/aws/instance_tests.rb
1420
1641
  - tests/compute/requests/aws/key_pair_tests.rb
1642
+ - tests/compute/requests/aws/placement_group_tests.rb
1421
1643
  - tests/compute/requests/aws/region_tests.rb
1422
1644
  - tests/compute/requests/aws/security_group_tests.rb
1423
1645
  - tests/compute/requests/aws/snapshot_tests.rb
1646
+ - tests/compute/requests/aws/spot_datafeed_subscription_tests.rb
1647
+ - tests/compute/requests/aws/spot_instance_tests.rb
1648
+ - tests/compute/requests/aws/spot_price_history_tests.rb
1424
1649
  - tests/compute/requests/aws/tag_tests.rb
1425
1650
  - tests/compute/requests/aws/volume_tests.rb
1426
1651
  - tests/compute/requests/bluebox/block_tests.rb
@@ -1465,11 +1690,13 @@ files:
1465
1690
  - tests/compute/requests/slicehost/image_tests.rb
1466
1691
  - tests/compute/requests/slicehost/slice_tests.rb
1467
1692
  - tests/compute/requests/storm_on_demand/server_tests.rb
1693
+ - tests/compute/requests/vcloud/disk_configure_tests.rb
1468
1694
  - tests/compute/requests/voxel/image_tests.rb
1469
1695
  - tests/compute/requests/voxel/server_tests.rb
1470
1696
  - tests/core/attribute_tests.rb
1471
1697
  - tests/core/credential_tests.rb
1472
1698
  - tests/core/parser_tests.rb
1699
+ - tests/core/timeout_tests.rb
1473
1700
  - tests/dns/helper.rb
1474
1701
  - tests/dns/models/record_tests.rb
1475
1702
  - tests/dns/models/records_tests.rb
@@ -1499,14 +1726,16 @@ files:
1499
1726
  - tests/storage/models/directory_test.rb
1500
1727
  - tests/storage/models/file_tests.rb
1501
1728
  - tests/storage/models/files_tests.rb
1729
+ - tests/storage/models/ninefold/file_update_tests.rb
1730
+ - tests/storage/models/ninefold/nested_directories_tests.rb
1502
1731
  - tests/storage/requests/aws/bucket_tests.rb
1503
1732
  - tests/storage/requests/aws/multipart_upload_tests.rb
1504
1733
  - tests/storage/requests/aws/object_tests.rb
1505
1734
  - tests/storage/requests/google/bucket_tests.rb
1506
1735
  - tests/storage/requests/google/object_tests.rb
1507
1736
  - tests/storage/requests/rackspace/container_tests.rb
1737
+ - tests/storage/requests/rackspace/large_object_tests.rb
1508
1738
  - tests/storage/requests/rackspace/object_tests.rb
1509
- has_rdoc: true
1510
1739
  homepage: http://github.com/geemus/fog
1511
1740
  licenses: []
1512
1741
 
@@ -1536,7 +1765,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1536
1765
  requirements: []
1537
1766
 
1538
1767
  rubyforge_project: fog
1539
- rubygems_version: 1.4.1
1768
+ rubygems_version: 1.8.5
1540
1769
  signing_key:
1541
1770
  specification_version: 2
1542
1771
  summary: brings clouds to you
@@ -1589,6 +1818,14 @@ test_files:
1589
1818
  - spec/ecloud/spec_helper.rb
1590
1819
  - spec/ecloud/vcloud_spec.rb
1591
1820
  - spec/spec_helper.rb
1821
+ - tests/aws/models/auto_scaling/activities_tests.rb
1822
+ - tests/aws/models/auto_scaling/configuration_test.rb
1823
+ - tests/aws/models/auto_scaling/configurations_tests.rb
1824
+ - tests/aws/models/auto_scaling/helper.rb
1825
+ - tests/aws/models/auto_scaling/instances_tests.rb
1826
+ - tests/aws/models/cloud_watch/metric_statistics_tests.rb
1827
+ - tests/aws/models/cloud_watch/metrics_tests.rb
1828
+ - tests/aws/models/elb/model_tests.rb
1592
1829
  - tests/aws/models/rds/helper.rb
1593
1830
  - tests/aws/models/rds/parameter_group_tests.rb
1594
1831
  - tests/aws/models/rds/parameter_groups_tests.rb
@@ -1598,10 +1835,17 @@ test_files:
1598
1835
  - tests/aws/models/rds/servers_tests.rb
1599
1836
  - tests/aws/models/rds/snapshot_tests.rb
1600
1837
  - tests/aws/models/rds/snapshots_tests.rb
1838
+ - tests/aws/requests/auto_scaling/auto_scaling_tests.rb
1839
+ - tests/aws/requests/auto_scaling/helper.rb
1840
+ - tests/aws/requests/auto_scaling/model_tests.rb
1601
1841
  - tests/aws/requests/cloud_formation/stack_tests.rb
1842
+ - tests/aws/requests/cloud_watch/get_metric_statistics_tests.rb
1843
+ - tests/aws/requests/cloud_watch/list_metrics_test.rb
1844
+ - tests/aws/requests/cloud_watch/put_metric_data_tests.rb
1602
1845
  - tests/aws/requests/elb/helper.rb
1846
+ - tests/aws/requests/elb/listener_tests.rb
1603
1847
  - tests/aws/requests/elb/load_balancer_tests.rb
1604
- - tests/aws/requests/elb/model_tests.rb
1848
+ - tests/aws/requests/elb/policy_tests.rb
1605
1849
  - tests/aws/requests/iam/access_key_tests.rb
1606
1850
  - tests/aws/requests/iam/group_policy_tests.rb
1607
1851
  - tests/aws/requests/iam/group_tests.rb
@@ -1619,6 +1863,12 @@ test_files:
1619
1863
  - tests/aws/requests/simpledb/attributes_tests.rb
1620
1864
  - tests/aws/requests/simpledb/domain_tests.rb
1621
1865
  - tests/aws/requests/simpledb/helper.rb
1866
+ - tests/aws/requests/sns/helper.rb
1867
+ - tests/aws/requests/sns/subscription_tests.rb
1868
+ - tests/aws/requests/sns/topic_tests.rb
1869
+ - tests/aws/requests/sqs/helper.rb
1870
+ - tests/aws/requests/sqs/message_tests.rb
1871
+ - tests/aws/requests/sqs/queue_tests.rb
1622
1872
  - tests/aws/signed_params_tests.rb
1623
1873
  - tests/compute/helper.rb
1624
1874
  - tests/compute/models/aws/address_tests.rb
@@ -1635,6 +1885,8 @@ test_files:
1635
1885
  - tests/compute/models/flavors_tests.rb
1636
1886
  - tests/compute/models/server_tests.rb
1637
1887
  - tests/compute/models/servers_tests.rb
1888
+ - tests/compute/models/vcloud/helper.rb
1889
+ - tests/compute/models/vcloud/servers_tests.rb
1638
1890
  - tests/compute/parsers/aws/monitor_unmonitor_instances_tests.rb
1639
1891
  - tests/compute/requests/aws/address_tests.rb
1640
1892
  - tests/compute/requests/aws/availability_zone_tests.rb
@@ -1642,9 +1894,13 @@ test_files:
1642
1894
  - tests/compute/requests/aws/image_tests.rb
1643
1895
  - tests/compute/requests/aws/instance_tests.rb
1644
1896
  - tests/compute/requests/aws/key_pair_tests.rb
1897
+ - tests/compute/requests/aws/placement_group_tests.rb
1645
1898
  - tests/compute/requests/aws/region_tests.rb
1646
1899
  - tests/compute/requests/aws/security_group_tests.rb
1647
1900
  - tests/compute/requests/aws/snapshot_tests.rb
1901
+ - tests/compute/requests/aws/spot_datafeed_subscription_tests.rb
1902
+ - tests/compute/requests/aws/spot_instance_tests.rb
1903
+ - tests/compute/requests/aws/spot_price_history_tests.rb
1648
1904
  - tests/compute/requests/aws/tag_tests.rb
1649
1905
  - tests/compute/requests/aws/volume_tests.rb
1650
1906
  - tests/compute/requests/bluebox/block_tests.rb
@@ -1689,11 +1945,13 @@ test_files:
1689
1945
  - tests/compute/requests/slicehost/image_tests.rb
1690
1946
  - tests/compute/requests/slicehost/slice_tests.rb
1691
1947
  - tests/compute/requests/storm_on_demand/server_tests.rb
1948
+ - tests/compute/requests/vcloud/disk_configure_tests.rb
1692
1949
  - tests/compute/requests/voxel/image_tests.rb
1693
1950
  - tests/compute/requests/voxel/server_tests.rb
1694
1951
  - tests/core/attribute_tests.rb
1695
1952
  - tests/core/credential_tests.rb
1696
1953
  - tests/core/parser_tests.rb
1954
+ - tests/core/timeout_tests.rb
1697
1955
  - tests/dns/helper.rb
1698
1956
  - tests/dns/models/record_tests.rb
1699
1957
  - tests/dns/models/records_tests.rb
@@ -1723,10 +1981,13 @@ test_files:
1723
1981
  - tests/storage/models/directory_test.rb
1724
1982
  - tests/storage/models/file_tests.rb
1725
1983
  - tests/storage/models/files_tests.rb
1984
+ - tests/storage/models/ninefold/file_update_tests.rb
1985
+ - tests/storage/models/ninefold/nested_directories_tests.rb
1726
1986
  - tests/storage/requests/aws/bucket_tests.rb
1727
1987
  - tests/storage/requests/aws/multipart_upload_tests.rb
1728
1988
  - tests/storage/requests/aws/object_tests.rb
1729
1989
  - tests/storage/requests/google/bucket_tests.rb
1730
1990
  - tests/storage/requests/google/object_tests.rb
1731
1991
  - tests/storage/requests/rackspace/container_tests.rb
1992
+ - tests/storage/requests/rackspace/large_object_tests.rb
1732
1993
  - tests/storage/requests/rackspace/object_tests.rb