fog 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (287) hide show
  1. data/Gemfile.lock +3 -11
  2. data/README.rdoc +21 -34
  3. data/bin/fog +1 -1
  4. data/examples/dns_tests.rb +2 -0
  5. data/examples/storage_tests.rb +2 -0
  6. data/fog.gemspec +3 -3
  7. data/lib/fog.rb +1 -1
  8. data/lib/fog/aws/requests/elb/create_load_balancer.rb +0 -9
  9. data/lib/fog/aws/requests/elb/delete_load_balancer.rb +0 -9
  10. data/lib/fog/aws/requests/elb/describe_instance_health.rb +0 -9
  11. data/lib/fog/aws/requests/elb/describe_load_balancers.rb +0 -8
  12. data/lib/fog/aws/requests/iam/add_user_to_group.rb +0 -8
  13. data/lib/fog/aws/requests/iam/create_access_key.rb +0 -8
  14. data/lib/fog/aws/requests/iam/create_group.rb +0 -8
  15. data/lib/fog/aws/requests/iam/create_user.rb +0 -8
  16. data/lib/fog/aws/requests/iam/delete_access_key.rb +0 -8
  17. data/lib/fog/aws/requests/iam/delete_group.rb +0 -8
  18. data/lib/fog/aws/requests/iam/delete_group_policy.rb +0 -8
  19. data/lib/fog/aws/requests/iam/delete_signing_certificate.rb +0 -8
  20. data/lib/fog/aws/requests/iam/delete_user.rb +0 -8
  21. data/lib/fog/aws/requests/iam/delete_user_policy.rb +0 -8
  22. data/lib/fog/aws/requests/iam/get_user.rb +0 -8
  23. data/lib/fog/aws/requests/iam/list_access_keys.rb +0 -8
  24. data/lib/fog/aws/requests/iam/list_group_policies.rb +0 -8
  25. data/lib/fog/aws/requests/iam/list_groups.rb +0 -8
  26. data/lib/fog/aws/requests/iam/list_groups_for_user.rb +0 -8
  27. data/lib/fog/aws/requests/iam/list_signing_certificates.rb +0 -8
  28. data/lib/fog/aws/requests/iam/list_user_policies.rb +0 -8
  29. data/lib/fog/aws/requests/iam/list_users.rb +0 -8
  30. data/lib/fog/aws/requests/iam/put_group_policy.rb +0 -8
  31. data/lib/fog/aws/requests/iam/put_user_policy.rb +0 -8
  32. data/lib/fog/aws/requests/iam/remove_user_from_group.rb +0 -8
  33. data/lib/fog/aws/requests/iam/update_access_key.rb +0 -8
  34. data/lib/fog/aws/requests/iam/upload_signing_certificate.rb +0 -8
  35. data/lib/fog/aws/requests/ses/delete_verified_email_address.rb +0 -9
  36. data/lib/fog/aws/requests/ses/get_send_quota.rb +0 -9
  37. data/lib/fog/aws/requests/ses/get_send_statistics.rb +0 -9
  38. data/lib/fog/aws/requests/ses/list_verified_email_addresses.rb +0 -9
  39. data/lib/fog/aws/requests/ses/send_email.rb +0 -9
  40. data/lib/fog/aws/requests/ses/send_raw_email.rb +0 -9
  41. data/lib/fog/aws/requests/ses/verify_email_address.rb +0 -9
  42. data/lib/fog/aws/requests/simpledb/select.rb +0 -8
  43. data/lib/fog/bin.rb +1 -15
  44. data/lib/fog/bin/aws.rb +4 -4
  45. data/lib/fog/bin/bluebox.rb +1 -1
  46. data/lib/fog/bin/brightbox.rb +5 -5
  47. data/lib/fog/bin/go_grid.rb +2 -2
  48. data/lib/fog/bin/google.rb +2 -2
  49. data/lib/fog/bin/linode.rb +2 -2
  50. data/lib/fog/bin/local.rb +2 -2
  51. data/lib/fog/bin/new_servers.rb +2 -2
  52. data/lib/fog/bin/rackspace.rb +2 -2
  53. data/lib/fog/bin/slicehost.rb +2 -2
  54. data/lib/fog/bin/terremark_ecloud.rb +1 -1
  55. data/lib/fog/bin/vcloud.rb +1 -1
  56. data/lib/fog/bin/zerigo.rb +2 -2
  57. data/lib/fog/cdn/requests/aws/delete_distribution.rb +0 -8
  58. data/lib/fog/cdn/requests/aws/get_distribution.rb +0 -8
  59. data/lib/fog/cdn/requests/aws/get_distribution_list.rb +0 -8
  60. data/lib/fog/cdn/requests/aws/post_distribution.rb +0 -8
  61. data/lib/fog/cdn/requests/aws/post_invalidation.rb +0 -8
  62. data/lib/fog/cdn/requests/aws/put_distribution_config.rb +0 -8
  63. data/lib/fog/cdn/requests/rackspace/get_containers.rb +0 -8
  64. data/lib/fog/cdn/requests/rackspace/head_container.rb +0 -8
  65. data/lib/fog/cdn/requests/rackspace/put_container.rb +0 -8
  66. data/lib/fog/compute/models/aws/server.rb +1 -1
  67. data/lib/fog/compute/models/bluebox/server.rb +1 -1
  68. data/lib/fog/compute/models/rackspace/server.rb +1 -1
  69. data/lib/fog/compute/models/slicehost/server.rb +1 -1
  70. data/lib/fog/compute/requests/aws/delete_tags.rb +1 -9
  71. data/lib/fog/compute/requests/aws/describe_reserved_instances.rb +0 -8
  72. data/lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb +0 -8
  73. data/lib/fog/compute/requests/aws/describe_tags.rb +0 -8
  74. data/lib/fog/compute/requests/aws/modify_image_attributes.rb +0 -8
  75. data/lib/fog/compute/requests/aws/modify_snapshot_attribute.rb +0 -8
  76. data/lib/fog/compute/requests/aws/start_instances.rb +0 -8
  77. data/lib/fog/compute/requests/aws/stop_instances.rb +0 -8
  78. data/lib/fog/compute/requests/bluebox/create_block.rb +0 -8
  79. data/lib/fog/compute/requests/bluebox/destroy_block.rb +0 -8
  80. data/lib/fog/compute/requests/bluebox/get_block.rb +0 -8
  81. data/lib/fog/compute/requests/bluebox/get_blocks.rb +0 -8
  82. data/lib/fog/compute/requests/bluebox/get_product.rb +0 -8
  83. data/lib/fog/compute/requests/bluebox/get_products.rb +0 -8
  84. data/lib/fog/compute/requests/bluebox/get_template.rb +0 -8
  85. data/lib/fog/compute/requests/bluebox/get_templates.rb +0 -8
  86. data/lib/fog/compute/requests/bluebox/reboot_block.rb +0 -8
  87. data/lib/fog/compute/requests/brightbox/add_nodes_load_balancer.rb +0 -8
  88. data/lib/fog/compute/requests/brightbox/create_api_client.rb +0 -8
  89. data/lib/fog/compute/requests/brightbox/create_cloud_ip.rb +0 -8
  90. data/lib/fog/compute/requests/brightbox/create_image.rb +0 -8
  91. data/lib/fog/compute/requests/brightbox/create_load_balancer.rb +0 -8
  92. data/lib/fog/compute/requests/brightbox/create_server.rb +0 -8
  93. data/lib/fog/compute/requests/brightbox/destroy_api_client.rb +0 -8
  94. data/lib/fog/compute/requests/brightbox/destroy_cloud_ip.rb +0 -8
  95. data/lib/fog/compute/requests/brightbox/destroy_image.rb +0 -8
  96. data/lib/fog/compute/requests/brightbox/destroy_load_balancer.rb +0 -8
  97. data/lib/fog/compute/requests/brightbox/destroy_server.rb +0 -8
  98. data/lib/fog/compute/requests/brightbox/get_account.rb +0 -8
  99. data/lib/fog/compute/requests/brightbox/get_api_client.rb +0 -8
  100. data/lib/fog/compute/requests/brightbox/get_cloud_ip.rb +0 -8
  101. data/lib/fog/compute/requests/brightbox/get_image.rb +0 -8
  102. data/lib/fog/compute/requests/brightbox/get_interface.rb +0 -8
  103. data/lib/fog/compute/requests/brightbox/get_load_balancer.rb +0 -8
  104. data/lib/fog/compute/requests/brightbox/get_server.rb +0 -8
  105. data/lib/fog/compute/requests/brightbox/get_server_type.rb +0 -8
  106. data/lib/fog/compute/requests/brightbox/get_user.rb +0 -8
  107. data/lib/fog/compute/requests/brightbox/get_zone.rb +0 -8
  108. data/lib/fog/compute/requests/brightbox/list_api_clients.rb +0 -8
  109. data/lib/fog/compute/requests/brightbox/list_cloud_ips.rb +0 -8
  110. data/lib/fog/compute/requests/brightbox/list_images.rb +0 -8
  111. data/lib/fog/compute/requests/brightbox/list_load_balancers.rb +0 -8
  112. data/lib/fog/compute/requests/brightbox/list_server_types.rb +0 -8
  113. data/lib/fog/compute/requests/brightbox/list_servers.rb +0 -8
  114. data/lib/fog/compute/requests/brightbox/list_users.rb +0 -8
  115. data/lib/fog/compute/requests/brightbox/list_zones.rb +0 -8
  116. data/lib/fog/compute/requests/brightbox/map_cloud_ip.rb +0 -8
  117. data/lib/fog/compute/requests/brightbox/remove_nodes_load_balancer.rb +0 -8
  118. data/lib/fog/compute/requests/brightbox/reset_ftp_password_account.rb +0 -8
  119. data/lib/fog/compute/requests/brightbox/resize_server.rb +0 -8
  120. data/lib/fog/compute/requests/brightbox/shutdown_server.rb +0 -8
  121. data/lib/fog/compute/requests/brightbox/snapshot_server.rb +0 -8
  122. data/lib/fog/compute/requests/brightbox/start_server.rb +0 -8
  123. data/lib/fog/compute/requests/brightbox/stop_server.rb +0 -8
  124. data/lib/fog/compute/requests/brightbox/unmap_cloud_ip.rb +0 -8
  125. data/lib/fog/compute/requests/brightbox/update_account.rb +0 -8
  126. data/lib/fog/compute/requests/brightbox/update_api_client.rb +0 -8
  127. data/lib/fog/compute/requests/brightbox/update_image.rb +0 -8
  128. data/lib/fog/compute/requests/brightbox/update_load_balancer.rb +0 -8
  129. data/lib/fog/compute/requests/brightbox/update_server.rb +0 -8
  130. data/lib/fog/compute/requests/brightbox/update_user.rb +0 -8
  131. data/lib/fog/compute/requests/go_grid/common_lookup_list.rb +0 -8
  132. data/lib/fog/compute/requests/go_grid/grid_ip_list.rb +0 -8
  133. data/lib/fog/compute/requests/go_grid/grid_loadbalancer_list.rb +0 -8
  134. data/lib/fog/compute/requests/go_grid/grid_server_add.rb +0 -8
  135. data/lib/fog/compute/requests/go_grid/grid_server_delete.rb +0 -8
  136. data/lib/fog/compute/requests/go_grid/grid_server_get.rb +0 -8
  137. data/lib/fog/compute/requests/go_grid/grid_server_list.rb +0 -8
  138. data/lib/fog/compute/requests/go_grid/grid_server_power.rb +0 -8
  139. data/lib/fog/compute/requests/go_grid/support_password_get.rb +2 -10
  140. data/lib/fog/compute/requests/go_grid/support_password_list.rb +0 -8
  141. data/lib/fog/compute/requests/linode/avail_datacenters.rb +0 -8
  142. data/lib/fog/compute/requests/linode/avail_distributions.rb +0 -8
  143. data/lib/fog/compute/requests/linode/avail_kernels.rb +0 -8
  144. data/lib/fog/compute/requests/linode/avail_linodeplans.rb +0 -8
  145. data/lib/fog/compute/requests/linode/avail_stackscripts.rb +0 -8
  146. data/lib/fog/compute/requests/linode/linode_create.rb +0 -8
  147. data/lib/fog/compute/requests/linode/linode_delete.rb +0 -8
  148. data/lib/fog/compute/requests/linode/linode_list.rb +0 -8
  149. data/lib/fog/compute/requests/linode/linode_reboot.rb +0 -8
  150. data/lib/fog/compute/requests/new_servers/add_server.rb +0 -8
  151. data/lib/fog/compute/requests/new_servers/cancel_server.rb +0 -8
  152. data/lib/fog/compute/requests/new_servers/get_server.rb +0 -8
  153. data/lib/fog/compute/requests/new_servers/list_images.rb +0 -8
  154. data/lib/fog/compute/requests/new_servers/list_plans.rb +0 -8
  155. data/lib/fog/compute/requests/new_servers/list_servers.rb +0 -8
  156. data/lib/fog/compute/requests/new_servers/reboot_server.rb +0 -8
  157. data/lib/fog/compute/requests/rackspace/get_image_details.rb +0 -8
  158. data/lib/fog/compute/requests/rackspace/server_action.rb +0 -8
  159. data/lib/fog/compute/requests/slicehost/create_slice.rb +0 -8
  160. data/lib/fog/compute/requests/slicehost/delete_slice.rb +0 -8
  161. data/lib/fog/compute/requests/slicehost/get_backups.rb +0 -8
  162. data/lib/fog/compute/requests/slicehost/get_flavor.rb +0 -8
  163. data/lib/fog/compute/requests/slicehost/get_flavors.rb +0 -8
  164. data/lib/fog/compute/requests/slicehost/get_image.rb +0 -8
  165. data/lib/fog/compute/requests/slicehost/get_images.rb +0 -8
  166. data/lib/fog/compute/requests/slicehost/get_slice.rb +0 -8
  167. data/lib/fog/compute/requests/slicehost/get_slices.rb +0 -8
  168. data/lib/fog/compute/requests/slicehost/reboot_slice.rb +0 -8
  169. data/lib/fog/compute/requests/terremark_ecloud/get_catalog.rb +0 -8
  170. data/lib/fog/compute/requests/terremark_ecloud/get_catalog_item.rb +0 -8
  171. data/lib/fog/compute/requests/terremark_ecloud/get_ip_addresses.rb +0 -8
  172. data/lib/fog/compute/requests/terremark_ecloud/get_network.rb +0 -8
  173. data/lib/fog/compute/requests/terremark_ecloud/get_organization.rb +0 -8
  174. data/lib/fog/compute/requests/terremark_ecloud/get_vdc.rb +0 -8
  175. data/lib/fog/compute/requests/terremark_ecloud/get_versions.rb +0 -8
  176. data/lib/fog/core/provider.rb +4 -0
  177. data/lib/fog/core/service.rb +17 -0
  178. data/lib/fog/dns/requests/aws/change_resource_record_sets.rb +0 -8
  179. data/lib/fog/dns/requests/aws/create_hosted_zone.rb +0 -9
  180. data/lib/fog/dns/requests/aws/delete_hosted_zone.rb +0 -9
  181. data/lib/fog/dns/requests/aws/get_change.rb +0 -9
  182. data/lib/fog/dns/requests/aws/get_hosted_zone.rb +0 -9
  183. data/lib/fog/dns/requests/aws/list_hosted_zones.rb +0 -9
  184. data/lib/fog/dns/requests/aws/list_resource_record_sets.rb +0 -8
  185. data/lib/fog/dns/requests/linode/domain_create.rb +0 -8
  186. data/lib/fog/dns/requests/linode/domain_delete.rb +0 -8
  187. data/lib/fog/dns/requests/linode/domain_list.rb +0 -8
  188. data/lib/fog/dns/requests/linode/domain_resource_create.rb +0 -8
  189. data/lib/fog/dns/requests/linode/domain_resource_delete.rb +0 -8
  190. data/lib/fog/dns/requests/linode/domain_resource_list.rb +0 -8
  191. data/lib/fog/dns/requests/linode/domain_resource_update.rb +0 -8
  192. data/lib/fog/dns/requests/linode/domain_update.rb +0 -8
  193. data/lib/fog/dns/requests/slicehost/create_record.rb +0 -8
  194. data/lib/fog/dns/requests/slicehost/create_zone.rb +0 -8
  195. data/lib/fog/dns/requests/slicehost/delete_record.rb +0 -8
  196. data/lib/fog/dns/requests/slicehost/delete_zone.rb +0 -8
  197. data/lib/fog/dns/requests/slicehost/get_record.rb +0 -8
  198. data/lib/fog/dns/requests/slicehost/get_records.rb +0 -8
  199. data/lib/fog/dns/requests/slicehost/get_zone.rb +0 -8
  200. data/lib/fog/dns/requests/slicehost/get_zones.rb +0 -8
  201. data/lib/fog/dns/requests/zerigo/count_hosts.rb +0 -8
  202. data/lib/fog/dns/requests/zerigo/count_zones.rb +0 -8
  203. data/lib/fog/dns/requests/zerigo/create_host.rb +0 -8
  204. data/lib/fog/dns/requests/zerigo/create_zone.rb +0 -8
  205. data/lib/fog/dns/requests/zerigo/delete_host.rb +0 -8
  206. data/lib/fog/dns/requests/zerigo/delete_zone.rb +0 -8
  207. data/lib/fog/dns/requests/zerigo/find_hosts.rb +0 -8
  208. data/lib/fog/dns/requests/zerigo/get_host.rb +0 -8
  209. data/lib/fog/dns/requests/zerigo/get_zone.rb +0 -8
  210. data/lib/fog/dns/requests/zerigo/get_zone_stats.rb +0 -8
  211. data/lib/fog/dns/requests/zerigo/list_hosts.rb +0 -8
  212. data/lib/fog/dns/requests/zerigo/list_zones.rb +0 -8
  213. data/lib/fog/dns/requests/zerigo/update_host.rb +0 -8
  214. data/lib/fog/dns/requests/zerigo/update_zone.rb +0 -8
  215. data/lib/fog/providers.rb +8 -0
  216. data/lib/fog/storage/aws.rb +21 -21
  217. data/lib/fog/storage/google.rb +12 -11
  218. data/lib/fog/storage/requests/aws/abort_multipart_upload.rb +0 -8
  219. data/lib/fog/storage/requests/aws/complete_multipart_upload.rb +0 -8
  220. data/lib/fog/storage/requests/aws/copy_object.rb +2 -1
  221. data/lib/fog/storage/requests/aws/get_bucket.rb +3 -3
  222. data/lib/fog/storage/requests/aws/get_bucket_logging.rb +0 -8
  223. data/lib/fog/storage/requests/aws/get_bucket_object_versions.rb +0 -8
  224. data/lib/fog/storage/requests/aws/get_bucket_versioning.rb +0 -8
  225. data/lib/fog/storage/requests/aws/get_object.rb +8 -8
  226. data/lib/fog/storage/requests/aws/get_object_torrent.rb +0 -8
  227. data/lib/fog/storage/requests/aws/initiate_multipart_upload.rb +0 -8
  228. data/lib/fog/storage/requests/aws/list_multipart_uploads.rb +0 -8
  229. data/lib/fog/storage/requests/aws/list_parts.rb +0 -8
  230. data/lib/fog/storage/requests/aws/post_object_hidden_fields.rb +0 -8
  231. data/lib/fog/storage/requests/aws/put_bucket_acl.rb +0 -8
  232. data/lib/fog/storage/requests/aws/put_bucket_logging.rb +0 -8
  233. data/lib/fog/storage/requests/aws/put_bucket_versioning.rb +0 -8
  234. data/lib/fog/storage/requests/aws/put_object.rb +18 -9
  235. data/lib/fog/storage/requests/aws/put_object_acl.rb +0 -8
  236. data/lib/fog/storage/requests/aws/upload_part.rb +0 -8
  237. data/lib/fog/storage/requests/google/copy_object.rb +1 -1
  238. data/lib/fog/storage/requests/google/get_bucket.rb +3 -3
  239. data/lib/fog/storage/requests/google/get_object.rb +8 -8
  240. data/lib/fog/storage/requests/google/get_object_torrent.rb +0 -8
  241. data/lib/fog/storage/requests/google/put_bucket_acl.rb +0 -8
  242. data/lib/fog/storage/requests/google/put_object.rb +17 -9
  243. data/lib/fog/storage/requests/rackspace/delete_container.rb +0 -8
  244. data/lib/fog/storage/requests/rackspace/delete_object.rb +0 -8
  245. data/lib/fog/storage/requests/rackspace/get_container.rb +0 -8
  246. data/lib/fog/storage/requests/rackspace/get_containers.rb +0 -8
  247. data/lib/fog/storage/requests/rackspace/get_object.rb +0 -8
  248. data/lib/fog/storage/requests/rackspace/head_container.rb +0 -8
  249. data/lib/fog/storage/requests/rackspace/head_containers.rb +0 -8
  250. data/lib/fog/storage/requests/rackspace/head_object.rb +0 -8
  251. data/lib/fog/storage/requests/rackspace/put_container.rb +0 -8
  252. data/lib/fog/storage/requests/rackspace/put_object.rb +0 -8
  253. data/lib/fog/terremark/requests/shared/add_internet_service.rb +0 -8
  254. data/lib/fog/terremark/requests/shared/add_node_service.rb +0 -8
  255. data/lib/fog/terremark/requests/shared/create_internet_service.rb +0 -8
  256. data/lib/fog/terremark/requests/shared/delete_internet_service.rb +0 -8
  257. data/lib/fog/terremark/requests/shared/delete_node_service.rb +0 -8
  258. data/lib/fog/terremark/requests/shared/delete_public_ip.rb +0 -8
  259. data/lib/fog/terremark/requests/shared/delete_vapp.rb +0 -8
  260. data/lib/fog/terremark/requests/shared/deploy_vapp.rb +0 -8
  261. data/lib/fog/terremark/requests/shared/get_catalog.rb +0 -8
  262. data/lib/fog/terremark/requests/shared/get_catalog_item.rb +0 -8
  263. data/lib/fog/terremark/requests/shared/get_internet_services.rb +0 -8
  264. data/lib/fog/terremark/requests/shared/get_network_ips.rb +0 -8
  265. data/lib/fog/terremark/requests/shared/get_node_services.rb +0 -8
  266. data/lib/fog/terremark/requests/shared/get_public_ip.rb +0 -8
  267. data/lib/fog/terremark/requests/shared/get_task.rb +0 -8
  268. data/lib/fog/terremark/requests/shared/get_tasks_list.rb +0 -7
  269. data/lib/fog/terremark/requests/shared/get_vapp.rb +0 -8
  270. data/lib/fog/terremark/requests/shared/get_vapp_template.rb +0 -8
  271. data/lib/fog/terremark/requests/shared/instantiate_vapp_template.rb +0 -8
  272. data/lib/fog/terremark/requests/shared/power_off.rb +0 -8
  273. data/lib/fog/terremark/requests/shared/power_on.rb +0 -8
  274. data/lib/fog/terremark/requests/shared/power_reset.rb +0 -8
  275. data/lib/fog/terremark/requests/shared/power_shutdown.rb +0 -8
  276. data/lib/fog/vcloud/terremark/ecloud/requests/clone_vapp.rb +0 -8
  277. data/lib/fog/vcloud/terremark/ecloud/requests/configure_network.rb +0 -7
  278. data/lib/fog/vcloud/terremark/ecloud/requests/get_firewall_acl.rb +0 -5
  279. data/lib/fog/vcloud/terremark/ecloud/requests/get_firewall_acls.rb +0 -5
  280. data/lib/fog/vcloud/terremark/ecloud/requests/get_task.rb +0 -5
  281. data/lib/fog/vcloud/terremark/ecloud/requests/get_task_list.rb +0 -5
  282. data/lib/fog/vcloud/terremark/ecloud/requests/get_vapp_template.rb +0 -5
  283. data/lib/fog/vcloud/terremark/ecloud/requests/power_reset.rb +0 -5
  284. data/lib/fog/vcloud/terremark/ecloud/requests/power_shutdown.rb +0 -5
  285. data/tests/helper.rb +2 -2
  286. data/tests/helpers/mock_helper.rb +1 -0
  287. metadata +42 -42
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fog (0.5.1)
4
+ fog (0.5.2)
5
5
  builder
