fog 1.12.1 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (194) hide show
  1. data/.travis.yml +1 -1
  2. data/Gemfile +5 -0
  3. data/Rakefile +14 -4
  4. data/bin/fog +22 -0
  5. data/changelog.txt +262 -0
  6. data/fog.gemspec +8 -4
  7. data/lib/fog/aws.rb +11 -0
  8. data/lib/fog/aws/auto_scaling.rb +15 -18
  9. data/lib/fog/aws/beanstalk.rb +8 -10
  10. data/lib/fog/aws/cloud_formation.rb +9 -12
  11. data/lib/fog/aws/compute.rb +8 -10
  12. data/lib/fog/aws/credential_fetcher.rb +6 -6
  13. data/lib/fog/aws/elasticache.rb +13 -17
  14. data/lib/fog/aws/elb.rb +29 -31
  15. data/lib/fog/aws/iam.rb +10 -13
  16. data/lib/fog/aws/models/auto_scaling/group.rb +6 -3
  17. data/lib/fog/aws/models/compute/spot_request.rb +1 -11
  18. data/lib/fog/aws/models/rds/log_file.rb +26 -0
  19. data/lib/fog/aws/models/rds/log_files.rb +50 -0
  20. data/lib/fog/aws/models/rds/server.rb +3 -1
  21. data/lib/fog/aws/models/rds/snapshot.rb +1 -0
  22. data/lib/fog/aws/models/rds/snapshots.rb +20 -13
  23. data/lib/fog/aws/parsers/rds/db_parser.rb +1 -1
  24. data/lib/fog/aws/parsers/rds/describe_db_log_files.rb +44 -0
  25. data/lib/fog/aws/parsers/rds/download_db_logfile_portion.rb +26 -0
  26. data/lib/fog/aws/parsers/ses/verify_domain_identity.rb +26 -0
  27. data/lib/fog/aws/parsers/storage/complete_multipart_upload.rb +1 -1
  28. data/lib/fog/aws/parsers/sts/assume_role.rb +30 -0
  29. data/lib/fog/aws/rds.rb +27 -14
  30. data/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb +8 -0
  31. data/lib/fog/aws/requests/auto_scaling/update_auto_scaling_group.rb +8 -1
  32. data/lib/fog/aws/requests/compute/create_volume.rb +3 -3
  33. data/lib/fog/aws/requests/rds/create_db_instance.rb +3 -1
  34. data/lib/fog/aws/requests/rds/describe_db_log_files.rb +67 -0
  35. data/lib/fog/aws/requests/rds/download_db_logfile_portion.rb +63 -0
  36. data/lib/fog/aws/requests/ses/send_raw_email.rb +1 -1
  37. data/lib/fog/aws/requests/ses/verify_domain_identity.rb +30 -0
  38. data/lib/fog/aws/requests/storage/complete_multipart_upload.rb +6 -2
  39. data/lib/fog/aws/requests/storage/get_object.rb +1 -1
  40. data/lib/fog/aws/requests/sts/assume_role.rb +46 -0
  41. data/lib/fog/aws/ses.rb +26 -9
  42. data/lib/fog/aws/storage.rb +2 -1
  43. data/lib/fog/aws/sts.rb +31 -21
  44. data/lib/fog/bin.rb +0 -1
  45. data/lib/fog/bin/openstack.rb +5 -0
  46. data/lib/fog/brightbox/compute.rb +20 -212
  47. data/lib/fog/brightbox/compute/shared.rb +232 -0
  48. data/lib/fog/brightbox/models/compute/collaboration.rb +43 -0
  49. data/lib/fog/brightbox/models/compute/collaborations.rb +23 -0
  50. data/lib/fog/brightbox/models/compute/user_collaboration.rb +29 -0
  51. data/lib/fog/brightbox/models/compute/user_collaborations.rb +23 -0
  52. data/lib/fog/brightbox/requests/compute/accept_user_collaboration.rb +21 -0
  53. data/lib/fog/brightbox/requests/compute/create_collaboration.rb +23 -0
  54. data/lib/fog/brightbox/requests/compute/delete_collaboration.rb +28 -0
  55. data/lib/fog/brightbox/requests/compute/delete_user_collaboration.rb +28 -0
  56. data/lib/fog/brightbox/requests/compute/destroy_user_collaboration.rb +21 -0
  57. data/lib/fog/brightbox/requests/compute/get_collaboration.rb +21 -0
  58. data/lib/fog/brightbox/requests/compute/get_user_collaboration.rb +21 -0
  59. data/lib/fog/brightbox/requests/compute/list_collaborations.rb +19 -0
  60. data/lib/fog/brightbox/requests/compute/list_user_collaborations.rb +19 -0
  61. data/lib/fog/brightbox/requests/compute/reject_user_collaboration.rb +21 -0
  62. data/lib/fog/brightbox/requests/compute/resend_collaboration.rb +21 -0
  63. data/lib/fog/cloudsigma/docs/getting_started.md +59 -0
  64. data/lib/fog/core.rb +7 -2
  65. data/lib/fog/core/connection.rb +62 -29
  66. data/lib/fog/core/deprecated/connection.rb +24 -0
  67. data/lib/fog/core/parser.rb +1 -1
  68. data/lib/fog/digitalocean/examples/getting_started.md +1 -1
  69. data/lib/fog/digitalocean/models/compute/server.rb +2 -2
  70. data/lib/fog/google/compute.rb +31 -7
  71. data/lib/fog/google/models/compute/disk.rb +80 -0
  72. data/lib/fog/google/models/compute/disks.rb +28 -0
  73. data/lib/fog/google/models/compute/image.rb +36 -0
  74. data/lib/fog/google/models/compute/server.rb +46 -33
  75. data/lib/fog/google/models/compute/servers.rb +15 -8
  76. data/lib/fog/google/requests/compute/delete_server.rb +5 -2
  77. data/lib/fog/google/requests/compute/get_disk.rb +3 -0
  78. data/lib/fog/google/requests/compute/get_server.rb +7 -1
  79. data/lib/fog/google/requests/compute/insert_disk.rb +8 -2
  80. data/lib/fog/google/requests/compute/insert_server.rb +51 -22
  81. data/lib/fog/google/requests/compute/list_machine_types.rb +3 -2
  82. data/lib/fog/google/requests/storage/get_object.rb +1 -1
  83. data/lib/fog/hp/requests/storage/get_object.rb +1 -1
  84. data/lib/fog/hp/storage.rb +26 -9
  85. data/lib/fog/ibm/requests/compute/create_instance.rb +20 -15
  86. data/lib/fog/internet_archive/requests/storage/get_object.rb +1 -1
  87. data/lib/fog/{core/json.rb → json.rb} +13 -2
  88. data/lib/fog/metering.rb +25 -0
  89. data/lib/fog/openstack.rb +1 -0
  90. data/lib/fog/openstack/metering.rb +215 -0
  91. data/lib/fog/openstack/models/compute/flavors.rb +2 -2
  92. data/lib/fog/openstack/models/compute/metadata.rb +1 -1
  93. data/lib/fog/openstack/models/compute/server.rb +5 -2
  94. data/lib/fog/openstack/models/image/images.rb +1 -1
  95. data/lib/fog/openstack/models/metering/meter.rb +0 -0
  96. data/lib/fog/openstack/models/metering/meters.rb +0 -0
  97. data/lib/fog/openstack/models/metering/resource.rb +24 -0
  98. data/lib/fog/openstack/models/metering/resources.rb +25 -0
  99. data/lib/fog/openstack/models/volume/volume.rb +3 -1
  100. data/lib/fog/openstack/models/volume/volumes.rb +2 -1
  101. data/lib/fog/openstack/network.rb +1 -1
  102. data/lib/fog/openstack/requests/compute/create_flavor.rb +1 -1
  103. data/lib/fog/openstack/requests/compute/create_server.rb +19 -1
  104. data/lib/fog/openstack/requests/compute/detach_volume.rb +2 -1
  105. data/lib/fog/openstack/requests/compute/list_flavors_detail.rb +4 -3
  106. data/lib/fog/openstack/requests/compute/list_security_groups.rb +1 -1
  107. data/lib/fog/openstack/requests/identity/create_tenant.rb +2 -2
  108. data/lib/fog/openstack/requests/metering/get_resource.rb +32 -0
  109. data/lib/fog/openstack/requests/metering/get_samples.rb +55 -0
  110. data/lib/fog/openstack/requests/metering/get_statistics.rb +56 -0
  111. data/lib/fog/openstack/requests/metering/list_meters.rb +50 -0
  112. data/lib/fog/openstack/requests/metering/list_resources.rb +32 -0
  113. data/lib/fog/openstack/requests/volume/create_volume.rb +4 -2
  114. data/lib/fog/rackspace.rb +16 -1
  115. data/lib/fog/rackspace/block_storage.rb +13 -28
  116. data/lib/fog/rackspace/cdn.rb +10 -24
  117. data/lib/fog/rackspace/compute.rb +17 -45
  118. data/lib/fog/rackspace/compute_v2.rb +13 -33
  119. data/lib/fog/rackspace/databases.rb +13 -29
  120. data/lib/fog/rackspace/dns.rb +27 -23
  121. data/lib/fog/rackspace/identity.rb +10 -26
  122. data/lib/fog/rackspace/load_balancers.rb +13 -29
  123. data/lib/fog/rackspace/mock_data.rb +3 -3
  124. data/lib/fog/rackspace/models/compute/server.rb +1 -1
  125. data/lib/fog/rackspace/models/dns/zones.rb +34 -21
  126. data/lib/fog/rackspace/models/identity/users.rb +2 -2
  127. data/lib/fog/rackspace/models/storage/file.rb +1 -0
  128. data/lib/fog/rackspace/requests/dns/list_domains.rb +2 -2
  129. data/lib/fog/rackspace/requests/storage/delete_multiple_objects.rb +75 -0
  130. data/lib/fog/rackspace/requests/storage/delete_static_large_object.rb +50 -0
  131. data/lib/fog/rackspace/requests/storage/get_object.rb +3 -1
  132. data/lib/fog/rackspace/requests/storage/put_dynamic_obj_manifest.rb +44 -0
  133. data/lib/fog/rackspace/requests/storage/put_object_manifest.rb +3 -30
  134. data/lib/fog/rackspace/requests/storage/put_static_obj_manifest.rb +60 -0
  135. data/lib/fog/rackspace/service.rb +43 -1
  136. data/lib/fog/rackspace/storage.rb +25 -43
  137. data/lib/fog/riakcs/provisioning.rb +2 -1
  138. data/lib/fog/riakcs/usage.rb +2 -1
  139. data/lib/fog/vcloud/requests/compute/configure_vm_cpus.rb +1 -1
  140. data/lib/fog/vcloud/requests/compute/configure_vm_memory.rb +1 -1
  141. data/lib/fog/version.rb +1 -1
  142. data/lib/fog/vsphere/requests/compute/get_folder.rb +1 -1
  143. data/lib/fog/xenserver/compute.rb +2 -0
  144. data/lib/fog/xenserver/models/compute/server.rb +9 -7
  145. data/lib/fog/xenserver/requests/compute/snapshot_revert.rb +22 -0
  146. data/lib/fog/xenserver/requests/compute/snapshot_server.rb +22 -0
  147. data/lib/fog/xml.rb +21 -0
  148. data/lib/fog/xml/sax_parser_connection.rb +43 -0
  149. data/lib/tasks/changelog_task.rb +1 -0
  150. data/tests/aws/models/auto_scaling/groups_test.rb +22 -0
  151. data/tests/aws/requests/compute/volume_tests.rb +3 -3
  152. data/tests/aws/requests/rds/helper.rb +14 -0
  153. data/tests/aws/requests/rds/log_file_tests.rb +19 -0
  154. data/tests/aws/requests/ses/verified_domain_identity_tests.rb +16 -0
  155. data/tests/aws/requests/sts/assume_role_tests.rb +19 -0
  156. data/tests/brightbox/requests/compute/collaboration_tests.rb +41 -0
  157. data/tests/brightbox/requests/compute/helper.rb +46 -2
  158. data/tests/brightbox/requests/compute/user_collaboration_tests.rb +67 -0
  159. data/tests/core/connection_tests.rb +26 -0
  160. data/tests/helper.rb +13 -0
  161. data/tests/openstack/requests/metering/meter_tests.rb +52 -0
  162. data/tests/openstack/requests/metering/resource_tests.rb +19 -0
  163. data/tests/openvz/helper.rb +14 -8
  164. data/tests/rackspace/block_storage_tests.rb +9 -0
  165. data/tests/rackspace/compute_tests.rb +9 -0
  166. data/tests/rackspace/compute_v2_tests.rb +9 -0
  167. data/tests/rackspace/databases_tests.rb +9 -0
  168. data/tests/rackspace/dns_tests.rb +20 -0
  169. data/tests/rackspace/helper.rb +12 -1
  170. data/tests/rackspace/identity_tests.rb +25 -0
  171. data/tests/rackspace/load_balancer_tests.rb +10 -0
  172. data/tests/rackspace/models/block_storage/volume_tests.rb +2 -2
  173. data/tests/rackspace/models/compute_v2/metadata_tests.rb +2 -2
  174. data/tests/rackspace/models/compute_v2/server_tests.rb +22 -21
  175. data/tests/rackspace/models/dns/zones_tests.rb +19 -5
  176. data/tests/rackspace/models/storage/file_tests.rb +22 -6
  177. data/tests/rackspace/rackspace_tests.rb +35 -0
  178. data/tests/rackspace/requests/block_storage/snapshot_tests.rb +2 -3
  179. data/tests/rackspace/requests/block_storage/volume_type_tests.rb +4 -11
  180. data/tests/rackspace/requests/compute_v2/address_tests.rb +1 -1
  181. data/tests/rackspace/requests/compute_v2/attachment_tests.rb +8 -9
  182. data/tests/rackspace/requests/compute_v2/flavor_tests.rb +1 -1
  183. data/tests/rackspace/requests/compute_v2/metadata_tests.rb +4 -4
  184. data/tests/rackspace/requests/databases/database_tests.rb +23 -20
  185. data/tests/rackspace/requests/databases/user_tests.rb +6 -6
  186. data/tests/rackspace/requests/identity/user_tests.rb +4 -1
  187. data/tests/rackspace/requests/load_balancers/usage_tests.rb +4 -2
  188. data/tests/rackspace/requests/storage/large_object_tests.rb +303 -59
  189. data/tests/rackspace/requests/storage/object_tests.rb +73 -18
  190. data/tests/rackspace/service_tests.rb +83 -0
  191. data/tests/rackspace/storage_tests.rb +9 -0
  192. data/tests/xenserver/models/compute/server_tests.rb +11 -1
  193. metadata +89 -19
  194. data/tests/core/user_agent_tests.rb +0 -6
