fog 1.21.0 → 1.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (324) hide show
  1. checksums.yaml +8 -8
  2. data/.gitignore +3 -0
  3. data/.travis.yml +4 -2
  4. data/.yardopts +1 -0
  5. data/CHANGELOG.md +8278 -0
  6. data/CONTRIBUTORS.md +37 -0
  7. data/Gemfile +2 -0
  8. data/RELEASE.md +2 -1
  9. data/Rakefile +4 -1
  10. data/fog.gemspec +4 -5
  11. data/gemfiles/Gemfile-edge +17 -0
  12. data/{Gemfile.1.8.7 → gemfiles/Gemfile-ruby-1.8.7} +4 -1
  13. data/lib/fog/aws/core.rb +0 -9
  14. data/lib/fog/aws/dynamodb.rb +0 -1
  15. data/lib/fog/aws/iam.rb +29 -5
  16. data/lib/fog/aws/parsers/compute/describe_dhcp_options.rb +1 -2
  17. data/lib/fog/aws/parsers/iam/list_mfa_devices.rb +34 -0
  18. data/lib/fog/aws/requests/compute/run_instances.rb +8 -2
  19. data/lib/fog/aws/requests/data_pipeline/describe_objects.rb +5 -4
  20. data/lib/fog/aws/requests/iam/list_mfa_devices.rb +55 -0
  21. data/lib/fog/aws/storage.rb +0 -9
  22. data/lib/fog/cloudsigma/docs/getting_started.md +2 -2
  23. data/lib/fog/cloudstack/models/compute/servers.rb +3 -0
  24. data/lib/fog/ecloud/compute.rb +1 -1
  25. data/lib/fog/fogdocker/requests/compute/container_action.rb +1 -1
  26. data/lib/fog/fogdocker/requests/compute/container_all.rb +1 -1
  27. data/lib/fog/fogdocker/requests/compute/container_commit.rb +1 -1
  28. data/lib/fog/fogdocker/requests/compute/container_create.rb +1 -1
  29. data/lib/fog/fogdocker/requests/compute/container_get.rb +1 -1
  30. data/lib/fog/fogdocker/requests/compute/image_all.rb +1 -1
  31. data/lib/fog/fogdocker/requests/compute/image_create.rb +1 -1
  32. data/lib/fog/fogdocker/requests/compute/image_get.rb +1 -1
  33. data/lib/fog/glesys/compute.rb +6 -6
  34. data/lib/fog/google/README.md +1 -1
  35. data/lib/fog/google/compute.rb +63 -3
  36. data/lib/fog/google/examples/create.rb +1 -1
  37. data/lib/fog/google/examples/eric-fail.rb +13 -7
  38. data/lib/fog/google/examples/load-balance.rb +100 -0
  39. data/lib/fog/google/models/compute/address.rb +62 -0
  40. data/lib/fog/google/models/compute/addresses.rb +34 -0
  41. data/lib/fog/google/models/compute/disk.rb +13 -5
  42. data/lib/fog/google/models/compute/firewall.rb +48 -0
  43. data/lib/fog/google/models/compute/firewalls.rb +27 -0
  44. data/lib/fog/google/models/compute/flavor.rb +16 -5
  45. data/lib/fog/google/models/compute/flavors.rb +10 -4
  46. data/lib/fog/google/models/compute/forwarding_rule.rb +88 -0
  47. data/lib/fog/google/models/compute/forwarding_rules.rb +45 -0
  48. data/lib/fog/google/models/compute/http_health_check.rb +85 -0
  49. data/lib/fog/google/models/compute/http_health_checks.rb +26 -0
  50. data/lib/fog/google/models/compute/network.rb +45 -0
  51. data/lib/fog/google/models/compute/networks.rb +27 -0
  52. data/lib/fog/google/models/compute/operation.rb +41 -5
  53. data/lib/fog/google/models/compute/operations.rb +18 -3
  54. data/lib/fog/google/models/compute/project.rb +32 -0
  55. data/lib/fog/google/models/compute/projects.rb +22 -0
  56. data/lib/fog/google/models/compute/region.rb +34 -0
  57. data/lib/fog/google/models/compute/regions.rb +27 -0
  58. data/lib/fog/google/models/compute/route.rb +52 -0
  59. data/lib/fog/google/models/compute/routes.rb +27 -0
  60. data/lib/fog/google/models/compute/server.rb +24 -7
  61. data/lib/fog/google/models/compute/servers.rb +2 -2
  62. data/lib/fog/google/models/compute/snapshot.rb +22 -7
  63. data/lib/fog/google/models/compute/snapshots.rb +4 -2
  64. data/lib/fog/google/models/compute/target_pool.rb +112 -0
  65. data/lib/fog/google/models/compute/target_pools.rb +45 -0
  66. data/lib/fog/google/requests/compute/add_target_pool_health_checks.rb +34 -0
  67. data/lib/fog/google/requests/compute/add_target_pool_instances.rb +34 -0
  68. data/lib/fog/google/requests/compute/delete_forwarding_rule.rb +36 -0
  69. data/lib/fog/google/requests/compute/delete_http_health_check.rb +30 -0
  70. data/lib/fog/google/requests/compute/delete_region_operation.rb +33 -0
  71. data/lib/fog/google/requests/compute/delete_route.rb +26 -0
  72. data/lib/fog/google/requests/compute/delete_snapshot.rb +2 -7
  73. data/lib/fog/google/requests/compute/delete_target_pool.rb +36 -0
  74. data/lib/fog/google/requests/compute/get_forwarding_rule.rb +33 -0
  75. data/lib/fog/google/requests/compute/get_http_health_check.rb +30 -0
  76. data/lib/fog/google/requests/compute/get_project.rb +25 -0
  77. data/lib/fog/google/requests/compute/get_region.rb +26 -0
  78. data/lib/fog/google/requests/compute/get_region_operation.rb +36 -0
  79. data/lib/fog/google/requests/compute/get_route.rb +26 -0
  80. data/lib/fog/google/requests/compute/get_target_pool.rb +33 -0
  81. data/lib/fog/google/requests/compute/get_target_pool_health.rb +35 -0
  82. data/lib/fog/google/requests/compute/insert_address.rb +4 -4
  83. data/lib/fog/google/requests/compute/insert_firewall.rb +20 -6
  84. data/lib/fog/google/requests/compute/insert_forwarding_rule.rb +31 -0
  85. data/lib/fog/google/requests/compute/insert_http_health_check.rb +32 -0
  86. data/lib/fog/google/requests/compute/insert_network.rb +6 -4
  87. data/lib/fog/google/requests/compute/insert_route.rb +38 -0
  88. data/lib/fog/google/requests/compute/insert_server.rb +15 -0
  89. data/lib/fog/google/requests/compute/insert_target_pool.rb +31 -0
  90. data/lib/fog/google/requests/compute/list_aggregated_addresses.rb +25 -0
  91. data/lib/fog/google/requests/compute/list_aggregated_machine_types.rb +25 -0
  92. data/lib/fog/google/requests/compute/list_forwarding_rules.rb +36 -0
  93. data/lib/fog/google/requests/compute/list_http_health_checks.rb +29 -0
  94. data/lib/fog/google/requests/compute/list_region_operations.rb +29 -0
  95. data/lib/fog/google/requests/compute/list_regions.rb +29 -0
  96. data/lib/fog/google/requests/compute/list_routes.rb +25 -0
  97. data/lib/fog/google/requests/compute/list_target_pools.rb +30 -0
  98. data/lib/fog/google/requests/compute/remove_target_pool_health_checks.rb +34 -0
  99. data/lib/fog/google/requests/compute/remove_target_pool_instance.rb +34 -0
  100. data/lib/fog/google/requests/compute/remove_target_pool_instances.rb +34 -0
  101. data/lib/fog/google/requests/compute/set_common_instance_metadata.rb +30 -0
  102. data/lib/fog/google/requests/compute/set_forwarding_rule_target.rb +32 -0
  103. data/lib/fog/google/requests/compute/set_tags.rb +4 -1
  104. data/lib/fog/hp/examples/compute.md +3 -3
  105. data/lib/fog/hp/examples/compute_v2.md +6 -3
  106. data/lib/fog/hp/examples/networking.md +1 -1
  107. data/lib/fog/hp/models/network/router.rb +1 -1
  108. data/lib/fog/joyent/analytics.rb +2 -2
  109. data/lib/fog/joyent/compute.rb +2 -2
  110. data/lib/fog/joyent/models/compute/server.rb +2 -0
  111. data/lib/fog/ninefold/compute.rb +6 -6
  112. data/lib/fog/openstack/compute.rb +3 -3
  113. data/lib/fog/openstack/core.rb +4 -4
  114. data/lib/fog/openstack/examples/network/network_subnets_routers.rb +2 -2
  115. data/lib/fog/openstack/identity.rb +1 -1
  116. data/lib/fog/openstack/image.rb +1 -1
  117. data/lib/fog/openstack/metering.rb +1 -1
  118. data/lib/fog/openstack/models/network/router.rb +21 -4
  119. data/lib/fog/openstack/network.rb +1 -1
  120. data/lib/fog/openstack/orchestration.rb +2 -2
  121. data/lib/fog/openstack/requests/network/create_router.rb +30 -9
  122. data/lib/fog/openstack/requests/network/delete_router.rb +1 -1
  123. data/lib/fog/openstack/requests/network/update_router.rb +28 -41
  124. data/lib/fog/openstack/requests/storage/get_object_https_url.rb +12 -2
  125. data/lib/fog/openstack/storage.rb +1 -1
  126. data/lib/fog/openstack/volume.rb +1 -1
  127. data/lib/fog/rackspace/auto_scale.rb +1 -1
  128. data/lib/fog/rackspace/block_storage.rb +2 -2
  129. data/lib/fog/rackspace/cdn.rb +1 -1
  130. data/lib/fog/rackspace/compute.rb +1 -1
  131. data/lib/fog/rackspace/compute_v2.rb +2 -2
  132. data/lib/fog/rackspace/core.rb +2 -1
  133. data/lib/fog/rackspace/databases.rb +2 -2
  134. data/lib/fog/rackspace/dns.rb +1 -1
  135. data/lib/fog/rackspace/identity.rb +1 -1
  136. data/lib/fog/rackspace/load_balancers.rb +2 -2
  137. data/lib/fog/rackspace/models/compute_v2/server.rb +18 -6
  138. data/lib/fog/rackspace/models/dns/records.rb +22 -0
  139. data/lib/fog/rackspace/models/monitoring/alarm.rb +3 -1
  140. data/lib/fog/rackspace/models/queues/message.rb +2 -2
  141. data/lib/fog/rackspace/models/storage/metadata.rb +0 -5
  142. data/lib/fog/rackspace/monitoring.rb +1 -1
  143. data/lib/fog/rackspace/queues.rb +1 -1
  144. data/lib/fog/rackspace/requests/compute_v2/create_server.rb +5 -2
  145. data/lib/fog/rackspace/service.rb +1 -1
  146. data/lib/fog/rackspace/storage.rb +1 -1
  147. data/lib/fog/rage4/models/dns/record.rb +2 -0
  148. data/lib/fog/rage4/requests/dns/create_record.rb +2 -0
  149. data/lib/fog/rage4/requests/dns/update_record.rb +2 -0
  150. data/lib/fog/serverlove/compute.rb +2 -2
  151. data/lib/fog/vcloud_director/models/compute/tasks.rb +1 -0
  152. data/lib/fog/version.rb +1 -1
  153. data/lib/fog/vsphere/core.rb +23 -0
  154. data/lib/fog/vsphere/models/compute/interface.rb +3 -3
  155. data/lib/fog/vsphere/requests/compute/create_vm.rb +2 -2
  156. data/lib/fog/vsphere/requests/compute/list_interface_types.rb +1 -2
  157. data/lib/tasks/changelog_task.rb +191 -89
  158. data/lib/tasks/github_release_task.rb +67 -0
  159. data/spec/fog/xml/connection_spec.rb +34 -0
  160. data/tests/aws/requests/iam/mfa_tests.rb +23 -0
  161. data/tests/aws/signed_params_tests.rb +9 -5
  162. data/tests/google/helpers/disk_helper.rb +1 -1
  163. data/tests/google/requests/compute/disk_tests.rb +3 -21
  164. data/tests/helper.rb +1 -1
  165. data/tests/openstack/models/network/router_tests.rb +3 -2
  166. data/tests/openstack/requests/network/router_tests.rb +10 -12
  167. data/tests/openstack/requests/storage/object_tests.rb +23 -7
  168. data/tests/rackspace/models/compute_v2/server_tests.rb +1 -1
  169. data/tests/rackspace/models/monitoring/alarm_tests.rb +3 -0
  170. data/tests/rage4/requests/dns/dns_tests.rb +32 -0
  171. metadata +66 -172
  172. data/changelog.txt +0 -8265
  173. data/providers/brightbox/.gitignore +0 -1
  174. data/providers/brightbox/Gemfile +0 -3
  175. data/providers/brightbox/LICENSE.txt +0 -22
  176. data/providers/brightbox/README.md +0 -50
  177. data/providers/brightbox/Rakefile +0 -8
  178. data/providers/brightbox/fog-brightbox.gemspec +0 -28
  179. data/providers/brightbox/lib/fog/brightbox.rb +0 -1
  180. data/providers/brightbox/lib/fog/brightbox/compute.rb +0 -305
  181. data/providers/brightbox/lib/fog/brightbox/compute/image_selector.rb +0 -45
  182. data/providers/brightbox/lib/fog/brightbox/compute/shared.rb +0 -230
  183. data/providers/brightbox/lib/fog/brightbox/core.rb +0 -11
  184. data/providers/brightbox/lib/fog/brightbox/models/compute/account.rb +0 -69
  185. data/providers/brightbox/lib/fog/brightbox/models/compute/accounts.rb +0 -29
  186. data/providers/brightbox/lib/fog/brightbox/models/compute/api_client.rb +0 -37
  187. data/providers/brightbox/lib/fog/brightbox/models/compute/api_clients.rb +0 -24
  188. data/providers/brightbox/lib/fog/brightbox/models/compute/application.rb +0 -24
  189. data/providers/brightbox/lib/fog/brightbox/models/compute/applications.rb +0 -28
  190. data/providers/brightbox/lib/fog/brightbox/models/compute/cloud_ip.rb +0 -68
  191. data/providers/brightbox/lib/fog/brightbox/models/compute/cloud_ips.rb +0 -34
  192. data/providers/brightbox/lib/fog/brightbox/models/compute/collaboration.rb +0 -49
  193. data/providers/brightbox/lib/fog/brightbox/models/compute/collaborations.rb +0 -47
  194. data/providers/brightbox/lib/fog/brightbox/models/compute/database_server.rb +0 -97
  195. data/providers/brightbox/lib/fog/brightbox/models/compute/database_servers.rb +0 -28
  196. data/providers/brightbox/lib/fog/brightbox/models/compute/database_snapshot.rb +0 -52
  197. data/providers/brightbox/lib/fog/brightbox/models/compute/database_snapshots.rb +0 -24
  198. data/providers/brightbox/lib/fog/brightbox/models/compute/database_type.rb +0 -19
  199. data/providers/brightbox/lib/fog/brightbox/models/compute/database_types.rb +0 -26
  200. data/providers/brightbox/lib/fog/brightbox/models/compute/firewall_policies.rb +0 -29
  201. data/providers/brightbox/lib/fog/brightbox/models/compute/firewall_policy.rb +0 -63
  202. data/providers/brightbox/lib/fog/brightbox/models/compute/firewall_rule.rb +0 -54
  203. data/providers/brightbox/lib/fog/brightbox/models/compute/firewall_rules.rb +0 -24
  204. data/providers/brightbox/lib/fog/brightbox/models/compute/flavor.rb +0 -32
  205. data/providers/brightbox/lib/fog/brightbox/models/compute/flavors.rb +0 -28
  206. data/providers/brightbox/lib/fog/brightbox/models/compute/image.rb +0 -64
  207. data/providers/brightbox/lib/fog/brightbox/models/compute/images.rb +0 -28
  208. data/providers/brightbox/lib/fog/brightbox/models/compute/load_balancer.rb +0 -107
  209. data/providers/brightbox/lib/fog/brightbox/models/compute/load_balancers.rb +0 -28
  210. data/providers/brightbox/lib/fog/brightbox/models/compute/server.rb +0 -217
  211. data/providers/brightbox/lib/fog/brightbox/models/compute/server_group.rb +0 -94
  212. data/providers/brightbox/lib/fog/brightbox/models/compute/server_groups.rb +0 -29
  213. data/providers/brightbox/lib/fog/brightbox/models/compute/servers.rb +0 -61
  214. data/providers/brightbox/lib/fog/brightbox/models/compute/user.rb +0 -43
  215. data/providers/brightbox/lib/fog/brightbox/models/compute/user_collaboration.rb +0 -44
  216. data/providers/brightbox/lib/fog/brightbox/models/compute/user_collaborations.rb +0 -31
  217. data/providers/brightbox/lib/fog/brightbox/models/compute/users.rb +0 -27
  218. data/providers/brightbox/lib/fog/brightbox/models/compute/zone.rb +0 -22
  219. data/providers/brightbox/lib/fog/brightbox/models/compute/zones.rb +0 -29
  220. data/providers/brightbox/lib/fog/brightbox/oauth2.rb +0 -166
  221. data/providers/brightbox/lib/fog/brightbox/requests/compute/accept_user_collaboration.rb +0 -21
  222. data/providers/brightbox/lib/fog/brightbox/requests/compute/activate_console_server.rb +0 -21
  223. data/providers/brightbox/lib/fog/brightbox/requests/compute/add_listeners_load_balancer.rb +0 -24
  224. data/providers/brightbox/lib/fog/brightbox/requests/compute/add_nodes_load_balancer.rb +0 -24
  225. data/providers/brightbox/lib/fog/brightbox/requests/compute/add_servers_server_group.rb +0 -34
  226. data/providers/brightbox/lib/fog/brightbox/requests/compute/apply_to_firewall_policy.rb +0 -24
  227. data/providers/brightbox/lib/fog/brightbox/requests/compute/create_api_client.rb +0 -23
  228. data/providers/brightbox/lib/fog/brightbox/requests/compute/create_application.rb +0 -23
  229. data/providers/brightbox/lib/fog/brightbox/requests/compute/create_cloud_ip.rb +0 -24
  230. data/providers/brightbox/lib/fog/brightbox/requests/compute/create_collaboration.rb +0 -23
  231. data/providers/brightbox/lib/fog/brightbox/requests/compute/create_database_server.rb +0 -25
  232. data/providers/brightbox/lib/fog/brightbox/requests/compute/create_firewall_policy.rb +0 -26
  233. data/providers/brightbox/lib/fog/brightbox/requests/compute/create_firewall_rule.rb +0 -29
  234. data/providers/brightbox/lib/fog/brightbox/requests/compute/create_image.rb +0 -30
  235. data/providers/brightbox/lib/fog/brightbox/requests/compute/create_load_balancer.rb +0 -26
  236. data/providers/brightbox/lib/fog/brightbox/requests/compute/create_server.rb +0 -29
  237. data/providers/brightbox/lib/fog/brightbox/requests/compute/create_server_group.rb +0 -23
  238. data/providers/brightbox/lib/fog/brightbox/requests/compute/delete_api_client.rb +0 -28
  239. data/providers/brightbox/lib/fog/brightbox/requests/compute/delete_application.rb +0 -28
  240. data/providers/brightbox/lib/fog/brightbox/requests/compute/delete_cloud_ip.rb +0 -28
  241. data/providers/brightbox/lib/fog/brightbox/requests/compute/delete_collaboration.rb +0 -28
  242. data/providers/brightbox/lib/fog/brightbox/requests/compute/delete_database_server.rb +0 -26
  243. data/providers/brightbox/lib/fog/brightbox/requests/compute/delete_database_snapshot.rb +0 -26
  244. data/providers/brightbox/lib/fog/brightbox/requests/compute/delete_firewall_policy.rb +0 -28
  245. data/providers/brightbox/lib/fog/brightbox/requests/compute/delete_firewall_rule.rb +0 -28
  246. data/providers/brightbox/lib/fog/brightbox/requests/compute/delete_image.rb +0 -28
  247. data/providers/brightbox/lib/fog/brightbox/requests/compute/delete_load_balancer.rb +0 -28
  248. data/providers/brightbox/lib/fog/brightbox/requests/compute/delete_server.rb +0 -28
  249. data/providers/brightbox/lib/fog/brightbox/requests/compute/delete_server_group.rb +0 -28
  250. data/providers/brightbox/lib/fog/brightbox/requests/compute/delete_user_collaboration.rb +0 -28
  251. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_account.rb +0 -29
  252. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_api_client.rb +0 -21
  253. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_application.rb +0 -21
  254. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_authenticated_user.rb +0 -17
  255. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_cloud_ip.rb +0 -21
  256. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_collaboration.rb +0 -21
  257. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_database_server.rb +0 -19
  258. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_database_snapshot.rb +0 -19
  259. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_database_type.rb +0 -21
  260. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_firewall_policy.rb +0 -21
  261. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_firewall_rule.rb +0 -21
  262. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_image.rb +0 -21
  263. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_interface.rb +0 -21
  264. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_load_balancer.rb +0 -21
  265. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_scoped_account.rb +0 -15
  266. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_server.rb +0 -21
  267. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_server_group.rb +0 -21
  268. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_server_type.rb +0 -21
  269. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_user.rb +0 -29
  270. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_user_collaboration.rb +0 -21
  271. data/providers/brightbox/lib/fog/brightbox/requests/compute/get_zone.rb +0 -21
  272. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_accounts.rb +0 -17
  273. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_api_clients.rb +0 -19
  274. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_applications.rb +0 -19
  275. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_cloud_ips.rb +0 -19
  276. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_collaborations.rb +0 -19
  277. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_database_servers.rb +0 -17
  278. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_database_snapshots.rb +0 -17
  279. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_database_types.rb +0 -19
  280. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_firewall_policies.rb +0 -19
  281. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_images.rb +0 -19
  282. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_load_balancers.rb +0 -19
  283. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_server_groups.rb +0 -19
  284. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_server_types.rb +0 -19
  285. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_servers.rb +0 -19
  286. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_user_collaborations.rb +0 -19
  287. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_users.rb +0 -19
  288. data/providers/brightbox/lib/fog/brightbox/requests/compute/list_zones.rb +0 -19
  289. data/providers/brightbox/lib/fog/brightbox/requests/compute/map_cloud_ip.rb +0 -24
  290. data/providers/brightbox/lib/fog/brightbox/requests/compute/move_servers_server_group.rb +0 -36
  291. data/providers/brightbox/lib/fog/brightbox/requests/compute/reject_user_collaboration.rb +0 -21
  292. data/providers/brightbox/lib/fog/brightbox/requests/compute/remove_firewall_policy.rb +0 -24
  293. data/providers/brightbox/lib/fog/brightbox/requests/compute/remove_listeners_load_balancer.rb +0 -24
  294. data/providers/brightbox/lib/fog/brightbox/requests/compute/remove_nodes_load_balancer.rb +0 -24
  295. data/providers/brightbox/lib/fog/brightbox/requests/compute/remove_servers_server_group.rb +0 -34
  296. data/providers/brightbox/lib/fog/brightbox/requests/compute/resend_collaboration.rb +0 -21
  297. data/providers/brightbox/lib/fog/brightbox/requests/compute/reset_ftp_password_account.rb +0 -32
  298. data/providers/brightbox/lib/fog/brightbox/requests/compute/reset_ftp_password_scoped_account.rb +0 -18
  299. data/providers/brightbox/lib/fog/brightbox/requests/compute/reset_password_database_server.rb +0 -19
  300. data/providers/brightbox/lib/fog/brightbox/requests/compute/reset_secret_api_client.rb +0 -25
  301. data/providers/brightbox/lib/fog/brightbox/requests/compute/reset_secret_application.rb +0 -21
  302. data/providers/brightbox/lib/fog/brightbox/requests/compute/shutdown_server.rb +0 -21
  303. data/providers/brightbox/lib/fog/brightbox/requests/compute/snapshot_database_server.rb +0 -19
  304. data/providers/brightbox/lib/fog/brightbox/requests/compute/snapshot_server.rb +0 -21
  305. data/providers/brightbox/lib/fog/brightbox/requests/compute/start_server.rb +0 -21
  306. data/providers/brightbox/lib/fog/brightbox/requests/compute/stop_server.rb +0 -21
  307. data/providers/brightbox/lib/fog/brightbox/requests/compute/unmap_cloud_ip.rb +0 -21
  308. data/providers/brightbox/lib/fog/brightbox/requests/compute/update_account.rb +0 -61
  309. data/providers/brightbox/lib/fog/brightbox/requests/compute/update_api_client.rb +0 -26
  310. data/providers/brightbox/lib/fog/brightbox/requests/compute/update_application.rb +0 -26
  311. data/providers/brightbox/lib/fog/brightbox/requests/compute/update_cloud_ip.rb +0 -27
  312. data/providers/brightbox/lib/fog/brightbox/requests/compute/update_database_server.rb +0 -25
  313. data/providers/brightbox/lib/fog/brightbox/requests/compute/update_database_snapshot.rb +0 -26
  314. data/providers/brightbox/lib/fog/brightbox/requests/compute/update_firewall_policy.rb +0 -26
  315. data/providers/brightbox/lib/fog/brightbox/requests/compute/update_firewall_rule.rb +0 -31
  316. data/providers/brightbox/lib/fog/brightbox/requests/compute/update_image.rb +0 -31
  317. data/providers/brightbox/lib/fog/brightbox/requests/compute/update_load_balancer.rb +0 -29
  318. data/providers/brightbox/lib/fog/brightbox/requests/compute/update_scoped_account.rb +0 -31
  319. data/providers/brightbox/lib/fog/brightbox/requests/compute/update_server.rb +0 -28
  320. data/providers/brightbox/lib/fog/brightbox/requests/compute/update_server_group.rb +0 -26
  321. data/providers/brightbox/lib/fog/brightbox/requests/compute/update_user.rb +0 -29
  322. data/providers/brightbox/lib/fog/brightbox/version.rb +0 -5
  323. data/providers/brightbox/test/fog/compute/brightbox_test.rb +0 -37
  324. data/test/fog/xml/connection_test.rb +0 -30
