fog 0.8.2 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (913) hide show
  1. data/README.rdoc +6 -6
  2. data/Rakefile +58 -21
  3. data/bin/fog +6 -0
  4. data/changelog.txt +107 -0
  5. data/docs/about/getting_started.markdown +4 -4
  6. data/docs/about/press.markdown +7 -0
  7. data/docs/about/structure.markdown +3 -3
  8. data/docs/compute/index.markdown +5 -5
  9. data/docs/dns/index.markdown +3 -3
  10. data/docs/index.markdown +3 -3
  11. data/docs/storage/index.markdown +10 -10
  12. data/examples/compute_tests.rb +71 -0
  13. data/examples/dns_tests.rb +4 -4
  14. data/examples/storage_tests.rb +1 -1
  15. data/fog.gemspec +4 -3
  16. data/lib/fog.rb +1 -1
  17. data/lib/fog/aws/cloud_formation.rb +1 -1
  18. data/lib/fog/aws/elb.rb +3 -3
  19. data/lib/fog/aws/iam.rb +1 -1
  20. data/lib/fog/aws/models/elb/load_balancer.rb +3 -2
  21. data/lib/fog/aws/models/rds/security_group.rb +0 -2
  22. data/lib/fog/aws/models/rds/server.rb +2 -2
  23. data/lib/fog/aws/parsers/elb/describe_load_balancers.rb +5 -2
  24. data/lib/fog/aws/rds.rb +1 -1
  25. data/lib/fog/aws/requests/cloud_formation/create_stack.rb +1 -1
  26. data/lib/fog/aws/requests/elb/create_load_balancer.rb +5 -5
  27. data/lib/fog/aws/requests/elb/create_load_balancer_listeners.rb +4 -4
  28. data/lib/fog/aws/requests/elb/delete_load_balancer_listeners.rb +1 -1
  29. data/lib/fog/aws/requests/elb/deregister_instances_from_load_balancer.rb +1 -1
  30. data/lib/fog/aws/requests/elb/describe_instance_health.rb +1 -1
  31. data/lib/fog/aws/requests/elb/describe_load_balancers.rb +16 -11
  32. data/lib/fog/aws/requests/elb/disable_availability_zones_for_load_balancer.rb +1 -1
  33. data/lib/fog/aws/requests/elb/enable_availability_zones_for_load_balancer.rb +1 -1
  34. data/lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb +1 -1
  35. data/lib/fog/aws/requests/elb/set_load_balancer_policies_of_listener.rb +1 -1
  36. data/lib/fog/aws/requests/rds/create_db_instance.rb +1 -1
  37. data/lib/fog/aws/requests/rds/modify_db_instance.rb +1 -1
  38. data/lib/fog/aws/requests/rds/modify_db_parameter_group.rb +3 -3
  39. data/lib/fog/aws/requests/ses/send_email.rb +2 -2
  40. data/lib/fog/aws/requests/ses/send_raw_email.rb +1 -1
  41. data/lib/fog/aws/requests/simpledb/delete_attributes.rb +14 -4
  42. data/lib/fog/aws/simpledb.rb +3 -3
  43. data/lib/fog/bin.rb +2 -0
  44. data/lib/fog/bin/aws.rb +8 -4
  45. data/lib/fog/bin/bluebox.rb +4 -2
  46. data/lib/fog/bin/brightbox.rb +2 -1
  47. data/lib/fog/bin/dnsimple.rb +7 -6
  48. data/lib/fog/bin/dnsmadeeasy.rb +31 -0
  49. data/lib/fog/bin/ecloud.rb +2 -1
  50. data/lib/fog/bin/go_grid.rb +2 -1
  51. data/lib/fog/bin/google.rb +2 -1
  52. data/lib/fog/bin/linode.rb +4 -2
  53. data/lib/fog/bin/local.rb +2 -1
  54. data/lib/fog/bin/new_servers.rb +2 -1
  55. data/lib/fog/bin/ninefold.rb +31 -0
  56. data/lib/fog/bin/rackspace.rb +6 -3
  57. data/lib/fog/bin/slicehost.rb +4 -2
  58. data/lib/fog/bin/stormondemand.rb +2 -1
  59. data/lib/fog/bin/virtual_box.rb +2 -1
  60. data/lib/fog/bin/voxel.rb +2 -1
  61. data/lib/fog/bin/zerigo.rb +2 -1
  62. data/lib/fog/cdn.rb +10 -6
  63. data/lib/fog/cdn/aws.rb +2 -17
  64. data/lib/fog/cdn/parsers/aws/distribution.rb +2 -2
  65. data/lib/fog/cdn/parsers/aws/get_distribution_list.rb +2 -2
  66. data/lib/fog/cdn/parsers/aws/post_invalidation.rb +2 -2
  67. data/lib/fog/cdn/rackspace.rb +2 -17
  68. data/lib/fog/cdn/requests/aws/delete_distribution.rb +2 -2
  69. data/lib/fog/cdn/requests/aws/get_distribution.rb +3 -3
  70. data/lib/fog/cdn/requests/aws/get_distribution_list.rb +3 -3
  71. data/lib/fog/cdn/requests/aws/post_distribution.rb +3 -3
  72. data/lib/fog/cdn/requests/aws/post_invalidation.rb +3 -3
  73. data/lib/fog/cdn/requests/aws/put_distribution_config.rb +3 -3
  74. data/lib/fog/cdn/requests/rackspace/get_containers.rb +2 -2
  75. data/lib/fog/cdn/requests/rackspace/head_container.rb +2 -2
  76. data/lib/fog/cdn/requests/rackspace/post_container.rb +2 -2
  77. data/lib/fog/cdn/requests/rackspace/put_container.rb +2 -2
  78. data/lib/fog/compute.rb +44 -26
  79. data/lib/fog/compute/aws.rb +5 -20
  80. data/lib/fog/compute/bluebox.rb +3 -18
  81. data/lib/fog/compute/brightbox.rb +3 -18
  82. data/lib/fog/compute/ecloud.rb +4 -5
  83. data/lib/fog/compute/go_grid.rb +3 -18
  84. data/lib/fog/compute/linode.rb +4 -19
  85. data/lib/fog/compute/models/aws/address.rb +2 -2
  86. data/lib/fog/compute/models/aws/addresses.rb +3 -3
  87. data/lib/fog/compute/models/aws/flavor.rb +2 -2
  88. data/lib/fog/compute/models/aws/flavors.rb +4 -4
  89. data/lib/fog/compute/models/aws/image.rb +2 -2
  90. data/lib/fog/compute/models/aws/images.rb +3 -3
  91. data/lib/fog/compute/models/aws/key_pair.rb +2 -3
  92. data/lib/fog/compute/models/aws/key_pairs.rb +3 -3
  93. data/lib/fog/compute/models/aws/security_group.rb +2 -2
  94. data/lib/fog/compute/models/aws/security_groups.rb +3 -3
  95. data/lib/fog/compute/models/aws/server.rb +18 -15
  96. data/lib/fog/compute/models/aws/servers.rb +3 -3
  97. data/lib/fog/compute/models/aws/snapshot.rb +2 -2
  98. data/lib/fog/compute/models/aws/snapshots.rb +3 -3
  99. data/lib/fog/compute/models/aws/tag.rb +2 -4
  100. data/lib/fog/compute/models/aws/tags.rb +3 -3
  101. data/lib/fog/compute/models/aws/volume.rb +2 -2
  102. data/lib/fog/compute/models/aws/volumes.rb +3 -3
  103. data/lib/fog/compute/models/bluebox/flavor.rb +2 -2
  104. data/lib/fog/compute/models/bluebox/flavors.rb +4 -4
  105. data/lib/fog/compute/models/bluebox/image.rb +2 -2
  106. data/lib/fog/compute/models/bluebox/images.rb +4 -4
  107. data/lib/fog/compute/models/bluebox/server.rb +6 -6
  108. data/lib/fog/compute/models/bluebox/servers.rb +4 -4
  109. data/lib/fog/compute/models/brightbox/account.rb +2 -2
  110. data/lib/fog/compute/models/brightbox/cloud_ip.rb +2 -2
  111. data/lib/fog/compute/models/brightbox/cloud_ips.rb +3 -3
  112. data/lib/fog/compute/models/brightbox/flavor.rb +2 -2
  113. data/lib/fog/compute/models/brightbox/flavors.rb +3 -3
  114. data/lib/fog/compute/models/brightbox/image.rb +3 -2
  115. data/lib/fog/compute/models/brightbox/images.rb +3 -3
  116. data/lib/fog/compute/models/brightbox/load_balancer.rb +2 -2
  117. data/lib/fog/compute/models/brightbox/load_balancers.rb +3 -3
  118. data/lib/fog/compute/models/brightbox/server.rb +2 -2
  119. data/lib/fog/compute/models/brightbox/servers.rb +3 -3
  120. data/lib/fog/compute/models/brightbox/user.rb +2 -2
  121. data/lib/fog/compute/models/brightbox/users.rb +3 -3
  122. data/lib/fog/compute/models/brightbox/zone.rb +2 -2
  123. data/lib/fog/compute/models/brightbox/zones.rb +3 -3
  124. data/lib/fog/compute/models/ecloud/backup_internet_service.rb +3 -3
  125. data/lib/fog/compute/models/ecloud/backup_internet_services.rb +3 -3
  126. data/lib/fog/compute/models/ecloud/catalog.rb +3 -3
  127. data/lib/fog/compute/models/ecloud/catalog_item.rb +2 -2
  128. data/lib/fog/compute/models/ecloud/firewall_acl.rb +2 -2
  129. data/lib/fog/compute/models/ecloud/firewall_acls.rb +3 -3
  130. data/lib/fog/compute/models/ecloud/internet_service.rb +3 -3
  131. data/lib/fog/compute/models/ecloud/internet_services.rb +3 -3
  132. data/lib/fog/compute/models/ecloud/ip.rb +2 -2
  133. data/lib/fog/compute/models/ecloud/ips.rb +3 -3
  134. data/lib/fog/compute/models/ecloud/network.rb +7 -4
  135. data/lib/fog/compute/models/ecloud/networks.rb +3 -3
  136. data/lib/fog/compute/models/ecloud/node.rb +2 -2
  137. data/lib/fog/compute/models/ecloud/nodes.rb +3 -3
  138. data/lib/fog/compute/models/ecloud/public_ip.rb +3 -3
  139. data/lib/fog/compute/models/ecloud/public_ips.rb +3 -3
  140. data/lib/fog/compute/models/ecloud/server.rb +2 -2
  141. data/lib/fog/compute/models/ecloud/servers.rb +3 -3
  142. data/lib/fog/compute/models/ecloud/task.rb +2 -2
  143. data/lib/fog/compute/models/ecloud/tasks.rb +3 -3
  144. data/lib/fog/compute/models/ecloud/vdc.rb +9 -9
  145. data/lib/fog/compute/models/ecloud/vdcs.rb +3 -3
  146. data/lib/fog/compute/models/go_grid/image.rb +2 -2
  147. data/lib/fog/compute/models/go_grid/images.rb +4 -4
  148. data/lib/fog/compute/models/go_grid/password.rb +2 -2
  149. data/lib/fog/compute/models/go_grid/passwords.rb +4 -4
  150. data/lib/fog/compute/models/go_grid/server.rb +14 -14
  151. data/lib/fog/compute/models/go_grid/servers.rb +5 -4
  152. data/lib/fog/compute/models/linode/data_center.rb +2 -2
  153. data/lib/fog/compute/models/linode/data_centers.rb +3 -3
  154. data/lib/fog/compute/models/linode/disk.rb +2 -2
  155. data/lib/fog/compute/models/linode/disks.rb +3 -3
  156. data/lib/fog/compute/models/linode/flavor.rb +2 -2
  157. data/lib/fog/compute/models/linode/flavors.rb +3 -3
  158. data/lib/fog/compute/models/linode/image.rb +2 -2
  159. data/lib/fog/compute/models/linode/images.rb +4 -4
  160. data/lib/fog/compute/models/linode/ip.rb +2 -2
  161. data/lib/fog/compute/models/linode/ips.rb +4 -4
  162. data/lib/fog/compute/models/linode/kernel.rb +2 -2
  163. data/lib/fog/compute/models/linode/kernels.rb +4 -4
  164. data/lib/fog/compute/models/linode/server.rb +4 -4
  165. data/lib/fog/compute/models/linode/servers.rb +4 -4
  166. data/lib/fog/compute/models/linode/stack_script.rb +2 -2
  167. data/lib/fog/compute/models/linode/stack_scripts.rb +4 -4
  168. data/lib/fog/compute/models/ninefold/address.rb +103 -0
  169. data/lib/fog/compute/models/ninefold/addresses.rb +31 -0
  170. data/lib/fog/compute/models/ninefold/flavor.rb +29 -0
  171. data/lib/fog/compute/models/ninefold/flavors.rb +30 -0
  172. data/lib/fog/compute/models/ninefold/image.rb +42 -0
  173. data/lib/fog/compute/models/ninefold/images.rb +30 -0
  174. data/lib/fog/compute/models/ninefold/ip_forwarding_rule.rb +79 -0
  175. data/lib/fog/compute/models/ninefold/ip_forwarding_rules.rb +31 -0
  176. data/lib/fog/compute/models/ninefold/server.rb +180 -0
  177. data/lib/fog/compute/models/ninefold/servers.rb +31 -0
  178. data/lib/fog/compute/models/rackspace/flavor.rb +2 -2
  179. data/lib/fog/compute/models/rackspace/flavors.rb +4 -4
  180. data/lib/fog/compute/models/rackspace/image.rb +2 -2
  181. data/lib/fog/compute/models/rackspace/images.rb +4 -4
  182. data/lib/fog/compute/models/rackspace/server.rb +6 -6
  183. data/lib/fog/compute/models/rackspace/servers.rb +4 -4
  184. data/lib/fog/compute/models/slicehost/flavor.rb +2 -2
  185. data/lib/fog/compute/models/slicehost/flavors.rb +3 -3
  186. data/lib/fog/compute/models/slicehost/image.rb +2 -2
  187. data/lib/fog/compute/models/slicehost/images.rb +3 -3
  188. data/lib/fog/compute/models/slicehost/server.rb +6 -6
  189. data/lib/fog/compute/models/slicehost/servers.rb +3 -3
  190. data/lib/fog/compute/models/storm_on_demand/balancer.rb +2 -2
  191. data/lib/fog/compute/models/storm_on_demand/balancers.rb +3 -3
  192. data/lib/fog/compute/models/storm_on_demand/config.rb +2 -2
  193. data/lib/fog/compute/models/storm_on_demand/configs.rb +3 -3
  194. data/lib/fog/compute/models/storm_on_demand/image.rb +2 -2
  195. data/lib/fog/compute/models/storm_on_demand/images.rb +3 -3
  196. data/lib/fog/compute/models/storm_on_demand/private_ip.rb +2 -2
  197. data/lib/fog/compute/models/storm_on_demand/private_ips.rb +3 -3
  198. data/lib/fog/compute/models/storm_on_demand/server.rb +2 -2
  199. data/lib/fog/compute/models/storm_on_demand/servers.rb +3 -3
  200. data/lib/fog/compute/models/storm_on_demand/stat.rb +2 -2
  201. data/lib/fog/compute/models/storm_on_demand/stats.rb +3 -3
  202. data/lib/fog/compute/models/storm_on_demand/template.rb +2 -2
  203. data/lib/fog/compute/models/storm_on_demand/templates.rb +3 -3
  204. data/lib/fog/compute/models/virtual_box/medium.rb +3 -3
  205. data/lib/fog/compute/models/virtual_box/medium_format.rb +2 -2
  206. data/lib/fog/compute/models/virtual_box/mediums.rb +3 -3
  207. data/lib/fog/compute/models/virtual_box/nat_engine.rb +3 -3
  208. data/lib/fog/compute/models/virtual_box/nat_redirect.rb +2 -2
  209. data/lib/fog/compute/models/virtual_box/nat_redirects.rb +3 -3
  210. data/lib/fog/compute/models/virtual_box/network_adapter.rb +3 -3
  211. data/lib/fog/compute/models/virtual_box/network_adapters.rb +3 -3
  212. data/lib/fog/compute/models/virtual_box/server.rb +8 -8
  213. data/lib/fog/compute/models/virtual_box/servers.rb +3 -3
  214. data/lib/fog/compute/models/virtual_box/storage_controller.rb +2 -2
  215. data/lib/fog/compute/models/virtual_box/storage_controllers.rb +3 -3
  216. data/lib/fog/compute/models/voxel/image.rb +2 -2
  217. data/lib/fog/compute/models/voxel/images.rb +3 -3
  218. data/lib/fog/compute/models/voxel/server.rb +2 -2
  219. data/lib/fog/compute/models/voxel/servers.rb +3 -3
  220. data/lib/fog/compute/new_servers.rb +3 -18
  221. data/lib/fog/compute/ninefold.rb +139 -0
  222. data/lib/fog/compute/parsers/aws/allocate_address.rb +2 -2
  223. data/lib/fog/compute/parsers/aws/attach_volume.rb +2 -2
  224. data/lib/fog/compute/parsers/aws/basic.rb +2 -2
  225. data/lib/fog/compute/parsers/aws/create_image.rb +2 -2
  226. data/lib/fog/compute/parsers/aws/create_key_pair.rb +2 -2
  227. data/lib/fog/compute/parsers/aws/create_snapshot.rb +2 -2
  228. data/lib/fog/compute/parsers/aws/create_volume.rb +2 -2
  229. data/lib/fog/compute/parsers/aws/deregister_image.rb +2 -2
  230. data/lib/fog/compute/parsers/aws/describe_addresses.rb +2 -2
  231. data/lib/fog/compute/parsers/aws/describe_availability_zones.rb +2 -2
  232. data/lib/fog/compute/parsers/aws/describe_images.rb +2 -2
  233. data/lib/fog/compute/parsers/aws/describe_instances.rb +20 -54
  234. data/lib/fog/compute/parsers/aws/describe_key_pairs.rb +2 -2
  235. data/lib/fog/compute/parsers/aws/describe_regions.rb +2 -2
  236. data/lib/fog/compute/parsers/aws/describe_reserved_instances.rb +2 -2
  237. data/lib/fog/compute/parsers/aws/describe_reserved_instances_offerings.rb +2 -2
  238. data/lib/fog/compute/parsers/aws/describe_security_groups.rb +2 -2
  239. data/lib/fog/compute/parsers/aws/describe_snapshots.rb +2 -2
  240. data/lib/fog/compute/parsers/aws/describe_tags.rb +2 -2
  241. data/lib/fog/compute/parsers/aws/describe_volumes.rb +2 -2
  242. data/lib/fog/compute/parsers/aws/detach_volume.rb +2 -2
  243. data/lib/fog/compute/parsers/aws/get_console_output.rb +2 -2
  244. data/lib/fog/compute/parsers/aws/get_password_data.rb +2 -2
  245. data/lib/fog/compute/parsers/aws/import_key_pair.rb +2 -2
  246. data/lib/fog/compute/parsers/aws/monitor_unmonitor_instances.rb +2 -2
  247. data/lib/fog/compute/parsers/aws/register_image.rb +2 -2
  248. data/lib/fog/compute/parsers/aws/run_instances.rb +2 -2
  249. data/lib/fog/compute/parsers/aws/start_stop_instances.rb +2 -2
  250. data/lib/fog/compute/parsers/aws/terminate_instances.rb +2 -2
  251. data/lib/fog/compute/parsers/slicehost/create_slice.rb +2 -2
  252. data/lib/fog/compute/parsers/slicehost/get_backups.rb +2 -2
  253. data/lib/fog/compute/parsers/slicehost/get_flavor.rb +2 -2
  254. data/lib/fog/compute/parsers/slicehost/get_flavors.rb +2 -2
  255. data/lib/fog/compute/parsers/slicehost/get_image.rb +2 -2
  256. data/lib/fog/compute/parsers/slicehost/get_images.rb +2 -2
  257. data/lib/fog/compute/parsers/slicehost/get_slice.rb +2 -2
  258. data/lib/fog/compute/parsers/slicehost/get_slices.rb +2 -2
  259. data/lib/fog/compute/parsers/voxel/basic.rb +2 -2
  260. data/lib/fog/compute/parsers/voxel/devices_list.rb +2 -2
  261. data/lib/fog/compute/parsers/voxel/images_list.rb +2 -2
  262. data/lib/fog/compute/parsers/voxel/voxcloud_create.rb +2 -2
  263. data/lib/fog/compute/parsers/voxel/voxcloud_delete.rb +2 -2
  264. data/lib/fog/compute/parsers/voxel/voxcloud_status.rb +2 -2
  265. data/lib/fog/compute/rackspace.rb +21 -26
  266. data/lib/fog/compute/requests/aws/allocate_address.rb +3 -3
  267. data/lib/fog/compute/requests/aws/associate_address.rb +9 -5
  268. data/lib/fog/compute/requests/aws/attach_volume.rb +7 -7
  269. data/lib/fog/compute/requests/aws/authorize_security_group_ingress.rb +4 -4
  270. data/lib/fog/compute/requests/aws/create_image.rb +3 -3
  271. data/lib/fog/compute/requests/aws/create_key_pair.rb +4 -4
  272. data/lib/fog/compute/requests/aws/create_security_group.rb +4 -4
  273. data/lib/fog/compute/requests/aws/create_snapshot.rb +3 -3
  274. data/lib/fog/compute/requests/aws/create_tags.rb +6 -6
  275. data/lib/fog/compute/requests/aws/create_volume.rb +13 -6
  276. data/lib/fog/compute/requests/aws/delete_key_pair.rb +3 -3
  277. data/lib/fog/compute/requests/aws/delete_security_group.rb +4 -4
  278. data/lib/fog/compute/requests/aws/delete_snapshot.rb +4 -4
  279. data/lib/fog/compute/requests/aws/delete_tags.rb +4 -4
  280. data/lib/fog/compute/requests/aws/delete_volume.rb +5 -5
  281. data/lib/fog/compute/requests/aws/deregister_image.rb +4 -4
  282. data/lib/fog/compute/requests/aws/describe_addresses.rb +4 -4
  283. data/lib/fog/compute/requests/aws/describe_availability_zones.rb +4 -4
  284. data/lib/fog/compute/requests/aws/describe_images.rb +4 -4
  285. data/lib/fog/compute/requests/aws/describe_instances.rb +4 -4
  286. data/lib/fog/compute/requests/aws/describe_key_pairs.rb +4 -4
  287. data/lib/fog/compute/requests/aws/describe_regions.rb +4 -4
  288. data/lib/fog/compute/requests/aws/describe_reserved_instances.rb +4 -4
  289. data/lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb +4 -4
  290. data/lib/fog/compute/requests/aws/describe_security_groups.rb +4 -4
  291. data/lib/fog/compute/requests/aws/describe_snapshots.rb +4 -4
  292. data/lib/fog/compute/requests/aws/describe_tags.rb +4 -4
  293. data/lib/fog/compute/requests/aws/describe_volumes.rb +4 -4
  294. data/lib/fog/compute/requests/aws/detach_volume.rb +4 -4
  295. data/lib/fog/compute/requests/aws/disassociate_address.rb +4 -4
  296. data/lib/fog/compute/requests/aws/get_console_output.rb +5 -5
  297. data/lib/fog/compute/requests/aws/get_password_data.rb +4 -4
  298. data/lib/fog/compute/requests/aws/import_key_pair.rb +4 -4
  299. data/lib/fog/compute/requests/aws/modify_image_attributes.rb +6 -6
  300. data/lib/fog/compute/requests/aws/modify_snapshot_attribute.rb +5 -5
  301. data/lib/fog/compute/requests/aws/monitor_instances.rb +5 -5
  302. data/lib/fog/compute/requests/aws/reboot_instances.rb +5 -5
  303. data/lib/fog/compute/requests/aws/register_image.rb +4 -4
  304. data/lib/fog/compute/requests/aws/release_address.rb +4 -4
  305. data/lib/fog/compute/requests/aws/revoke_security_group_ingress.rb +4 -4
  306. data/lib/fog/compute/requests/aws/run_instances.rb +5 -5
  307. data/lib/fog/compute/requests/aws/start_instances.rb +4 -4
  308. data/lib/fog/compute/requests/aws/stop_instances.rb +4 -4
  309. data/lib/fog/compute/requests/aws/terminate_instances.rb +5 -5
  310. data/lib/fog/compute/requests/aws/unmonitor_instances.rb +5 -5
  311. data/lib/fog/compute/requests/bluebox/create_block.rb +2 -2
  312. data/lib/fog/compute/requests/bluebox/destroy_block.rb +2 -2
  313. data/lib/fog/compute/requests/bluebox/get_block.rb +2 -2
  314. data/lib/fog/compute/requests/bluebox/get_blocks.rb +2 -2
  315. data/lib/fog/compute/requests/bluebox/get_product.rb +2 -2
  316. data/lib/fog/compute/requests/bluebox/get_products.rb +2 -2
  317. data/lib/fog/compute/requests/bluebox/get_template.rb +2 -2
  318. data/lib/fog/compute/requests/bluebox/get_templates.rb +2 -2
  319. data/lib/fog/compute/requests/bluebox/reboot_block.rb +2 -2
  320. data/lib/fog/compute/requests/brightbox/activate_console_server.rb +2 -2
  321. data/lib/fog/compute/requests/brightbox/add_listeners_load_balancer.rb +2 -2
  322. data/lib/fog/compute/requests/brightbox/add_nodes_load_balancer.rb +2 -2
  323. data/lib/fog/compute/requests/brightbox/create_api_client.rb +2 -2
  324. data/lib/fog/compute/requests/brightbox/create_cloud_ip.rb +2 -2
  325. data/lib/fog/compute/requests/brightbox/create_image.rb +2 -2
  326. data/lib/fog/compute/requests/brightbox/create_load_balancer.rb +2 -2
  327. data/lib/fog/compute/requests/brightbox/create_server.rb +2 -2
  328. data/lib/fog/compute/requests/brightbox/destroy_api_client.rb +2 -2
  329. data/lib/fog/compute/requests/brightbox/destroy_cloud_ip.rb +2 -2
  330. data/lib/fog/compute/requests/brightbox/destroy_image.rb +2 -2
  331. data/lib/fog/compute/requests/brightbox/destroy_load_balancer.rb +2 -2
  332. data/lib/fog/compute/requests/brightbox/destroy_server.rb +2 -2
  333. data/lib/fog/compute/requests/brightbox/get_account.rb +2 -2
  334. data/lib/fog/compute/requests/brightbox/get_api_client.rb +2 -2
  335. data/lib/fog/compute/requests/brightbox/get_cloud_ip.rb +2 -2
  336. data/lib/fog/compute/requests/brightbox/get_image.rb +2 -2
  337. data/lib/fog/compute/requests/brightbox/get_interface.rb +2 -2
  338. data/lib/fog/compute/requests/brightbox/get_load_balancer.rb +2 -2
  339. data/lib/fog/compute/requests/brightbox/get_server.rb +2 -2
  340. data/lib/fog/compute/requests/brightbox/get_server_type.rb +2 -2
  341. data/lib/fog/compute/requests/brightbox/get_user.rb +2 -2
  342. data/lib/fog/compute/requests/brightbox/get_zone.rb +2 -2
  343. data/lib/fog/compute/requests/brightbox/list_api_clients.rb +2 -2
  344. data/lib/fog/compute/requests/brightbox/list_cloud_ips.rb +2 -2
  345. data/lib/fog/compute/requests/brightbox/list_images.rb +2 -2
  346. data/lib/fog/compute/requests/brightbox/list_load_balancers.rb +2 -2
  347. data/lib/fog/compute/requests/brightbox/list_server_types.rb +2 -2
  348. data/lib/fog/compute/requests/brightbox/list_servers.rb +2 -2
  349. data/lib/fog/compute/requests/brightbox/list_users.rb +2 -2
  350. data/lib/fog/compute/requests/brightbox/list_zones.rb +2 -2
  351. data/lib/fog/compute/requests/brightbox/map_cloud_ip.rb +2 -2
  352. data/lib/fog/compute/requests/brightbox/remove_listeners_load_balancer.rb +2 -2
  353. data/lib/fog/compute/requests/brightbox/remove_nodes_load_balancer.rb +2 -2
  354. data/lib/fog/compute/requests/brightbox/reset_ftp_password_account.rb +2 -2
  355. data/lib/fog/compute/requests/brightbox/resize_server.rb +2 -2
  356. data/lib/fog/compute/requests/brightbox/shutdown_server.rb +2 -2
  357. data/lib/fog/compute/requests/brightbox/snapshot_server.rb +2 -2
  358. data/lib/fog/compute/requests/brightbox/start_server.rb +2 -2
  359. data/lib/fog/compute/requests/brightbox/stop_server.rb +2 -2
  360. data/lib/fog/compute/requests/brightbox/unmap_cloud_ip.rb +2 -2
  361. data/lib/fog/compute/requests/brightbox/update_account.rb +2 -2
  362. data/lib/fog/compute/requests/brightbox/update_api_client.rb +2 -2
  363. data/lib/fog/compute/requests/brightbox/update_image.rb +2 -2
  364. data/lib/fog/compute/requests/brightbox/update_load_balancer.rb +2 -2
  365. data/lib/fog/compute/requests/brightbox/update_server.rb +2 -2
  366. data/lib/fog/compute/requests/brightbox/update_user.rb +2 -2
  367. data/lib/fog/compute/requests/ecloud/add_backup_internet_service.rb +2 -2
  368. data/lib/fog/compute/requests/ecloud/add_internet_service.rb +2 -2
  369. data/lib/fog/compute/requests/ecloud/add_node.rb +2 -2
  370. data/lib/fog/compute/requests/ecloud/clone_vapp.rb +2 -2
  371. data/lib/fog/compute/requests/ecloud/configure_internet_service.rb +2 -2
  372. data/lib/fog/compute/requests/ecloud/configure_network.rb +2 -2
  373. data/lib/fog/compute/requests/ecloud/configure_network_ip.rb +2 -2
  374. data/lib/fog/compute/requests/ecloud/configure_node.rb +2 -2
  375. data/lib/fog/compute/requests/ecloud/configure_vapp.rb +2 -2
  376. data/lib/fog/compute/requests/ecloud/delete_internet_service.rb +2 -2
  377. data/lib/fog/compute/requests/ecloud/delete_node.rb +2 -2
  378. data/lib/fog/compute/requests/ecloud/delete_vapp.rb +2 -2
  379. data/lib/fog/compute/requests/ecloud/get_catalog.rb +2 -2
  380. data/lib/fog/compute/requests/ecloud/get_catalog_item.rb +2 -2
  381. data/lib/fog/compute/requests/ecloud/get_customization_options.rb +2 -2
  382. data/lib/fog/compute/requests/ecloud/get_firewall_acl.rb +2 -2
  383. data/lib/fog/compute/requests/ecloud/get_firewall_acls.rb +2 -2
  384. data/lib/fog/compute/requests/ecloud/get_internet_services.rb +5 -5
  385. data/lib/fog/compute/requests/ecloud/get_network.rb +2 -2
  386. data/lib/fog/compute/requests/ecloud/get_network_extensions.rb +2 -2
  387. data/lib/fog/compute/requests/ecloud/get_network_ip.rb +2 -2
  388. data/lib/fog/compute/requests/ecloud/get_network_ips.rb +2 -2
  389. data/lib/fog/compute/requests/ecloud/get_node.rb +2 -2
  390. data/lib/fog/compute/requests/ecloud/get_nodes.rb +2 -2
  391. data/lib/fog/compute/requests/ecloud/get_organization.rb +2 -2
  392. data/lib/fog/compute/requests/ecloud/get_public_ip.rb +2 -2
  393. data/lib/fog/compute/requests/ecloud/get_public_ips.rb +2 -2
  394. data/lib/fog/compute/requests/ecloud/get_task.rb +2 -2
  395. data/lib/fog/compute/requests/ecloud/get_task_list.rb +2 -2
  396. data/lib/fog/compute/requests/ecloud/get_vapp.rb +2 -2
  397. data/lib/fog/compute/requests/ecloud/get_vapp_template.rb +2 -2
  398. data/lib/fog/compute/requests/ecloud/get_vdc.rb +2 -2
  399. data/lib/fog/compute/requests/ecloud/get_versions.rb +2 -2
  400. data/lib/fog/compute/requests/ecloud/instantiate_vapp_template.rb +2 -2
  401. data/lib/fog/compute/requests/ecloud/login.rb +2 -2
  402. data/lib/fog/compute/requests/ecloud/power_off.rb +2 -2
  403. data/lib/fog/compute/requests/ecloud/power_on.rb +2 -2
  404. data/lib/fog/compute/requests/ecloud/power_reset.rb +2 -2
  405. data/lib/fog/compute/requests/ecloud/power_shutdown.rb +2 -2
  406. data/lib/fog/compute/requests/go_grid/common_lookup_list.rb +2 -2
  407. data/lib/fog/compute/requests/go_grid/grid_image_get.rb +2 -2
  408. data/lib/fog/compute/requests/go_grid/grid_image_list.rb +2 -2
  409. data/lib/fog/compute/requests/go_grid/grid_ip_list.rb +2 -2
  410. data/lib/fog/compute/requests/go_grid/grid_loadbalancer_list.rb +2 -2
  411. data/lib/fog/compute/requests/go_grid/grid_server_add.rb +2 -2
  412. data/lib/fog/compute/requests/go_grid/grid_server_delete.rb +2 -2
  413. data/lib/fog/compute/requests/go_grid/grid_server_get.rb +2 -2
  414. data/lib/fog/compute/requests/go_grid/grid_server_list.rb +2 -2
  415. data/lib/fog/compute/requests/go_grid/grid_server_power.rb +2 -2
  416. data/lib/fog/compute/requests/go_grid/support_password_get.rb +2 -2
  417. data/lib/fog/compute/requests/go_grid/support_password_list.rb +2 -2
  418. data/lib/fog/compute/requests/linode/avail_datacenters.rb +4 -3
  419. data/lib/fog/compute/requests/linode/avail_distributions.rb +3 -2
  420. data/lib/fog/compute/requests/linode/avail_kernels.rb +3 -2
  421. data/lib/fog/compute/requests/linode/avail_linodeplans.rb +3 -2
  422. data/lib/fog/compute/requests/linode/avail_stackscripts.rb +4 -2
  423. data/lib/fog/compute/requests/linode/linode_boot.rb +4 -2
  424. data/lib/fog/compute/requests/linode/linode_config_create.rb +4 -2
  425. data/lib/fog/compute/requests/linode/linode_config_list.rb +4 -2
  426. data/lib/fog/compute/requests/linode/linode_create.rb +3 -2
  427. data/lib/fog/compute/requests/linode/linode_delete.rb +3 -2
  428. data/lib/fog/compute/requests/linode/linode_disk_create.rb +4 -2
  429. data/lib/fog/compute/requests/linode/linode_disk_createfromdistribution.rb +4 -2
  430. data/lib/fog/compute/requests/linode/linode_disk_createfromstackscript.rb +4 -2
  431. data/lib/fog/compute/requests/linode/linode_disk_delete.rb +4 -2
  432. data/lib/fog/compute/requests/linode/linode_disk_list.rb +4 -2
  433. data/lib/fog/compute/requests/linode/linode_ip_addprivate.rb +4 -2
  434. data/lib/fog/compute/requests/linode/linode_ip_list.rb +4 -2
  435. data/lib/fog/compute/requests/linode/linode_list.rb +3 -2
  436. data/lib/fog/compute/requests/linode/linode_reboot.rb +3 -2
  437. data/lib/fog/compute/requests/linode/linode_shutdown.rb +4 -2
  438. data/lib/fog/compute/requests/linode/linode_update.rb +4 -2
  439. data/lib/fog/compute/requests/linode/stackscript_list.rb +3 -2
  440. data/lib/fog/compute/requests/new_servers/add_server.rb +2 -2
  441. data/lib/fog/compute/requests/new_servers/cancel_server.rb +2 -2
  442. data/lib/fog/compute/requests/new_servers/get_server.rb +2 -2
  443. data/lib/fog/compute/requests/new_servers/list_images.rb +2 -2
  444. data/lib/fog/compute/requests/new_servers/list_plans.rb +2 -2
  445. data/lib/fog/compute/requests/new_servers/list_servers.rb +2 -2
  446. data/lib/fog/compute/requests/new_servers/reboot_server.rb +2 -2
  447. data/lib/fog/compute/requests/ninefold/associate_ip_address.rb +14 -0
  448. data/lib/fog/compute/requests/ninefold/change_service_for_virtual_machine.rb +14 -0
  449. data/lib/fog/compute/requests/ninefold/create_ip_forwarding_rule.rb +14 -0
  450. data/lib/fog/compute/requests/ninefold/delete_ip_forwarding_rule.rb +14 -0
  451. data/lib/fog/compute/requests/ninefold/deploy_virtual_machine.rb +14 -0
  452. data/lib/fog/compute/requests/ninefold/destroy_virtual_machine.rb +14 -0
  453. data/lib/fog/compute/requests/ninefold/disable_static_nat.rb +14 -0
  454. data/lib/fog/compute/requests/ninefold/disassociate_ip_address.rb +14 -0
  455. data/lib/fog/compute/requests/ninefold/enable_static_nat.rb +14 -0
  456. data/lib/fog/compute/requests/ninefold/list_accounts.rb +14 -0
  457. data/lib/fog/compute/requests/ninefold/list_async_jobs.rb +14 -0
  458. data/lib/fog/compute/requests/ninefold/list_capabilities.rb +14 -0
  459. data/lib/fog/compute/requests/ninefold/list_disk_offerings.rb +14 -0
  460. data/lib/fog/compute/requests/ninefold/list_events.rb +14 -0
  461. data/lib/fog/compute/requests/ninefold/list_hypervisors.rb +14 -0
  462. data/lib/fog/compute/requests/ninefold/list_ip_forwarding_rules.rb +14 -0
  463. data/lib/fog/compute/requests/ninefold/list_network_offerings.rb +14 -0
  464. data/lib/fog/compute/requests/ninefold/list_networks.rb +14 -0
  465. data/lib/fog/compute/requests/ninefold/list_public_ip_addresses.rb +14 -0
  466. data/lib/fog/compute/requests/ninefold/list_resource_limits.rb +14 -0
  467. data/lib/fog/compute/requests/ninefold/list_service_offerings.rb +14 -0
  468. data/lib/fog/compute/requests/ninefold/list_templates.rb +14 -0
  469. data/lib/fog/compute/requests/ninefold/list_virtual_machines.rb +14 -0
  470. data/lib/fog/compute/requests/ninefold/list_zones.rb +14 -0
  471. data/lib/fog/compute/requests/ninefold/query_async_job_result.rb +14 -0
  472. data/lib/fog/compute/requests/ninefold/reboot_virtual_machine.rb +14 -0
  473. data/lib/fog/compute/requests/ninefold/reset_password_for_virtual_machine.rb +14 -0
  474. data/lib/fog/compute/requests/ninefold/start_virtual_machine.rb +14 -0
  475. data/lib/fog/compute/requests/ninefold/stop_virtual_machine.rb +14 -0
  476. data/lib/fog/compute/requests/ninefold/update_virtual_machine.rb +14 -0
  477. data/lib/fog/compute/requests/rackspace/confirm_resized_server.rb +2 -2
  478. data/lib/fog/compute/requests/rackspace/create_image.rb +2 -2
  479. data/lib/fog/compute/requests/rackspace/create_server.rb +3 -3
  480. data/lib/fog/compute/requests/rackspace/delete_image.rb +2 -2
  481. data/lib/fog/compute/requests/rackspace/delete_server.rb +3 -3
  482. data/lib/fog/compute/requests/rackspace/get_flavor_details.rb +3 -3
  483. data/lib/fog/compute/requests/rackspace/get_image_details.rb +2 -2
  484. data/lib/fog/compute/requests/rackspace/get_server_details.rb +3 -3
  485. data/lib/fog/compute/requests/rackspace/list_addresses.rb +3 -3
  486. data/lib/fog/compute/requests/rackspace/list_flavors.rb +2 -2
  487. data/lib/fog/compute/requests/rackspace/list_flavors_detail.rb +2 -2
  488. data/lib/fog/compute/requests/rackspace/list_images.rb +2 -2
  489. data/lib/fog/compute/requests/rackspace/list_images_detail.rb +2 -2
  490. data/lib/fog/compute/requests/rackspace/list_private_addresses.rb +3 -3
  491. data/lib/fog/compute/requests/rackspace/list_public_addresses.rb +3 -3
  492. data/lib/fog/compute/requests/rackspace/list_servers.rb +2 -2
  493. data/lib/fog/compute/requests/rackspace/list_servers_detail.rb +2 -2
  494. data/lib/fog/compute/requests/rackspace/reboot_server.rb +2 -2
  495. data/lib/fog/compute/requests/rackspace/resize_server.rb +2 -2
  496. data/lib/fog/compute/requests/rackspace/revert_resized_server.rb +2 -2
  497. data/lib/fog/compute/requests/rackspace/server_action.rb +2 -2
  498. data/lib/fog/compute/requests/rackspace/update_server.rb +3 -3
  499. data/lib/fog/compute/requests/slicehost/create_slice.rb +3 -3
  500. data/lib/fog/compute/requests/slicehost/delete_slice.rb +2 -2
  501. data/lib/fog/compute/requests/slicehost/get_backups.rb +3 -3
  502. data/lib/fog/compute/requests/slicehost/get_flavor.rb +3 -3
  503. data/lib/fog/compute/requests/slicehost/get_flavors.rb +3 -3
  504. data/lib/fog/compute/requests/slicehost/get_image.rb +3 -3
  505. data/lib/fog/compute/requests/slicehost/get_images.rb +3 -3
  506. data/lib/fog/compute/requests/slicehost/get_slice.rb +3 -3
  507. data/lib/fog/compute/requests/slicehost/get_slices.rb +3 -3
  508. data/lib/fog/compute/requests/slicehost/reboot_slice.rb +3 -3
  509. data/lib/fog/compute/requests/storm_on_demand/add_balancer_node.rb +2 -2
  510. data/lib/fog/compute/requests/storm_on_demand/clone_server.rb +2 -2
  511. data/lib/fog/compute/requests/storm_on_demand/create_server.rb +2 -2
  512. data/lib/fog/compute/requests/storm_on_demand/delete_server.rb +2 -2
  513. data/lib/fog/compute/requests/storm_on_demand/get_server.rb +2 -2
  514. data/lib/fog/compute/requests/storm_on_demand/get_stats.rb +2 -2
  515. data/lib/fog/compute/requests/storm_on_demand/list_balancers.rb +2 -2
  516. data/lib/fog/compute/requests/storm_on_demand/list_configs.rb +2 -2
  517. data/lib/fog/compute/requests/storm_on_demand/list_images.rb +2 -2
  518. data/lib/fog/compute/requests/storm_on_demand/list_private_ips.rb +2 -2
  519. data/lib/fog/compute/requests/storm_on_demand/list_servers.rb +2 -2
  520. data/lib/fog/compute/requests/storm_on_demand/list_templates.rb +2 -2
  521. data/lib/fog/compute/requests/storm_on_demand/reboot_server.rb +2 -2
  522. data/lib/fog/compute/requests/storm_on_demand/remove_balancer_node.rb +2 -2
  523. data/lib/fog/compute/requests/storm_on_demand/resize_server.rb +2 -2
  524. data/lib/fog/compute/requests/voxel/devices_list.rb +3 -3
  525. data/lib/fog/compute/requests/voxel/devices_power.rb +3 -3
  526. data/lib/fog/compute/requests/voxel/images_list.rb +4 -4
  527. data/lib/fog/compute/requests/voxel/voxcloud_create.rb +3 -3
  528. data/lib/fog/compute/requests/voxel/voxcloud_delete.rb +3 -3
  529. data/lib/fog/compute/requests/voxel/voxcloud_status.rb +5 -10
  530. data/lib/fog/compute/slicehost.rb +3 -18
  531. data/lib/fog/compute/storm_on_demand.rb +5 -6
  532. data/lib/fog/compute/virtual_box.rb +2 -4
  533. data/lib/fog/compute/voxel.rb +5 -5
  534. data/lib/fog/core/collection.rb +3 -0
  535. data/lib/fog/core/errors.rb +2 -0
  536. data/lib/fog/core/mock.rb +16 -9
  537. data/lib/fog/core/scp.rb +3 -3
  538. data/lib/fog/core/service.rb +3 -0
  539. data/lib/fog/dns.rb +32 -14
  540. data/lib/fog/dns/aws.rb +2 -17
  541. data/lib/fog/dns/bluebox.rb +4 -18
  542. data/lib/fog/dns/dnsimple.rb +2 -17
  543. data/lib/fog/dns/dnsmadeeasy.rb +134 -0
  544. data/lib/fog/dns/linode.rb +4 -19
  545. data/lib/fog/dns/models/aws/record.rb +10 -7
  546. data/lib/fog/dns/models/aws/records.rb +3 -3
  547. data/lib/fog/dns/models/aws/zone.rb +3 -3
  548. data/lib/fog/dns/models/aws/zones.rb +3 -3
  549. data/lib/fog/dns/models/bluebox/record.rb +9 -6
  550. data/lib/fog/dns/models/bluebox/records.rb +3 -3
  551. data/lib/fog/dns/models/bluebox/zone.rb +3 -3
  552. data/lib/fog/dns/models/bluebox/zones.rb +3 -3
  553. data/lib/fog/dns/models/dnsimple/record.rb +9 -6
  554. data/lib/fog/dns/models/dnsimple/records.rb +3 -3
  555. data/lib/fog/dns/models/dnsimple/zone.rb +7 -7
  556. data/lib/fog/dns/models/dnsimple/zones.rb +3 -3
  557. data/lib/fog/dns/models/dnsmadeeasy/record.rb +79 -0
  558. data/lib/fog/dns/models/dnsmadeeasy/records.rb +36 -0
  559. data/lib/fog/dns/models/dnsmadeeasy/zone.rb +42 -0
  560. data/lib/fog/dns/models/dnsmadeeasy/zones.rb +30 -0
  561. data/lib/fog/dns/models/linode/record.rb +7 -4
  562. data/lib/fog/dns/models/linode/records.rb +3 -3
  563. data/lib/fog/dns/models/linode/zone.rb +3 -3
  564. data/lib/fog/dns/models/linode/zones.rb +3 -3
  565. data/lib/fog/dns/models/slicehost/record.rb +8 -5
  566. data/lib/fog/dns/models/slicehost/records.rb +3 -3
  567. data/lib/fog/dns/models/slicehost/zone.rb +3 -3
  568. data/lib/fog/dns/models/slicehost/zones.rb +3 -3
  569. data/lib/fog/dns/models/zerigo/record.rb +8 -5
  570. data/lib/fog/dns/models/zerigo/records.rb +3 -3
  571. data/lib/fog/dns/models/zerigo/zone.rb +3 -3
  572. data/lib/fog/dns/models/zerigo/zones.rb +3 -3
  573. data/lib/fog/dns/parsers/aws/change_resource_record_sets.rb +2 -2
  574. data/lib/fog/dns/parsers/aws/create_hosted_zone.rb +2 -2
  575. data/lib/fog/dns/parsers/aws/delete_hosted_zone.rb +2 -2
  576. data/lib/fog/dns/parsers/aws/get_change.rb +2 -2
  577. data/lib/fog/dns/parsers/aws/get_hosted_zone.rb +2 -2
  578. data/lib/fog/dns/parsers/aws/list_hosted_zones.rb +2 -2
  579. data/lib/fog/dns/parsers/aws/list_resource_record_sets.rb +2 -2
  580. data/lib/fog/dns/parsers/bluebox/create_record.rb +2 -2
  581. data/lib/fog/dns/parsers/bluebox/create_zone.rb +2 -2
  582. data/lib/fog/dns/parsers/bluebox/get_record.rb +2 -2
  583. data/lib/fog/dns/parsers/bluebox/get_records.rb +3 -2
  584. data/lib/fog/dns/parsers/bluebox/get_zone.rb +5 -2
  585. data/lib/fog/dns/parsers/bluebox/get_zones.rb +2 -2
  586. data/lib/fog/dns/parsers/slicehost/create_record.rb +2 -2
  587. data/lib/fog/dns/parsers/slicehost/create_zone.rb +2 -2
  588. data/lib/fog/dns/parsers/slicehost/get_record.rb +2 -2
  589. data/lib/fog/dns/parsers/slicehost/get_records.rb +2 -2
  590. data/lib/fog/dns/parsers/slicehost/get_zone.rb +2 -2
  591. data/lib/fog/dns/parsers/slicehost/get_zones.rb +2 -2
  592. data/lib/fog/dns/parsers/zerigo/count_hosts.rb +2 -2
  593. data/lib/fog/dns/parsers/zerigo/count_zones.rb +2 -2
  594. data/lib/fog/dns/parsers/zerigo/create_host.rb +2 -2
  595. data/lib/fog/dns/parsers/zerigo/create_zone.rb +2 -2
  596. data/lib/fog/dns/parsers/zerigo/find_hosts.rb +2 -2
  597. data/lib/fog/dns/parsers/zerigo/get_host.rb +2 -2
  598. data/lib/fog/dns/parsers/zerigo/get_zone.rb +2 -2
  599. data/lib/fog/dns/parsers/zerigo/get_zone_stats.rb +2 -2
  600. data/lib/fog/dns/parsers/zerigo/list_hosts.rb +2 -2
  601. data/lib/fog/dns/parsers/zerigo/list_zones.rb +2 -2
  602. data/lib/fog/dns/requests/aws/change_resource_record_sets.rb +3 -3
  603. data/lib/fog/dns/requests/aws/create_hosted_zone.rb +3 -3
  604. data/lib/fog/dns/requests/aws/delete_hosted_zone.rb +3 -3
  605. data/lib/fog/dns/requests/aws/get_change.rb +3 -3
  606. data/lib/fog/dns/requests/aws/get_hosted_zone.rb +3 -3
  607. data/lib/fog/dns/requests/aws/list_hosted_zones.rb +3 -3
  608. data/lib/fog/dns/requests/aws/list_resource_record_sets.rb +3 -3
  609. data/lib/fog/dns/requests/bluebox/create_record.rb +3 -3
  610. data/lib/fog/dns/requests/bluebox/create_zone.rb +3 -3
  611. data/lib/fog/dns/requests/bluebox/delete_record.rb +2 -2
  612. data/lib/fog/dns/requests/bluebox/delete_zone.rb +2 -2
  613. data/lib/fog/dns/requests/bluebox/get_record.rb +3 -3
  614. data/lib/fog/dns/requests/bluebox/get_records.rb +3 -3
  615. data/lib/fog/dns/requests/bluebox/get_zone.rb +3 -3
  616. data/lib/fog/dns/requests/bluebox/get_zones.rb +3 -3
  617. data/lib/fog/dns/requests/bluebox/update_zone.rb +2 -2
  618. data/lib/fog/dns/requests/dnsimple/create_domain.rb +2 -2
  619. data/lib/fog/dns/requests/dnsimple/create_record.rb +2 -2
  620. data/lib/fog/dns/requests/dnsimple/delete_domain.rb +2 -2
  621. data/lib/fog/dns/requests/dnsimple/delete_record.rb +2 -2
  622. data/lib/fog/dns/requests/dnsimple/get_domain.rb +2 -2
  623. data/lib/fog/dns/requests/dnsimple/get_record.rb +2 -2
  624. data/lib/fog/dns/requests/dnsimple/list_domains.rb +2 -2
  625. data/lib/fog/dns/requests/dnsimple/list_records.rb +2 -2
  626. data/lib/fog/dns/requests/dnsimple/update_record.rb +2 -2
  627. data/lib/fog/dns/requests/dnsmadeeasy/create_domain.rb +29 -0
  628. data/lib/fog/dns/requests/dnsmadeeasy/create_record.rb +62 -0
  629. data/lib/fog/dns/requests/dnsmadeeasy/create_secondary.rb +36 -0
  630. data/lib/fog/dns/requests/dnsmadeeasy/delete_all_domains.rb +23 -0
  631. data/lib/fog/dns/requests/dnsmadeeasy/delete_all_secondary.rb +22 -0
  632. data/lib/fog/dns/requests/dnsmadeeasy/delete_domain.rb +25 -0
  633. data/lib/fog/dns/requests/dnsmadeeasy/delete_record.rb +26 -0
  634. data/lib/fog/dns/requests/dnsmadeeasy/delete_secondary.rb +25 -0
  635. data/lib/fog/dns/requests/dnsmadeeasy/get_domain.rb +29 -0
  636. data/lib/fog/dns/requests/dnsmadeeasy/get_record.rb +38 -0
  637. data/lib/fog/dns/requests/dnsmadeeasy/get_secondary.rb +29 -0
  638. data/lib/fog/dns/requests/dnsmadeeasy/list_domains.rb +24 -0
  639. data/lib/fog/dns/requests/dnsmadeeasy/list_records.rb +42 -0
  640. data/lib/fog/dns/requests/dnsmadeeasy/list_secondary.rb +24 -0
  641. data/lib/fog/dns/requests/dnsmadeeasy/update_record.rb +56 -0
  642. data/lib/fog/dns/requests/dnsmadeeasy/update_secondary.rb +36 -0
  643. data/lib/fog/dns/requests/linode/domain_create.rb +2 -2
  644. data/lib/fog/dns/requests/linode/domain_delete.rb +2 -2
  645. data/lib/fog/dns/requests/linode/domain_list.rb +2 -2
  646. data/lib/fog/dns/requests/linode/domain_resource_create.rb +2 -2
  647. data/lib/fog/dns/requests/linode/domain_resource_delete.rb +2 -2
  648. data/lib/fog/dns/requests/linode/domain_resource_list.rb +2 -2
  649. data/lib/fog/dns/requests/linode/domain_resource_update.rb +2 -2
  650. data/lib/fog/dns/requests/linode/domain_update.rb +2 -2
  651. data/lib/fog/dns/requests/slicehost/create_record.rb +3 -3
  652. data/lib/fog/dns/requests/slicehost/create_zone.rb +3 -3
  653. data/lib/fog/dns/requests/slicehost/delete_record.rb +2 -2
  654. data/lib/fog/dns/requests/slicehost/delete_zone.rb +2 -2
  655. data/lib/fog/dns/requests/slicehost/get_record.rb +3 -3
  656. data/lib/fog/dns/requests/slicehost/get_records.rb +3 -3
  657. data/lib/fog/dns/requests/slicehost/get_zone.rb +3 -3
  658. data/lib/fog/dns/requests/slicehost/get_zones.rb +3 -3
  659. data/lib/fog/dns/requests/zerigo/count_hosts.rb +3 -3
  660. data/lib/fog/dns/requests/zerigo/count_zones.rb +3 -3
  661. data/lib/fog/dns/requests/zerigo/create_host.rb +3 -3
  662. data/lib/fog/dns/requests/zerigo/create_zone.rb +3 -3
  663. data/lib/fog/dns/requests/zerigo/delete_host.rb +2 -2
  664. data/lib/fog/dns/requests/zerigo/delete_zone.rb +2 -2
  665. data/lib/fog/dns/requests/zerigo/find_hosts.rb +4 -4
  666. data/lib/fog/dns/requests/zerigo/get_host.rb +3 -3
  667. data/lib/fog/dns/requests/zerigo/get_zone.rb +3 -3
  668. data/lib/fog/dns/requests/zerigo/get_zone_stats.rb +3 -3
  669. data/lib/fog/dns/requests/zerigo/list_hosts.rb +3 -3
  670. data/lib/fog/dns/requests/zerigo/list_zones.rb +3 -3
  671. data/lib/fog/dns/requests/zerigo/update_host.rb +2 -2
  672. data/lib/fog/dns/requests/zerigo/update_zone.rb +2 -2
  673. data/lib/fog/dns/slicehost.rb +3 -18
  674. data/lib/fog/dns/zerigo.rb +3 -18
  675. data/lib/fog/providers.rb +2 -0
  676. data/lib/fog/providers/aws.rb +7 -2
  677. data/lib/fog/providers/dnsmadeeasy.rb +11 -0
  678. data/lib/fog/providers/ninefold.rb +11 -0
  679. data/lib/fog/providers/rackspace.rb +3 -1
  680. data/lib/fog/storage.rb +25 -10
  681. data/lib/fog/storage/aws.rb +38 -23
  682. data/lib/fog/storage/google.rb +2 -17
  683. data/lib/fog/storage/local.rb +2 -17
  684. data/lib/fog/storage/models/aws/directories.rb +3 -3
  685. data/lib/fog/storage/models/aws/directory.rb +3 -3
  686. data/lib/fog/storage/models/aws/file.rb +2 -2
  687. data/lib/fog/storage/models/aws/files.rb +12 -5
  688. data/lib/fog/storage/models/google/directories.rb +3 -3
  689. data/lib/fog/storage/models/google/directory.rb +3 -3
  690. data/lib/fog/storage/models/google/file.rb +2 -2
  691. data/lib/fog/storage/models/google/files.rb +3 -3
  692. data/lib/fog/storage/models/local/directories.rb +3 -3
  693. data/lib/fog/storage/models/local/directory.rb +3 -3
  694. data/lib/fog/storage/models/local/file.rb +2 -2
  695. data/lib/fog/storage/models/local/files.rb +3 -3
  696. data/lib/fog/storage/models/rackspace/directories.rb +9 -5
  697. data/lib/fog/storage/models/rackspace/directory.rb +5 -4
  698. data/lib/fog/storage/models/rackspace/file.rb +4 -6
  699. data/lib/fog/storage/models/rackspace/files.rb +9 -7
  700. data/lib/fog/storage/parsers/aws/access_control_list.rb +2 -2
  701. data/lib/fog/storage/parsers/aws/complete_multipart_upload.rb +2 -2
  702. data/lib/fog/storage/parsers/aws/copy_object.rb +2 -2
  703. data/lib/fog/storage/parsers/aws/get_bucket.rb +2 -2
  704. data/lib/fog/storage/parsers/aws/get_bucket_location.rb +2 -2
  705. data/lib/fog/storage/parsers/aws/get_bucket_logging.rb +2 -2
  706. data/lib/fog/storage/parsers/aws/get_bucket_object_versions.rb +2 -2
  707. data/lib/fog/storage/parsers/aws/get_bucket_versioning.rb +2 -2
  708. data/lib/fog/storage/parsers/aws/get_bucket_website.rb +2 -2
  709. data/lib/fog/storage/parsers/aws/get_request_payment.rb +2 -2
  710. data/lib/fog/storage/parsers/aws/get_service.rb +2 -2
  711. data/lib/fog/storage/parsers/aws/initiate_multipart_upload.rb +2 -2
  712. data/lib/fog/storage/parsers/aws/list_multipart_uploads.rb +2 -2
  713. data/lib/fog/storage/parsers/aws/list_parts.rb +2 -2
  714. data/lib/fog/storage/parsers/google/access_control_list.rb +2 -2
  715. data/lib/fog/storage/parsers/google/copy_object.rb +2 -2
  716. data/lib/fog/storage/parsers/google/get_bucket.rb +2 -2
  717. data/lib/fog/storage/parsers/google/get_bucket_logging.rb +2 -2
  718. data/lib/fog/storage/parsers/google/get_bucket_object_versions.rb +2 -2
  719. data/lib/fog/storage/parsers/google/get_bucket_versioning.rb +2 -2
  720. data/lib/fog/storage/parsers/google/get_request_payment.rb +2 -2
  721. data/lib/fog/storage/parsers/google/get_service.rb +2 -2
  722. data/lib/fog/storage/rackspace.rb +4 -19
  723. data/lib/fog/storage/requests/aws/abort_multipart_upload.rb +2 -2
  724. data/lib/fog/storage/requests/aws/complete_multipart_upload.rb +3 -3
  725. data/lib/fog/storage/requests/aws/copy_object.rb +3 -3
  726. data/lib/fog/storage/requests/aws/delete_bucket.rb +2 -2
  727. data/lib/fog/storage/requests/aws/delete_bucket_policy.rb +32 -0
  728. data/lib/fog/storage/requests/aws/delete_bucket_website.rb +2 -2
  729. data/lib/fog/storage/requests/aws/delete_object.rb +6 -5
  730. data/lib/fog/storage/requests/aws/get_bucket.rb +3 -3
  731. data/lib/fog/storage/requests/aws/get_bucket_acl.rb +3 -3
  732. data/lib/fog/storage/requests/aws/get_bucket_location.rb +3 -3
  733. data/lib/fog/storage/requests/aws/get_bucket_logging.rb +3 -3
  734. data/lib/fog/storage/requests/aws/get_bucket_object_versions.rb +3 -3
  735. data/lib/fog/storage/requests/aws/get_bucket_policy.rb +37 -0
  736. data/lib/fog/storage/requests/aws/get_bucket_versioning.rb +3 -3
  737. data/lib/fog/storage/requests/aws/get_bucket_website.rb +3 -3
  738. data/lib/fog/storage/requests/aws/get_object.rb +34 -27
  739. data/lib/fog/storage/requests/aws/get_object_acl.rb +3 -3
  740. data/lib/fog/storage/requests/aws/get_object_torrent.rb +2 -2
  741. data/lib/fog/storage/requests/aws/get_object_url.rb +2 -2
  742. data/lib/fog/storage/requests/aws/get_request_payment.rb +3 -3
  743. data/lib/fog/storage/requests/aws/get_service.rb +3 -3
  744. data/lib/fog/storage/requests/aws/head_object.rb +2 -2
  745. data/lib/fog/storage/requests/aws/initiate_multipart_upload.rb +3 -3
  746. data/lib/fog/storage/requests/aws/list_multipart_uploads.rb +3 -3
  747. data/lib/fog/storage/requests/aws/list_parts.rb +3 -3
  748. data/lib/fog/storage/requests/aws/post_object_hidden_fields.rb +2 -2
  749. data/lib/fog/storage/requests/aws/put_bucket.rb +2 -2
  750. data/lib/fog/storage/requests/aws/put_bucket_acl.rb +2 -2
  751. data/lib/fog/storage/requests/aws/put_bucket_logging.rb +2 -2
  752. data/lib/fog/storage/requests/aws/put_bucket_policy.rb +30 -0
  753. data/lib/fog/storage/requests/aws/put_bucket_versioning.rb +2 -2
  754. data/lib/fog/storage/requests/aws/put_bucket_website.rb +2 -2
  755. data/lib/fog/storage/requests/aws/put_object.rb +2 -2
  756. data/lib/fog/storage/requests/aws/put_object_acl.rb +2 -2
  757. data/lib/fog/storage/requests/aws/put_object_url.rb +2 -2
  758. data/lib/fog/storage/requests/aws/put_request_payment.rb +2 -2
  759. data/lib/fog/storage/requests/aws/sync_clock.rb +2 -2
  760. data/lib/fog/storage/requests/aws/upload_part.rb +2 -2
  761. data/lib/fog/storage/requests/google/copy_object.rb +3 -3
  762. data/lib/fog/storage/requests/google/delete_bucket.rb +2 -2
  763. data/lib/fog/storage/requests/google/delete_object.rb +2 -2
  764. data/lib/fog/storage/requests/google/get_bucket.rb +3 -3
  765. data/lib/fog/storage/requests/google/get_bucket_acl.rb +1 -1
  766. data/lib/fog/storage/requests/google/get_object.rb +2 -2
  767. data/lib/fog/storage/requests/google/get_object_acl.rb +3 -3
  768. data/lib/fog/storage/requests/google/get_object_torrent.rb +2 -2
  769. data/lib/fog/storage/requests/google/get_object_url.rb +2 -2
  770. data/lib/fog/storage/requests/google/get_service.rb +3 -3
  771. data/lib/fog/storage/requests/google/head_object.rb +2 -2
  772. data/lib/fog/storage/requests/google/put_bucket.rb +2 -2
  773. data/lib/fog/storage/requests/google/put_bucket_acl.rb +2 -2
  774. data/lib/fog/storage/requests/google/put_object.rb +2 -2
  775. data/lib/fog/storage/requests/google/put_object_url.rb +2 -2
  776. data/lib/fog/storage/requests/rackspace/delete_container.rb +3 -4
  777. data/lib/fog/storage/requests/rackspace/delete_object.rb +3 -4
  778. data/lib/fog/storage/requests/rackspace/get_container.rb +3 -4
  779. data/lib/fog/storage/requests/rackspace/get_containers.rb +3 -4
  780. data/lib/fog/storage/requests/rackspace/get_object.rb +3 -4
  781. data/lib/fog/storage/requests/rackspace/head_container.rb +3 -4
  782. data/lib/fog/storage/requests/rackspace/head_containers.rb +3 -4
  783. data/lib/fog/storage/requests/rackspace/head_object.rb +3 -4
  784. data/lib/fog/storage/requests/rackspace/put_container.rb +3 -4
  785. data/lib/fog/storage/requests/rackspace/put_object.rb +3 -4
  786. data/spec/ecloud/bin_spec.rb +1 -1
  787. data/spec/ecloud/models/backup_internet_service_spec.rb +4 -4
  788. data/spec/ecloud/models/backup_internet_services_spec.rb +3 -3
  789. data/spec/ecloud/models/internet_service_spec.rb +4 -4
  790. data/spec/ecloud/models/internet_services_spec.rb +3 -3
  791. data/spec/ecloud/models/ip_spec.rb +4 -4
  792. data/spec/ecloud/models/ips_spec.rb +3 -3
  793. data/spec/ecloud/models/network_spec.rb +4 -4
  794. data/spec/ecloud/models/networks_spec.rb +3 -3
  795. data/spec/ecloud/models/node_spec.rb +4 -4
  796. data/spec/ecloud/models/nodes_spec.rb +3 -3
  797. data/spec/ecloud/models/public_ip_spec.rb +4 -4
  798. data/spec/ecloud/models/public_ips_spec.rb +3 -3
  799. data/spec/ecloud/models/server_spec.rb +3 -3
  800. data/spec/ecloud/models/vdc_spec.rb +4 -4
  801. data/spec/ecloud/models/vdcs_spec.rb +3 -3
  802. data/spec/ecloud/spec_helper.rb +10 -10
  803. data/spec/ecloud/vcloud_spec.rb +1 -1
  804. data/tests/aws/models/rds/helper.rb +5 -0
  805. data/tests/aws/models/rds/parameter_group_tests.rb +24 -0
  806. data/tests/aws/models/rds/parameter_groups_tests.rb +8 -0
  807. data/tests/aws/models/rds/security_group_tests.rb +50 -0
  808. data/tests/aws/models/rds/security_groups_tests.rb +6 -0
  809. data/tests/aws/models/rds/server_tests.rb +104 -0
  810. data/tests/aws/models/rds/servers_tests.rb +8 -0
  811. data/tests/aws/models/rds/snapshot_tests.rb +15 -0
  812. data/tests/aws/models/rds/snapshots_tests.rb +15 -0
  813. data/tests/aws/requests/cloud_formation/stack_tests.rb +1 -1
  814. data/tests/aws/requests/elb/helper.rb +8 -5
  815. data/tests/aws/requests/elb/model_tests.rb +2 -2
  816. data/tests/aws/requests/simpledb/attributes_tests.rb +16 -0
  817. data/tests/compute/helper.rb +9 -6
  818. data/tests/compute/models/aws/address_tests.rb +3 -3
  819. data/tests/compute/models/aws/addresses_tests.rb +2 -2
  820. data/tests/compute/models/aws/key_pair_tests.rb +5 -5
  821. data/tests/compute/models/aws/key_pairs_tests.rb +2 -2
  822. data/tests/compute/models/aws/security_group_tests.rb +3 -3
  823. data/tests/compute/models/aws/security_groups.rb +2 -2
  824. data/tests/compute/models/aws/server_tests.rb +2 -2
  825. data/tests/compute/models/aws/snapshot_tests.rb +3 -3
  826. data/tests/compute/models/aws/snapshots_tests.rb +4 -4
  827. data/tests/compute/models/aws/volume_tests.rb +3 -3
  828. data/tests/compute/models/aws/volumes_tests.rb +2 -2
  829. data/tests/compute/models/flavors_tests.rb +3 -3
  830. data/tests/compute/models/server_tests.rb +2 -2
  831. data/tests/compute/models/servers_tests.rb +2 -2
  832. data/tests/compute/parsers/aws/monitor_unmonitor_instances_tests.rb +2 -2
  833. data/tests/compute/requests/aws/address_tests.rb +22 -22
  834. data/tests/compute/requests/aws/availability_zone_tests.rb +3 -3
  835. data/tests/compute/requests/aws/image_tests.rb +3 -3
  836. data/tests/compute/requests/aws/instance_tests.rb +22 -22
  837. data/tests/compute/requests/aws/key_pair_tests.rb +11 -11
  838. data/tests/compute/requests/aws/region_tests.rb +3 -3
  839. data/tests/compute/requests/aws/security_group_tests.rb +23 -23
  840. data/tests/compute/requests/aws/snapshot_tests.rb +11 -11
  841. data/tests/compute/requests/aws/tag_tests.rb +7 -7
  842. data/tests/compute/requests/aws/volume_tests.rb +37 -21
  843. data/tests/compute/requests/bluebox/block_tests.rb +15 -15
  844. data/tests/compute/requests/bluebox/helper.rb +1 -1
  845. data/tests/compute/requests/bluebox/product_tests.rb +5 -5
  846. data/tests/compute/requests/bluebox/template_tests.rb +6 -6
  847. data/tests/compute/requests/brightbox/account_tests.rb +7 -7
  848. data/tests/compute/requests/brightbox/api_client_tests.rb +8 -8
  849. data/tests/compute/requests/brightbox/cloud_ip_tests.rb +11 -11
  850. data/tests/compute/requests/brightbox/helper.rb +17 -8
  851. data/tests/compute/requests/brightbox/image_tests.rb +9 -9
  852. data/tests/compute/requests/brightbox/interface_tests.rb +1 -1
  853. data/tests/compute/requests/brightbox/load_balancer_tests.rb +10 -10
  854. data/tests/compute/requests/brightbox/server_tests.rb +13 -13
  855. data/tests/compute/requests/brightbox/server_type_tests.rb +5 -5
  856. data/tests/compute/requests/brightbox/user_tests.rb +6 -6
  857. data/tests/compute/requests/brightbox/zone_tests.rb +5 -5
  858. data/tests/compute/requests/linode/datacenter_tests.rb +2 -2
  859. data/tests/compute/requests/linode/distribution_tests.rb +3 -3
  860. data/tests/compute/requests/linode/kernel_tests.rb +3 -3
  861. data/tests/compute/requests/linode/linode_tests.rb +18 -18
  862. data/tests/compute/requests/linode/linodeplans_tests.rb +3 -3
  863. data/tests/compute/requests/linode/stackscripts_tests.rb +4 -3
  864. data/tests/compute/requests/ninefold/address_tests.rb +42 -0
  865. data/tests/compute/requests/ninefold/async_job_tests.rb +33 -0
  866. data/tests/compute/requests/ninefold/helper.rb +320 -0
  867. data/tests/compute/requests/ninefold/list_tests.rb +56 -0
  868. data/tests/compute/requests/ninefold/nat_tests.rb +92 -0
  869. data/tests/compute/requests/ninefold/network_tests.rb +21 -0
  870. data/tests/compute/requests/ninefold/template_tests.rb +21 -0
  871. data/tests/compute/requests/ninefold/virtual_machine_tests.rb +69 -0
  872. data/tests/compute/requests/rackspace/address_tests.rb +11 -11
  873. data/tests/compute/requests/rackspace/flavor_tests.rb +6 -6
  874. data/tests/compute/requests/rackspace/image_tests.rb +12 -12
  875. data/tests/compute/requests/rackspace/resize_tests.rb +7 -7
  876. data/tests/compute/requests/rackspace/server_tests.rb +22 -22
  877. data/tests/compute/requests/slicehost/backup_tests.rb +2 -2
  878. data/tests/compute/requests/slicehost/flavor_tests.rb +4 -4
  879. data/tests/compute/requests/slicehost/image_tests.rb +4 -4
  880. data/tests/compute/requests/slicehost/slice_tests.rb +12 -12
  881. data/tests/compute/requests/storm_on_demand/server_tests.rb +7 -7
  882. data/tests/compute/requests/voxel/image_tests.rb +5 -5
  883. data/tests/compute/requests/voxel/server_tests.rb +12 -12
  884. data/tests/dns/helper.rb +11 -8
  885. data/tests/dns/models/record_tests.rb +8 -5
  886. data/tests/dns/models/records_tests.rb +8 -5
  887. data/tests/dns/models/zone_tests.rb +5 -2
  888. data/tests/dns/models/zones_tests.rb +5 -2
  889. data/tests/dns/requests/aws/dns_tests.rb +15 -15
  890. data/tests/dns/requests/bluebox/dns_tests.rb +16 -16
  891. data/tests/dns/requests/dnsimple/dns_tests.rb +10 -10
  892. data/tests/dns/requests/dnsmadeeasy/dns_tests.rb +150 -0
  893. data/tests/dns/requests/linode/dns_tests.rb +16 -16
  894. data/tests/dns/requests/slicehost/dns_tests.rb +16 -16
  895. data/tests/dns/requests/zerigo/dns_tests.rb +31 -32
  896. data/tests/helper.rb +1 -1
  897. data/tests/helpers/collection_helper.rb +1 -1
  898. data/tests/helpers/mock_helper.rb +4 -0
  899. data/tests/helpers/model_helper.rb +12 -0
  900. data/tests/storage/helper.rb +4 -4
  901. data/tests/storage/models/directories_tests.rb +2 -2
  902. data/tests/storage/models/directory_test.rb +2 -2
  903. data/tests/storage/models/file_tests.rb +2 -2
  904. data/tests/storage/models/files_tests.rb +2 -2
  905. data/tests/storage/requests/aws/bucket_tests.rb +18 -18
  906. data/tests/storage/requests/aws/multipart_upload_tests.rb +11 -11
  907. data/tests/storage/requests/aws/object_tests.rb +16 -16
  908. data/tests/storage/requests/google/bucket_tests.rb +10 -10
  909. data/tests/storage/requests/google/object_tests.rb +17 -17
  910. data/tests/storage/requests/rackspace/container_tests.rb +13 -13
  911. data/tests/storage/requests/rackspace/object_tests.rb +19 -19
  912. metadata +184 -64
  913. data/tests/aws/requests/rds/model_tests.rb +0 -98
