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
data/Rakefile CHANGED
@@ -128,7 +128,6 @@ end
128
128
  #############################################################################
129
129
 
130
130
  task :release => :build do
131
- Rake::Task[:changelog].invoke
132
131
  unless `git branch` =~ /^\* master$/
133
132
  puts "You must be on the master branch to release!"
134
133
  exit!
@@ -138,6 +137,7 @@ task :release => :build do
138
137
  sh "git tag v#{version}"
139
138
  sh "git push origin master"
140
139
  sh "git push origin v#{version}"
140
+ Rake::Task[:build].invoke # rebuild with updated changelog
141
141
  sh "gem push pkg/#{name}-#{version}.gem"
142
142
  Rake::Task[:docs].invoke
143
143
  end
@@ -209,6 +209,8 @@ task :changelog do
209
209
  if [
210
210
  'Aaron Suggs',
211
211
  'geemus',
212
+ 'Lincoln Stoll',
213
+ 'Luqman Amjad',
212
214
  'nightshade427',
213
215
  'Wesley Beary'
214
216
  ].include?(committer)
@@ -233,15 +235,16 @@ task :changelog do
233
235
  file.write("\n\n")
234
236
  file.write(old_changelog)
235
237
  end
236
-
237
- `echo "#{changelog.join("\n")}" | pbcopy`
238
- p 'changelog copied to clipboard'
239
238
  end
240
239
 
241
240
  task :docs do
242
241
  Rake::Task[:upload_fog_io].invoke
243
242
  Rake::Task[:upload_rdoc].invoke
244
243
 
244
+ # connect to storage provider
245
+ Fog.credential = :geemus
246
+ storage = Fog::Storage.new(:provider => 'AWS')
247
+ directory = storage.directories.new(:key => 'fog.io')
245
248
  # write base index with redirect to new version