@@ -0,0 +1,67 @@
1
+ require "rake"
2
+ require "rake/tasklib"
3
+ require 'octokit'
4
+ require 'netrc'
5
+
6
+ module Fog
7
+ module Rake
8
+ class GithubReleaseTask < ::Rake::TaskLib
9
+
10
+ def initialize
11
+ desc "Update the changelog since the last release"
12
+ task(:github_release) do
13
+
14
+ File.open('CHANGELOG.md', 'r') do |file|
15
+ file.each_line do |line|
16
+ @current_line = line
17
+ if release_header?
18
+ create_release if !release_exists? && @release
19
+ @release_tag = release_match[1]
20
+ @release = line
21
+ else
22
+ @release << line
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
28
+
29
+ private
30
+
31
+ def create_release
32
+ github.create_release "fog/fog", "v#{@release_tag}", {:name => "v#{@release_tag}", :body => @release}
33
+ puts "creating release #{@release_tag}"
34
+ end
35
+
36
+ def releases
37
+ return @releases if @releases
38
+ response = github.releases("fog/fog")
39
+ @releases = response.collect {|r| r.tag_name }
40
+ end
41
+
42
+ def release_exists?
43
+ releases.find {|r| r == "v#{@release_tag}" } != nil
44
+ end
45
+
46
+ def release_header?
47
+ release_match != nil
48
+ end
49
+
50
+ def release_match
51
+ @current_line.match /## (\d+\.\d+\.\d+) \d+\/\d+\d+/
52
+ end
53
+
54
+ def github
55
+ unless @github
56
+ Octokit.auto_paginate = true
57
+ @github = Octokit::Client.new :netrc => true
58
+ unless @github.login
59
+ @github = nil
60
+ raise "Please create a ~/.netrc file to authenticate with github. For more information please see https://github.com/octokit/octokit.rb/blob/master/README.md#using-a-netrc-file"
61
+ end
62
+ end
63
+ @github
64
+ end
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,34 @@
1
+ require "minitest/autorun"
2
+ require "fog"
3
+
4
+ # @note This is going to be part of fog-xml eventually
5
+ describe Fog::XML::Connection do
6
+ before do
7
+ @connection = Fog::XML::Connection.new("http://localhost")
8
+ end
9
+
10
+ after do
11
+ Excon.stubs.clear
12
+ end
13
+
14
+ it "responds to #request" do
15
+ assert_respond_to @connection, :request
16
+ end
17
+
18
+ describe "when request is passed a parser" do
19
+ it "returns the body after parsing" do
20
+ @parser = Fog::ToHashDocument.new
21
+ Excon.stub({}, { :status => 200, :body => "<xml></xml>" })
22
+ response = @connection.request(:parser => @parser, :mock => true)
23
+ assert_equal({ :xml => "" }, response.body)
24
+ end
25
+ end
26
+
27
+ describe "when request excludes a parser" do
28
+ it "returns the response body without change" do
29
+ Excon.stub({}, { :status => 200, :body => "<xml></xml>" })
30
+ response = @connection.request(:mock => true)
31
+ assert_equal("<xml></xml>", response.body)
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,23 @@
1
+ Shindo.tests('AWS::IAM | mfa requests', ['aws']) do
2
+
3
+ tests('success') do
4
+ @mfa_devices_format = {
5
+ 'MFADevices' => [{
6
+ 'EnableDate' => Time,
7
+ 'SerialNumber' => String,
8
+ 'UserName' => String
9
+ }],
10
+ 'IsTruncated' => Fog::Boolean,
11
+ 'RequestId' => String
12
+ }
13
+
14
+ tests('#list_mfa_devices').formats(@mfa_devices_format) do
15
+ Fog::AWS[:iam].list_mfa_devices.body
16
+ end
17
+ end
18
+
19
+ tests('failure') do
20
+ test('failing conditions')
21
+ end
22
+
23
+ end
@@ -3,11 +3,15 @@
3
3
  Shindo.tests('AWS | signed_params', ['aws']) do
