fog 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (355) hide show
  1. data/.travis.yml +21 -0
  2. data/README.md +3 -1
  3. data/Rakefile +4 -1
  4. data/changelog.txt +462 -0
  5. data/docs/storage/index.markdown +4 -4
  6. data/fog.gemspec +2 -2
  7. data/lib/fog.rb +1 -1
  8. data/lib/fog/atmos.rb +11 -0
  9. data/lib/fog/atmos/models/storage/directories.rb +48 -0
  10. data/lib/fog/atmos/models/storage/directory.rb +53 -0
  11. data/lib/fog/atmos/models/storage/file.rb +107 -0
  12. data/lib/fog/atmos/models/storage/files.rb +73 -0
  13. data/lib/fog/atmos/requests/storage/delete_namespace.rb +19 -0
  14. data/lib/fog/atmos/requests/storage/get_namespace.rb +20 -0
  15. data/lib/fog/atmos/requests/storage/head_namespace.rb +20 -0
  16. data/lib/fog/atmos/requests/storage/post_namespace.rb +20 -0
  17. data/lib/fog/atmos/requests/storage/put_namespace.rb +20 -0
  18. data/lib/fog/atmos/storage.rb +186 -0
  19. data/lib/fog/aws.rb +2 -0
  20. data/lib/fog/aws/auto_scaling.rb +15 -1
  21. data/lib/fog/aws/compute.rb +26 -17
  22. data/lib/fog/aws/elb.rb +14 -2
  23. data/lib/fog/aws/glacier.rb +172 -0
  24. data/lib/fog/aws/iam.rb +35 -29
  25. data/lib/fog/aws/models/auto_scaling/group.rb +1 -1
  26. data/lib/fog/aws/models/compute/flavors.rb +11 -0
  27. data/lib/fog/aws/models/compute/security_group.rb +22 -6
  28. data/lib/fog/aws/models/compute/server.rb +5 -1
  29. data/lib/fog/aws/models/compute/spot_request.rb +12 -0
  30. data/lib/fog/aws/models/compute/spot_requests.rb +1 -2
  31. data/lib/fog/aws/models/compute/volume.rb +7 -1
  32. data/lib/fog/aws/models/glacier/archive.rb +70 -0
  33. data/lib/fog/aws/models/glacier/archives.rb +30 -0
  34. data/lib/fog/aws/models/glacier/job.rb +65 -0
  35. data/lib/fog/aws/models/glacier/jobs.rb +45 -0
  36. data/lib/fog/aws/models/glacier/vault.rb +53 -0
  37. data/lib/fog/aws/models/glacier/vaults.rb +28 -0
  38. data/lib/fog/aws/models/rds/server.rb +3 -1
  39. data/lib/fog/aws/models/rds/snapshot.rb +1 -0
  40. data/lib/fog/aws/models/rds/snapshots.rb +3 -0
  41. data/lib/fog/aws/models/storage/file.rb +4 -3
  42. data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_groups.rb +8 -1
  43. data/lib/fog/aws/parsers/compute/create_volume.rb +2 -2
  44. data/lib/fog/aws/parsers/compute/describe_instance_status.rb +8 -1
  45. data/lib/fog/aws/parsers/compute/describe_instances.rb +2 -0
  46. data/lib/fog/aws/parsers/compute/describe_reserved_instances_offerings.rb +1 -1
  47. data/lib/fog/aws/parsers/compute/describe_volumes.rb +2 -2
  48. data/lib/fog/aws/parsers/compute/run_instances.rb +2 -0
  49. data/lib/fog/aws/parsers/compute/spot_instance_requests.rb +1 -1
  50. data/lib/fog/aws/parsers/dns/list_resource_record_sets.rb +3 -1
  51. data/lib/fog/aws/parsers/rds/db_parser.rb +3 -1
  52. data/lib/fog/aws/parsers/rds/snapshot_parser.rb +1 -0
  53. data/lib/fog/aws/rds.rb +9 -9
  54. data/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb +1 -0
  55. data/lib/fog/aws/requests/auto_scaling/delete_auto_scaling_group.rb +1 -1
  56. data/lib/fog/aws/requests/compute/create_volume.rb +53 -14
  57. data/lib/fog/aws/requests/compute/describe_instance_status.rb +2 -0
  58. data/lib/fog/aws/requests/compute/describe_instances.rb +3 -1
  59. data/lib/fog/aws/requests/compute/describe_internet_gateways.rb +13 -7
  60. data/lib/fog/aws/requests/compute/describe_spot_instance_requests.rb +1 -0
  61. data/lib/fog/aws/requests/compute/describe_subnets.rb +13 -7
  62. data/lib/fog/aws/requests/compute/describe_volumes.rb +2 -0
  63. data/lib/fog/aws/requests/compute/describe_vpcs.rb +12 -6
  64. data/lib/fog/aws/requests/compute/request_spot_instances.rb +2 -0
  65. data/lib/fog/aws/requests/compute/run_instances.rb +8 -2
  66. data/lib/fog/aws/requests/dns/change_resource_record_sets.rb +20 -1
  67. data/lib/fog/aws/requests/elb/create_load_balancer.rb +2 -2
  68. data/lib/fog/aws/requests/elb/describe_load_balancers.rb +1 -1
  69. data/lib/fog/aws/requests/glacier/abort_multipart_upload.rb +35 -0
  70. data/lib/fog/aws/requests/glacier/complete_multipart_upload.rb +42 -0
  71. data/lib/fog/aws/requests/glacier/create_archive.rb +43 -0
  72. data/lib/fog/aws/requests/glacier/create_vault.rb +34 -0
  73. data/lib/fog/aws/requests/glacier/delete_archive.rb +35 -0
  74. data/lib/fog/aws/requests/glacier/delete_vault.rb +34 -0
  75. data/lib/fog/aws/requests/glacier/delete_vault_notification_configuration.rb +33 -0
  76. data/lib/fog/aws/requests/glacier/describe_job.rb +35 -0
  77. data/lib/fog/aws/requests/glacier/describe_vault.rb +34 -0
  78. data/lib/fog/aws/requests/glacier/get_job_output.rb +41 -0
  79. data/lib/fog/aws/requests/glacier/get_vault_notification_configuration.rb +34 -0
  80. data/lib/fog/aws/requests/glacier/initiate_job.rb +41 -0
  81. data/lib/fog/aws/requests/glacier/initiate_multipart_upload.rb +38 -0
  82. data/lib/fog/aws/requests/glacier/list_jobs.rb +39 -0
  83. data/lib/fog/aws/requests/glacier/list_multipart_uploads.rb +37 -0
  84. data/lib/fog/aws/requests/glacier/list_parts.rb +37 -0
  85. data/lib/fog/aws/requests/glacier/list_vaults.rb +36 -0
  86. data/lib/fog/aws/requests/glacier/set_vault_notification_configuration.rb +37 -0
  87. data/lib/fog/aws/requests/glacier/upload_part.rb +46 -0
  88. data/lib/fog/aws/requests/rds/create_db_instance.rb +7 -5
  89. data/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb +41 -1
  90. data/lib/fog/aws/requests/rds/create_db_snapshot.rb +1 -1
  91. data/lib/fog/aws/requests/rds/describe_db_instances.rb +8 -10
  92. data/lib/fog/aws/requests/rds/describe_db_security_groups.rb +1 -1
  93. data/lib/fog/aws/requests/rds/describe_db_snapshots.rb +2 -0
  94. data/lib/fog/aws/requests/rds/modify_db_instance.rb +7 -6
  95. data/lib/fog/aws/requests/rds/reboot_db_instance.rb +6 -5
  96. data/lib/fog/aws/requests/storage/get_object.rb +45 -2
  97. data/lib/fog/aws/requests/storage/upload_part.rb +1 -0
  98. data/lib/fog/aws/signaturev4.rb +73 -0
  99. data/lib/fog/aws/sqs.rb +2 -6
  100. data/lib/fog/bare_metal_cloud/compute.rb +3 -1
  101. data/lib/fog/bare_metal_cloud/requests/compute/add_server_by_configuration.rb +33 -0
  102. data/lib/fog/bare_metal_cloud/requests/compute/get_server.rb +17 -12
  103. data/lib/fog/bare_metal_cloud/requests/compute/list_configurations.rb +27 -0
  104. data/lib/fog/bare_metal_cloud/requests/compute/list_images.rb +4 -4
  105. data/lib/fog/bare_metal_cloud/requests/compute/list_plans.rb +7 -7
  106. data/lib/fog/bare_metal_cloud/requests/compute/list_servers.rb +2 -2
  107. data/lib/fog/bin.rb +7 -0
  108. data/lib/fog/bin/atmos.rb +31 -0
  109. data/lib/fog/bin/aws.rb +4 -0
  110. data/lib/fog/bin/ecloud.rb +4 -0
  111. data/lib/fog/bin/rackspace.rb +7 -0
  112. data/lib/fog/bin/serverlove.rb +31 -0
  113. data/lib/fog/bluebox/requests/compute/create_block.rb +18 -4
  114. data/lib/fog/brightbox/compute.rb +52 -0
  115. data/lib/fog/brightbox/models/compute/cloud_ip.rb +2 -0
  116. data/lib/fog/brightbox/models/compute/image.rb +1 -0
  117. data/lib/fog/brightbox/models/compute/server.rb +46 -3
  118. data/lib/fog/brightbox/requests/compute/create_cloud_ip.rb +3 -3
  119. data/lib/fog/cloudstack/compute.rb +4 -1
  120. data/lib/fog/cloudstack/models/compute/images.rb +15 -6
  121. data/lib/fog/cloudstack/models/compute/job.rb +1 -1
  122. data/lib/fog/cloudstack/requests/compute/attach_volume.rb +1 -1
  123. data/lib/fog/cloudstack/requests/compute/register_template.rb +35 -0
  124. data/lib/fog/compute.rb +15 -3
  125. data/lib/fog/core/errors.rb +1 -0
  126. data/lib/fog/core/time.rb +4 -0
  127. data/lib/fog/dynect/dns.rb +5 -5
  128. data/lib/fog/ecloud.rb +6 -0
  129. data/lib/fog/ecloud/compute.rb +3 -1
  130. data/lib/fog/ecloud/models/compute/ip_addresses.rb +1 -0
  131. data/lib/fog/ecloud/models/compute/networks.rb +1 -0
  132. data/lib/fog/ecloud/models/compute/server.rb +31 -1
  133. data/lib/fog/ecloud/requests/compute/virtual_machine_add_ip.rb +40 -0
  134. data/lib/fog/ecloud/requests/compute/virtual_machine_upload_file.rb +31 -0
  135. data/lib/fog/google/models/storage/directory.rb +2 -2
  136. data/lib/fog/google/models/storage/file.rb +2 -2
  137. data/lib/fog/google/requests/storage/get_bucket.rb +1 -2
  138. data/lib/fog/google/requests/storage/put_object.rb +1 -2
  139. data/lib/fog/google/storage.rb +1 -1
  140. data/lib/fog/hp/models/compute/image.rb +1 -1
  141. data/lib/fog/hp/models/compute/server.rb +4 -0
  142. data/lib/fog/hp/requests/compute/delete_security_group_rule.rb +4 -4
  143. data/lib/fog/hp/requests/storage/get_object.rb +8 -2
  144. data/lib/fog/hp/storage.rb +1 -0
  145. data/lib/fog/libvirt/models/compute/server.rb +1 -1
  146. data/lib/fog/libvirt/models/compute/templates/server.xml.erb +1 -1
  147. data/lib/fog/openstack.rb +7 -0
  148. data/lib/fog/openstack/compute.rb +4 -1
  149. data/lib/fog/openstack/models/compute/server.rb +1 -1
  150. data/lib/fog/openstack/requests/compute/create_server.rb +8 -2
  151. data/lib/fog/openstack/requests/identity/list_roles_for_user_on_tenant.rb +1 -1
  152. data/lib/fog/openstack/requests/identity/list_tenants.rb +1 -0
  153. data/lib/fog/providers.rb +2 -0
  154. data/lib/fog/rackspace.rb +9 -7
  155. data/lib/fog/rackspace/block_storage.rb +114 -0
  156. data/lib/fog/rackspace/compute_v2.rb +123 -0
  157. data/lib/fog/rackspace/models/block_storage/snapshot.rb +46 -0
  158. data/lib/fog/rackspace/models/block_storage/snapshots.rb +25 -0
  159. data/lib/fog/rackspace/models/block_storage/volume.rb +58 -0
  160. data/lib/fog/rackspace/models/block_storage/volume_type.rb +14 -0
  161. data/lib/fog/rackspace/models/block_storage/volume_types.rb +25 -0
  162. data/lib/fog/rackspace/models/block_storage/volumes.rb +25 -0
  163. data/lib/fog/rackspace/models/compute_v2/attachment.rb +34 -0
  164. data/lib/fog/rackspace/models/compute_v2/attachments.rb +25 -0
  165. data/lib/fog/rackspace/models/compute_v2/flavor.rb +17 -0
  166. data/lib/fog/rackspace/models/compute_v2/flavors.rb +25 -0
  167. data/lib/fog/rackspace/models/compute_v2/image.rb +30 -0
  168. data/lib/fog/rackspace/models/compute_v2/images.rb +25 -0
  169. data/lib/fog/rackspace/models/compute_v2/server.rb +147 -0
  170. data/lib/fog/rackspace/models/compute_v2/servers.rb +25 -0
  171. data/lib/fog/rackspace/models/storage/directory.rb +3 -3
  172. data/lib/fog/rackspace/requests/block_storage/create_snapshot.rb +26 -0
  173. data/lib/fog/rackspace/requests/block_storage/create_volume.rb +27 -0
  174. data/lib/fog/rackspace/requests/block_storage/delete_snapshot.rb +15 -0
  175. data/lib/fog/rackspace/requests/block_storage/delete_volume.rb +15 -0
  176. data/lib/fog/rackspace/requests/block_storage/get_snapshot.rb +15 -0
  177. data/lib/fog/rackspace/requests/block_storage/get_volume.rb +15 -0
  178. data/lib/fog/rackspace/requests/block_storage/get_volume_type.rb +15 -0
  179. data/lib/fog/rackspace/requests/block_storage/list_snapshots.rb +15 -0
  180. data/lib/fog/rackspace/requests/block_storage/list_volume_types.rb +15 -0
  181. data/lib/fog/rackspace/requests/block_storage/list_volumes.rb +15 -0
  182. data/lib/fog/rackspace/requests/compute_v2/attach_volume.rb +23 -0
  183. data/lib/fog/rackspace/requests/compute_v2/change_server_password.rb +22 -0
  184. data/lib/fog/rackspace/requests/compute_v2/confirm_resize_server.rb +20 -0
  185. data/lib/fog/rackspace/requests/compute_v2/create_server.rb +28 -0
  186. data/lib/fog/rackspace/requests/compute_v2/delete_attachment.rb +15 -0
  187. data/lib/fog/rackspace/requests/compute_v2/delete_server.rb +15 -0
  188. data/lib/fog/rackspace/requests/compute_v2/get_attachment.rb +15 -0
  189. data/lib/fog/rackspace/requests/compute_v2/get_flavor.rb +15 -0
  190. data/lib/fog/rackspace/requests/compute_v2/get_image.rb +15 -0
  191. data/lib/fog/rackspace/requests/compute_v2/get_server.rb +15 -0
  192. data/lib/fog/rackspace/requests/compute_v2/list_attachments.rb +15 -0
  193. data/lib/fog/rackspace/requests/compute_v2/list_flavors.rb +15 -0
  194. data/lib/fog/rackspace/requests/compute_v2/list_images.rb +15 -0
  195. data/lib/fog/rackspace/requests/compute_v2/list_servers.rb +15 -0
  196. data/lib/fog/rackspace/requests/compute_v2/reboot_server.rb +22 -0
  197. data/lib/fog/rackspace/requests/compute_v2/rebuild_server.rb +22 -0
  198. data/lib/fog/rackspace/requests/compute_v2/resize_server.rb +22 -0
  199. data/lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb +20 -0
  200. data/lib/fog/rackspace/requests/compute_v2/update_server.rb +22 -0
  201. data/lib/fog/rackspace/requests/storage/delete_object.rb +1 -1
  202. data/lib/fog/rackspace/requests/storage/get_object_https_url.rb +51 -0
  203. data/lib/fog/rackspace/requests/storage/post_set_meta_temp_url_key.rb +37 -0
  204. data/lib/fog/rackspace/storage.rb +4 -0
  205. data/lib/fog/serverlove.rb +10 -0
  206. data/lib/fog/serverlove/compute.rb +97 -0
  207. data/lib/fog/serverlove/models/compute/image.rb +57 -0
  208. data/lib/fog/serverlove/models/compute/images.rb +26 -0
  209. data/lib/fog/serverlove/models/compute/server.rb +72 -0
  210. data/lib/fog/serverlove/models/compute/servers.rb +26 -0
  211. data/lib/fog/serverlove/requests/compute/create_image.rb +32 -0
  212. data/lib/fog/serverlove/requests/compute/create_server.rb +34 -0
  213. data/lib/fog/serverlove/requests/compute/destroy_image.rb +13 -0
  214. data/lib/fog/serverlove/requests/compute/destroy_server.rb +13 -0
  215. data/lib/fog/serverlove/requests/compute/get_image.rb +13 -0
  216. data/lib/fog/serverlove/requests/compute/get_images.rb +13 -0
  217. data/lib/fog/serverlove/requests/compute/get_server.rb +13 -0
  218. data/lib/fog/serverlove/requests/compute/get_servers.rb +13 -0
  219. data/lib/fog/serverlove/requests/compute/load_standard_image.rb +13 -0
  220. data/lib/fog/serverlove/requests/compute/reset_server.rb +13 -0
  221. data/lib/fog/serverlove/requests/compute/shutdown_server.rb +13 -0
  222. data/lib/fog/serverlove/requests/compute/start_server.rb +13 -0
  223. data/lib/fog/serverlove/requests/compute/stop_server.rb +13 -0
  224. data/lib/fog/serverlove/requests/compute/update_image.rb +15 -0
  225. data/lib/fog/serverlove/requests/compute/update_server.rb +15 -0
  226. data/lib/fog/serverlove/util/compute/password_generator.rb +11 -0
  227. data/lib/fog/storage.rb +3 -0
  228. data/lib/fog/terremark/models/shared/image.rb +22 -0
  229. data/lib/fog/terremark/models/shared/images.rb +48 -0
  230. data/lib/fog/terremark/models/shared/internetservice.rb +67 -0
  231. data/lib/fog/terremark/models/shared/internetservices.rb +42 -0
  232. data/lib/fog/terremark/models/shared/nodeservice.rb +52 -0
  233. data/lib/fog/terremark/models/shared/nodeservices.rb +32 -0
  234. data/lib/fog/terremark/models/shared/server.rb +114 -15
  235. data/lib/fog/terremark/models/shared/servers.rb +7 -8
  236. data/lib/fog/terremark/models/shared/vdc.rb +6 -1
  237. data/lib/fog/terremark/parsers/shared/get_catalog.rb +7 -2
  238. data/lib/fog/terremark/parsers/shared/get_keys_list.rb +56 -0
  239. data/lib/fog/terremark/requests/shared/add_internet_service.rb +10 -9
  240. data/lib/fog/terremark/requests/shared/add_node_service.rb +10 -12
  241. data/lib/fog/terremark/requests/shared/configure_vapp.rb +61 -0
  242. data/lib/fog/terremark/requests/shared/create_internet_service.rb +16 -11
  243. data/lib/fog/terremark/requests/shared/delete_internet_service.rb +2 -1
  244. data/lib/fog/terremark/requests/shared/delete_node_service.rb +2 -1
  245. data/lib/fog/terremark/requests/shared/delete_public_ip.rb +2 -1
  246. data/lib/fog/terremark/requests/shared/get_internet_services.rb +2 -1
  247. data/lib/fog/terremark/requests/shared/get_keys_list.rb +36 -0
  248. data/lib/fog/terremark/requests/shared/get_node_services.rb +2 -1
  249. data/lib/fog/terremark/requests/shared/instantiate_vapp_template.rb +11 -1
  250. data/lib/fog/terremark/shared.rb +19 -1
  251. data/lib/fog/terremark/vcloud.rb +10 -1
  252. data/lib/fog/vcloud/compute.rb +13 -13
  253. data/lib/fog/vcloud/models/compute/catalog_items.rb +6 -2
  254. data/lib/fog/vcloud/models/compute/organizations.rb +1 -2
  255. data/lib/fog/vcloud/models/compute/server.rb +37 -3
  256. data/lib/fog/vcloud/models/compute/vapps.rb +1 -1
  257. data/lib/fog/vcloud/requests/compute/configure_org_network.rb +141 -0
  258. data/lib/fog/vcloud/requests/compute/configure_vm_cpus.rb +38 -0
  259. data/lib/fog/vcloud/requests/compute/configure_vm_memory.rb +11 -12
  260. data/lib/fog/vcloud/requests/compute/configure_vm_password.rb +39 -0
  261. data/lib/fog/vcloud/requests/compute/undeploy.rb +9 -1
  262. data/lib/fog/vsphere/requests/compute/vm_reboot.rb +1 -1
  263. data/tests/atmos/models/storage/file_update_tests.rb +19 -0
  264. data/tests/atmos/models/storage/nested_directories_tests.rb +23 -0
  265. data/tests/aws/models/compute/security_group_tests.rb +21 -12
  266. data/tests/aws/models/dns/records_tests.rb +8 -2
  267. data/tests/aws/models/glacier/model_tests.rb +47 -0
  268. data/tests/aws/models/iam/policies_tests.rb +2 -2
  269. data/tests/aws/models/rds/server_tests.rb +5 -2
  270. data/tests/aws/models/storage/directory_tests.rb +1 -1
  271. data/tests/aws/models/storage/file_tests.rb +1 -1
  272. data/tests/aws/models/storage/files_tests.rb +1 -1
  273. data/tests/aws/models/storage/url_tests.rb +8 -8
  274. data/tests/aws/models/storage/version_tests.rb +1 -1
  275. data/tests/aws/models/storage/versions_tests.rb +1 -1
  276. data/tests/aws/requests/auto_scaling/auto_scaling_tests.rb +5 -0
  277. data/tests/aws/requests/auto_scaling/helper.rb +2 -1
  278. data/tests/aws/requests/compute/instance_tests.rb +17 -23
  279. data/tests/aws/requests/compute/spot_instance_tests.rb +2 -1
  280. data/tests/aws/requests/compute/tag_tests.rb +1 -0
  281. data/tests/aws/requests/compute/volume_tests.rb +45 -4
  282. data/tests/aws/requests/elb/helper.rb +2 -2
  283. data/tests/aws/requests/elb/listener_tests.rb +2 -2
  284. data/tests/aws/requests/elb/load_balancer_tests.rb +1 -1
  285. data/tests/aws/requests/glacier/archive_tests.rb +13 -0
  286. data/tests/aws/requests/glacier/multipart_upload_tests.rb +30 -0
  287. data/tests/aws/requests/glacier/tree_hash_tests.rb +63 -0
  288. data/tests/aws/requests/glacier/vault_tests.rb +35 -0
  289. data/tests/aws/requests/rds/helper.rb +11 -5
  290. data/tests/aws/requests/rds/instance_tests.rb +0 -2
  291. data/tests/aws/requests/storage/acl_utils_tests.rb +1 -1
  292. data/tests/aws/requests/storage/bucket_tests.rb +1 -1
  293. data/tests/aws/requests/storage/multipart_upload_tests.rb +1 -1
  294. data/tests/aws/requests/storage/object_tests.rb +8 -0
  295. data/tests/aws/requests/storage/versioning_tests.rb +1 -1
  296. data/tests/aws/signaturev4_tests.rb +41 -0
  297. data/tests/brightbox/compute_tests.rb +9 -0
  298. data/tests/brightbox/requests/compute/helper.rb +21 -6
  299. data/tests/cloudstack/compute/models/volume_tests.rb +1 -1
  300. data/tests/cloudstack/requests/volume_tests.rb +1 -1
  301. data/tests/compute/helper.rb +10 -4
  302. data/tests/dynect/requests/dns/dns_tests.rb +39 -0
  303. data/tests/google/requests/storage/bucket_tests.rb +2 -3
  304. data/tests/google/requests/storage/object_tests.rb +1 -1
  305. data/tests/helper.rb +10 -3
  306. data/tests/helpers/formats_helper.rb +4 -2
  307. data/tests/helpers/formats_helper_tests.rb +9 -0
  308. data/tests/helpers/mock_helper.rb +6 -1
  309. data/tests/helpers/model_helper.rb +0 -3
  310. data/tests/hp/models/compute/address_tests.rb +1 -1
  311. data/tests/hp/models/compute/addresses_tests.rb +1 -1
  312. data/tests/hp/models/compute/key_pair_tests.rb +1 -1
  313. data/tests/hp/models/compute/key_pairs_tests.rb +1 -1
  314. data/tests/hp/models/compute/security_group_tests.rb +1 -1
  315. data/tests/hp/models/compute/security_groups_tests.rb +1 -1
  316. data/tests/hp/requests/cdn/container_tests.rb +1 -1
  317. data/tests/hp/requests/compute/address_tests.rb +1 -1
  318. data/tests/hp/requests/compute/flavor_tests.rb +1 -1
  319. data/tests/hp/requests/compute/image_tests.rb +1 -1
  320. data/tests/hp/requests/compute/key_pair_tests.rb +1 -1
  321. data/tests/hp/requests/compute/security_group_rule_tests.rb +1 -1
  322. data/tests/hp/requests/compute/security_group_tests.rb +1 -1
  323. data/tests/hp/requests/compute/server_address_tests.rb +1 -1
  324. data/tests/hp/requests/compute/server_tests.rb +1 -1
  325. data/tests/hp/requests/storage/container_tests.rb +1 -1
  326. data/tests/hp/requests/storage/object_tests.rb +1 -1
  327. data/tests/local/models/file_tests.rb +1 -1
  328. data/tests/rackspace/models/block_storage/snapshot_tests.rb +20 -0
  329. data/tests/rackspace/models/block_storage/snapshots_tests.rb +20 -0
  330. data/tests/rackspace/models/block_storage/volume_tests.rb +27 -0
  331. data/tests/rackspace/models/block_storage/volume_types_tests.rb +20 -0
  332. data/tests/rackspace/models/block_storage/volumes_tests.rb +11 -0
  333. data/tests/rackspace/models/compute_v2/flavors_tests.rb +20 -0
  334. data/tests/rackspace/models/compute_v2/images_tests.rb +22 -0
  335. data/tests/rackspace/models/compute_v2/server_tests.rb +62 -0
  336. data/tests/rackspace/models/compute_v2/servers_tests.rb +14 -0
  337. data/tests/rackspace/requests/block_storage/snapshot_tests.rb +81 -0
  338. data/tests/rackspace/requests/block_storage/volume_tests.rb +61 -0
  339. data/tests/rackspace/requests/block_storage/volume_type_tests.rb +31 -0
  340. data/tests/rackspace/requests/compute_v2/attachment_tests.rb +68 -0
  341. data/tests/rackspace/requests/compute_v2/flavor_tests.rb +43 -0
  342. data/tests/rackspace/requests/compute_v2/image_tests.rb +47 -0
  343. data/tests/rackspace/requests/compute_v2/server_tests.rb +147 -0
  344. data/tests/rackspace/requests/storage/account_tests.rb +17 -0
  345. data/tests/rackspace/requests/storage/container_tests.rb +1 -1
  346. data/tests/rackspace/requests/storage/large_object_tests.rb +1 -1
  347. data/tests/rackspace/requests/storage/object_tests.rb +41 -2
  348. data/tests/serverlove/requests/compute/image_tests.rb +57 -0
  349. data/tests/serverlove/requests/compute/server_tests.rb +85 -0
  350. data/tests/serverlove/util/compute/password_generator_tests.rb +19 -0
  351. data/tests/storage/models/directories_tests.rb +1 -1
  352. data/tests/storage/models/directory_test.rb +1 -1
  353. data/tests/storage/models/file_tests.rb +1 -1
  354. data/tests/storage/models/files_tests.rb +1 -1
  355. metadata +188 -3