246
249
  directory.files.create(
247
250
  :body => redirecter('latest'),
data/bin/fog CHANGED
@@ -19,7 +19,10 @@ end
19
19
 
20
20
  if ARGV.length > 1
21
21
 
22
- puts(instance_eval(ARGV[1..-1].join(' ')).to_json)
22
+ require 'multi_json'
23
+
24
+ result = instance_eval(ARGV[1..-1].join(' '))
25
+ puts(MultiJson.encode(result))
23
26
 
24
27
  else
25
28
 
@@ -1,3 +1,467 @@
1
+ 0.10.0 07/25/2011 9ca8cffc000c417a792235438c12855a277fe1ce
2
+ ==========================================================
3
+
4
+ MVPs! Christopher Oliver, Dylan Egan and Henry Addison
5
+
6
+ [AWS Autoscaling]
7
+ Fixed typo in put scaling policy request. thanks Christopher Oliver
8
+ Fixed error in describe policies parser. thanks Christopher Oliver
9
+ Got describe policies returning correctly. thanks Christopher Oliver
10
+ Removed unnecessary options merge in Delete Policy request. thanks Christopher Oliver
11
+
12
+ [AWS IAM]
13
+ Added Alias related functionality to IAM. Also added get_group_policy. thanks Christopher Oliver
14
+ Added missing request file for list account aliases. thanks Christopher Oliver
15
+
16
+ [AWS RDS]
17
+ Added describe db engine versions and describe db reserved instances. Changed the signed params version to 2011-04-01 from 2010-07-28. thanks Christopher Oliver
18
+ Added LicenseModel to the db_parser. thanks Christopher Oliver
19
+
20
+ [AWS|ELB]
21
+ fix bug that was causing availability zones to not parse properly on get/reload. thanks Blake Gentry
22
+ default values for Listeners. thanks Blake Gentry
23
+ offload Listener defaults to the Listener model. thanks Blake Gentry
24
+
25
+ [AWS|SNS]
26
+ flesh out basics. thanks geemus
27
+
28
+ [AWS|SQS]
29
+ flesh out basics. thanks geemus
30
+
31
+ [aws|auto_scaling]
32
+ implement 2010-08-01 API. thanks Nick Osborn
33
+
34
+ [aws|autoscaling]
35
+ metrics#get should return nil when not found. thanks geemus
36
+ mark unimplemented/unsupported tests as pending. thanks geemus
37
+
38
+ [aws|cloudwatch]
39
+ mark overly specific test as pending. thanks geemus
40
+
41
+ [aws|compute]
42
+ improve model and tests. thanks Nick Osborn
43
+
44
+ [aws|elb]
45
+ add test to verify that ListenerDescriptions work when creating an ELB. thanks Blake Gentry
46
+ make describe_load_balancers parse SSLCertificateId. Verify with test. thanks Blake Gentry
47
+ Raise proper IAM error for CertificateNotFound when creating an ELB or creating Listeners. thanks Blake Gentry
48
+ move ELB error handling related to certs to the ELB service instead of duplicating at the request level. thanks Blake Gentry
49
+ use slurp when raising errors to properly capture exception details. thanks Blake Gentry
50
+ Add set_load_balancer_listener_ssl_certificate. thanks James Miller
51
+ fix listener defaults to use merge_attributes and therefore aliases. thanks geemus
52
+
53
+ [aws|iam]
54
+ add error handling for common failures resulting from upload_server_certificate. thanks Blake Gentry
55
+ fix superclass mismatch. thanks Blake Gentry
56
+ add get_server_certificate request. thanks Blake Gentry
57
+ raise correct ValidationError when an empty cert or key is used. thanks Blake Gentry
58
+ Simplify error handling code for errors with custom classes. thanks Blake Gentry
59
+ raise EntityAlreadyExists when creating a duplicate cert name. thanks Blake Gentry
60
+ tests and mocks to support many types of key/cert issues. thanks Blake Gentry
61
+ add proper error messages. thanks Blake Gentry
62
+ fix expected error result from login_profile_tests. thanks geemus
63
+
64
+ [aws|rds]
65
+ add LicenseModel to format. thanks geemus
66
+
67
+ [aws|simpledb]
68
+ provide for using ConsistentRead on get_attributes and select. thanks geemus
69
+ fix get_attributes mock deprecation. thanks geemus
70
+
71
+ [compute]
72
+ fix stormondemand namespace mismatch. thanks geemus
73
+
74
+ [compute|aws]
75
+ cluster compute placement group implementation. thanks geemus
76
+ add request level support for spot instances. thanks geemus
77
+ fix describe_instances parser to get group ids correctly. thanks geemus
78
+ fix compute accessor in tests. thanks geemus
79
+
80
+ [compute|bluebox]
81
+ fixes for ip accessor usage. thanks geemus
82
+
83
+ [compute|brightbox]
84
+ Fixed typo in deprecation warning. thanks Paul Thornthwaite
85
+ Fixed deprecated use of Brightbox[:compute] to new Compute[:brightbox]. thanks Paul Thornthwaite
86
+ New preference exposed in API added to format test. thanks Paul Thornthwaite
87
+
88
+ [compute|ninefold]
89
+ add default serviceofferingid (flavor). thanks geemus
90
+ fix zone format. thanks geemus
91
+ small consistency fixes for server. thanks geemus
92
+
93
+ [compute|rackspace]
94
+ fix for token expiry/reauth. thanks geemus
95
+
96
+ [compute|virtualbox]
97
+ backwards compatibility for gem availability check. thanks geemus
98
+
99
+ [compute|voxel]
100
+ fix server format. thanks geemus
101
+
102
+ [core]
103
+ avoid ArgumentError with Ruby 1.8.5 on CentOS. thanks Nick Osborn
104
+ fix to_date_header to use self.utc instead of self.class.now.utc. thanks geemus
105
+ avoid ||= in timeout lookup. thanks geemus
106
+
107
+ [docs]
108
+ update index to use non-deprecated service accessor. thanks geemus
109
+
110
+ [misc]
111
+ Fix ::AWS[] syntax that's only valid in Fog tests when bin/aws.rb is loaded. thanks Blake Gentry
112
+ Typos. thanks Blake Gentry
113
+ Require json needed for both Real and Mock implementation of Rackspace; SSH commands in Mock just print to command line. thanks Brian Hartsock
114
+ Revert "Require json needed for both Real and Mock implementation of Rackspace; SSH commands in Mock just print to command line". thanks Brian Hartsock
115
+ require json for rackspace compute mock. thanks Brian Hartsock
116
+ Fixed #444 - Unable to squash kvp with false values. thanks Brian Hartsock
117
+ Fix make OpenStack swift working properly. thanks Chmouel Boudjnah
118
+ Move the timeout to Mock and stop hardcoding. thanks Christopher Meiklejohn
119
+ Fix failures in the simpledb testing due to attribute array option deprecation. thanks Christopher Meiklejohn
120
+ Guard against item_name not being a valid key. thanks Christopher Meiklejohn
121
+ Switch to the has_key? syntax for cleanliness. thanks Christopher Meiklejohn
122
+ Move timeout up to Fog from Fog::Mock. thanks Christopher Meiklejohn
123
+ Fix deprecation messages. thanks Claudio Poli
124
+ Make Rails' respond_with play nice with to_json. thanks Claudio Poli
125
+ Use multi_json gem. thanks Claudio Poli
126
+ Public API for force_detach on Fog::Compute::AWS::Volume. thanks Dylan Egan
127
+ Should actually use the attachment_aliases hash. thanks Dylan Egan
128
+ server method for Fog::Compute::AWS::Volume to easily get the server instance. thanks Dylan Egan
129
+ requires_one, allows you to require at least one of the specified attributes. thanks Dylan Egan
130
+ Remove pending on iam/server_certificate_tests. Start the mocking. thanks Dylan Egan
131
+ list_server_certificates and delete_server_certificates. thanks Dylan Egan
132
+ Yes, yes it is better. thanks Dylan Egan
133
+ Start ELB mocks. Support create_load_balancer and describe_load_balancers. thanks Dylan Egan
134
+ configure_health_check and create_app_cookie_stickiness_policy. thanks Dylan Egan
135
+ create_lb_cookie_stickiness_policy and delete_load_balancer_policy. thanks Dylan Egan
136
+ create_load_balancer_listeneners and set_load_balancer_policies_of_listener. thanks Dylan Egan
137
+ delete_load_balancer_listeners and delete_load_balancer (with two more tests). thanks Dylan Egan
138
+ deregister_instances_from_load_balancer, describe_instance_health, disable_availability_for_load_balancer, enable_availability_zones_for_load_balancer, register_instances_with_load_balancer and updates to others to get ELB model_tests working. thanks Dylan Egan
139
+ Remove requirement of basic parsers. thanks Dylan Egan
140
+ Move things around a bit. Separate ELB test file per concerns. thanks Dylan Egan
141
+ SSL for ELB mocking. thanks Dylan Egan
142
+ Tested against AWS. Needed this. Apparently SSLCertificateId == Arn. thanks Dylan Egan
143
+ Use available availability_zones. thanks Dylan Egan
144
+ Wait for volume to be ready again. thanks Dylan Egan
145
+ AWS instance tests 100% against real. thanks Dylan Egan
146
+ Make stuff pending if you're mocking. Need to fix spot_price_history_tests, see comment. thanks Dylan Egan
147
+ Let's just sleep forever. thanks Dylan Egan
148
+ Reinstate ipAddress and privateIpAddress as they're provided for non-terminated instances. thanks Dylan Egan
149
+ Reinstate ramdiskId. thanks Dylan Egan
150
+ Revert "Reinstate ramdiskId." - fuckit! Seems like AWS doesn't return ramdiskId for. thanks Dylan Egan
151
+ Clean up timeout and add tests. thanks Dylan Egan
152
+ Quick fix, ith != i. thanks Dylan Egan
153
+ Begin work on mocking reserved instances. Provide describe_reserved_instances_offerings for mocking and real. REAL TALK. thanks Dylan Egan
154
+ reserved_instances mocking. I think, it's hard to test against a real AWS account since it costs money. thanks Dylan Egan
155
+ Default to 1. thanks Dylan Egan
156
+ add spot instance request models. thanks Edward Middleton
157
+ fixed spot_requests. thanks Edward Middleton
158
+ spot instance fixes. thanks Edward Middleton
159
+ cloud_watch toplevel. thanks Frederick Cheung
160
+ add get/put/list metrics. thanks Frederick Cheung
161
+ Corrected a couple of syntax errors in the put and get metric cloudwatch requests. thanks Henry Addison
162
+ Fixed the parser for list metrics cloudwatch request. thanks Henry Addison
163
+ Added first test of successful list metrics. thanks Henry Addison
164
+ simplified a bit the long case statement in end element in list_metrics parser. thanks Henry Addison
165
+ added a few more cloudwatch request metric tests. thanks Henry Addison
166
+ added metrics collection and model for cloudwatch with all and get methods. thanks Henry Addison
167
+ split out and got passing get metric statistics request tests. thanks Henry Addison
168
+ Added metric statistics model and collection. thanks Henry Addison
169
+ removed old test file. thanks Henry Addison
170
+ removed empty test for for metric model (nothing to test at the moment). thanks Henry Addison
171
+ removed unnecessary attributes from metrics collection (naughty copy and pasting). thanks Henry Addison
172
+ got put_metric_data request working and tested. thanks Henry Addison
173
+ added model and collection methods and tests to allow putting of metric data. thanks Henry Addison
174
+ renamed argument for all method in cloud watch metric_statistics from filters to conditions as filters has a meaning in fog. thanks Henry Addison
175
+ added a conditions method to all metrics method to help filter all metrics. thanks Henry Addison
176
+ Added some defaults for StartTime, EndTime and Period to model for MetricStatistics. thanks Henry Addison
177
+ Begin SQS support. thanks Jon Crosby
178
+ Continued SQS support. thanks Jon Crosby
179
+ Add SQS get_queue_attributes. thanks Jon Crosby
180
+ Fix rubygems warning. thanks Jonas Pfenniger
181
+ Patch for AWS S3 Metadata problem. thanks Kenji Kabashima
182
+ Changed number of cores reported for rackspace flavors in order to match current rackspace documentation. thanks Steven Danna
183
+ Checking path for nil. thanks Timothy Klim
184
+ Fixed escaping in Fog::AWS.escape. thanks croaker
185
+ Changed the encoding of the space character. thanks croaker
186
+ rebuild gemfile during release to include updated changelog. thanks geemus
187
+ bump excon dep. thanks geemus
188
+ loosen dependencies to avoid conflicts. thanks geemus
189
+ bump formatador dep. thanks geemus
190
+ to_json calls to use MultiJson. thanks geemus
191
+ make collection class_eval more consistent. thanks geemus
192
+ update gem deps to latest/greatest. thanks geemus
193
+ Return nil if HOME is non-absolute. Fixes #397. thanks jc00ke
194
+ Fix a bunch of paths. thanks phiggins
195
+ Start of SNS. thanks phiggins
196
+ Working ListUsers for SNS. thanks phiggins
197
+ Remove copied-and-pasted documentation. thanks phiggins
198
+ Add SNS's get_topic_attributes command. thanks phiggins
199
+ SNS ListSubscriptions. thanks phiggins
200
+ SNS ListSubscriptionsByTopic. thanks phiggins
201
+ SNS CreateTopic and DeleteTopic. thanks phiggins
202
+ SNS Publish. thanks phiggins
203
+ SNS AddPermission. thanks phiggins
204
+ SNS RemovePermission. thanks phiggins
205
+ SNS SetTopicAttributes. thanks phiggins
206
+ SNS Subscribe. thanks phiggins
207
+ SNS ConfirmSubscription and Unsubscribe. thanks phiggins
208
+ Add sns to fog bin. thanks phiggins
209
+ Start SNS tests. thanks phiggins
210
+
211
+ [ninefold|storage]
212
+ Framework + request method for Ninefold storage. thanks Lincoln Stoll
213
+ Directories Functionality. thanks Lincoln Stoll
214
+ Nested directories. thanks Lincoln Stoll
215
+ File operations. thanks Lincoln Stoll
216
+ Update an existing file. thanks Lincoln Stoll
217
+ set content type correctly. thanks Lincoln Stoll
218
+
219
+ [release]
220
+ add mvps and fix fog.io uploader. thanks geemus
221
+ remove problematic pbcopy from changelog rake task. thanks geemus
222
+ make changelog build separate from release. thanks geemus
223
+
224
+ [storage]
225
+ provide http/https options for signed urls. thanks geemus
226
+
227
+ [storage|aws]
228
+ properly format modified headers in get_object. thanks geemus
229
+ fix escaping for file#public_url. thanks geemus
230
+
231
+ [storage|google]
232
+ fix get_object_https_url namespace copy/paste error. thanks geemus
233
+
234
+ [storage|ninefold]
235
+ fix file#destroy and test cleanup. thanks geemus
236
+
237
+ [storage|rackspace]
238
+ add large object support via put_object_manifest. thanks geemus
239
+ cleanup formatting/style. thanks geemus
240
+
241
+ [tests]
242
+ make unimplemented mock tests pending. thanks geemus
243
+ fix collection helper to play nice with numeric ids. thanks geemus
244
+ replace letters with letters and numbers with numbers in collection#get failure test. thanks geemus
245
+
246
+ [vcloud|compute]
247
+ create server now takes :catalog_items_uri as an option. thanks Kunal Parikh
248
+ now referencing catalog_item_uri from options. thanks Kunal Parikh
249
+ saving server attributes (uncommented code). thanks Kunal Parikh
250
+ Revert "saving server attributes (uncommented code)". thanks Kunal Parikh
251
+ duplicate ecloud code for vcloud, remove obvious terremark specific code. thanks Lincoln Stoll
252
+ update catalog models for 1.0. thanks Lincoln Stoll
253
+ make auth work. thanks Lincoln Stoll
254
+ filter non-server items from server list. thanks Lincoln Stoll
255
+ update for 1.0 functionality, server operations working. thanks Lincoln Stoll
256
+ use correct power status ID for 'off'. thanks Lincoln Stoll
257
+ allow specifying a default VDC uri as 'vcloud_default_vdc'. thanks Lincoln Stoll
258
+ Add description field to server model. thanks Lincoln Stoll
259
+ Correct friendly status power off check. thanks Lincoln Stoll
260
+ correct hardware attribute reading. thanks Lincoln Stoll
261
+ no longer possible to specify memory & cpu on vapp creation. thanks Lincoln Stoll
262
+ remove outdated/invalid mocking & specs. thanks Lincoln Stoll
263
+ fix deleting servers. thanks Lincoln Stoll
264
+ server creation outside of VDC. thanks Lincoln Stoll
265
+ undeploy request. thanks Lincoln Stoll
266
+ memory reconfiguration. thanks Lincoln Stoll
267
+ make status/ready handling more reliable. thanks Lincoln Stoll
268
+ server tests. thanks Lincoln Stoll
269
+ only require template name for tests. thanks Lincoln Stoll
270
+ add and remove disks. thanks Lincoln Stoll
271
+ ruby 1.8 compatibility. thanks Lincoln Stoll
272
+ fix error messages in test helper. thanks Lincoln Stoll
273
+ Fix setting of description. thanks Lincoln Stoll
274
+ method to find catalog item by name across all catalogs. thanks Lincoln Stoll
275
+ correct provider lookup. thanks Lincoln Stoll
276
+
277
+
278
+ 0.9.0 06/24/2011 32960d165a65f12d41785f924e6b6b6d8442516a
279
+ =========================================================
280
+
281
+ MVPs! Lincoln Stoll and Luqman Amjad
282
+
283
+ [aws]
284
+ use AWS.escape instead of CGI.escape. thanks geemus
285
+
286
+ [aws|compute]
287
+ Use #public_ip_address instead of deprecated #ip_address in Server#setup. thanks Martin Emde
288
+ mock: make address detach others before associating. thanks geemus
289
+
290
+ [aws|elb]
291
+ Fix failing created_at test caused by Ruby 1.9 changes to Range#include?. Use simpler test that doesn't care about the exact created_at time. thanks Blake Gentry
292
+ Update ELB API to version 2011-04-05. thanks Blake Gentry
293
+ Fix typo in usage documentation and add 'ap-northeast-1' to regions list. thanks Blake Gentry
294
+ Rearrange DescribeLoadBalancersResult contents to alphabetical order to match the official AWS docs and make it easier to update the list. thanks Blake Gentry
295
+ Add new attributes for 2011-04-05 API. thanks Blake Gentry
296
+
297
+ [aws|rds]
298
+ Add parameter group tests. thanks Aaron Suggs
299
+ Add server model & collection tests. thanks Aaron Suggs
300
+ Add security_groups collection and model tests. thanks Aaron Suggs
301
+ Server#destroy argument is optional. thanks Aaron Suggs
302
+ Refactor RDS model & collection tests. thanks Aaron Suggs
303
+
304
+ [aws|simpledb]
305
+ recognize :region option in SimpleDB.new(). thanks Nick Osborn
306
+
307
+ [aws|storage]
308
+ Add get/put bucket policy support. thanks Michael Linderman
309
+ Add options argument to delete_object to set headers. thanks Michael Linderman
310
+ Add delete bucket policy. thanks Michael Linderman
311
+ discern between no file and no directory for files.get. thanks geemus
312
+ fix error type for non-directories in files.get. thanks geemus
313
+
314
+ [brightbox|compute]
315
+ Added missing Image#compatibility_mode attribute. thanks Paul Thornthwaite
316
+ Fixed Format of Account representation. thanks Paul Thornthwaite
317
+ Fixed Format of nested CloudIP's server attribute. thanks Paul Thornthwaite
318
+ New account limits exposed in API, updating format test. thanks Paul Thornthwaite
319
+ ApiClient revoked time exposed in API. Updated format test. thanks Paul Thornthwaite
320
+
321
+ [cdn]
322
+ refactor provider/service namespacing. thanks geemus
323
+ fix top level class/module mismatch. thanks geemus
324
+
325
+ [compute]
326
+ first pass at examples. thanks geemus
327
+ refactor provider/service namespacing. thanks geemus
328
+ fixes/skips to get examples working. thanks geemus
329
+
330
+ [compute|aws]
331
+ fix helpers to use Fog::AWS. thanks geemus
332
+ simplify describe_instances parser. thanks geemus
333
+ fix deprecated compute service accessor usage. thanks geemus
334
+ improve consistency of waiting for ssh to be ready. thanks geemus
335
+ remove debug output from last commit. thanks geemus
336
+
337
+ [compute|bluebox]
338
+ fix format and template id in tests. thanks geemus
339
+
340
+ [compute|brightbox]
341
+ Fixed missed lookup in broken tests caused by namespace rename. thanks Paul Thornthwaite
342
+
343
+ [compute|ecloud]
344
+ fix namespace leftovers. thanks geemus
345
+
346
+ [compute|ninefold]
347
+ test cleanup. thanks geemus
348
+
349
+ [compute|rackspace]
350
+ fix nil check for auth token. thanks geemus
351
+
352
+ [compute|stormondemand]
353
+ fix namespace issue. thanks geemus
354
+
355
+ [compute|voxel]
356
+ fix flavor tests to properly skip voxel. thanks geemus
357
+ fix namespace issue. thanks geemus
358
+
359
+ [core]
360
+ add namespaced errors for better messaging. thanks geemus
361
+ making collection.new error more idiomatic. thanks geemus
362
+ fix mock reset to work with new namespaces. thanks geemus
363
+
364
+ [dns]
365
+ rename ip to value for record. thanks geemus
366
+ refactor provider/service namespacing. thanks geemus
367
+
368
+ [dns|dnsmadeeasy]
369
+ skip model/collection tests for now (timing issue). thanks geemus
370
+
371
+ [dns|examples]
372
+ fix deprecated record#ip= usage. thanks geemus
373
+
374
+ [dns|zerigo]
375
+ fixes for namespacing. thanks geemus
376
+ namespace related fixes. thanks geemus
377
+
378
+ [docs]
379
+ main index redirects to /latest. thanks geemus
380
+ fix rdoc link on index. thanks geemus
381
+ update to match refactorings. thanks geemus
382
+
383
+ [examples]
384
+ fix descriptions. thanks geemus
385
+
386
+ [linode|compute]
387
+ mark format test for stackscripts pending due to inconsistency of string/float for a value. thanks geemus
388
+
389
+ [misc]
390
+ add braces for new into the documents. thanks Chris Mague
391
+ use correct variable name in test description. thanks Dr Nic Williams
392
+ Not sure if I'm missing something here, but rake did not work. thanks Dylan Egan
393
+ You only need either the size or the snapshot_id. thanks Dylan Egan
394
+ Provide mocked console output if server has been up for over the delay time. thanks Dylan Egan
395
+ LIES!. thanks Dylan Egan
396
+ Add support for specifying a CDN CNAME when getting a Rackspace Cloud Files directory. thanks H. Wade Minter
397
+ add missing comma. thanks Joseph Anthony Pasquale Holsten
398
+ skip rackspace get_object test when mocking. thanks Joseph Anthony Pasquale Holsten
399
+ give a more useful error if someone tries to say connection.directories.create('dir'). thanks Joseph Anthony Pasquale Holsten
400
+ Added my blog post. thanks Larry Wright
401
+ Add recursive argument to server scp methods. Set to false by default. thanks Luke Robins
402
+ Add an options hash to scp. Set to {} by default. thanks Luke Robins
403
+ Added new DNS provider => DNS Made Easy. thanks Luqman Amjad
404
+ Removed sandbox url for DNS Made Easy. thanks Luqman Amjad
405
+ Added missing method "delete all domains". thanks Luqman Amjad
406
+ (DNSMadeEasy) added support for updating records via PUT. thanks Luqman Amjad
407
+ Added missing reference to delete_all_domains. thanks Luqman Amjad
408
+ Rescue 404 when fetching zone. thanks Luqman Amjad
409
+ Added new blog posting about fog and Carrierwave. thanks Mike Gehard
410
+ Edited docs/about/press.markdown via GitHub. thanks Mike Gehard
411
+ Typo fix. thanks Oge Nnadi
412
+ Fixed Fog::AWS::SimpleDB#delete_attributes. thanks Pan Thomakos
413
+ add Net::SCP options parameter to Fog::SCP proxy. thanks Phil Cohen
414
+ use a hash not nil for default scp_options. thanks Phil Cohen
415
+ rackspace auth url only prepend protocol as needed. thanks Todd Willey
416
+ Allow auth tokens to be shared among connections to rackspace api. thanks Todd Willey
417
+ OpenStack responds 200 when creating servers. thanks Todd Willey
418
+ added 0.8.2 changelog contents. thanks geemus
419
+ separate fog.io and rdoc tasks. thanks geemus
420
+ remove provider attribute from shared services. thanks geemus
421
+ [storage][aws] fix leftover namespace mismatch. thanks geemus
422
+ [storage][google] fix leftover namespace mismatch. thanks geemus
423
+ Edited lib/fog/storage/rackspace.rb via GitHub. thanks kbockmanrs
424
+
425
+ [ninefold|compute]
426
+ Boilerplate for ninefold. thanks Lincoln Stoll
427
+ Ninefold List Functionality. thanks Lincoln Stoll
428
+ VM Operations + dependencies. thanks Lincoln Stoll
429
+ Fix data formats for virtual machines. thanks Lincoln Stoll
430
+ IP Address requests. thanks Lincoln Stoll
431
+ Refactor out job waiting functionality, test correct data. thanks Lincoln Stoll
432
+ NAT functionality. thanks Lincoln Stoll
433
+ Core model functionality. thanks Lincoln Stoll
434
+ Public IPs and Rules. thanks Lincoln Stoll
435
+ use lowest network ID as default, correct assignment. thanks Lincoln Stoll
436
+ No mocks, simplify code. thanks Lincoln Stoll
437
+ Save operations not supported. thanks Lincoln Stoll
438
+
439
+ [rake]
440
+ add examples back into default rake task. thanks geemus
441
+
442
+ [release]
443
+ update changelog during release process. thanks geemus
444
+
445
+ [storage]
446
+ refactor provider/service namespacing. thanks geemus
447
+
448
+ [storage|aws]
449
+ more robust query handling for signed url. thanks geemus
450
+ make url a bit more robust. thanks geemus
451
+ fix url to check for query. thanks geemus
452
+ fix whitespace errors. thanks geemus
453
+ more precise mocked get_object. thanks geemus
454
+
455
+ [storage|rackspace]
456
+ fix files#get_url. thanks geemus
457
+
458
+ [tests]
459
+ add dnsmadeeasy and ninefold to mock credentials. thanks geemus
460
+ nuke rake task for test related cleanup. thanks geemus
461
+ make collection gsub to find nils a bit more resilient/unique. thanks geemus
462
+ trying again to make collection gsub to get nils more resilient/unique. thanks geemus
463
+
464
+
1
465
  0.8.2 05/26/2011 9e6ebb6f7316273eb489f8cb60eb1642e6df357b
2
466
  =========================================================
3
467