4
4
  returns( Fog::AWS.escape( "'Stöp!' said Fred_-~./" ) ) { "%27St%C3%B6p%21%27%20said%20Fred_-~.%2F" }
5
5
 
6
- tests('Keys should be canonicalised using Unicode NFC') do
7
- returns( Fog::AWS.escape( ["00E9".to_i(16)].pack("U*") ) ) { "%C3%A9" }
6
+ tests('Unicode characters should be escaped') do
7
+ unicode = ["00E9".to_i(16)].pack("U*")
8
+ escaped = "%C3%A9"
9
+ returns( escaped ) { Fog::AWS.escape( unicode ) }
10
+ end
8
11
 
9
- tests('Characters with combining mark should be combined and then escaped') do
10
- returns( Fog::AWS.escape( ["0065".to_i(16), "0301".to_i(16)].pack("U*") ) ) { "%C3%A9" }
11
- end
12
+ tests('Unicode characters with combining marks should be escaped') do
13
+ unicode = ["0065".to_i(16), "0301".to_i(16)].pack("U*")
14
+ escaped = "e%CC%81"
15
+ returns( escaped ) { Fog::AWS.escape( unicode ) }
12
16
  end
13
17
  end
@@ -5,7 +5,7 @@ def create_test_disk(connection, zone)
5
5
  :name => "fogservername",