@@ -1,4 +1,4 @@
1
- Shindo.tests('Brightbox::Compute | image requests', ['brightbox']) do
1
+ Shindo.tests('Fog::Compute[:brightbox] | image requests', ['brightbox']) do
2
2
 
3
3
  tests('success') do
4
4
 
@@ -8,34 +8,34 @@ Shindo.tests('Brightbox::Compute | image requests', ['brightbox']) do
8
8
  # "source" => "fnord"
9
9
  # }
10
10
  # tests("#create_image(#{creation_options.inspect})").formats(Brightbox::Compute::Formats::Full::IMAGE) do
11
- # data = Brightbox[:compute].create_image(creation_options)
11
+ # data = Fog::Compute[:brightbox].create_image(creation_options)
12
12
  # @image_id = data["id"]
13
13
  # data
14
14
  # end
15
15
 
16
- # Brightbox[:compute].images.get(@image_id).wait_for { ready? }
16
+ # Fog::Compute[:brightbox].images.get(@image_id).wait_for { ready? }
17
17
 
18
18
  tests("#list_images").formats(Brightbox::Compute::Formats::Collection::IMAGES) do
19
19
  pending if Fog.mocking?
20
- data = Brightbox[:compute].list_images
20
+ data = Fog::Compute[:brightbox].list_images
21
21
  @image_id = data.first["id"]