@@ -17,18 +17,18 @@ Shindo.tests('Fog::Storage[:rackspace] | object requests', ["rackspace"]) do
17
17
  Fog::Storage[:rackspace].put_object('fogobjecttests', 'fog_object', lorem_file)
18
18
  end
19
19
 
20
- tests("#get_object('fogobjectests', 'fog_object')").returns(lorem_file.read) do
20
+ tests("#get_object('fogobjectests', 'fog_object')").succeeds do
21
21
  pending if Fog.mocking?
22
- Fog::Storage[:rackspace].get_object('fogobjecttests', 'fog_object').body
22
+ Fog::Storage[:rackspace].get_object('fogobjecttests', 'fog_object').body == lorem_file.read
23
23
  end
24
24
 
25
- tests("#get_object('fogobjecttests', 'fog_object', &block)").returns(lorem_file.read) do
25
+ tests("#get_object('fogobjecttests', 'fog_object', &block)").succeeds do
26
26
  pending if Fog.mocking?
27
27
  data = ''
28
28
  Fog::Storage[:rackspace].get_object('fogobjecttests', 'fog_object') do |chunk, remaining_bytes, total_bytes|
29
29
  data << chunk
30
30
  end
31
- data
31
+ data == lorem_file.read
32
32
  end
33
33
 