6
6
  :size_gb => "2",
7
7
  :zone_name => zone,
8
- :source_image => "debian-7-wheezy-v20131120",
8
+ :source_image => "debian-7-wheezy-v20140408",
9
9
  })
10
10
  disk.wait_for { ready? }
11
11
  disk
@@ -25,7 +25,9 @@ Shindo.tests('Fog::Compute[:google] | disk requests', ['google']) do
25
25
  'name' => String,
26
26
  'zone' => String,
27
27
  'status' => String,
28
- 'sizeGb' => String
28
+ 'sizeGb' => String,
29
+ 'sourceImageId' => String,
30
+ 'sourceImage' => String,
29
31
  }
30
32
 
31
33
  @delete_disk_format = {
@@ -44,22 +46,6 @@ Shindo.tests('Fog::Compute[:google] | disk requests', ['google']) do
44
46
  'operationType' => String
45
47
  }
46
48
 
47
- @list_disks_format = {
48
- 'kind' => String,
49
- 'id' => String,
50
- 'selfLink' => String,
51
- 'items' => [{
52
- 'kind'=> String,
53
- 'id'=> String,
54
- 'creationTimestamp'=>String,
55
- 'selfLink'=>String,
56
- 'name'=> String,
57
- 'sizeGb'=> String,
58
- 'zone'=> String,
59
- 'status'=>String,
60
- }]
61
- }
62
-
63
49
  tests('success') do
64
50
 
65
51
  disk_name = 'new-disk-test'
@@ -76,10 +62,6 @@ Shindo.tests('Fog::Compute[:google] | disk requests', ['google']) do
76
62
  @google.get_disk(disk_name, zone_name).body
77
63
  end
78
64
 
79
- tests("#list_disks").formats(@list_disks_format) do
80
- @google.list_disks(zone_name).body
81
- end
82
-
83
65
  tests("#delete_disk").formats(@delete_disk_format) do
84
66
  @google.delete_disk(disk_name, zone_name).body
85
67
  end
@@ -61,7 +61,7 @@ end
61
61
 
62
62
  # mark libvirt tests pending if not setup
63
63
  begin
64
- require('ruby-libvirt')
64
+ require('libvirt')
65
65
  rescue LoadError
66
66
  Formatador.display_line("[yellow]Skipping tests for [bold]libvirt[/] [yellow]due to missing `ruby-libvirt` gem.[/]")
67
67
  Thread.current[:tags] << '-libvirt'
@@ -11,9 +11,10 @@ Shindo.tests("Fog::Network[:openstack] | router", ['openstack']) do
11
11
  end
12
12
 
13
13
  tests('#update') do
14
- test 'router name' do
14
+ test('router name') do
15
15
  @instance.name = 'new_name'
16
- @instance.update.name == 'new_name'
16
+ @instance.update
17
+ @instance.name == 'new_name'
17
18
  end
18
19
  # Needs code from issue #1598
19
20
  #test 'external_gateway_info' do
@@ -1,12 +1,12 @@
1
1
  Shindo.tests('Fog::Network[:openstack] | router requests', ['openstack']) do