22
22
  data
23
23
  end
24
24
 
25
25
  tests("#get_image('#{@image_id}')").formats(Brightbox::Compute::Formats::Full::IMAGE) do
26
26
  pending if Fog.mocking?
27
- Brightbox[:compute].get_image(@image_id)
27
+ Fog::Compute[:brightbox].get_image(@image_id)
28
28
  end
29
29
 
30
30
  ## Until Image creation can be automated, we shouldn't be updating Images randomly
31
31
  # update_options = {}
32
32
  # tests("#update_image('#{@image_id}', #{update_options.inspect})").formats(Brightbox::Compute::Formats::Full::IMAGE) do
33
- # Brightbox[:compute].update_image(@image_id, :name => "New name from Fog test")
33
+ # Fog::Compute[:brightbox].update_image(@image_id, :name => "New name from Fog test")
34
34
  # end
35
35
 
36
36
  ## Same as other tests - can't be deleting them unless part of the test run
37
37
  # tests("#destroy_server('#{@image_id}')").formats(Brightbox::Compute::Formats::Full::IMAGE) do
38
- # Brightbox[:compute].destroy_image(@image_id)
38
+ # Fog::Compute[:brightbox].destroy_image(@image_id)
39
39
  # end
40
40
 
41
41
  end
@@ -44,12 +44,12 @@ Shindo.tests('Brightbox::Compute | image requests', ['brightbox']) do
44
44
 