34
34
  tests("#head_object('fogobjectests', 'fog_object')").succeeds do
@@ -70,40 +70,59 @@ Shindo.tests('Fog::Storage[:rackspace] | object requests', ["rackspace"]) do
70
70
  storage = Fog::Storage::Rackspace.new(:rackspace_temp_url_key => "super_secret")
71
71
  storage.extend RackspaceStorageHelpers
72
72
  storage.override_path('/fake_version/fake_tenant')
73
- object_url = storage.get_object_https_url('fogobjecttests', 'fog-object', expires_at)
73
+ object_url = storage.get_object_https_url('fogobjecttests', 'fog-object', expires_at)
74
74
  object_url =~ /https:\/\/.*clouddrive.com\/[^\/]+\/[^\/]+\/fogobjecttests\/fog%2Dobject\?temp_url_sig=a24dd5fc955a57adce7d1b5bc4ec2c7660ab8396&temp_url_expires=1344149532/
75
75
  end
76
76
 
77
77
  tests("put_object with block") do
78
- tests("#put_object('fogobjecttests', 'fog_object', &block)") do
79
- pending if Fog.mocking?
78
+ pending if Fog.mocking?
80
79
 
80
+ tests("#put_object('fogobjecttests', 'fog_object', &block)").succeeds do
81
81
  begin
82
82
  file = lorem_file
83
- buffer_size = file.size / 2 # chop it up into two buffers
83
+ buffer_size = file.stat.size / 2 # chop it up into two buffers
84
84
  Fog::Storage[:rackspace].put_object('fogobjecttests', 'fog_block_object', nil) do
85
- if file.pos < file.size
86
- file.sysread(buffer_size)
87
- else
88
- ""
89
- end
85
+ file.read(buffer_size).to_s
90
86
  end
91
87
  ensure
92
88
  file.close
93
89
  end
94
90
  end
95
91
 
96
- tests("object successfully uploaded?").returns(lorem_file.read) do
97
- pending if Fog.mocking?
98
- Fog::Storage[:rackspace].get_object('fogobjecttests', 'fog_block_object').body
92
+ tests('#get_object').succeeds do
93
+ Fog::Storage[:rackspace].get_object('fogobjecttests', 'fog_block_object').body == lorem_file.read
99
94
  end
100
95
 
101
- tests("delete file").succeeds do
102
- pending if Fog.mocking?
96
+ tests('#delete_object').succeeds do
103
97
  Fog::Storage[:rackspace].delete_object('fogobjecttests', 'fog_block_object')
104
98
  end
105
99
  end
106
100
 
101
+ tests('#delete_multiple_objects') do
102
+ pending if Fog.mocking?
103
+
104
+ Fog::Storage[:rackspace].put_object('fogobjecttests', 'fog_object', lorem_file)
105
+ Fog::Storage[:rackspace].put_object('fogobjecttests', 'fog_object2', lorem_file)
106
+ Fog::Storage[:rackspace].directories.create(:key => 'fogobjecttests2')
107
+ Fog::Storage[:rackspace].put_object('fogobjecttests2', 'fog_object', lorem_file)
108
+
109
+ expected = {
110
+ "Number Not Found" => 0,
111
+ "Response Status" => "200 OK",
112
+ "Errors" => [],
113
+ "Number Deleted" => 2,
114
+ "Response Body" => ""
115
+ }
116
+
117
+ returns(expected, 'deletes multiple objects') do
118
+ Fog::Storage[:rackspace].delete_multiple_objects('fogobjecttests', ['fog_object', 'fog_object2']).body
119
+ end
120
+
121
+ returns(expected, 'deletes object and container') do
122
+ Fog::Storage[:rackspace].delete_multiple_objects(nil, ['fogobjecttests2/fog_object', 'fogobjecttests2']).body
123
+ end
124
+ end
125
+
107
126
  end
108
127
 
109
128
  tests('failure') do
@@ -138,6 +157,42 @@ Shindo.tests('Fog::Storage[:rackspace] | object requests', ["rackspace"]) do
138
157
  Fog::Storage[:rackspace].delete_object('fognoncontainer', 'fog_non_object')
139
158
  end
140
159
 
160
+ tests('#delete_multiple_objects') do
161
+ pending if Fog.mocking?
162
+
163
+ expected = {
164
+ "Number Not Found" => 2,
165
+ "Response Status" => "200 OK",
166
+ "Errors" => [],
167
+ "Number Deleted" => 0,
168
+ "Response Body" => ""
169
+ }
170
+
171
+ returns(expected, 'reports missing objects') do
172
+ Fog::Storage[:rackspace].delete_multiple_objects('fogobjecttests', ['fog_non_object', 'fog_non_object2']).body
173
+ end
174
+
175
+ returns(expected, 'reports missing container') do
176
+ Fog::Storage[:rackspace].delete_multiple_objects('fognoncontainer', ['fog_non_object', 'fog_non_object2']).body
177
+ end
178
+
179
+ tests('deleting non-empty container') do
180
+ Fog::Storage[:rackspace].put_object('fogobjecttests', 'fog_object', lorem_file)
181
+
182
+ expected = {
183
+ "Number Not Found" => 0,
184
+ "Response Status" => "400 Bad Request",
185
+ "Errors" => [['fogobjecttests', '409 Conflict']],
186
+ "Number Deleted" => 1,
187
+ "Response Body" => ""
188
+ }
189
+
190
+ body = Fog::Storage[:rackspace].delete_multiple_objects(nil, ['fogobjecttests', 'fogobjecttests/fog_object']).body
191
+ expected['Errors'][0][0] = body['Errors'][0][0] rescue nil
192
+ returns(expected, 'deletes object but not container') { body }
193
+ end
194
+ end
195
+
141
196
  end
142
197
 
143
198
  unless Fog.mocking?