2
2
 
3
3
  @router_format = {
4
- 'id' => String,
5
- 'name' => String,
6
- 'status' => String,
7
- 'admin_state_up' => Fog::Boolean,
8
- 'tenant_id' => String,
9
- 'external_gateway_info' => Fog::Nullable::Hash,
4
+ :id => String,
5
+ :name => String,
6
+ :status => String,
7
+ :admin_state_up => Fog::Boolean,
8
+ :tenant_id => String,
9
+ :external_gateway_info => Fog::Nullable::Hash,
10
10
  }
11
11
 
12
12
  tests('success') do
@@ -29,12 +29,11 @@ Shindo.tests('Fog::Network[:openstack] | router requests', ['openstack']) do
29
29
 
30
30
  tests('#update_router').formats({'router' => @router_format}) do
31
31
  router_id = Fog::Network[:openstack].routers.all.first.id
32
- attributes = {}
33
- {
32
+ attributes = {
34
33
  :name => 'net_name',
35
34
  :external_gateway_info => { :network_id => 'net_id' },
36
35
  :status => 'ACTIVE',
37
- :admin_state_up => 'true'
36
+ :admin_state_up => true
38
37
  }
39
38
  Fog::Network[:openstack].update_router(router_id, attributes).body
40
39
  end
@@ -42,12 +41,11 @@ Shindo.tests('Fog::Network[:openstack] | router requests', ['openstack']) do
42
41
  tests('#update_router_with_network').formats({'router' => @router_format}) do
43
42
  router_id = Fog::Network[:openstack].routers.all.first.id
44
43
  net = Fog::Network[:openstack].networks.first
45
- attributes = {}
46
- {
44
+ attributes = {
47
45
  :name => 'net_name',
48
46
  :external_gateway_info => net,
49
47
  :status => 'ACTIVE',
50
- :admin_state_up => 'true'
48
+ :admin_state_up => true
51
49
  }
52
50
  Fog::Network[:openstack].update_router(router_id, attributes).body
53
51
  end
@@ -41,18 +41,34 @@ Shindo.tests('Fog::Storage[:openstack] | object requests', ["openstack"]) do
41
41
  Fog::Storage[:openstack].delete_object('fogobjecttests', 'fog_object')
42
42
  end
43
43
 
44
- tests("#get_object_http_url('directory.identity', 'fog_object', expiration timestamp)").returns(true) do
45
- pending if Fog.mocking?
46
- object_url = Fog::Storage[:openstack].get_object_http_url(@directory.identity, 'fog_object', (Time.now + 60))
44
+ def test_temp_url(url_s, time, desired_scheme)
45
+ object_url = URI.parse(url_s)
46
+ query_params = URI.decode_www_form(object_url.query)
47
47
 
48
- (object_url =~ /http:\/\/\S+\/v1\/AUTH_\S+\/#{@directory.identity}\/fog_object\?temp_url_sig=\S+&temp_url_expires=\d+/) != nil
48
+ tests("the link is #{desired_scheme}").returns(desired_scheme) { object_url.scheme }
49
+ tests('the container and object are present in the path').returns(true) do
50
+ (object_url.path =~ /\/#{@directory.identity}\/fog_object/) != nil
51
+ end
52
+ tests('a temp_url_sig is present').returns(true) do
53
+ query_params.any? { |p| p[0] == 'temp_url_sig' }
54
+ end
55
+ tests('temp_url_expires matches the expiration').returns(true) do
56
+ query_params.any? { |p| p == ['temp_url_expires', time.to_i.to_s] }
57
+ end
49
58
  end
50
59
 
51
- tests("#get_object_https_url('directory.identity', 'fog_object', expiration timestamp)").returns(true) do
60
+ tests("#get_object_http_url('directory.identity', 'fog_object', expiration timestamp)").succeeds do
52
61
  pending if Fog.mocking?
53
- object_url = Fog::Storage[:openstack].get_object_https_url(@directory.identity, 'fog_object', (Time.now + 60))
62
+ ts = Time.at(1395343213)
63
+ url_s = Fog::Storage[:openstack].get_object_http_url(@directory.identity, 'fog_object', ts)
64
+ test_temp_url(url_s, ts, 'http')
65
+ end
54
66
 
55
- (object_url =~ /https:\/\/\S+\/v1\/AUTH_\S+\/#{@directory.identity}\/fog_object\?temp_url_sig=\S+&temp_url_expires=\d+/) != nil
67
+ tests("#get_object_https_url('directory.identity', 'fog_object', expiration timestamp)").succeeds do
68
+ pending if Fog.mocking?
69
+ ts = Time.at(1395343215)
70
+ url_s = Fog::Storage[:openstack].get_object_https_url(@directory.identity, 'fog_object', ts)
71
+ test_temp_url(url_s, ts, 'https')
56
72
  end
57
73
 
58
74
  tests("put_object with block") do
@@ -3,7 +3,7 @@ Shindo.tests('Fog::Compute::RackspaceV2 | server', ['rackspace']) do
3
3
  cbs_service = Fog::Rackspace::BlockStorage.new
4
4
 
5
5
  tests('setup test network').succeeds do
6
- @network = service.networks.create :label => "fog_test_net_#{Time.now.to_i.to_s}", :cidr => '192.168.1.1/24'
6
+ @network = service.networks.create :label => "fog_test_net_#{Time.now.to_i.to_s}", :cidr => '192.168.1.0/24'
7
7
  end
8
8
 
9
9
  options = {
@@ -31,6 +31,7 @@ Shindo.tests('Fog::Rackspace::Monitoring | alarm', ['rackspace','rackspace_monit
31
31
  :entity => @entity) )
32
32
  np = "npTechnicalContactsEmail"
33
33
  options = CHECK_CREATE_OPTIONS.merge(
34
+ :disabled => false,
34
35
  :label => "fog_#{Time.now.to_i.to_s}",
35
36
  :entity => @entity,
36
37
  :entity_id => @entity.id,
@@ -41,12 +42,14 @@ Shindo.tests('Fog::Rackspace::Monitoring | alarm', ['rackspace','rackspace_monit
41
42
  collection = service.alarms(:entity => @entity)
42
43
  model_tests(collection, options, false) do
43
44
  tests('#update').succeeds do
45
+ @instance.disabled = true
44
46
  new_label = "new_label_#{Time.now.to_i.to_s}"
45
47
  @instance.label = new_label
46
48
  @instance.save
47
49
  @instance.label = nil # blank out label just to make sure
48
50
  @instance.reload
49
51
  returns(new_label) { @instance.label}
52
+ returns(true) { @instance.disabled }
50
53
  end
51
54
 
52
55
  end
@@ -167,6 +167,23 @@ Shindo.tests('Fog::DNS[:rage4] | DNS requests', ['rage4', 'dns']) do
167
167
  response.body['status'] && !@record_id.nil?
168
168
  end
169
169
 
170
+ test("create_record with options") do
171
+ pending if Fog.mocking?
172
+
173
+ name = "www." + @domain
174
+ type = 2 #"A"
175
+ data = "1.2.3.5"
176
+ options = { :udplimit => true }
177
+ response = Fog::DNS[:rage4].create_record(@domain_id, name , data, type, options)
178
+
179
+ if response.status == 200
180
+ @record_id = response.body['id']
181
+ end
182
+
183
+ response.status == 200 && response.body['error'] == "" &&
184
+ response.body['status'] && !@record_id.nil?
185
+ end
186
+
170
187
  test("update_record") do
171
188
  pending if Fog.mocking?
172
189
 
@@ -181,6 +198,21 @@ Shindo.tests('Fog::DNS[:rage4] | DNS requests', ['rage4', 'dns']) do
181
198
  response.body['status']
182
199
  end
183
200
 
201
+ test("update_record with options") do
202
+ pending if Fog.mocking?
203
+
204
+ name = "www." + @domain
205
+ type = 2 #"A"
206
+ data = "4.3.2.1"
207
+ options = { :udplimit => true }
208
+ response = Fog::DNS[:rage4].update_record(@record_id, name, data, type, options)
209
+
210
+ returns(@record_id) { response.body['id'] }
211
+
212
+ response.status == 200 && response.body['error'] == "" &&
213
+ response.body['status']
214
+ end
215
+
184
216
  test("list_records") do
185
217
  pending if Fog.mocking?
186
218
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - geemus (Wesley Beary)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-18 00:00:00.000000000 Z
11
+ date: 2014-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core
@@ -166,14 +166,14 @@ dependencies:
166
166
  name: rbovirt
167
167
  requirement: !ruby/object:Gem::Requirement
168
168
  requirements:
169
- - - ! '>='
169
+ - - '='
170
170
  - !ruby/object:Gem::Version
171
171
  version: 0.0.24
172
172
  type: :development
173
173
  prerelease: false
174
174
  version_requirements: !ruby/object:Gem::Requirement
175
175
  requirements:
176
- - - ! '>='
176
+ - - '='
177
177
  - !ruby/object:Gem::Version
178
178
  version: 0.0.24
179
179
  - !ruby/object:Gem::Dependency
@@ -238,20 +238,6 @@ dependencies:
238
238
  - - ! '>='
239
239
  - !ruby/object:Gem::Version
240
240
  version: 0.6.2
241
- - !ruby/object:Gem::Dependency
242
- name: unf
243
- requirement: !ruby/object:Gem::Requirement
244
- requirements:
245
- - - ! '>='
246
- - !ruby/object:Gem::Version
247
- version: '0'
248
- type: :development
249
- prerelease: false
250
- version_requirements: !ruby/object:Gem::Requirement
251
- requirements:
252
- - - ! '>='
253
- - !ruby/object:Gem::Version
254
- version: '0'
255
241
  description: The Ruby cloud services library. Supports all major cloud providers including
256
242
  AWS, Rackspace, Linode, Blue Box, StormOnDemand, and many others. Full support for
257
243
  most AWS services including EC2, S3, CloudWatch, SimpleDB, ELB, and RDS.
@@ -266,10 +252,11 @@ files:
266
252
  - .gitignore
267
253
  - .irbrc
268
254
  - .travis.yml
255
+ - .yardopts
256
+ - CHANGELOG.md
269
257
  - CONTRIBUTING.md
270
258
  - CONTRIBUTORS.md
271
259
  - Gemfile
272
- - Gemfile.1.8.7
273
260
  - LICENSE.md
274
261
  - README.md
275
262
  - RELEASE.md
@@ -281,8 +268,9 @@ files:
281
268
  - benchs/params.rb
282
269
  - benchs/parse_vs_push.rb
283
270
  - bin/fog
284
- - changelog.txt
285
271
  - fog.gemspec
272
+ - gemfiles/Gemfile-edge
273
+ - gemfiles/Gemfile-ruby-1.8.7
286
274
  - lib/fog.rb
287
275
  - lib/fog/atmos.rb
288
276
  - lib/fog/atmos/core.rb
@@ -643,6 +631,7 @@ files:
643
631
  - lib/fog/aws/parsers/iam/list_groups.rb
644
632
  - lib/fog/aws/parsers/iam/list_groups_for_user.rb
645
633
  - lib/fog/aws/parsers/iam/list_instance_profiles.rb
634
+ - lib/fog/aws/parsers/iam/list_mfa_devices.rb
646
635
  - lib/fog/aws/parsers/iam/list_policies.rb
647
636
  - lib/fog/aws/parsers/iam/list_roles.rb
648
637
  - lib/fog/aws/parsers/iam/list_server_certificates.rb
@@ -1110,6 +1099,7 @@ files:
1110
1099
  - lib/fog/aws/requests/iam/list_groups_for_user.rb
1111
1100
  - lib/fog/aws/requests/iam/list_instance_profiles.rb
1112
1101
  - lib/fog/aws/requests/iam/list_instance_profiles_for_role.rb
1102
+ - lib/fog/aws/requests/iam/list_mfa_devices.rb
1113
1103
  - lib/fog/aws/requests/iam/list_role_policies.rb
1114
1104
  - lib/fog/aws/requests/iam/list_roles.rb
1115
1105
  - lib/fog/aws/requests/iam/list_server_certificates.rb
@@ -2056,21 +2046,40 @@ files:
2056
2046
  - lib/fog/google/examples/image_all.rb
2057
2047
  - lib/fog/google/examples/image_create.rb
2058
2048
  - lib/fog/google/examples/launch_micro_instance.rb
2049
+ - lib/fog/google/examples/load-balance.rb
2059
2050
  - lib/fog/google/examples/metadata.rb
2060
2051
  - lib/fog/google/examples/network.rb
2061
2052
  - lib/fog/google/examples/precreated_client.rb
2053
+ - lib/fog/google/models/compute/address.rb
2054
+ - lib/fog/google/models/compute/addresses.rb
2062
2055
  - lib/fog/google/models/compute/disk.rb
2063
2056
  - lib/fog/google/models/compute/disks.rb
2057
+ - lib/fog/google/models/compute/firewall.rb
2058
+ - lib/fog/google/models/compute/firewalls.rb
2064
2059
  - lib/fog/google/models/compute/flavor.rb
2065
2060
  - lib/fog/google/models/compute/flavors.rb
2061
+ - lib/fog/google/models/compute/forwarding_rule.rb
2062
+ - lib/fog/google/models/compute/forwarding_rules.rb
2063
+ - lib/fog/google/models/compute/http_health_check.rb
2064
+ - lib/fog/google/models/compute/http_health_checks.rb
2066
2065
  - lib/fog/google/models/compute/image.rb
2067
2066
  - lib/fog/google/models/compute/images.rb
2067
+ - lib/fog/google/models/compute/network.rb
2068
+ - lib/fog/google/models/compute/networks.rb
2068
2069
  - lib/fog/google/models/compute/operation.rb
2069
2070
  - lib/fog/google/models/compute/operations.rb
2071
+ - lib/fog/google/models/compute/project.rb
2072
+ - lib/fog/google/models/compute/projects.rb
2073
+ - lib/fog/google/models/compute/region.rb
2074
+ - lib/fog/google/models/compute/regions.rb
2075
+ - lib/fog/google/models/compute/route.rb
2076
+ - lib/fog/google/models/compute/routes.rb
2070
2077
  - lib/fog/google/models/compute/server.rb
2071
2078
  - lib/fog/google/models/compute/servers.rb
2072
2079
  - lib/fog/google/models/compute/snapshot.rb
2073
2080
  - lib/fog/google/models/compute/snapshots.rb
2081
+ - lib/fog/google/models/compute/target_pool.rb
2082
+ - lib/fog/google/models/compute/target_pools.rb
2074
2083
  - lib/fog/google/models/compute/zone.rb
2075
2084
  - lib/fog/google/models/compute/zones.rb
2076
2085
  - lib/fog/google/models/storage/directories.rb
@@ -2085,46 +2094,78 @@ files:
2085
2094
  - lib/fog/google/parsers/storage/get_bucket_versioning.rb
2086
2095
  - lib/fog/google/parsers/storage/get_request_payment.rb
2087
2096
  - lib/fog/google/parsers/storage/get_service.rb
2097
+ - lib/fog/google/requests/compute/add_target_pool_health_checks.rb
2098
+ - lib/fog/google/requests/compute/add_target_pool_instances.rb
2088
2099
  - lib/fog/google/requests/compute/attach_disk.rb
2089
2100
  - lib/fog/google/requests/compute/delete_address.rb
2090
2101
  - lib/fog/google/requests/compute/delete_disk.rb
2091
2102
  - lib/fog/google/requests/compute/delete_firewall.rb
2103
+ - lib/fog/google/requests/compute/delete_forwarding_rule.rb
2092
2104
  - lib/fog/google/requests/compute/delete_global_operation.rb
2105
+ - lib/fog/google/requests/compute/delete_http_health_check.rb
2093
2106
  - lib/fog/google/requests/compute/delete_image.rb
2094
2107
  - lib/fog/google/requests/compute/delete_network.rb
2108
+ - lib/fog/google/requests/compute/delete_region_operation.rb
2109
+ - lib/fog/google/requests/compute/delete_route.rb
2095
2110
  - lib/fog/google/requests/compute/delete_server.rb
2096
2111
  - lib/fog/google/requests/compute/delete_snapshot.rb
2112
+ - lib/fog/google/requests/compute/delete_target_pool.rb
2097
2113
  - lib/fog/google/requests/compute/delete_zone_operation.rb
2098
2114
  - lib/fog/google/requests/compute/detach_disk.rb
2099
2115
  - lib/fog/google/requests/compute/get_address.rb
2100
2116
  - lib/fog/google/requests/compute/get_disk.rb
2101
2117
  - lib/fog/google/requests/compute/get_firewall.rb
2118
+ - lib/fog/google/requests/compute/get_forwarding_rule.rb
2102
2119
  - lib/fog/google/requests/compute/get_global_operation.rb
2120
+ - lib/fog/google/requests/compute/get_http_health_check.rb
2103
2121
  - lib/fog/google/requests/compute/get_image.rb
2104
2122
  - lib/fog/google/requests/compute/get_machine_type.rb
2105
2123
  - lib/fog/google/requests/compute/get_network.rb
2124
+ - lib/fog/google/requests/compute/get_project.rb
2125
+ - lib/fog/google/requests/compute/get_region.rb
2126
+ - lib/fog/google/requests/compute/get_region_operation.rb
2127
+ - lib/fog/google/requests/compute/get_route.rb
2106
2128
  - lib/fog/google/requests/compute/get_server.rb
2107
2129
  - lib/fog/google/requests/compute/get_snapshot.rb
2130
+ - lib/fog/google/requests/compute/get_target_pool.rb
2131
+ - lib/fog/google/requests/compute/get_target_pool_health.rb
2108
2132
  - lib/fog/google/requests/compute/get_zone.rb
2109
2133
  - lib/fog/google/requests/compute/get_zone_operation.rb
2110
2134
  - lib/fog/google/requests/compute/insert_address.rb
2111
2135
  - lib/fog/google/requests/compute/insert_disk.rb
2112
2136
  - lib/fog/google/requests/compute/insert_firewall.rb
2137
+ - lib/fog/google/requests/compute/insert_forwarding_rule.rb
2138
+ - lib/fog/google/requests/compute/insert_http_health_check.rb
2113
2139
  - lib/fog/google/requests/compute/insert_image.rb
2114
2140
  - lib/fog/google/requests/compute/insert_network.rb
2141
+ - lib/fog/google/requests/compute/insert_route.rb
2115
2142
  - lib/fog/google/requests/compute/insert_server.rb
2116
2143
  - lib/fog/google/requests/compute/insert_snapshot.rb
2144
+ - lib/fog/google/requests/compute/insert_target_pool.rb
2117
2145
  - lib/fog/google/requests/compute/list_addresses.rb
2146
+ - lib/fog/google/requests/compute/list_aggregated_addresses.rb
2147
+ - lib/fog/google/requests/compute/list_aggregated_machine_types.rb
2118
2148
  - lib/fog/google/requests/compute/list_disks.rb
2119
2149
  - lib/fog/google/requests/compute/list_firewalls.rb
2150
+ - lib/fog/google/requests/compute/list_forwarding_rules.rb
2120
2151
  - lib/fog/google/requests/compute/list_global_operations.rb
2152
+ - lib/fog/google/requests/compute/list_http_health_checks.rb
2121
2153
  - lib/fog/google/requests/compute/list_images.rb
2122
2154
  - lib/fog/google/requests/compute/list_machine_types.rb
2123
2155
  - lib/fog/google/requests/compute/list_networks.rb
2156
+ - lib/fog/google/requests/compute/list_region_operations.rb
2157
+ - lib/fog/google/requests/compute/list_regions.rb
2158
+ - lib/fog/google/requests/compute/list_routes.rb
2124
2159
  - lib/fog/google/requests/compute/list_servers.rb
2125
2160
  - lib/fog/google/requests/compute/list_snapshots.rb
2161
+ - lib/fog/google/requests/compute/list_target_pools.rb
2126
2162
  - lib/fog/google/requests/compute/list_zone_operations.rb
2127
2163
  - lib/fog/google/requests/compute/list_zones.rb
2164
+ - lib/fog/google/requests/compute/remove_target_pool_health_checks.rb
2165
+ - lib/fog/google/requests/compute/remove_target_pool_instance.rb
2166
+ - lib/fog/google/requests/compute/remove_target_pool_instances.rb
2167
+ - lib/fog/google/requests/compute/set_common_instance_metadata.rb
2168
+ - lib/fog/google/requests/compute/set_forwarding_rule_target.rb
2128
2169
  - lib/fog/google/requests/compute/set_metadata.rb
2129
2170
  - lib/fog/google/requests/compute/set_tags.rb
2130
2171
  - lib/fog/google/requests/storage/copy_object.rb
@@ -4556,158 +4597,8 @@ files:
4556
4597
  - lib/fog/zerigo/requests/dns/update_host.rb
4557
4598
  - lib/fog/zerigo/requests/dns/update_zone.rb
4558
4599
  - lib/tasks/changelog_task.rb
4559
- - providers/brightbox/.gitignore
4560
- - providers/brightbox/Gemfile
4561
- - providers/brightbox/LICENSE.txt
4562
- - providers/brightbox/README.md
4563
- - providers/brightbox/Rakefile
4564
- - providers/brightbox/fog-brightbox.gemspec
4565
- - providers/brightbox/lib/fog/brightbox.rb
4566
- - providers/brightbox/lib/fog/brightbox/compute.rb
4567
- - providers/brightbox/lib/fog/brightbox/compute/image_selector.rb
4568
- - providers/brightbox/lib/fog/brightbox/compute/shared.rb
4569
- - providers/brightbox/lib/fog/brightbox/core.rb
4570
- - providers/brightbox/lib/fog/brightbox/models/compute/account.rb
4571
- - providers/brightbox/lib/fog/brightbox/models/compute/accounts.rb
4572
- - providers/brightbox/lib/fog/brightbox/models/compute/api_client.rb
4573
- - providers/brightbox/lib/fog/brightbox/models/compute/api_clients.rb
4574
- - providers/brightbox/lib/fog/brightbox/models/compute/application.rb
4575
- - providers/brightbox/lib/fog/brightbox/models/compute/applications.rb
4576
- - providers/brightbox/lib/fog/brightbox/models/compute/cloud_ip.rb
4577
- - providers/brightbox/lib/fog/brightbox/models/compute/cloud_ips.rb
4578
- - providers/brightbox/lib/fog/brightbox/models/compute/collaboration.rb
4579
- - providers/brightbox/lib/fog/brightbox/models/compute/collaborations.rb
4580
- - providers/brightbox/lib/fog/brightbox/models/compute/database_server.rb
4581
- - providers/brightbox/lib/fog/brightbox/models/compute/database_servers.rb
4582
- - providers/brightbox/lib/fog/brightbox/models/compute/database_snapshot.rb
4583
- - providers/brightbox/lib/fog/brightbox/models/compute/database_snapshots.rb
4584
- - providers/brightbox/lib/fog/brightbox/models/compute/database_type.rb
4585
- - providers/brightbox/lib/fog/brightbox/models/compute/database_types.rb
4586
- - providers/brightbox/lib/fog/brightbox/models/compute/firewall_policies.rb
4587
- - providers/brightbox/lib/fog/brightbox/models/compute/firewall_policy.rb
4588
- - providers/brightbox/lib/fog/brightbox/models/compute/firewall_rule.rb
4589
- - providers/brightbox/lib/fog/brightbox/models/compute/firewall_rules.rb
4590
- - providers/brightbox/lib/fog/brightbox/models/compute/flavor.rb
4591
- - providers/brightbox/lib/fog/brightbox/models/compute/flavors.rb
4592
- - providers/brightbox/lib/fog/brightbox/models/compute/image.rb
4593
- - providers/brightbox/lib/fog/brightbox/models/compute/images.rb
4594
- - providers/brightbox/lib/fog/brightbox/models/compute/load_balancer.rb
4595
- - providers/brightbox/lib/fog/brightbox/models/compute/load_balancers.rb
4596
- - providers/brightbox/lib/fog/brightbox/models/compute/server.rb
4597
- - providers/brightbox/lib/fog/brightbox/models/compute/server_group.rb
4598
- - providers/brightbox/lib/fog/brightbox/models/compute/server_groups.rb
4599
- - providers/brightbox/lib/fog/brightbox/models/compute/servers.rb
4600
- - providers/brightbox/lib/fog/brightbox/models/compute/user.rb
4601
- - providers/brightbox/lib/fog/brightbox/models/compute/user_collaboration.rb
4602
- - providers/brightbox/lib/fog/brightbox/models/compute/user_collaborations.rb
4603
- - providers/brightbox/lib/fog/brightbox/models/compute/users.rb
4604
- - providers/brightbox/lib/fog/brightbox/models/compute/zone.rb
4605
- - providers/brightbox/lib/fog/brightbox/models/compute/zones.rb
4606
- - providers/brightbox/lib/fog/brightbox/oauth2.rb
4607
- - providers/brightbox/lib/fog/brightbox/requests/compute/accept_user_collaboration.rb
4608
- - providers/brightbox/lib/fog/brightbox/requests/compute/activate_console_server.rb
4609
- - providers/brightbox/lib/fog/brightbox/requests/compute/add_listeners_load_balancer.rb
4610
- - providers/brightbox/lib/fog/brightbox/requests/compute/add_nodes_load_balancer.rb
4611
- - providers/brightbox/lib/fog/brightbox/requests/compute/add_servers_server_group.rb
4612
- - providers/brightbox/lib/fog/brightbox/requests/compute/apply_to_firewall_policy.rb
4613
- - providers/brightbox/lib/fog/brightbox/requests/compute/create_api_client.rb
4614
- - providers/brightbox/lib/fog/brightbox/requests/compute/create_application.rb
4615
- - providers/brightbox/lib/fog/brightbox/requests/compute/create_cloud_ip.rb
4616
- - providers/brightbox/lib/fog/brightbox/requests/compute/create_collaboration.rb
4617
- - providers/brightbox/lib/fog/brightbox/requests/compute/create_database_server.rb
4618
- - providers/brightbox/lib/fog/brightbox/requests/compute/create_firewall_policy.rb
4619
- - providers/brightbox/lib/fog/brightbox/requests/compute/create_firewall_rule.rb
4620
- - providers/brightbox/lib/fog/brightbox/requests/compute/create_image.rb
4621
- - providers/brightbox/lib/fog/brightbox/requests/compute/create_load_balancer.rb
4622
- - providers/brightbox/lib/fog/brightbox/requests/compute/create_server.rb
4623
- - providers/brightbox/lib/fog/brightbox/requests/compute/create_server_group.rb
4624
- - providers/brightbox/lib/fog/brightbox/requests/compute/delete_api_client.rb
4625
- - providers/brightbox/lib/fog/brightbox/requests/compute/delete_application.rb
4626
- - providers/brightbox/lib/fog/brightbox/requests/compute/delete_cloud_ip.rb
4627
- - providers/brightbox/lib/fog/brightbox/requests/compute/delete_collaboration.rb
4628
- - providers/brightbox/lib/fog/brightbox/requests/compute/delete_database_server.rb
4629
- - providers/brightbox/lib/fog/brightbox/requests/compute/delete_database_snapshot.rb
4630
- - providers/brightbox/lib/fog/brightbox/requests/compute/delete_firewall_policy.rb
4631
- - providers/brightbox/lib/fog/brightbox/requests/compute/delete_firewall_rule.rb
4632
- - providers/brightbox/lib/fog/brightbox/requests/compute/delete_image.rb
4633
- - providers/brightbox/lib/fog/brightbox/requests/compute/delete_load_balancer.rb
4634
- - providers/brightbox/lib/fog/brightbox/requests/compute/delete_server.rb
4635
- - providers/brightbox/lib/fog/brightbox/requests/compute/delete_server_group.rb
4636
- - providers/brightbox/lib/fog/brightbox/requests/compute/delete_user_collaboration.rb
4637
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_account.rb
4638
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_api_client.rb
4639
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_application.rb
4640
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_authenticated_user.rb
4641
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_cloud_ip.rb
4642
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_collaboration.rb
4643
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_database_server.rb
4644
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_database_snapshot.rb
4645
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_database_type.rb
4646
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_firewall_policy.rb
4647
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_firewall_rule.rb
4648
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_image.rb
4649
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_interface.rb
4650
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_load_balancer.rb
4651
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_scoped_account.rb
4652
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_server.rb
4653
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_server_group.rb
4654
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_server_type.rb
4655
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_user.rb
4656
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_user_collaboration.rb
4657
- - providers/brightbox/lib/fog/brightbox/requests/compute/get_zone.rb
4658
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_accounts.rb
4659
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_api_clients.rb
4660
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_applications.rb
4661
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_cloud_ips.rb
4662
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_collaborations.rb
4663
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_database_servers.rb
4664
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_database_snapshots.rb
4665
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_database_types.rb
4666
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_firewall_policies.rb
4667
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_images.rb
4668
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_load_balancers.rb
4669
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_server_groups.rb
4670
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_server_types.rb
4671
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_servers.rb
4672
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_user_collaborations.rb
4673
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_users.rb
4674
- - providers/brightbox/lib/fog/brightbox/requests/compute/list_zones.rb
4675
- - providers/brightbox/lib/fog/brightbox/requests/compute/map_cloud_ip.rb
4676
- - providers/brightbox/lib/fog/brightbox/requests/compute/move_servers_server_group.rb
4677
- - providers/brightbox/lib/fog/brightbox/requests/compute/reject_user_collaboration.rb
4678
- - providers/brightbox/lib/fog/brightbox/requests/compute/remove_firewall_policy.rb
4679
- - providers/brightbox/lib/fog/brightbox/requests/compute/remove_listeners_load_balancer.rb
4680
- - providers/brightbox/lib/fog/brightbox/requests/compute/remove_nodes_load_balancer.rb
4681
- - providers/brightbox/lib/fog/brightbox/requests/compute/remove_servers_server_group.rb
4682
- - providers/brightbox/lib/fog/brightbox/requests/compute/resend_collaboration.rb
4683
- - providers/brightbox/lib/fog/brightbox/requests/compute/reset_ftp_password_account.rb
4684
- - providers/brightbox/lib/fog/brightbox/requests/compute/reset_ftp_password_scoped_account.rb
4685
- - providers/brightbox/lib/fog/brightbox/requests/compute/reset_password_database_server.rb
4686
- - providers/brightbox/lib/fog/brightbox/requests/compute/reset_secret_api_client.rb
4687
- - providers/brightbox/lib/fog/brightbox/requests/compute/reset_secret_application.rb
4688
- - providers/brightbox/lib/fog/brightbox/requests/compute/shutdown_server.rb
4689
- - providers/brightbox/lib/fog/brightbox/requests/compute/snapshot_database_server.rb
4690
- - providers/brightbox/lib/fog/brightbox/requests/compute/snapshot_server.rb
4691
- - providers/brightbox/lib/fog/brightbox/requests/compute/start_server.rb
4692
- - providers/brightbox/lib/fog/brightbox/requests/compute/stop_server.rb
4693
- - providers/brightbox/lib/fog/brightbox/requests/compute/unmap_cloud_ip.rb
4694
- - providers/brightbox/lib/fog/brightbox/requests/compute/update_account.rb
4695
- - providers/brightbox/lib/fog/brightbox/requests/compute/update_api_client.rb
4696
- - providers/brightbox/lib/fog/brightbox/requests/compute/update_application.rb
4697
- - providers/brightbox/lib/fog/brightbox/requests/compute/update_cloud_ip.rb
4698
- - providers/brightbox/lib/fog/brightbox/requests/compute/update_database_server.rb
4699
- - providers/brightbox/lib/fog/brightbox/requests/compute/update_database_snapshot.rb
4700
- - providers/brightbox/lib/fog/brightbox/requests/compute/update_firewall_policy.rb
4701
- - providers/brightbox/lib/fog/brightbox/requests/compute/update_firewall_rule.rb
4702
- - providers/brightbox/lib/fog/brightbox/requests/compute/update_image.rb
4703
- - providers/brightbox/lib/fog/brightbox/requests/compute/update_load_balancer.rb
4704
- - providers/brightbox/lib/fog/brightbox/requests/compute/update_scoped_account.rb
4705
- - providers/brightbox/lib/fog/brightbox/requests/compute/update_server.rb
4706
- - providers/brightbox/lib/fog/brightbox/requests/compute/update_server_group.rb
4707
- - providers/brightbox/lib/fog/brightbox/requests/compute/update_user.rb
4708
- - providers/brightbox/lib/fog/brightbox/version.rb
4709
- - providers/brightbox/test/fog/compute/brightbox_test.rb
4710
- - test/fog/xml/connection_test.rb
4600
+ - lib/tasks/github_release_task.rb
4601
+ - spec/fog/xml/connection_spec.rb
4711
4602
  - tests/atmos/models/storage/file_update_tests.rb
4712
4603
  - tests/atmos/models/storage/nested_directories_tests.rb
4713
4604
  - tests/aws/credentials_tests.rb
@@ -4858,6 +4749,7 @@ files:
4858
4749
  - tests/aws/requests/iam/group_tests.rb
4859
4750
  - tests/aws/requests/iam/helper.rb
4860
4751
  - tests/aws/requests/iam/login_profile_tests.rb
4752
+ - tests/aws/requests/iam/mfa_tests.rb
4861
4753
  - tests/aws/requests/iam/role_tests.rb
4862
4754
  - tests/aws/requests/iam/server_certificate_tests.rb
4863
4755
  - tests/aws/requests/iam/user_policy_tests.rb
@@ -5696,6 +5588,7 @@ signing_key:
5696
5588
  specification_version: 2
5697
5589
  summary: brings clouds to you
5698
5590
  test_files:
5591
+ - spec/fog/xml/connection_spec.rb
5699
5592
  - tests/atmos/models/storage/file_update_tests.rb
5700
5593
  - tests/atmos/models/storage/nested_directories_tests.rb
5701
5594
  - tests/aws/credentials_tests.rb
@@ -5846,6 +5739,7 @@ test_files:
5846
5739
  - tests/aws/requests/iam/group_tests.rb
5847
5740
  - tests/aws/requests/iam/helper.rb
5848
5741
  - tests/aws/requests/iam/login_profile_tests.rb
5742
+ - tests/aws/requests/iam/mfa_tests.rb
5849
5743
  - tests/aws/requests/iam/role_tests.rb
5850
5744
  - tests/aws/requests/iam/server_certificate_tests.rb
5851
5745
  - tests/aws/requests/iam/user_policy_tests.rb