45
45
  tests("#get_image('img-00000')").raises(Excon::Errors::NotFound) do
46
46
  pending if Fog.mocking?
47
- Brightbox[:compute].get_image('img-00000')
47
+ Fog::Compute[:brightbox].get_image('img-00000')
48
48
  end
49
49
 
50
50
  tests("#get_image").raises(ArgumentError) do
51
51
  pending if Fog.mocking?
52
- Brightbox[:compute].get_image
52
+ Fog::Compute[:brightbox].get_image
53
53
  end
54
54
 
55
55
  end
@@ -1,4 +1,4 @@
1
- Shindo.tests('Brightbox::Compute | interface requests', ['brightbox']) do
1
+ Shindo.tests('Fog::Compute[:brightbox] | interface requests', ['brightbox']) do
2
2
 
3
3
  tests('success') do
4
4
 
@@ -1,9 +1,9 @@
1
- Shindo.tests('Brightbox::Compute | load balancer requests', ['brightbox']) do
1
+ Shindo.tests('Fog::Compute[:brightbox] | load balancer requests', ['brightbox']) do
2
2
 
3
3
  tests('success') do
4
4
 
5
5
  unless Fog.mocking?
6
- @node = Brightbox[:compute].servers.create(:image_id => Brightbox::Compute::TestSupport::IMAGE_IDENTIFER)
6
+ @node = Fog::Compute[:brightbox].servers.create(:image_id => Brightbox::Compute::TestSupport::IMAGE_IDENTIFER)
7
7
  node_id = @node.id