6
- excon (>= 0.4.0)
6
+ excon (>= 0.5.2)
7
7
  formatador (>= 0.0.16)
8
8
  json
9
9
  mime-types
@@ -15,7 +15,7 @@ GEM
15
15
  remote: http://rubygems.org/
16
16
  specs:
17
17
  builder (3.0.0)
18
- excon (0.4.0)
18
+ excon (0.5.2)
19
19
  formatador (0.0.16)
20
20
  json (1.4.6)
21
21
  mime-types (1.16)
@@ -31,15 +31,7 @@ PLATFORMS
31
31
  ruby
32
32
 
33
33
  DEPENDENCIES
34
- builder
35
- excon (>= 0.4.0)
36
34
  fog!
37
- formatador (>= 0.0.16)
38
- json
39
- mime-types
40
- net-ssh (>= 2.0.23)
41
- nokogiri (>= 1.4.4)
42
35
  rake
43
36
  rspec (= 1.3.1)
44
- ruby-hmac
45
37
  shindo (= 0.2.2)
data/README.rdoc CHANGED
@@ -103,53 +103,40 @@ Play around and use the console to explore or check out the {getting started gui
103
103
 
104
104
  geemus says: "That should give you everything you need to get started, but let me know if there is anything I can do to help!"
105
105
 
106
- == Providers
106
+ == Contributing
107
107
 
108
- You should try out the (varying) support fog has for:
109
- * {AWS}[http://aws.amazon.com] [{Compute}[http://aws.amazon.com/ec2], {DNS}[http://aws.amazon.com/route53], {ELB}[http://aws.amazon.com/elasticloadbalancing], {Storage}[http://aws.amazon.com/s3], {SimpleDB}[http://aws.amazon.com/simpledb]]
110
- * <b><em>{Blue Box Group}[http://www.bluebox.net]</em></b> [{Compute}[http://www.bluebox.net/blocks]]
111
- * <b><em>{Brightbox}[http://www.brightbox.co.uk]</em></b> [{Compute}[http://beta.brightbox.com/]]
112
- * {Google}[http://www.google.com] [{Storage}[http://code.google.com/apis/storage]]
113
- * {Linode}[http://www.linode.com] [{DNS}[http://www.linode.com]]
114
- * Local [Storage]
115
- * {Rackspace}[http://www.rackspace.com] [{Compute}[http://www.rackspacecloud.com/cloud_hosting_products/servers], {Storage}[http://www.rackspacecloud.com/cloud_hosting_products/files]]
116
- * {Slicehost}[http://www.slicehost.com] [{Compute}[http://www.slicehost.com], {DNS}[http://www.slicehost.com]]
117
- * {Terremark}[http://www.terremark.com] [{vCloud Express}[http://vcloudexpress.terremark.com]]
118
- * {Zerigo}[http://www.zerigo.com] [{DNS}[http://www.zerigo.com/managed-dns]]
108
+ * Find something you would like to work on. For suggestions look for the `easy`, `medium` and `hard` tags in the {issues}[http://github.com/geemus/fog/issues]
109
+ * Fork the project and do your work in a topic branch.
110
+ * Add shindo tests to prove your code works and run all the tests using `bundle exec rake`.
111
+ * Rebase your branch against geemus/fog to make sure everything is up to date.
112
+ * Commit your changes and send a pull request.
119
113
 
120
- There are also the basics of these providers (that could use your love):
121
- * <b><em>{GoGrid}[http://www.gogrid.com]</b></em> [{Compute}[http://www.gogrid.com]]
122
- * {Linode}[http://www.linode.com] [{Compute}[http://www.linode.com]]
123
- * {New Servers}[http://www.newservers.com] [{Compute}[http://www.newservers.com]]
114
+ == T-Shirts
115
+
116
+ Wonder how you can get a lovely fog shirt? Look no further!
124
117
 
125
- Special thanks to providers listed in <b><em>bold italics</em></b> for donating resources for fog tests!
118
+ * Blue shirts go to people who have contributed indirectly, great examples are writing blog posts or giving lightning talks.
119
+ * Grey shirts and a follow from @fog go to people who have made it on to the {contributors list}[https://github.com/geemus/fog/contributors] by submitting code.
120
+ * Black shirts go to people who have made it on to the {collaborators list}[https://github.com/api/v2/json/repos/show/geemus/fog/collaborators] by coercing geemus into adding them (geemus is currently the only member of this list).
126
121
 
127
- == Additional Resources
122
+ == Resources
128
123
 
129
124
  Enjoy, and let me know what I can do to continue improving fog!
130
125
 
131
- * Follow {@fog}[http://twitter.com/fog] and/or {@geemus}[http://twitter.com/geemus] on Twitter
132
- * Discuss in irc on the {#ruby-fog}[irc://irc.freenode.net/ruby-fog] channel on Freenode
133
- * Discuss via email on the {mailing list}[http://groups.google.com/group/ruby-fog] (note: release notes appear on this list)
134
- * Report bugs or find stuff to work on in {issues}[http://github.com/geemus/fog/issues]
135
- * Learn about {contributing}[http://github.com/geemus/fog/wiki/contributor-guide] or find more info about the {Providers}[http://github.com/geemus/fog/wiki/Providers] (including some todo items)
136
- * See what already uses fog and add your own stuff to {the list}[http://wiki.github.com/geemus/fog/in-the-wild]
137
- * Check out blog posts and other mentions from elsewhere {press}[http://wiki.github.com/geemus/fog/press]
126
+ * See a list of supported providers and services on the {providers page}[http://fog.io/providers].
127
+ * Stay up to date by following {@fog}[http://twitter.com/fog] and/or {@geemus}[http://twitter.com/geemus] on Twitter.
128
+ * Get and give help on the {#ruby-fog}[irc://irc.freenode.net/ruby-fog] irc channel on Freenode
129
+ * Follow release notes and discussions on the {mailing list}[http://groups.google.com/group/ruby-fog]
130
+ * Report bugs or find tasks to help with in the {issues}[http://github.com/geemus/fog/issues]
131
+ * Learn about {contributing}[http://github.com/geemus/fog/wiki/contributor-guide]
132
+ * See where fog is used and let the world know how you use it {in the wild}[http://wiki.github.com/geemus/fog/in-the-wild]
133
+ * Check out blog posts and other mentions in the {press}[http://wiki.github.com/geemus/fog/press]
138
134
 
139
135
  == Sponsorship
140
136
 
141
137
  http://www.engineyard.com/images/logo.png
142
138
 
143
139
  All new work on fog is sponsored by {Engine Yard}[http://engineyard.com]
144
-
145
- == T-Shirts
146
-
147
- Wonder how you can get a shirt? Look no further!
148
-
149
- * Blue shirts go to people who have contributed indirectly, where contribution is a judgement call on geemus's part (but he is a pretty nice guy).
150
- * Grey shirts and a follow from @fog go to people who have made it on to the {contributors list}[https://github.com/geemus/fog/contributors] by submitting code.
151
- * Black shirts go to people who have made it on to the {collaborators list}[https://github.com/api/v2/json/repos/show/geemus/fog/collaborators] by coercing geemus into adding them (geemus is currently the only member of this list).
152
-
153
140
  == Copyright
154
141
 
155
142
  (The MIT License)
data/bin/fog CHANGED
@@ -10,7 +10,7 @@ end
10
10
 
11
11
  require 'fog/bin'
12
12
 
13
- providers = Fog.providers.map{|provider| provider.to_s}
13
+ providers = Fog.providers
14
14
  providers = if providers.length > 1
15
15
  providers[0...-1].join(', ') << ' and ' << providers[-1]
16
16
  else
@@ -9,6 +9,8 @@ Shindo.tests('dns tests', 'dns') do
9
9
  # iterate over all the providers
10
10
  Fog.providers.each do |provider|
11
11
 
12
+ provider = eval(provider) # convert from string to object
13
+
12
14
  # skip if provider does not have storage
13
15
  next unless provider.respond_to?(:services) && provider.services.include?(:dns)
14
16
 
@@ -9,6 +9,8 @@ Shindo.tests('storage tests', 'storage') do
9
9
  # iterate over all the providers
10
10
  Fog.providers.each do |provider|
11
11
 
12
+ provider = eval(provider) # convert from string to object
13
+
12
14
  # skip if provider does not have storage
13
15
  next unless provider.respond_to?(:services) && provider.services.include?(:storage)
14
16
 
data/fog.gemspec CHANGED
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
7
7
  ## If your rubyforge_project name is different, then edit it and comment out
8
8
  ## the sub! line in the Rakefile
9
9
  s.name = 'fog'
10
- s.version = '0.5.1'
11
- s.date = '2011-01-31'
10
+ s.version = '0.5.2'
11
+ s.date = '2011-02-11'
12
12
  s.rubyforge_project = 'fog'
13
13
 
14
14
  ## Make sure your summary is short. The description may be as long
@@ -43,7 +43,7 @@ Gem::Specification.new do |s|
43
43
  ## List your runtime dependencies here. Runtime dependencies are those
44
44
  ## that are needed for an end user to actually USE your code.
45
45
  s.add_dependency('builder')
46
- s.add_dependency('excon', '>=0.4.0')
46
+ s.add_dependency('excon', '>=0.5.2')
47
47
  s.add_dependency('formatador', '>=0.0.16')
48
48
  s.add_dependency('json')
49
49
  s.add_dependency('mime-types')
data/lib/fog.rb CHANGED
@@ -3,7 +3,7 @@ require File.join(File.dirname(__FILE__), 'fog', 'core')
3
3
  module Fog
4
4
 
5
5
  unless const_defined?(:VERSION)
6
- VERSION = '0.5.1'
6
+ VERSION = '0.5.2'
7
7
  end
8
8
 
9
9
  end
@@ -45,15 +45,6 @@ module Fog
45
45
  end
46
46
 
47
47
  end
48
-
49
- class Mock
50
-
51
- def create_load_balancer(availability_zones, lb_name, listeners)
52
- Fog::Mock.not_implemented
53
- end
54
-
55
- end
56
-
57
48
  end
58
49
  end
59
50
  end
@@ -28,15 +28,6 @@ module Fog
28
28
  end
29
29
 
30
30
  end
31
-
32
- class Mock
33
-
34
- def delete_load_balancer(lb_name)
35
- Fog::Mock.not_implemented
36
- end
37
-
38
- end
39
-
40
31
  end
41
32
  end
42
33
  end
@@ -32,15 +32,6 @@ module Fog
32
32
  end
33
33
 
34
34
  end
35
-
36
- class Mock
37
-
38
- def describe_instance_health(lb_name, instance_ids = [])
39
- Fog::Mock.not_implemented
40
- end
41
-
42
- end
43
-
44
35
  end
45
36
  end
46
37
  end
@@ -46,14 +46,6 @@ module Fog
46
46
  end
47
47
 
48
48
  end
49
-
50
- class Mock
51
-
52
- def describe_load_balancers(lb_name = [])
53
- Fog::Mock.not_implemented
54
- end
55
-
56
- end
57
49
  end
58
50
  end
59
51
  end
@@ -29,14 +29,6 @@ module Fog
29
29
  end
30
30
 
31
31
  end
32
-
33
- class Mock
34
-
35
- def add_user_to_group(group_name, user_name)
36
- Fog::Mock.not_implemented
37
- end
38
-
39
- end
40
32
  end
41
33
  end
42
34
  end
@@ -32,14 +32,6 @@ module Fog
32
32
  end
33
33
 
34
34
  end
35
-
36
- class Mock
37
-
38
- def create_access_key(user_name = nil)
39
- Fog::Mock.not_implemented
40
- end
41
-
42
- end
43
35
  end
44
36
  end
45
37
  end
@@ -34,14 +34,6 @@ module Fog
34
34
  end
35
35
 
36
36
  end
37
-
38
- class Mock
39
-
40
- def create_group(group_name, path = '/')
41
- Fog::Mock.not_implemented
42
- end
43
-
44
- end
45
37
  end
46
38
  end
47
39
  end
@@ -34,14 +34,6 @@ module Fog
34
34
  end
35
35
 
36
36
  end
37
-
38
- class Mock
39
-
40
- def create_user(user_name, path = '/')
41
- Fog::Mock.not_implemented
42
- end
43
-
44
- end
45
37
  end
46
38
  end
47
39
  end
@@ -29,14 +29,6 @@ module Fog
29
29
  end
30
30
 
31
31
  end
32
-
33
- class Mock
34
-
35
- def delete_access_key(access_key_id, user_name = nil)
36
- Fog::Mock.not_implemented
37
- end
38
-
39
- end
40
32
  end
41
33
  end
42
34
  end
@@ -27,14 +27,6 @@ module Fog
27
27
  end
28
28
 
29
29
  end
30
-
31
- class Mock
32
-
33
- def delete_group(group_name)
34
- Fog::Mock.not_implemented
35
- end
36
-
37
- end
38
30
  end
39
31
  end
40
32
  end
@@ -29,14 +29,6 @@ module Fog
29
29
  end
30
30
 
31
31
  end
32
-
33
- class Mock
34
-
35
- def delete_group_policy(group_name, policy_name)
36
- Fog::Mock.not_implemented
37
- end
38
-
39
- end
40
32
  end
41
33
  end
42
34
  end
@@ -28,14 +28,6 @@ module Fog
28
28
  end
29
29
 
30
30
  end
31
-
32
- class Mock
33
-
34
- def delete_signing_certificate(user_name = nil)
35
- Fog::Mock.not_implemented
36
- end
37
-
38
- end
39
31
  end
40
32
  end
41
33
  end
@@ -27,14 +27,6 @@ module Fog
27
27
  end
28
28
 
29
29
  end
30
-
31
- class Mock
32
-
33
- def delete_user(user_name)
34
- Fog::Mock.not_implemented
35
- end
36
-
37
- end
38
30
  end
39
31
  end
40
32
  end
@@ -29,14 +29,6 @@ module Fog
29
29
  end
30
30
 
31
31
  end
32
-
33
- class Mock
34
-
35
- def delete_user_policy(user_name, policy_name)
36
- Fog::Mock.not_implemented
37
- end
38
-
39
- end
40
32
  end
41
33
  end
42
34
  end
@@ -31,14 +31,6 @@ module Fog
31
31
  end
32
32
 
33
33
  end
34
-
35
- class Mock
36
-
37
- def get_user(options = {})
38
- Fog::Mock.not_implemented
39
- end
40
-
41
- end
42
34
  end
43
35
  end
44
36
  end
@@ -35,14 +35,6 @@ module Fog
35
35
  end
36
36
 
37
37
  end
38
-
39
- class Mock
40
-
41
- def list_access_keys(options = {})
42
- Fog::Mock.not_implemented
43
- end
44
-
45
- end
46
38
  end
47
39
  end
48
40
  end
@@ -34,14 +34,6 @@ module Fog
34
34
  end
35
35
 
36
36
  end
37
-
38
- class Mock
39
-
40
- def list_group_policies(group_name, options = {})
41
- Fog::Mock.not_implemented
42
- end
43
-
44
- end
45
37
  end
46
38
  end
47
39
  end