@@ -0,0 +1,83 @@
1
+ Shindo.tests('Fog::Rackspace::Service', ['rackspace']) do
2
+
3
+ tests('process_response') do
4
+ @service = Fog::Rackspace::Service.new
5
+
6
+ tests('nil').returns(nil) do
7
+ @service.send(:process_response, nil)
8
+ end
9
+
10
+ tests('response missing body').returns(nil) do
11
+ response = Excon::Response.new
12
+ response.body = nil
13
+ @service.send(:process_response, response)
14
+ end
15
+
16
+ tests('processes body').returns({'a'=>2, 'b'=>3}) do
17
+ response = Excon::Response.new
18
+ response.headers['Content-Type'] = "application/json"
19
+ response.body = "{\"a\":2,\"b\":3}"
20
+ @service.send(:process_response, response)
21
+ response.body
22
+ end
23
+
24
+ tests('process body with hash').returns({:a=>2, :b=>3}) do
25
+ response = Excon::Response.new
26
+ response.headers['Content-Type'] = "application/json"
27
+ response.body = {:a=>2, :b=>3}
28
+ @service.send(:process_response, response)
29
+ response.body
30
+ end
31
+
32
+ tests('handles malformed json').returns({}) do
33
+ response = Excon::Response.new
34
+ response.headers['Content-Type'] = "application/json"
35
+ response.body = "I am totally not json"
36
+ @service.send(:process_response, response)
37
+ response.body
38
+ end
39
+
40
+ end
41
+
42
+ tests('headers') do
43
+ # adding an implementation for auth_token to service instance. Normally this would come from a subclass.
44
+ def @service.auth_token
45
+ "my_auth_token"
46
+ end
47
+
48
+ HEADER_HASH = {
49
+ 'Content-Type' => 'application/json',
50
+ 'Accept' => 'application/json',
51
+ 'X-Auth-Token' => @service.auth_token
52
+ }.freeze
53
+
54
+ tests('without options').returns(HEADER_HASH) do
55
+ @service.send(:headers)
56
+ end
57
+
58
+ tests('with options not containing :header key').returns(HEADER_HASH) do
59
+ @service.send(:headers, {:a => 3})
60
+ end
61
+
62
+ tests('with options containing :header key').returns(HEADER_HASH.merge(:a => 3)) do
63
+ @service.send(:headers, :headers => {:a => 3})
64
+ end
65
+ end
66
+
67
+ tests('request_params') do
68
+ REQUEST_HASH = {
69
+ :path=>"/endpoint/my_service",
70
+ :headers=>{"Content-Type"=>"application/json", "Accept"=>"application/json", "X-Auth-Token"=>"my_auth_token"},
71
+ :host=>"fog.io"
72
+ }.freeze
73
+
74
+ uri = URI.parse("http://fog.io/endpoint")
75
+ @service.instance_variable_set("@uri", uri)
76
+ params = {:path => 'my_service'}
77
+
78
+ tests('returns request hash').returns(REQUEST_HASH) do
79
+ @service.send(:request_params, params)
80
+ end
81
+ end
82
+
83
+ end
@@ -98,6 +98,15 @@ Shindo.tests('Rackspace | Storage', ['rackspace']) do
98
98
  returns(true, "uses custom endpoint") { (@service.instance_variable_get("@uri").host =~ /snet-/) != nil }
99
99
  end
100
100
  end
101
+
102
+ tests('reauthentication') do
103
+ pending if Fog.mocking?
104
+
105
+ @service = Fog::Storage::Rackspace.new
106
+ returns(true, "auth token populated") { !@service.send(:auth_token).nil? }
107
+ @service.instance_variable_set("@auth_token", "bad-token")
108
+ returns(204) { @service.head_containers.status }
109
+ end
101
110
 
102
111
  tests('account').succeeds do
103
112
  pending if Fog.mocking?
@@ -60,7 +60,8 @@ Shindo.tests('Fog::Compute[:xenserver] | server model', ['xenserver']) do
60
60
  :pv_kernel,
61
61
  :pv_ramdisk,
62
62
  :pv_legacy_args,
63
- :pv_bootloader_args
63
+ :pv_bootloader_args,
64
+ :snapshots
64
65
  ]
65
66
  tests("The server model should respond to") do
66
67
  attributes.each do |attribute|
@@ -157,6 +158,15 @@ Shindo.tests('Fog::Compute[:xenserver] | server model', ['xenserver']) do
157
158
  server.pv_bootloader == 'supergrub'
158
159
  end
159
160
 
161
+ tests("Creating a snapshot") do
162
+ snap_ref = server.snapshot('newsnapshot')
163
+ tests("it should create a snapshot") do
164
+ snap_ref = server.snapshot('newsnapshot')
165
+ servers.get(snap_ref).reference == snap_ref
166
+ end
167
+ test("and destroy it afterwards") { servers.get(snap_ref).destroy }
168
+ end
169
+
160
170
  test("be able to be destroyed!") do
161
171
  server.destroy
162
172
  servers.get_by_name('fog-test-server-shindo') == nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.1
4
+ version: 1.13.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-10 00:00:00.000000000 Z
12
+ date: 2013-07-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: 0.23.0
37
+ version: 0.25.0
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: 0.23.0
45
+ version: 0.25.0
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: formatador
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -124,37 +124,37 @@ dependencies:
124
124
  - !ruby/object:Gem::Version
125
125
  version: 2.1.3
126
126
  - !ruby/object:Gem::Dependency
127
- name: nokogiri
127
+ name: ruby-hmac
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  none: false
130
130
  requirements:
131
- - - ~>
131
+ - - ! '>='
132
132
  - !ruby/object:Gem::Version
133
- version: 1.5.0
133
+ version: '0'
134
134
  type: :runtime
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
137
137
  none: false
138
138
  requirements:
139
- - - ~>
139
+ - - ! '>='
140
140
  - !ruby/object:Gem::Version
141
- version: 1.5.0
141
+ version: '0'
142
142
  - !ruby/object:Gem::Dependency
143
- name: ruby-hmac
143
+ name: nokogiri
144
144
  requirement: !ruby/object:Gem::Requirement
145
145
  none: false
146
146
  requirements:
147
- - - ! '>='
147
+ - - ~>
148
148
  - !ruby/object:Gem::Version
149
- version: '0'
149
+ version: 1.5.0
150
150
  type: :runtime
151
151
  prerelease: false
152
152
  version_requirements: !ruby/object:Gem::Requirement
153
153
  none: false
154
154
  requirements:
155
- - - ! '>='
155
+ - - ~>
156
156
  - !ruby/object:Gem::Version
157
- version: '0'
157
+ version: 1.5.0
158
158
  - !ruby/object:Gem::Dependency
159
159
  name: jekyll
160
160
  requirement: !ruby/object:Gem::Requirement
@@ -486,6 +486,8 @@ files:
486
486
  - lib/fog/aws/models/iam/roles.rb
487
487
  - lib/fog/aws/models/iam/user.rb
488
488
  - lib/fog/aws/models/iam/users.rb
489
+ - lib/fog/aws/models/rds/log_file.rb
490
+ - lib/fog/aws/models/rds/log_files.rb
489
491
  - lib/fog/aws/models/rds/parameter.rb
490
492
  - lib/fog/aws/models/rds/parameter_group.rb
491
493
  - lib/fog/aws/models/rds/parameter_groups.rb
@@ -726,12 +728,14 @@ files:
726
728
  - lib/fog/aws/parsers/rds/delete_db_snapshot.rb
727
729
  - lib/fog/aws/parsers/rds/describe_db_engine_versions.rb
728
730
  - lib/fog/aws/parsers/rds/describe_db_instances.rb
731
+ - lib/fog/aws/parsers/rds/describe_db_log_files.rb
729
732
  - lib/fog/aws/parsers/rds/describe_db_parameter_groups.rb
730
733
  - lib/fog/aws/parsers/rds/describe_db_parameters.rb
731
734
  - lib/fog/aws/parsers/rds/describe_db_reserved_instances.rb
732
735
  - lib/fog/aws/parsers/rds/describe_db_security_groups.rb
733
736
  - lib/fog/aws/parsers/rds/describe_db_snapshots.rb
734
737
  - lib/fog/aws/parsers/rds/describe_db_subnet_groups.rb
738
+ - lib/fog/aws/parsers/rds/download_db_logfile_portion.rb
735
739
  - lib/fog/aws/parsers/rds/event_list.rb
736
740
  - lib/fog/aws/parsers/rds/modify_db_instance.rb
737
741
  - lib/fog/aws/parsers/rds/modify_db_parameter_group.rb
@@ -749,6 +753,7 @@ files:
749
753
  - lib/fog/aws/parsers/ses/list_verified_email_addresses.rb
750
754
  - lib/fog/aws/parsers/ses/send_email.rb
751
755
  - lib/fog/aws/parsers/ses/send_raw_email.rb
756
+ - lib/fog/aws/parsers/ses/verify_domain_identity.rb
752
757
  - lib/fog/aws/parsers/ses/verify_email_address.rb
753
758
  - lib/fog/aws/parsers/simpledb/basic.rb
754
759
  - lib/fog/aws/parsers/simpledb/domain_metadata.rb