8
8
  end
9
9
 
@@ -24,27 +24,27 @@ Shindo.tests('Brightbox::Compute | load balancer requests', ['brightbox']) do
24
24
 
25
25
  tests("#create_load_balancer(#{creation_args.inspect})").formats(Brightbox::Compute::Formats::Full::LOAD_BALANCER) do
26
26
  pending if Fog.mocking?
27
- data = Brightbox[:compute].create_load_balancer(creation_args)
27
+ data = Fog::Compute[:brightbox].create_load_balancer(creation_args)
28
28
  @load_balancer_id = data["id"]
29
29
  data
30
30
  end
31
31
 
32
32
  unless Fog.mocking?
33
- Brightbox[:compute].load_balancers.get(@load_balancer_id).wait_for { ready? }
33
+ Fog::Compute[:brightbox].load_balancers.get(@load_balancer_id).wait_for { ready? }
34
34
  end
35
35
 
36
36
  # tests("#list_load_balancers()").formats(Brightbox::Compute::Formats::Collection::LOAD_BALANCERS) do
37
- # Brightbox[:compute].list_load_balancers
37
+ # Fog::Compute[:brightbox].list_load_balancers
38
38
  # end
39
39
 
40
40
  tests("#get_load_balancer('#{@load_balancer_id}')").formats(Brightbox::Compute::Formats::Full::LOAD_BALANCER) do