@@ -0,0 +1,21 @@
1
+ language: ruby
2
+
3
+ rvm:
4
+ - 1.8.7
5
+ - 1.9.2
6
+ - 1.9.3
7
+
8
+ script: FOG_MOCK=true bundle exec shindont
9
+
10
+ notifications:
11
+ email: false
12
+ irc:
13
+ channels:
14
+ - "irc.freenode.org#ruby-fog"
15
+ template:
16
+ - "[#%{build_number}] %{message} %{build_url}"
17
+ - "[#%{build_number}] %{commit} on %{branch} by %{author}"
18
+ - "[#%{build_number}] %{compare_url}"
19
+ on_success: always
20
+ on_failure: always
21
+ use_notice: false
data/README.md CHANGED
@@ -6,6 +6,8 @@ fog is the Ruby cloud computing library, top to bottom:
6
6
  * Requests allow power users to get the most out of the features of each individual cloud.
7
7
  * Mocks make testing and integrating a breeze.
8
8
 
9
+ [![Build Status](https://secure.travis-ci.org/fog/fog.png?branch=master)](http://travis-ci.org/fog/fog)
10
+
9
11
  ## Getting Started
10
12
 
11
13
  sudo gem install fog
@@ -110,7 +112,7 @@ geemus says: "That should give you everything you need to get started, but let m
110
112
 
111
113
  ## Contributing
112
114
 
113
- * Find something you would like to work on. For suggestions look for the `easy`, `medium` and `hard` tags in the {issues}[http://github.com/fog/fog/issues]
115
+ * Find something you would like to work on. For suggestions look for the `easy`, `medium` and `hard` tags in the [issues](https://github.com/fog/fog/issues)
114
116
  * Fork the project and do your work in a topic branch.
115
117
  * Add shindo tests to prove your code works and run all the tests using `bundle exec rake`.
116
118
  * Rebase your branch against fog/fog to make sure everything is up to date.
data/Rakefile CHANGED
@@ -1,6 +1,8 @@
1
- require 'rubygems'
2
1
  require 'bundler/setup'
3
2
  require 'date'
3
+ require 'rubygems'
4
+ require 'rdoc/task'
5
+ require 'rubygems/package_task'
4
6
  require File.dirname(__FILE__) + '/lib/fog'
5
7
 
6
8
  #############################################################################
@@ -44,6 +46,7 @@ end
44
46
  #
45
47
  #############################################################################
46
48
 
49
+ GEM_NAME = "#{name}"
47
50
  task :default => :test
48
51
 
49
52
  namespace :test do
@@ -1,3 +1,465 @@
1
+ 1.6.0 09/15/2012 4bd909557fd595a656ebd86a3d7c5849bd923fe1
2
+ =========================================================
3
+
4
+ Stats! { 'collaborators' => 40, 'downloads' => 1015900, 'forks' => 539, 'open_issues' => 55, 'watchers' => 2119 }
5
+
6
+ [AWS]
7
+ Implement signature v4. thanks Frederick Cheung
8
+ Create the time directly in tests, avoids using a method not present in 1.8.7. thanks Frederick Cheung
9
+ avoid spurious test failure when tag test returns before images test. thanks Frederick Cheung
10
+ Adding missing :glacier case for AWS.collections. thanks Frederick Cheung
11
+
12
+ [AWS|AutoScaling]
13
+ Typo in delete_autoscaling_group mock: Autoscaling->AutoScaling. thanks Frederick Cheung
14
+ fix group#instances. thanks Frederick Cheung
15
+ Fix describe_auto_scaling_groups parser added spurious nil groups. thanks Frederick Cheung
16
+ Fix delete_auto_scaling_group.rb mock not raising the same error as real code. thanks Frederick Cheung
17
+
18
+ [AWS|Compute]
19
+ Add the ablity to pass :version and use newer AWS API. thanks Zuhaib M Siddique
20
+
21
+ [AWS|Glacier]
22
+ Bare glacier service. thanks Frederick Cheung
23
+ single part uploads. thanks Frederick Cheung
24
+ multipart uploads. thanks Frederick Cheung
25
+ Jobs requests. thanks Frederick Cheung
26
+ vaults model. thanks Frederick Cheung
27
+ Use bytesize rather than length. thanks Frederick Cheung
28
+ models for archives. thanks Frederick Cheung
29
+ jobs model. thanks Frederick Cheung
30
+ Add notification configuration to model. thanks Frederick Cheung
31
+ mark tests as pending. thanks Frederick Cheung
32
+ byteslice is only available in 1.9.3 - add fallback for 1.9.2. thanks Frederick Cheung
33
+ fix 1.9.2 fallback. thanks Frederick Cheung
34
+ make 1.8.7 friendly. thanks Frederick Cheung
35
+ Fix job type constant. thanks Frederick Cheung
36
+ fix setting description on multipart upload. thanks Frederick Cheung
37
+ fix name of header used for description. thanks Frederick Cheung
38
+ Allow filtering of jobs collection. thanks Frederick Cheung
39
+ Don't try to deserialize json when body is empty. thanks Frederick Cheung
40
+
41
+ [AWS|RDS]
42
+ expose the SnapshotType attribute & allow filtering by it. thanks Frederick Cheung
43
+
44
+ [AWS|Signaturev4]
45
+ allow symbols to be used as header/query keys. thanks Frederick Cheung
46
+
47
+ [AWS|Storage]
48
+ mark upload_part as idempotent so it will be retried automatically. thanks Frederick Cheung
49
+
50
+ [Brightbox]
51
+ Fix output format for brightbox cloud ip. thanks Hemant Kumar
52
+
53
+ [Brightbox|CloudIp]
54
+ Remove duplicate constant definition for port translators. thanks Hemant Kumar
55
+
56
+ [Cloudstack]
57
+ 1.8.7 compat: on 1.8.7 '123'[0] returns the byte value of '0' and not '1'. thanks Frederick Cheung
58
+
59
+ [Core]
60
+ fix format_helper assuming p returns nil. thanks Frederick Cheung
61
+
62
+ [HP]
63
+ delete_if returns the array, not what was deleted. thanks Frederick Cheung
64
+
65
+ [OpenStack]
66
+ fixes wrong method name. thanks Ohad Levy
67
+
68
+ [Openstack]
69
+ Fix mock returning a hash instead of an array. thanks Frederick Cheung
70
+
71
+ [Openstack|Compute]
72
+ Security Groups are not assigned correctly to servers. thanks Ohad Levy
73
+
74
+ [aws|auto_scaling]
75
+ Add instrumentation support. thanks Michael Hale
76
+
77
+ [aws|compute]
78
+ fix typo in deprecation warning. thanks Aaron Suggs
79
+ Nicer interface for security group authorizations. thanks Aaron Suggs
80
+ Add instrumentation support. thanks Dan Peterson
81
+ Support creating and describing volumes with provisioned IOPS. thanks Dan Peterson
82
+ Get instance requests tests working. thanks Dan Peterson
83
+ Support for EBS-optimized instances. thanks Dan Peterson
84
+ Pass empty groupIds when mocking. thanks Dan Peterson
85
+ DescribeInstanceStatus code within eventsSet goes on the item. thanks Dan Peterson
86
+ fixes for spot request waiting see also #841. thanks geemus
87
+ remove brittle instance tests which rely on tests running fast p.s. these fail on travis-ci. thanks geemus
88
+ fix mock filters for internet gateways/subnets/vpcs. thanks geemus
89
+
90
+ [aws|elb]
91
+ Add instrumentation support. thanks Dan Peterson
92
+ fixes for mock tests. thanks geemus
93
+
94
+ [aws|iam]
95
+ Add instrumentation support. thanks Dan Peterson
96
+
97
+ [aws|rds]
98
+ Correct server#read_replica_identifiers when mocking. thanks Aaron Suggs
99
+ Mocking better supports reboot state. thanks Aaron Suggs
100
+ Mocking better supports modifying state. thanks Aaron Suggs
101
+ Fix server tests. thanks Aaron Suggs
102
+ Mocking support for read replicas. thanks Aaron Suggs
103
+ Mock support for setting AZ and MultiAZ. thanks Aaron Suggs
104
+
105
+ [brightbox]
106
+ Use first available image for server tests. thanks Steve Smith
107
+
108
+ [brightbox|ServerGroup]
109
+ ServerGroups can have a nil name. thanks Steve Smith
110
+
111
+ [brightbox|compute]
112
+ Merged outstanding work from Brightbox's fork. thanks Paul Thornthwaite
113
+ Implemented reboot using available API commands. thanks Paul Thornthwaite
114
+ Updates to Test helper for select image. thanks Paul Thornthwaite
115
+ Helper to get default image from API. thanks Paul Thornthwaite
116
+
117
+ [cloudstack|compute]
118
+ remove erroneous comma in merge command. thanks geemus
119
+
120
+ [compute|Ecloud]
121
+ Ecloud should not show up as a valid provider when not providing credentials. thanks Eugene Howe
122
+
123
+ [dynect|dns]
124
+ Only JSON decode when Content-Type says so. Fixes job handling. thanks Dan Peterson
125
+ Job polling should use original expected statuses. thanks Dan Peterson
126
+
127
+ [google/storage]
128
+ Fix docs for new GCS urls. thanks Nat Welch
129
+
130
+ [google|storage]
131
+ update expected format to remove StorageClass. thanks geemus
132
+ also update mocks to omit storageclass. thanks geemus
133
+
134
+ [hp|storage]
135
+ Use response_block param, as excon has deprecated implicit blocks. thanks Ferran Rodenas
136
+
137
+ [misc]
138
+ When using mock mode, Range header is now not ignored in get_object(). thanks Ahmed Al Hafoudh
139
+ Documentation error for delete_object. thanks Alex Tambellini
140
+ Add barebones configuration for Travis CI. thanks Alexander Wenzowski
141
+ add Travis CI build status image. thanks Alexander Wenzowski
142
+ notify #ruby-fog on freenode instead of emailing. thanks Alexander Wenzowski
143
+ remove repository_url from notification template Interpolation of %{repository_url} is currently broken on Travis CI. thanks Alexander Wenzowski
144
+ CloudStack: added registerTemplate request. thanks Aliaksei Kliuchnikau
145
+ CloudStack: listTemplates, registerTemplate requests return hypervisor in the response. thanks Aliaksei Kliuchnikau
146
+ Enable AWS spot requests in a VPC by specifying subnet_id. thanks Ben Turley
147
+ Fix for RDS VPC subnet groups. thanks Ben Turley
148
+ parse ASCII code * in wildcard domain. Fixes #1093. thanks Blake Gentry
149
+ automatically figure out the elb hosted_zone_id if possible. thanks Blake Gentry
150
+ Add source for getting instance mac address. thanks Carl Caum
151
+ Only add VNC password and listen port if present. thanks Carl Caum
152
+ Revert 530122d. thanks Carl Caum
153
+ Abillity to List Images and List SSH Keys. thanks Chirag Jog
154
+ Add support to create, delete internet services. thanks Chirag Jog
155
+ Accept vCPUS and Memory as parameters while creating servers. thanks Chirag Jog
156
+ Minor Fixes: Remove unncessary prints. Use override_path instead of replace class variable path. thanks Chirag Jog
157
+ Fix support to add internet service to the existing Public Ip. thanks Chirag Jog
158
+ Support to configure vapp and add multiple internet services. thanks Chirag Jog
159
+ Remove uneccessary puts. thanks Chirag Jog
160
+ Add support to build/re-build/clobber gem/package/docs. thanks Chirag Jog
161
+ Fix minor issue. thanks Chirag Jog
162
+ Re-work based on Geemus's review. Manage InternetService and NodeService as separate entities Reload server status properly. thanks Chirag Jog
163
+ Revert Rakefile changes. thanks Chirag Jog
164
+ 1.Ability to fetch/list Orgs, Vdcs, Vapps, Servers. 2.Support to customize CPUs and Password. thanks Chirag Jog
165
+ Add ability to configure a vApp with an Org-wide network and associated firewall, NAT rules(limited support). thanks Chirag Jog
166
+ 1.Fix Catalog Listing for vCD 1.5 2.Construct Valid XML to memory configuration 3.Fix Undeploy vCD 1.5. thanks Chirag Jog
167
+ Added m1.medium instance type for AWS flavors. thanks Curtis Stewart
168
+ - Updated "@host" variable to "noc.newservers.com" which is the current host for API calls - Added two calls: add_server_by_configuration.rb and list_configurations.rb -- These calls should be used instead of add_server and list_plans, although we still support them. - General comments were updated. thanks Diego Desani
169
+ Add gsub to replace URL-encoded characters in the public_url method. thanks Eric Chernuka
170
+ fix reboot guest in vsphere to reboot rather than shutdown guest. thanks Eric Stonfer
171
+ added file upload and ip add capabilities. thanks Eugene Howe
172
+ added error handling for edge cases where there are no networks or ips. thanks Eugene Howe
173
+ [AWS|Glacier} basic vault operations. thanks Frederick Cheung
174
+ fix mock not returning the right data. thanks Frederick Cheung
175
+ set Content-MD5. thanks Frederick Cheung
176
+ Add fqdn to server attributes. thanks Hemant Kumar
177
+ Brightbox : Include licence_name in Image. thanks Hemant Kumar
178
+ Brightbox: Change licence_name type to Fog::Nullable::String. thanks Hemant Kumar
179
+ Add support for port translators. thanks Hemant Kumar
180
+ Rackspace Storage: new request, get_object_https_url. thanks James Healy
181
+ Rackspace Storage: new request, post_set_meta_temp_url_key. thanks James Healy
182
+ Rackspace Storage: a backslash shouldn't be escaped when signing URLS. thanks James Healy
183
+ add a basic spec for Rackspace::Storage#get_object_https_url. thanks James Healy
184
+ add basic spec for Rackspace::Storage##post_set_meta_temp_url_key. thanks James Healy
185
+ Rackspace Storage: fix expiring URLs that contain a hyphen. thanks James Healy
186
+ Add Serverlove directory. thanks James Rose
187
+ Basic Serverlove implementation. thanks James Rose
188
+ Wrong directory. thanks James Rose
189
+ Typo. thanks James Rose
190
+ Proper request arguments. thanks James Rose
191
+ Typo. thanks James Rose
192
+ Still wrong. thanks James Rose
193
+ Works. thanks James Rose
194
+ We want JSON. thanks James Rose
195
+ Typo. thanks James Rose
196
+ add high io flavor to aws flavors. thanks Josh Lane
197
+ Move Dynect endpoint from api2 to api-v4. thanks Marc Seeger
198
+ don't let the Paulistas be left out of the party. thanks Martin Englund
199
+ use 10.04 instead of 12.04. thanks Martin Englund
200
+ Google changed their URL scheme for Cloud Storage. thanks Nat Welch
201
+ Also change GCS url in dir and file models. thanks Nat Welch
202
+ Update lib/fog/hp/models/compute/image.rb. thanks Neill Turner
203
+ Update lib/fog/hp/models/compute/server.rb. thanks Neill Turner
204
+ Update lib/fog/aws/requests/compute/describe_instance_status.rb. thanks Oleg
205
+ Added new Server#fqdn attribute to test helper. thanks Paul Thornthwaite
206
+ Rewrite tests to use 1.8 compatible Hash syntax. thanks Paul Thornthwaite
207
+ Add missing providers to the all_providers list for testing. thanks Paul Thornthwaite
208
+ Use string not symbols for Storage tests to work with Shindo tagging. thanks Paul Thornthwaite
209
+ Retagged tests with strings to be skipped by Shindo. thanks Paul Thornthwaite
210
+ Tagged AWS URL test so correctly ignored by Shindo. thanks Paul Thornthwaite
211
+ Reduce maintenance of tests by using a dynamic list of providers. thanks Paul Thornthwaite
212
+ add support for multiple regions in Opentack. thanks Pedro Perez
213
+ Fixed the link to GitHub issues. thanks Postmodern
214
+ Change iprange --> ec2_secg in Mock. thanks Rob Lockstone
215
+ Added support for RDS VPC subnet groups. Bumped RDS API version to 2012-01-15. thanks Rusty Geldmacher
216
+ Added DBSubnetGroupName to test format for RDS instances. thanks Rusty Geldmacher
217
+ Adding server love disk model. thanks Sean Handley
218
+ Changed disk model based on responses from real API requests. thanks Sean Handley
219
+ Set up drive objects (not disks). thanks Sean Handley
220
+ If you use info, you get all the info. thanks Sean Handley
221
+ Alias the encryption cipher. thanks Sean Handley
222
+ Sometimes the response body is empty. thanks Sean Handley
223
+ Destroying drives is easy. thanks Sean Handley
224
+ Allowed setting of params as k/v pairs. thanks Sean Handley
225
+ Added create/update functionality. thanks Sean Handley
226
+ Made create/save conform to the Fog API. thanks Sean Handley
227
+ Returning self is totes better than bools. thanks Sean Handley
228
+ Fog calls drives "images", rename for consistency. thanks Sean Handley
229
+ Beginnings of shin do request tests. thanks Sean Handley
230
+ Need these to run the server love tests. thanks Sean Handley
231
+ Beginnings of tests for image operations. thanks Sean Handley
232
+ Adding mock for easier testing. thanks Sean Handley
233
+ Added get_image function. thanks Sean Handley
234
+ Added meaningful test for updating images. thanks Sean Handley
235
+ Typo!. thanks Sean Handley
236
+ Fix conflict. thanks Sean Handley
237
+ This shouldn't be here. thanks Sean Handley
238
+ Can't run shindo tests with old references. thanks Sean Handley
239
+ Added loading of standard image. thanks Sean Handley
240
+ Shindo tests pass. thanks Sean Handley
241
+ Test that we can view servers. thanks Sean Handley
242
+ Whitespace adjustments. thanks Sean Handley
243
+ CRUDs + tests for servers. thanks Sean Handley
244
+ Added server power cycle actions + basic tests. thanks Sean Handley
245
+ Add new request methods to server object. thanks Sean Handley
246
+ Use get_server, not get_image. thanks Sean Handley
247
+ Need a mock server id. thanks Sean Handley
248
+ This was plain wrong - works now!. thanks Sean Handley
249
+ Don't start servers by default. thanks Sean Handley
250
+ Contrary to the documentation, this actually returns a 200 status rather than a 204. thanks Sean Handley
251
+ Allow setting of memory and disk drives. thanks Sean Handley
252
+ Allow DHCP assignment by default. thanks Sean Handley
253
+ Key 'vnc:ip' was invalid. thanks Sean Handley
254
+ Update allowed attributes and defaults. thanks Sean Handley
255
+ Increase test drive size to accommodate a real image. thanks Sean Handley
256
+ Without setting SMP the web UI won't load :-/. thanks Sean Handley
257
+ Reduce from 80GB to 20GB - big enough, save space. thanks Sean Handley
258
+ Standard images need to be unzipped. thanks Sean Handley
259
+ Need to wait for imaging to complete. thanks Sean Handley
260
+ Add a pseudorandom password generator for VNC. thanks Sean Handley
261
+ Auto generate VNC password randomly. thanks Sean Handley
262
+ Used the amazon published endpoints for sqs as defined at http://docs.amazonwebservices.com/general/latest/gr/rande.html#sqs_region. thanks Stuart Eccles
263
+ Better mocks for invalid Provisioned IOPS values. thanks Thom Mahoney
264
+ Add generic support for EMC Atmos. thanks Timur Alperovich
265
+ Submit password/ssh_key/username through POST body. thanks Trevor Bramble
266
+ Update public_url to handle new header casings from Rackspace. thanks Zachary Danger Campbell
267
+ CloudStack: images.get always returns nil - fixed. thanks alex
268
+ add changelog for 1.5.0. thanks geemus
269
+ fixes for cloudstack mock tests see #1090. thanks geemus
270
+ fix mocked elb tests by including InstanceProtocol closes #1090. thanks geemus
271
+ expand travis config, build more rubies, use non-threaded runner. thanks geemus
272
+ just run mri for now on travis. thanks geemus
273
+ remove empty failure block from model_helper. thanks geemus
274
+ allow 1.8.7 to fail and not report for now (until I can work out why it fails when 1.9.x works. thanks geemus
275
+ return to expecting 1.8.7 to pass. thanks geemus
276
+ fix deprecated requires in Rakefile. thanks geemus
277
+ Made steps to get update/create working. Work in progress. thanks seanhandley
278
+ Update lib/fog/aws/models/compute/security_group.rb. thanks vkhatri
279
+
280
+ [rackspace|blockstorage]
281
+ Add volume tests. thanks Brad Gignac
282
+ Add volume type tests. thanks Brad Gignac
283
+ Add snapshot tests. thanks Brad Gignac
284
+ Add relationship between volumes and snapshots. thanks Brad Gignac
285
+ Add block storage provider. thanks Julio Feijo
286
+ Add volume types to block storage. thanks Julio Feijo
287
+ Add snapshots to block storage. thanks Julio Feijo
288
+
289
+ [rackspace|compute]
290
+ Add service for Cloud Servers v2.0. thanks Brad Gignac
291
+ Add flavors and images. thanks Brad Gignac
292
+ Add servers model and collection. thanks Brad Gignac
293
+ Set password attribute on V2 servers. thanks Brad Gignac
294
+ Don't intern nil strings. thanks Brad Gignac
295
+ Add method for listing attachments. thanks Brad Gignac
296
+ Add tests for volume attachments. thanks Brad Gignac
297
+ Improve attachment test reliability. thanks Brad Gignac
298
+ Add attachments model and collection. thanks Julio Feijo
299
+
300
+ [rackspace|storage]
301
+ Override path when generating sha1 to make tests past. thanks Brian Hartsock
302
+
303
+ [serverlove|compute]
304
+ fix serverlove tests for 1.8.7 compatibility. thanks Frederick Cheung
305
+ fix serverlove tests for 1.8.7 compatibility. thanks geemus
306
+
307
+
308
+ 1.5.0 07/28/2012 2e57e2029abbb618411c20f8974e64d8d3fd31fe
309
+ =========================================================
310
+
311
+ Stats! { 'collaborators' => 36, 'downloads' => 870008, 'forks' => 500, 'open_issues' => 44, 'watchers' => 2074 }
312
+
313
+ [AWS|Autoscaling]
314
+ fix group#instances returning all autoscaled instances in the account. thanks Frederick Cheung
315
+
316
+ [Libvirt]
317
+ fixed incorrect mock method signature. thanks Ohad Levy
318
+ ensure Fog volumes do not raise on LVM based volumes. thanks Ohad Levy
319
+
320
+ [aws|compute]
321
+ Address#destroy handles VPC addresses, improve address allocate/release mocking for VPC. thanks Dan Peterson
322
+
323
+ [aws|elasticache]
324
+ Fix bug in cache cluster test. thanks Benton Roberts
325
+ Remove erroneous whitespace trimming. thanks Benton Roberts
326
+ Add Elasticache service-level mocking support. thanks Benton Roberts
327
+ Add mocking for cache cluster requests. thanks Benton Roberts
328
+ Change modify_cache_cluster test to work in mocking mode. thanks Benton Roberts
329
+ Enable mocking for elasticache cluster tests. thanks Benton Roberts
330
+ Mock raises NotFound Exception when AWS does. thanks Benton Roberts
331
+
332
+ [aws|storage]
333
+ Default to false for persistent connections. thanks Kenny Johnston
334
+
335
+ [cloudstack|security_group]
336
+ fix rule revoke mock. thanks Josh Lane
337
+
338
+ [cloudstack|security_groups]
339
+ add groups and rules. thanks Josh Lane & Jason Hansen
340
+
341
+ [cloudstack|server]
342
+ assign security group. thanks Josh Lane & Jason Hansen
343
+
344
+ [dynect|dns]
345
+ No more recursion when polling jobs. Raise an error if the body indicates failure. thanks Dan Peterson
346
+
347
+ [fix-ephemeral-naming]
348
+ Typo in ephemeral naming. thanks Josh Pasqualetto
349
+
350
+ [joyent|compute]
351
+ fix dataset format in tests. thanks geemus
352
+
353
+ [local|storage]
354
+ mark tests pending in mock mode. thanks geemus
355
+
356
+ [misc]
357
+ fix changelog task for github API v3. thanks Aaron Suggs
358
+ update changelog for release 1.4.0. thanks Aaron Suggs
359
+ changelog: backdate to release data. thanks Aaron Suggs
360
+ Local storage support for #public_url. thanks Adam Tanner
361
+ Bugfix in Fog::DNS::AWS::Records.all!. thanks Alexander Kolesen
362
+ Fix for stopping all the servers instead of just specified servers. thanks Avrohom Katz
363
+ private ip address should start with a 10. thanks Avrohom Katz
364
+ Use proper signature when testing with aws mock. thanks Bohuslav Kabrda
365
+ The user must be destroyed even in mock mode, otherwise completely unrelated tests fail (e.g. tests/aws/models/iam/users_tests.rb). thanks Bohuslav Kabrda
366
+ The condition here should be the same as for destroying, so that we test iff the instance gets destroyed. thanks Bohuslav Kabrda
367
+ The assignment correctly returns nil, just the test has to react to it. thanks Bohuslav Kabrda
368
+ The assignment correctly returns false, just the test has to react to it. thanks Bohuslav Kabrda
369
+ Include this to make refresh_credentials_if_expired method work properly with Mock. thanks Bohuslav Kabrda
370
+ Fix the number where credentials expire - if too high, other tests will fail. thanks Bohuslav Kabrda
371
+ Fix openstack tests. thanks Bohuslav Kabrda
372
+ Fix more openstack mock tests failures. thanks Bohuslav Kabrda
373
+ Add the mock urls to fix some more openstack tests. thanks Bohuslav Kabrda
374
+ Fix minor typos and incorrect types in openstack volume tests. thanks Bohuslav Kabrda
375
+ More typos in openstack server tests. thanks Bohuslav Kabrda
376
+ Rework the quota mock testing to work and be more comfortable. thanks Bohuslav Kabrda
377
+ Must use values, so that connection.list_roles gets corrent argument. thanks Bohuslav Kabrda
378
+ Deleting returns nothing, so do not expect role. thanks Bohuslav Kabrda
379
+ Properly check whether role is present. thanks Bohuslav Kabrda
380
+ Return the properly updated image. thanks Bohuslav Kabrda
381
+ Add the 'new_image' public images, so that find_by_id can find it. thanks Bohuslav Kabrda
382
+ The pending block fails the outer one => make sure we return proper result. thanks Bohuslav Kabrda
383
+ Use proper parameters when testing deploying cloudstact VMs. thanks Bohuslav Kabrda
384
+ This was implemented right previously, shouldn't have changed it. thanks Bohuslav Kabrda
385
+ Correct solution for subnet failing tests - use a collection in self.data. thanks Bohuslav Kabrda
386
+ Do the same thing for vpcs as previously done for subnets. thanks Bohuslav Kabrda
387
+ ...and the same for dhcp_options. thanks Bohuslav Kabrda
388
+ And the same for internet gateways. thanks Bohuslav Kabrda
389
+ Fixes the failure for hp storage. thanks Bohuslav Kabrda
390
+ [rackspace|databases| Add service tests. thanks Brad Gignac
391
+ fix for RDS mocking to avoid state flipping between "modifying" and "available". thanks Brian Nelson
392
+ Fix typo listing datacenters. thanks Carlos Sanchez
393
+ Stop vSphere vms before destroying, or destroy will fail. thanks Carlos Sanchez
394
+ Add a failure for #1014. :v:. thanks Dylan Egan
395
+ Only dup @attributes if it's not nil. thanks Edward Muller
396
+ each based pagination for Fog::AWS::IAM#users. thanks Edward Muller
397
+ fixes elb test in mocking mode. thanks Eric Stonfer
398
+ fix running subnet tests in mocking mode. thanks Eric Stonfer
399
+ fix subnet tests in mocking mode. thanks Eric Stonfer
400
+ fog bombs out on ruby 1.8.x because it cannot find Mutex. thanks Eric Stonfer
401
+ fix not pulling InstanceProtocol from the xml. thanks Frederick Cheung
402
+ Add Sao Paulo server to Amazon RDS known regions. thanks Irio Irineu Musskopf Junior
403
+ Add Sao Paulo server to Amazon SQS known regions. thanks Irio Irineu Musskopf Junior
404
+ Fix bug in local storage #copy_object. thanks Jade Tucker
405
+ Add and get SSL certificates to Rackspace Soft LB. thanks Justin Barry
406
+ Default to being less pessimistic about excon. thanks Kevin Moore
407
+ Fix ssh key behavior when passing specified private keys to ssh/scp. thanks Marc Seeger
408
+ Should not modify passed in "params" variable since block might run several times due to authentication failure producing erroneous path. thanks Max Stepanov
409
+ As discussed in #991, this converts the readme from SimpleMarkup to Markdown. thanks Mike Fiedler
410
+ added PeopleAdmin to list of users. thanks Mike Manewitz
411
+ Fixing typo bug in rackspace load balancer set_ssl_termination request. thanks Paul
412
+ add us-east-1e to mock. thanks Shai Rosenfeld
413
+ Pass up all the options that have been assigned. thanks Trotter Cashion
414
+ Pass options on to AutoScalingGroup. thanks Trotter Cashion
415
+ Add better ScalingPolicy support. thanks Trotter Cashion
416
+ Add more AWS Alarm functionality. thanks Trotter Cashion
417
+ Add delete mocks. thanks Trotter Cashion
418
+ Properly array-ify keys for create_auto_scaling_group. thanks Trotter Cashion
419
+ Add tags to autoscaling groups. thanks Trotter Cashion
420
+ Enable tests when mocking. thanks Trotter Cashion
421
+ Recognize ninefold_api_url option for pre-production testing. thanks Warren Bain
422
+ remove specs (likely from a bad merge). thanks geemus
423
+ update tests/helper to have bare_metal_cloud instead of new_servers. thanks geemus
424
+ Mock for filter ec2 instances by group name. thanks phillc
425
+
426
+ [openstack]
427
+ Fix Authentication for OpenStack v1.1 Authentication. thanks Nelvin Driz
428
+
429
+ [openstack|compute]
430
+ Add filters to list servers details. thanks Ferran Rodenas
431
+ Added adminPass attribute in create_server. thanks Philip Mark M. Deazeta
432
+ fix method signature for mock list_servers_detail. thanks geemus
433
+
434
+ [openstack|image]
435
+ Stream OpenStack image. thanks Vadim Spivak
436
+
437
+ [rackspace|databases]
438
+ Add read-only support for Rackspace Cloud Databases. thanks Brad Gignac
439
+ Add write support for Rackspace Cloud Databases. thanks Brad Gignac
440
+ Register Rackspace Cloud Databases service with Fog. thanks Brad Gignac
441
+ Remove "list/details" API calls in favor of "list" calls. thanks Brad Gignac
442
+ Add model tests. thanks Brad Gignac
443
+ Finish request tests. thanks Brad Gignac
444
+ Remove old comments. thanks Brad Gignac
445
+ Handle breaking API changes. thanks Brad Gignac
446
+ Initial pass at request tests. thanks Brian Hartsock
447
+
448
+ [rackspace|identity]
449
+ Add Rackspace identity service. thanks Brad Gignac
450
+ Add requests and request tests. thanks Brad Gignac
451
+ Add user model and collection with tests. thanks Brad Gignac
452
+ Handle non-array responses from list calls. thanks Brad Gignac
453
+ Better checking around hash/array responses. thanks Brad Gignac
454
+ Handle NotAuthorized respones from the identity API in the user model. thanks Brian Hartsock
455
+ use a valid username in tests. thanks geemus
456
+
457
+ [rackspace|lb]
458
+ fixed broken tests because of API format changes. thanks Brian Hartsock
459
+ ssl termination fixes. thanks Brian Hartsock
460
+ moved to Fog::JSON.encode instead of MultiJson.encode. thanks Brian Hartsock
461
+
462
+
1
463
  1.4.0 06/24/2012 24e0be755e251159f07d5d82beb1e8ef57c962d9
2
464
  =========================================================
3
465