@@ -790,6 +795,7 @@ files:
790
795
  - lib/fog/aws/parsers/storage/initiate_multipart_upload.rb
791
796
  - lib/fog/aws/parsers/storage/list_multipart_uploads.rb
792
797
  - lib/fog/aws/parsers/storage/list_parts.rb
798
+ - lib/fog/aws/parsers/sts/assume_role.rb
793
799
  - lib/fog/aws/parsers/sts/get_session_token.rb
794
800
  - lib/fog/aws/rds.rb
795
801
  - lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb
@@ -1137,6 +1143,7 @@ files:
1137
1143
  - lib/fog/aws/requests/rds/delete_db_snapshot.rb
1138
1144
  - lib/fog/aws/requests/rds/describe_db_engine_versions.rb
1139
1145
  - lib/fog/aws/requests/rds/describe_db_instances.rb
1146
+ - lib/fog/aws/requests/rds/describe_db_log_files.rb
1140
1147
  - lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
1141
1148
  - lib/fog/aws/requests/rds/describe_db_parameters.rb
1142
1149
  - lib/fog/aws/requests/rds/describe_db_reserved_instances.rb
@@ -1144,6 +1151,7 @@ files:
1144
1151
  - lib/fog/aws/requests/rds/describe_db_snapshots.rb
1145
1152
  - lib/fog/aws/requests/rds/describe_db_subnet_groups.rb
1146
1153
  - lib/fog/aws/requests/rds/describe_events.rb
1154
+ - lib/fog/aws/requests/rds/download_db_logfile_portion.rb
1147
1155
  - lib/fog/aws/requests/rds/list_tags_for_resource.rb
1148
1156
  - lib/fog/aws/requests/rds/modify_db_instance.rb
1149
1157
  - lib/fog/aws/requests/rds/modify_db_parameter_group.rb
@@ -1158,6 +1166,7 @@ files:
1158
1166
  - lib/fog/aws/requests/ses/list_verified_email_addresses.rb
1159
1167
  - lib/fog/aws/requests/ses/send_email.rb
1160
1168
  - lib/fog/aws/requests/ses/send_raw_email.rb
1169
+ - lib/fog/aws/requests/ses/verify_domain_identity.rb
1161
1170
  - lib/fog/aws/requests/ses/verify_email_address.rb
1162
1171
  - lib/fog/aws/requests/simpledb/batch_put_attributes.rb
1163
1172
  - lib/fog/aws/requests/simpledb/create_domain.rb
@@ -1240,6 +1249,7 @@ files:
1240
1249
  - lib/fog/aws/requests/storage/put_request_payment.rb
1241
1250
  - lib/fog/aws/requests/storage/sync_clock.rb
1242
1251
  - lib/fog/aws/requests/storage/upload_part.rb
1252
+ - lib/fog/aws/requests/sts/assume_role.rb
1243
1253
  - lib/fog/aws/requests/sts/get_federation_token.rb
1244
1254
  - lib/fog/aws/requests/sts/get_session_token.rb
1245
1255
  - lib/fog/aws/ses.rb
@@ -1367,6 +1377,7 @@ files:
1367
1377
  - lib/fog/brightbox.rb
1368
1378
  - lib/fog/brightbox/compute.rb
1369
1379
  - lib/fog/brightbox/compute/image_selector.rb
1380
+ - lib/fog/brightbox/compute/shared.rb
1370
1381
  - lib/fog/brightbox/models/compute/account.rb
1371
1382
  - lib/fog/brightbox/models/compute/accounts.rb
1372
1383
  - lib/fog/brightbox/models/compute/api_client.rb
@@ -1375,6 +1386,8 @@ files:
1375
1386
  - lib/fog/brightbox/models/compute/applications.rb
1376
1387
  - lib/fog/brightbox/models/compute/cloud_ip.rb
1377
1388
  - lib/fog/brightbox/models/compute/cloud_ips.rb
1389
+ - lib/fog/brightbox/models/compute/collaboration.rb
1390
+ - lib/fog/brightbox/models/compute/collaborations.rb
1378
1391
  - lib/fog/brightbox/models/compute/firewall_policies.rb
1379
1392
  - lib/fog/brightbox/models/compute/firewall_policy.rb
1380
1393
  - lib/fog/brightbox/models/compute/firewall_rule.rb
@@ -1390,10 +1403,13 @@ files:
1390
1403
  - lib/fog/brightbox/models/compute/server_groups.rb
1391
1404
  - lib/fog/brightbox/models/compute/servers.rb
1392
1405
  - lib/fog/brightbox/models/compute/user.rb
1406
+ - lib/fog/brightbox/models/compute/user_collaboration.rb
1407
+ - lib/fog/brightbox/models/compute/user_collaborations.rb
1393
1408
  - lib/fog/brightbox/models/compute/users.rb
1394
1409
  - lib/fog/brightbox/models/compute/zone.rb
1395
1410
  - lib/fog/brightbox/models/compute/zones.rb
1396
1411
  - lib/fog/brightbox/oauth2.rb
1412
+ - lib/fog/brightbox/requests/compute/accept_user_collaboration.rb
1397
1413
  - lib/fog/brightbox/requests/compute/activate_console_server.rb
1398
1414
  - lib/fog/brightbox/requests/compute/add_listeners_load_balancer.rb
1399
1415
  - lib/fog/brightbox/requests/compute/add_nodes_load_balancer.rb
@@ -1402,6 +1418,7 @@ files:
1402
1418
  - lib/fog/brightbox/requests/compute/create_api_client.rb
1403
1419
  - lib/fog/brightbox/requests/compute/create_application.rb
1404
1420
  - lib/fog/brightbox/requests/compute/create_cloud_ip.rb
1421
+ - lib/fog/brightbox/requests/compute/create_collaboration.rb
1405
1422
  - lib/fog/brightbox/requests/compute/create_firewall_policy.rb
1406
1423
  - lib/fog/brightbox/requests/compute/create_firewall_rule.rb
1407
1424
  - lib/fog/brightbox/requests/compute/create_image.rb
@@ -1411,17 +1428,21 @@ files:
1411
1428
  - lib/fog/brightbox/requests/compute/delete_api_client.rb
1412
1429
  - lib/fog/brightbox/requests/compute/delete_application.rb
1413
1430
  - lib/fog/brightbox/requests/compute/delete_cloud_ip.rb
1431
+ - lib/fog/brightbox/requests/compute/delete_collaboration.rb
1414
1432
  - lib/fog/brightbox/requests/compute/delete_firewall_policy.rb
1415
1433
  - lib/fog/brightbox/requests/compute/delete_firewall_rule.rb
1416
1434
  - lib/fog/brightbox/requests/compute/delete_image.rb
1417
1435
  - lib/fog/brightbox/requests/compute/delete_load_balancer.rb
1418
1436
  - lib/fog/brightbox/requests/compute/delete_server.rb
1419
1437
  - lib/fog/brightbox/requests/compute/delete_server_group.rb
1438
+ - lib/fog/brightbox/requests/compute/delete_user_collaboration.rb
1439
+ - lib/fog/brightbox/requests/compute/destroy_user_collaboration.rb
1420
1440
  - lib/fog/brightbox/requests/compute/get_account.rb
1421
1441
  - lib/fog/brightbox/requests/compute/get_api_client.rb
1422
1442
  - lib/fog/brightbox/requests/compute/get_application.rb
1423
1443
  - lib/fog/brightbox/requests/compute/get_authenticated_user.rb
1424
1444
  - lib/fog/brightbox/requests/compute/get_cloud_ip.rb
1445
+ - lib/fog/brightbox/requests/compute/get_collaboration.rb
1425
1446
  - lib/fog/brightbox/requests/compute/get_firewall_policy.rb
1426
1447
  - lib/fog/brightbox/requests/compute/get_firewall_rule.rb
1427
1448
  - lib/fog/brightbox/requests/compute/get_image.rb