41
41
  pending if Fog.mocking?
42
- Brightbox[:compute].get_load_balancer(@load_balancer_id)
42
+ Fog::Compute[:brightbox].get_load_balancer(@load_balancer_id)
43
43
  end
44
44
 
45
45
  tests("#destroy_load_balancer('#{@load_balancer_id}')").formats(Brightbox::Compute::Formats::Full::LOAD_BALANCER) do
46
46
  pending if Fog.mocking?
47
- Brightbox[:compute].destroy_load_balancer(@load_balancer_id)
47
+ Fog::Compute[:brightbox].destroy_load_balancer(@load_balancer_id)
48
48
  end
49
49
 
50
50
  unless Fog.mocking?
@@ -57,17 +57,17 @@ Shindo.tests('Brightbox::Compute | load balancer requests', ['brightbox']) do
57
57
 
58
58
  tests("#create_load_balancer").raises(Excon::Errors::BadRequest) do
59
59
  pending if Fog.mocking?
60
- Brightbox[:compute].create_load_balancer
60
+ Fog::Compute[:brightbox].create_load_balancer
61
61
  end
62
62
 
63
63
  tests("#get_load_balancer('lba-00000')").raises(Excon::Errors::NotFound) do
64
64
  pending if Fog.mocking?
65
- Brightbox[:compute].get_load_balancer('lba-00000')
65
+ Fog::Compute[:brightbox].get_load_balancer('lba-00000')
66
66
  end
67
67
 
68
68
  tests("#get_load_balancer").raises(ArgumentError) do
69
69
  pending if Fog.mocking?
70
- Brightbox[:compute].get_load_balancer
70
+ Fog::Compute[:brightbox].get_load_balancer
71
71
  end
72
72
  end
73
73
 
@@ -1,4 +1,4 @@
1
- Shindo.tests('Brightbox::Compute | server requests', ['brightbox']) do
1
+ Shindo.tests('Fog::Compute[:brightbox] | server requests', ['brightbox']) do
2
2
 
3
3
  tests('success') do
4
4
 
@@ -7,53 +7,53 @@ Shindo.tests('Brightbox::Compute | server requests', ['brightbox']) do
7
7
 
8
8
  tests("#create_server(:image => '#{image_id}')").formats(Brightbox::Compute::Formats::Full::SERVER) do
9
9
  pending if Fog.mocking?
10
- data = Brightbox[:compute].create_server(:image => image_id)
10
+ data = Fog::Compute[:brightbox].create_server(:image => image_id)
11
11
  server_id = data["id"]
12
12
  data
13
13
  end
14
14
 
15
15
  unless Fog.mocking?
16
- Brightbox[:compute].servers.get(server_id).wait_for { ready? }
16
+ Fog::Compute[:brightbox].servers.get(server_id).wait_for { ready? }
17
17
  end
18
18
 
19
19
  tests("#list_servers").formats(Brightbox::Compute::Formats::Collection::SERVERS) do
20
20
  pending if Fog.mocking?
21
- Brightbox[:compute].list_servers
21
+ Fog::Compute[:brightbox].list_servers
22
22
  end
23
23
 
24
24
  tests("#get_server('#{server_id}')").formats(Brightbox::Compute::Formats::Full::SERVER) do
25
25
  pending if Fog.mocking?
26
- Brightbox[:compute].get_server(server_id)
26
+ Fog::Compute[:brightbox].get_server(server_id)
27
27
  end
28
28
 
29
29
  tests("#update_server('#{server_id}')").formats(Brightbox::Compute::Formats::Full::SERVER) do
30
30
  pending if Fog.mocking?
31
- Brightbox[:compute].update_server(server_id, :name => "New name from Fog test")
31
+ Fog::Compute[:brightbox].update_server(server_id, :name => "New name from Fog test")
32
32
  end
33
33
 
34
34
  tests("#activate_console_server('#{server_id}')").formats(Brightbox::Compute::Formats::Full::SERVER) do
35
35
  pending if Fog.mocking?
36
- Brightbox[:compute].activate_console_server(server_id)
36
+ Fog::Compute[:brightbox].activate_console_server(server_id)
37
37
  end
38
38
 
39
39
  tests("#stop_server('#{server_id}')").formats(Brightbox::Compute::Formats::Full::SERVER) do
40
40
  pending if Fog.mocking?
41
- Brightbox[:compute].stop_server(server_id)
41
+ Fog::Compute[:brightbox].stop_server(server_id)
42
42
  end
43
43
 
44
44
  tests("#start_server('#{server_id}')").formats(Brightbox::Compute::Formats::Full::SERVER) do
45
45
  pending if Fog.mocking?
46
- Brightbox[:compute].start_server(server_id)
46
+ Fog::Compute[:brightbox].start_server(server_id)
47
47
  end
48
48
 
49
49
  tests("#shutdown_server('#{server_id}')").formats(Brightbox::Compute::Formats::Full::SERVER) do
50
50
  pending if Fog.mocking?
51
- Brightbox[:compute].shutdown_server(server_id)
51
+ Fog::Compute[:brightbox].shutdown_server(server_id)
52
52
  end
53
53
 
54
54
  tests("#destroy_server('#{server_id}')").formats(Brightbox::Compute::Formats::Full::SERVER) do
55
55
  pending if Fog.mocking?
56
- Brightbox[:compute].destroy_server(server_id)
56
+ Fog::Compute[:brightbox].destroy_server(server_id)
57
57
  end
58
58
 
59
59
  end
@@ -62,12 +62,12 @@ Shindo.tests('Brightbox::Compute | server requests', ['brightbox']) do
62
62
 
63
63
  tests("#get_server('srv-00000')").raises(Excon::Errors::NotFound) do
64
64
  pending if Fog.mocking?
65
- Brightbox[:compute].get_server('srv-00000')
65
+ Fog::Compute[:brightbox].get_server('srv-00000')
66
66
  end
67
67
 
68
68
  tests("#get_server").raises(ArgumentError) do
69
69
  pending if Fog.mocking?
70
- Brightbox[:compute].get_server
70
+ Fog::Compute[:brightbox].get_server
71
71
  end
72
72
 
73
73
  end
@@ -1,17 +1,17 @@
1
- Shindo.tests('Brightbox::Compute | server type requests', ['brightbox']) do
1
+ Shindo.tests('Fog::Compute[:brightbox] | server type requests', ['brightbox']) do
2
2
 
3
3
  tests('success') do
4
4
 
5
5
  tests("#list_server_types").formats(Brightbox::Compute::Formats::Collection::SERVER_TYPES) do
6
6
  pending if Fog.mocking?
7
- data = Brightbox[:compute].list_server_types
7
+ data = Fog::Compute[:brightbox].list_server_types
8
8
  @server_type_id = data.first["id"]
9
9
  data
10
10
  end
11
11
 
12
12
  tests("#get_server_type('#{@server_type_id}')").formats(Brightbox::Compute::Formats::Full::SERVER_TYPE) do
13
13
  pending if Fog.mocking?
14
- Brightbox[:compute].get_server_type(@server_type_id)
14
+ Fog::Compute[:brightbox].get_server_type(@server_type_id)
15
15
  end
16
16
 
17
17
  end
@@ -20,12 +20,12 @@ Shindo.tests('Brightbox::Compute | server type requests', ['brightbox']) do
20
20
 
21
21
  tests("#get_server_type('typ-00000')").raises(Excon::Errors::NotFound) do
22
22
  pending if Fog.mocking?
23
- Brightbox[:compute].get_server_type('typ-00000')
23
+ Fog::Compute[:brightbox].get_server_type('typ-00000')
24
24
  end
25
25
 