@@ -1432,25 +1453,30 @@ files:
1432
1453
  - lib/fog/brightbox/requests/compute/get_server_group.rb
1433
1454
  - lib/fog/brightbox/requests/compute/get_server_type.rb
1434
1455
  - lib/fog/brightbox/requests/compute/get_user.rb
1456
+ - lib/fog/brightbox/requests/compute/get_user_collaboration.rb
1435
1457
  - lib/fog/brightbox/requests/compute/get_zone.rb
1436
1458
  - lib/fog/brightbox/requests/compute/list_accounts.rb
1437
1459
  - lib/fog/brightbox/requests/compute/list_api_clients.rb
1438
1460
  - lib/fog/brightbox/requests/compute/list_applications.rb
1439
1461
  - lib/fog/brightbox/requests/compute/list_cloud_ips.rb
1462
+ - lib/fog/brightbox/requests/compute/list_collaborations.rb
1440
1463
  - lib/fog/brightbox/requests/compute/list_firewall_policies.rb
1441
1464
  - lib/fog/brightbox/requests/compute/list_images.rb
1442
1465
  - lib/fog/brightbox/requests/compute/list_load_balancers.rb
1443
1466
  - lib/fog/brightbox/requests/compute/list_server_groups.rb
1444
1467
  - lib/fog/brightbox/requests/compute/list_server_types.rb
1445
1468
  - lib/fog/brightbox/requests/compute/list_servers.rb
1469
+ - lib/fog/brightbox/requests/compute/list_user_collaborations.rb
1446
1470
  - lib/fog/brightbox/requests/compute/list_users.rb
1447
1471
  - lib/fog/brightbox/requests/compute/list_zones.rb
1448
1472
  - lib/fog/brightbox/requests/compute/map_cloud_ip.rb
1449
1473
  - lib/fog/brightbox/requests/compute/move_servers_server_group.rb
1474
+ - lib/fog/brightbox/requests/compute/reject_user_collaboration.rb
1450
1475
  - lib/fog/brightbox/requests/compute/remove_firewall_policy.rb
1451
1476
  - lib/fog/brightbox/requests/compute/remove_listeners_load_balancer.rb
1452
1477
  - lib/fog/brightbox/requests/compute/remove_nodes_load_balancer.rb
1453
1478
  - lib/fog/brightbox/requests/compute/remove_servers_server_group.rb
1479
+ - lib/fog/brightbox/requests/compute/resend_collaboration.rb
1454
1480
  - lib/fog/brightbox/requests/compute/reset_ftp_password_account.rb
1455
1481
  - lib/fog/brightbox/requests/compute/reset_ftp_password_scoped_account.rb
1456
1482
  - lib/fog/brightbox/requests/compute/reset_secret_api_client.rb
@@ -1498,6 +1524,7 @@ files:
1498
1524
  - lib/fog/cloudsigma.rb
1499
1525
  - lib/fog/cloudsigma/compute.rb
1500
1526
  - lib/fog/cloudsigma/connection.rb
1527
+ - lib/fog/cloudsigma/docs/getting_started.md
1501
1528
  - lib/fog/cloudsigma/error.rb
1502
1529
  - lib/fog/cloudsigma/mock_data.rb
1503
1530
  - lib/fog/cloudsigma/models/balance.rb
@@ -1688,11 +1715,11 @@ files:
1688
1715
  - lib/fog/core/connection.rb
1689
1716
  - lib/fog/core/credentials.rb
1690
1717
  - lib/fog/core/current_machine.rb
1718
+ - lib/fog/core/deprecated/connection.rb
1691
1719
  - lib/fog/core/deprecated_connection_accessors.rb
1692
1720
  - lib/fog/core/deprecation.rb
1693
1721
  - lib/fog/core/errors.rb
1694
1722
  - lib/fog/core/hmac.rb
1695
- - lib/fog/core/json.rb
1696
1723
  - lib/fog/core/logger.rb
1697
1724
  - lib/fog/core/mock.rb
1698
1725
  - lib/fog/core/model.rb
@@ -2084,6 +2111,8 @@ files:
2084
2111
  - lib/fog/go_grid/requests/compute/support_password_list.rb
2085
2112
  - lib/fog/google.rb
2086
2113
  - lib/fog/google/compute.rb
2114
+ - lib/fog/google/models/compute/disk.rb
2115
+ - lib/fog/google/models/compute/disks.rb
2087
2116
  - lib/fog/google/models/compute/flavor.rb
2088
2117
  - lib/fog/google/models/compute/flavors.rb
2089
2118
  - lib/fog/google/models/compute/image.rb
@@ -2436,6 +2465,7 @@ files:
2436
2465
  - lib/fog/joyent/requests/compute/start_machine_from_snapshot.rb
2437
2466
  - lib/fog/joyent/requests/compute/stop_machine.rb
2438
2467
  - lib/fog/joyent/requests/compute/update_machine_metadata.rb
2468
+ - lib/fog/json.rb
2439
2469
  - lib/fog/libvirt.rb
2440
2470
  - lib/fog/libvirt/compute.rb
2441
2471
  - lib/fog/libvirt/models/compute/README.md
@@ -2536,6 +2566,7 @@ files:
2536
2566
  - lib/fog/local/models/storage/file.rb
2537
2567
  - lib/fog/local/models/storage/files.rb
2538
2568
  - lib/fog/local/storage.rb
2569
+ - lib/fog/metering.rb
2539
2570
  - lib/fog/monitoring.rb
2540
2571
  - lib/fog/network.rb
2541
2572
  - lib/fog/ninefold.rb
@@ -2597,6 +2628,7 @@ files:
2597
2628
  - lib/fog/openstack/examples/storage/set-account-quota.rb
2598
2629
  - lib/fog/openstack/identity.rb
2599
2630
  - lib/fog/openstack/image.rb
2631
+ - lib/fog/openstack/metering.rb
2600
2632
  - lib/fog/openstack/models/compute/address.rb
2601
2633
  - lib/fog/openstack/models/compute/addresses.rb
2602
2634
  - lib/fog/openstack/models/compute/flavor.rb
@@ -2632,6 +2664,10 @@ files:
2632
2664
  - lib/fog/openstack/models/image/image.rb
2633
2665
  - lib/fog/openstack/models/image/images.rb
2634
2666
  - lib/fog/openstack/models/meta_parent.rb
2667
+ - lib/fog/openstack/models/metering/meter.rb
2668
+ - lib/fog/openstack/models/metering/meters.rb
2669
+ - lib/fog/openstack/models/metering/resource.rb
2670
+ - lib/fog/openstack/models/metering/resources.rb
2635
2671
  - lib/fog/openstack/models/network/floating_ip.rb
2636
2672
  - lib/fog/openstack/models/network/floating_ips.rb
2637
2673
  - lib/fog/openstack/models/network/lb_health_monitor.rb
@@ -2789,6 +2825,11 @@ files:
2789
2825
  - lib/fog/openstack/requests/image/set_tenant.rb
2790
2826
  - lib/fog/openstack/requests/image/update_image.rb
2791
2827
  - lib/fog/openstack/requests/image/update_image_members.rb
2828
+ - lib/fog/openstack/requests/metering/get_resource.rb
2829
+ - lib/fog/openstack/requests/metering/get_samples.rb
2830
+ - lib/fog/openstack/requests/metering/get_statistics.rb
2831
+ - lib/fog/openstack/requests/metering/list_meters.rb
2832
+ - lib/fog/openstack/requests/metering/list_resources.rb
2792
2833
  - lib/fog/openstack/requests/network/add_router_interface.rb
2793
2834
  - lib/fog/openstack/requests/network/associate_floating_ip.rb
2794
2835
  - lib/fog/openstack/requests/network/associate_lb_health_monitor.rb
@@ -3205,7 +3246,9 @@ files:
3205
3246
  - lib/fog/rackspace/requests/load_balancers/update_node.rb
3206
3247
  - lib/fog/rackspace/requests/storage/copy_object.rb
3207
3248
  - lib/fog/rackspace/requests/storage/delete_container.rb
3249
+ - lib/fog/rackspace/requests/storage/delete_multiple_objects.rb
3208
3250
  - lib/fog/rackspace/requests/storage/delete_object.rb
3251
+ - lib/fog/rackspace/requests/storage/delete_static_large_object.rb
3209
3252
  - lib/fog/rackspace/requests/storage/get_container.rb
3210
3253
  - lib/fog/rackspace/requests/storage/get_containers.rb
3211
3254
  - lib/fog/rackspace/requests/storage/get_object.rb
@@ -3215,8 +3258,10 @@ files:
3215
3258
  - lib/fog/rackspace/requests/storage/head_object.rb
3216
3259
  - lib/fog/rackspace/requests/storage/post_set_meta_temp_url_key.rb
3217
3260
  - lib/fog/rackspace/requests/storage/put_container.rb
3261
+ - lib/fog/rackspace/requests/storage/put_dynamic_obj_manifest.rb
3218
3262
  - lib/fog/rackspace/requests/storage/put_object.rb
3219
3263
  - lib/fog/rackspace/requests/storage/put_object_manifest.rb
3264
+ - lib/fog/rackspace/requests/storage/put_static_obj_manifest.rb
3220
3265
  - lib/fog/rackspace/service.rb
3221
3266
  - lib/fog/rackspace/storage.rb
3222
3267
  - lib/fog/riakcs.rb
@@ -3742,11 +3787,15 @@ files:
3742
3787
  - lib/fog/xenserver/requests/compute/set_attribute.rb
3743
3788
  - lib/fog/xenserver/requests/compute/shutdown_host.rb
3744
3789
  - lib/fog/xenserver/requests/compute/shutdown_server.rb
3790
+ - lib/fog/xenserver/requests/compute/snapshot_revert.rb
3791
+ - lib/fog/xenserver/requests/compute/snapshot_server.rb
3745
3792
  - lib/fog/xenserver/requests/compute/start_server.rb
3746
3793
  - lib/fog/xenserver/requests/compute/start_vm.rb
3747
3794
  - lib/fog/xenserver/requests/compute/unplug_pbd.rb
3748
3795
  - lib/fog/xenserver/requests/compute/unplug_vbd.rb
3749
3796
  - lib/fog/xenserver/utilities.rb
3797
+ - lib/fog/xml.rb
3798
+ - lib/fog/xml/sax_parser_connection.rb
3750
3799
  - lib/fog/zerigo.rb
3751
3800
  - lib/fog/zerigo/dns.rb
3752
3801
  - lib/fog/zerigo/models/dns/record.rb
@@ -3785,6 +3834,7 @@ files:
3785
3834
  - tests/aws/models/auto_scaling/activities_tests.rb
3786
3835
  - tests/aws/models/auto_scaling/configuration_test.rb
3787
3836
  - tests/aws/models/auto_scaling/configurations_tests.rb
3837
+ - tests/aws/models/auto_scaling/groups_test.rb
3788
3838
  - tests/aws/models/auto_scaling/helper.rb
3789
3839
  - tests/aws/models/auto_scaling/instances_tests.rb
3790
3840
  - tests/aws/models/beanstalk/application_tests.rb
@@ -3924,12 +3974,14 @@ files:
3924
3974
  - tests/aws/requests/rds/describe_events.rb
3925
3975
  - tests/aws/requests/rds/helper.rb
3926
3976
  - tests/aws/requests/rds/instance_tests.rb
3977
+ - tests/aws/requests/rds/log_file_tests.rb
3927
3978
  - tests/aws/requests/rds/parameter_group_tests.rb
3928
3979
  - tests/aws/requests/rds/parameter_request_tests.rb
3929
3980
  - tests/aws/requests/rds/security_group_tests.rb
3930
3981
  - tests/aws/requests/rds/subnet_groups_test.rb
3931
3982
  - tests/aws/requests/rds/tagging_tests.rb
3932
3983
  - tests/aws/requests/ses/helper.rb
3984
+ - tests/aws/requests/ses/verified_domain_identity_tests.rb
3933
3985
  - tests/aws/requests/ses/verified_email_address_tests.rb
3934
3986
  - tests/aws/requests/simpledb/attributes_tests.rb
3935
3987
  - tests/aws/requests/simpledb/domain_tests.rb
@@ -3946,6 +3998,7 @@ files:
3946
3998
  - tests/aws/requests/storage/multipart_upload_tests.rb
3947
3999
  - tests/aws/requests/storage/object_tests.rb
3948
4000
  - tests/aws/requests/storage/versioning_tests.rb
4001
+ - tests/aws/requests/sts/assume_role_tests.rb
3949
4002
  - tests/aws/requests/sts/get_federation_token_tests.rb
3950
4003
  - tests/aws/requests/sts/session_token_tests.rb
3951
4004
  - tests/aws/signaturev4_tests.rb
@@ -3967,6 +4020,7 @@ files:
3967
4020
  - tests/brightbox/requests/compute/api_client_tests.rb
3968
4021
  - tests/brightbox/requests/compute/application_test.rb
3969
4022
  - tests/brightbox/requests/compute/cloud_ip_tests.rb
4023
+ - tests/brightbox/requests/compute/collaboration_tests.rb
3970
4024
  - tests/brightbox/requests/compute/firewall_policy_tests.rb
3971
4025
  - tests/brightbox/requests/compute/firewall_rule_tests.rb
3972
4026
  - tests/brightbox/requests/compute/helper.rb
@@ -3976,6 +4030,7 @@ files:
3976
4030
  - tests/brightbox/requests/compute/server_group_tests.rb
3977
4031
  - tests/brightbox/requests/compute/server_tests.rb
3978
4032
  - tests/brightbox/requests/compute/server_type_tests.rb
4033
+ - tests/brightbox/requests/compute/user_collaboration_tests.rb
3979
4034
  - tests/brightbox/requests/compute/user_tests.rb
3980
4035
  - tests/brightbox/requests/compute/zone_tests.rb
3981
4036
  - tests/clodo/requests/compute/image_tests.rb
@@ -4010,12 +4065,12 @@ files:
4010
4065
  - tests/compute/models/server_tests.rb
4011
4066
  - tests/compute/models/servers_tests.rb
4012
4067
  - tests/core/attribute_tests.rb
4068
+ - tests/core/connection_tests.rb
4013
4069
  - tests/core/credential_tests.rb
4014
4070
  - tests/core/current_machine_tests.rb
4015
4071
  - tests/core/mocking_tests.rb
4016
4072
  - tests/core/parser_tests.rb
4017
4073
  - tests/core/timeout_tests.rb
4018
- - tests/core/user_agent_tests.rb
4019
4074
  - tests/core/wait_for_tests.rb
4020
4075
  - tests/digitalocean/helper.rb
4021
4076
  - tests/digitalocean/models/compute/flavor_tests.rb
@@ -4249,6 +4304,8 @@ files:
4249
4304
  - tests/openstack/requests/identity/tenant_tests.rb
4250
4305
  - tests/openstack/requests/identity/user_tests.rb
4251
4306
  - tests/openstack/requests/image/image_tests.rb
4307
+ - tests/openstack/requests/metering/meter_tests.rb
4308
+ - tests/openstack/requests/metering/resource_tests.rb
4252
4309
  - tests/openstack/requests/network/lb_health_monitor_tests.rb
4253
4310
  - tests/openstack/requests/network/lb_member_tests.rb
4254
4311
  - tests/openstack/requests/network/lb_pool_tests.rb
@@ -4289,6 +4346,7 @@ files:
4289
4346
  - tests/rackspace/databases_tests.rb