26
26
  tests("#get_server").raises(ArgumentError) do
27
27
  pending if Fog.mocking?
28
- Brightbox[:compute].get_server_type
28
+ Fog::Compute[:brightbox].get_server_type
29
29
  end
30
30
 
31
31
  end
@@ -1,17 +1,17 @@
1
- Shindo.tests('Brightbox::Compute | user requests', ['brightbox']) do
1
+ Shindo.tests('Fog::Compute[:brightbox] | user requests', ['brightbox']) do
2
2
 
3
3
  tests('success') do
4
4
 
5
5
  tests("#list_users").formats(Brightbox::Compute::Formats::Collection::USERS) do
6
6
  pending if Fog.mocking?
7
- data = Brightbox[:compute].list_users
7
+ data = Fog::Compute[:brightbox].list_users
8
8
  @user_id = data.first["id"]
9
9
  data
10
10
  end
11
11
 
12
12
  tests("#get_user('#{@user_id}')").formats(Brightbox::Compute::Formats::Full::USER) do
13
13
  pending if Fog.mocking?
14
- data = Brightbox[:compute].get_user(@user_id)
14
+ data = Fog::Compute[:brightbox].get_user(@user_id)
15
15
  @original_name = data["name"]
16
16
  data
17
17
  end
@@ -20,11 +20,11 @@ Shindo.tests('Brightbox::Compute | user requests', ['brightbox']) do
20
20
 
21
21
  tests("#update_user('#{@user_id}', #{update_options.inspect})").formats(Brightbox::Compute::Formats::Full::USER) do
22
22
  pending if Fog.mocking?
23
- Brightbox[:compute].update_user(@user_id, update_options)
23
+ Fog::Compute[:brightbox].update_user(@user_id, update_options)
24
24
  end
25
25
 
26
26
  unless Fog.mocking?
27
- Brightbox[:compute].update_user(@user_id, :name => @original_name)
27
+ Fog::Compute[:brightbox].update_user(@user_id, :name => @original_name)
28
28
  end
29
29
 
30
30
  end
@@ -33,7 +33,7 @@ Shindo.tests('Brightbox::Compute | user requests', ['brightbox']) do
33
33
 
34
34
  tests("#update_user").raises(ArgumentError) do
35
35
  pending if Fog.mocking?
36
- Brightbox[:compute].update_user
36
+ Fog::Compute[:brightbox].update_user
37
37
  end
38
38
 
39
39
  end
@@ -1,17 +1,17 @@
1
- Shindo.tests('Brightbox::Compute | zone requests', ['brightbox']) do
1
+ Shindo.tests('Fog::Compute[:brightbox] | zone requests', ['brightbox']) do
2
2
 
3
3
  tests('success') do
4
4
 
5
5
  tests("#list_zones").formats(Brightbox::Compute::Formats::Collection::ZONES) do
6
6
  pending if Fog.mocking?
7
- data = Brightbox[:compute].list_zones
7
+ data = Fog::Compute[:brightbox].list_zones
8
8
  @zone_id = data.first["id"]
9
9
  data
10
10
  end
11
11
 
12
12
  tests("#get_zone('#{@zone_id}')").formats(Brightbox::Compute::Formats::Full::ZONE) do
13
13
  pending if Fog.mocking?
14
- Brightbox[:compute].get_zone(@zone_id)
14
+ Fog::Compute[:brightbox].get_zone(@zone_id)
15
15
  end
16
16
 
17
17
  end
@@ -20,12 +20,12 @@ Shindo.tests('Brightbox::Compute | zone requests', ['brightbox']) do
20
20
 
21
21
  tests("#get_zone('zon-00000')").raises(Excon::Errors::NotFound) do
22
22
  pending if Fog.mocking?
23
- Brightbox[:compute].get_zone('zon-00000')
23
+ Fog::Compute[:brightbox].get_zone('zon-00000')
24
24
  end
25
25
 
26
26
  tests("#get_zone").raises(ArgumentError) do
27
27
  pending if Fog.mocking?
28
- Brightbox[:compute].get_zone
28
+ Fog::Compute[:brightbox].get_zone
29
29
  end
30
30
 
31
31
  end
@@ -1,4 +1,4 @@
1
- Shindo.tests('Linode::Compute | datacenter requests', ['linode']) do
1
+ Shindo.tests('Fog::Compute[:linode] | datacenter requests', ['linode']) do
2
2
 
3
3
  @datacenters_format = Linode::Compute::Formats::BASIC.merge({
4
4
  'DATA' => [{
@@ -11,7 +11,7 @@ Shindo.tests('Linode::Compute | datacenter requests', ['linode']) do
11
11
 
12
12
  tests('#avail_datacenters').formats(@datacenters_format) do
13
13
  pending if Fog.mocking?
14
- Linode[:compute].avail_datacenters.body
14
+ Fog::Compute[:linode].avail_datacenters.body
15
15
  end
16
16
 
17
17
  end
@@ -1,4 +1,4 @@
1
- Shindo.tests('Linode::Compute | distribution requests', ['linode']) do
1
+ Shindo.tests('Fog::Compute[:linode] | distribution requests', ['linode']) do
2
2
 
3
3
  @distributions_format = Linode::Compute::Formats::BASIC.merge({
4
4
  'DATA' => [{
@@ -17,14 +17,14 @@ Shindo.tests('Linode::Compute | distribution requests', ['linode']) do
17
17
 
18
18
  tests('#avail_distributions').formats(@distributions_format) do
19
19
  pending if Fog.mocking?
20
- data = Linode[:compute].avail_distributions.body
20
+ data = Fog::Compute[:linode].avail_distributions.body
21
21
  @distribution_id = data['DATA'].first['DISTRIBUTIONID']
22
22
  data
23
23
  end
24
24
 
25
25
  tests("@avail_distributions(#{@distribution_id})").formats(@distributions_format) do
26
26
  pending if Fog.mocking?
27
- Linode[:compute].avail_distributions(@distribution_id).body
27
+ Fog::Compute[:linode].avail_distributions(@distribution_id).body
28
28
  end
29
29
 
30
30
  end
@@ -1,4 +1,4 @@
1
- Shindo.tests('Linode::Compute | kernel requests', ['linode']) do
1
+ Shindo.tests('Fog::Compute[:linode] | kernel requests', ['linode']) do
2
2
 
3
3
  @kernels_format = Linode::Compute::Formats::BASIC.merge({
4
4
  'DATA' => [{
@@ -14,14 +14,14 @@ Shindo.tests('Linode::Compute | kernel requests', ['linode']) do
14
14
 
15
15
  tests('#avail_kernels').formats(@kernels_format) do
16
16
  pending if Fog.mocking?
17
- data = Linode[:compute].avail_kernels.body
17
+ data = Fog::Compute[:linode].avail_kernels.body
18
18
  @kernel_id = data['DATA'].first['KERNELID']
19
19
  data
20
20
  end
21
21
 
22
22
  tests("@avail_kernels(#{@kernel_id})").formats(@kernels_format) do
23
23
  pending if Fog.mocking?
24
- Linode[:compute].avail_kernels(@kernel_id).body
24
+ Fog::Compute[:linode].avail_kernels(@kernel_id).body
25
25
  end
26
26
  end
27
27
  end
@@ -1,4 +1,4 @@
1
- Shindo.tests('Linode::Compute | linode requests', ['linode']) do
1
+ Shindo.tests('Fog::Compute[:linode] | linode requests', ['linode']) do
2
2
 
3
3
  @linode_format = Linode::Compute::Formats::BASIC.merge({
4
4
  'DATA' => { 'LinodeID' => Integer }
@@ -64,78 +64,78 @@ Shindo.tests('Linode::Compute | linode requests', ['linode']) do
64
64
  # (2 => Dallas, TX, USA), (1 => 1 month), (1 => Linode 512)
65
65
  tests('#linode_create(2, 1, 1)').formats(@linode_format) do
66
66
  pending if Fog.mocking?
67
- data = Linode[:compute].linode_create(2, 1, 1).body
67
+ data = Fog::Compute[:linode].linode_create(2, 1, 1).body
68
68
  @linode_id = data['DATA']['LinodeID']
69
69
  data
70
70
  end
71
71
 
72
72
  tests("#linode_list(#{@linode_id})").formats(@linodes_format) do
73
73
  pending if Fog.mocking?
74
- Linode[:compute].linode_list(@linode_id).body
74
+ Fog::Compute[:linode].linode_list(@linode_id).body
75
75
  end
76
76
 
77
77
  tests('#linode_list').formats(@linodes_format) do
78
78
  pending if Fog.mocking?
79
- Linode[:compute].linode_list.body
79
+ Fog::Compute[:linode].linode_list.body
80
80
  end
81
81
 
82
82
  tests('#linode_update').formats(@linode_format) do
83
83
  pending if Fog.mocking?
84
- Linode[:compute].linode_update(@linode_id, :label => 'testing').body
84
+ Fog::Compute[:linode].linode_update(@linode_id, :label => 'testing').body
85
85
  end
86
86
 
87
87
  tests('#linode_ip_addprivate').formats(@ip_format) do
88
88
  pending if Fog.mocking?
89
- Linode[:compute].linode_ip_addprivate(@linode_id).body
89
+ Fog::Compute[:linode].linode_ip_addprivate(@linode_id).body
90
90
  end
91
91
 
92
92
  tests('#linode_disk_create').formats(@disk_format) do
93
93
  pending if Fog.mocking?
94
- data = Linode[:compute].linode_disk_create(@linode_id, 'test1', 'ext3', 1).body
94
+ data = Fog::Compute[:linode].linode_disk_create(@linode_id, 'test1', 'ext3', 1).body
95
95
  @disk1_id = data['DATA']['DiskID']
96
96
  data
97
97
  end
98
98
 
99
99
  tests('#linode_disk_createfromdistribution').formats(@disk_format) do
100
100
  pending if Fog.mocking?
101
- data = Linode[:compute].linode_disk_createfromdistribution(@linode_id, 73, 'test1', 600, 'P@SSW)RD').body
101
+ data = Fog::Compute[:linode].linode_disk_createfromdistribution(@linode_id, 73, 'test1', 600, 'P@SSW)RD').body
102
102
  @disk2_id = data['DATA']['DiskID']
103
103
  data
104
104
  end
105
105
 
106
106
  tests('#linode_disk_list').formats(@disks_format) do
107
107
  pending if Fog.mocking?
108
- Linode[:compute].linode_disk_list(@linode_id).body
108
+ Fog::Compute[:linode].linode_disk_list(@linode_id).body
109
109
  end
110
110
 
111
111
  # tests("#linode_reboot(#{@linode_id})").formats(@reboot_format) do
112
- # Linode[:compute].linode_reboot(@linode_id).body
112
+ # Fog::Compute[:linode].linode_reboot(@linode_id).body
113
113
  # end
114
114
 
115
115
  tests('#linode_disk_delete').formats(@disk_format) do
116
116
  pending if Fog.mocking?
117
- Linode[:compute].linode_disk_delete(@linode_id, @disk1_id).body
118
- Linode[:compute].linode_disk_delete(@linode_id, @disk2_id).body
117
+ Fog::Compute[:linode].linode_disk_delete(@linode_id, @disk1_id).body
118
+ Fog::Compute[:linode].linode_disk_delete(@linode_id, @disk2_id).body
119
119
  end
120
120
 
121
121
  tests('#linode_delete(#{@linode_id})').succeeds do
122
122
  pending if Fog.mocking?
123
- sleep 1 until Linode[:compute].linode_disk_list(@linode_id).body['DATA'].size == 0
124
- Linode[:compute].linode_delete(@linode_id)
123
+ sleep 1 until Fog::Compute[:linode].linode_disk_list(@linode_id).body['DATA'].size == 0
124
+ Fog::Compute[:linode].linode_delete(@linode_id)
125
125
  end
126
126
 
127
127
  end
128
128
 
129
129
  tests('failure') do
130
130
 
131
- tests('#linode_reboot(0)').raises(Fog::Linode::Compute::NotFound) do
131
+ tests('#linode_reboot(0)').raises(Fog::Compute::Linode::NotFound) do
132
132
  pending if Fog.mocking?
133
- Linode[:compute].linode_reboot(1)
133
+ Fog::Compute[:linode].linode_reboot(1)
134
134
  end
135
135
 
136
- tests('#linode_delete(0)').raises(Fog::Linode::Compute::NotFound) do
136
+ tests('#linode_delete(0)').raises(Fog::Compute::Linode::NotFound) do
137
137
  pending if Fog.mocking?
138
- Linode[:compute].linode_delete(1)
138
+ Fog::Compute[:linode].linode_delete(1)
139
139
  end
140
140
 
141
141
  end