4290
4347
  - tests/rackspace/dns_tests.rb
4291
4348
  - tests/rackspace/helper.rb
4349
+ - tests/rackspace/identity_tests.rb
4292
4350
  - tests/rackspace/load_balancer_tests.rb
4293
4351
  - tests/rackspace/models/block_storage/snapshot_tests.rb
4294
4352
  - tests/rackspace/models/block_storage/snapshots_tests.rb
@@ -4380,6 +4438,7 @@ files:
4380
4438
  - tests/rackspace/requests/storage/container_tests.rb
4381
4439
  - tests/rackspace/requests/storage/large_object_tests.rb
4382
4440
  - tests/rackspace/requests/storage/object_tests.rb
4441
+ - tests/rackspace/service_tests.rb
4383
4442
  - tests/rackspace/storage_tests.rb
4384
4443
  - tests/rackspace/url_encoding_tests.rb
4385
4444
  - tests/riakcs/requests/provisioning/provisioning_tests.rb
@@ -4485,7 +4544,8 @@ files:
4485
4544
  - tests/xenserver/xenserver_tests.rb
4486
4545
  - tests/zerigo/requests/dns/dns_tests.rb
4487
4546
  homepage: http://github.com/fog/fog
4488
- licenses: []
4547
+ licenses:
4548
+ - MIT
4489
4549
  post_install_message:
4490
4550
  rdoc_options:
4491
4551
  - --charset=UTF-8
@@ -4499,7 +4559,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
4499
4559
  version: '0'
4500
4560
  segments:
4501
4561
  - 0
4502
- hash: 1026096410422706099
4562
+ hash: 970170911850261824
4503
4563
  required_rubygems_version: !ruby/object:Gem::Requirement
4504
4564
  none: false
4505
4565
  requirements:
@@ -4519,6 +4579,7 @@ test_files:
4519
4579
  - tests/aws/models/auto_scaling/activities_tests.rb
4520
4580
  - tests/aws/models/auto_scaling/configuration_test.rb
4521
4581
  - tests/aws/models/auto_scaling/configurations_tests.rb
4582
+ - tests/aws/models/auto_scaling/groups_test.rb
4522
4583
  - tests/aws/models/auto_scaling/helper.rb
4523
4584
  - tests/aws/models/auto_scaling/instances_tests.rb
4524
4585
  - tests/aws/models/beanstalk/application_tests.rb
@@ -4658,12 +4719,14 @@ test_files:
4658
4719
  - tests/aws/requests/rds/describe_events.rb
4659
4720
  - tests/aws/requests/rds/helper.rb
4660
4721
  - tests/aws/requests/rds/instance_tests.rb
4722
+ - tests/aws/requests/rds/log_file_tests.rb
4661
4723
  - tests/aws/requests/rds/parameter_group_tests.rb
4662
4724
  - tests/aws/requests/rds/parameter_request_tests.rb
4663
4725
  - tests/aws/requests/rds/security_group_tests.rb
4664
4726
  - tests/aws/requests/rds/subnet_groups_test.rb
4665
4727
  - tests/aws/requests/rds/tagging_tests.rb
4666
4728
  - tests/aws/requests/ses/helper.rb
4729
+ - tests/aws/requests/ses/verified_domain_identity_tests.rb
4667
4730
  - tests/aws/requests/ses/verified_email_address_tests.rb
4668
4731
  - tests/aws/requests/simpledb/attributes_tests.rb
4669
4732
  - tests/aws/requests/simpledb/domain_tests.rb
@@ -4680,6 +4743,7 @@ test_files:
4680
4743
  - tests/aws/requests/storage/multipart_upload_tests.rb
4681
4744
  - tests/aws/requests/storage/object_tests.rb
4682
4745
  - tests/aws/requests/storage/versioning_tests.rb
4746
+ - tests/aws/requests/sts/assume_role_tests.rb
4683
4747
  - tests/aws/requests/sts/get_federation_token_tests.rb
4684
4748
  - tests/aws/requests/sts/session_token_tests.rb
4685
4749
  - tests/aws/signaturev4_tests.rb
@@ -4701,6 +4765,7 @@ test_files:
4701
4765
  - tests/brightbox/requests/compute/api_client_tests.rb
4702
4766
  - tests/brightbox/requests/compute/application_test.rb
4703
4767
  - tests/brightbox/requests/compute/cloud_ip_tests.rb
4768
+ - tests/brightbox/requests/compute/collaboration_tests.rb
4704
4769
  - tests/brightbox/requests/compute/firewall_policy_tests.rb
4705
4770
  - tests/brightbox/requests/compute/firewall_rule_tests.rb
4706
4771
  - tests/brightbox/requests/compute/helper.rb
@@ -4710,6 +4775,7 @@ test_files:
4710
4775
  - tests/brightbox/requests/compute/server_group_tests.rb
4711
4776
  - tests/brightbox/requests/compute/server_tests.rb
4712
4777
  - tests/brightbox/requests/compute/server_type_tests.rb
4778
+ - tests/brightbox/requests/compute/user_collaboration_tests.rb
4713
4779
  - tests/brightbox/requests/compute/user_tests.rb
4714
4780
  - tests/brightbox/requests/compute/zone_tests.rb
4715
4781
  - tests/clodo/requests/compute/image_tests.rb
@@ -4744,12 +4810,12 @@ test_files:
4744
4810
  - tests/compute/models/server_tests.rb
4745
4811
  - tests/compute/models/servers_tests.rb
4746
4812
  - tests/core/attribute_tests.rb
4813
+ - tests/core/connection_tests.rb
4747
4814
  - tests/core/credential_tests.rb
4748
4815
  - tests/core/current_machine_tests.rb
4749
4816
  - tests/core/mocking_tests.rb
4750
4817
  - tests/core/parser_tests.rb
4751
4818
  - tests/core/timeout_tests.rb
4752
- - tests/core/user_agent_tests.rb
4753
4819
  - tests/core/wait_for_tests.rb
4754
4820
  - tests/digitalocean/helper.rb
4755
4821
  - tests/digitalocean/models/compute/flavor_tests.rb
@@ -4983,6 +5049,8 @@ test_files:
4983
5049
  - tests/openstack/requests/identity/tenant_tests.rb
4984
5050
  - tests/openstack/requests/identity/user_tests.rb
4985
5051
  - tests/openstack/requests/image/image_tests.rb
5052
+ - tests/openstack/requests/metering/meter_tests.rb
5053
+ - tests/openstack/requests/metering/resource_tests.rb
4986
5054
  - tests/openstack/requests/network/lb_health_monitor_tests.rb
4987
5055
  - tests/openstack/requests/network/lb_member_tests.rb
4988
5056
  - tests/openstack/requests/network/lb_pool_tests.rb
@@ -5023,6 +5091,7 @@ test_files:
5023
5091
  - tests/rackspace/databases_tests.rb
5024
5092
  - tests/rackspace/dns_tests.rb
5025
5093
  - tests/rackspace/helper.rb
5094
+ - tests/rackspace/identity_tests.rb
5026
5095
  - tests/rackspace/load_balancer_tests.rb
5027
5096
  - tests/rackspace/models/block_storage/snapshot_tests.rb
5028
5097
  - tests/rackspace/models/block_storage/snapshots_tests.rb
@@ -5114,6 +5183,7 @@ test_files:
5114
5183
  - tests/rackspace/requests/storage/container_tests.rb
5115
5184
  - tests/rackspace/requests/storage/large_object_tests.rb
5116
5185
  - tests/rackspace/requests/storage/object_tests.rb
5186
+ - tests/rackspace/service_tests.rb
5117
5187
  - tests/rackspace/storage_tests.rb
5118
5188
  - tests/rackspace/url_encoding_tests.rb
5119
5189
  - tests/riakcs/requests/provisioning/provisioning_tests.rb