fog 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. data/.document +1 -1
  2. data/.irbrc +5 -10
  3. data/{README.rdoc → README.md} +66 -61
  4. data/Rakefile +4 -6
  5. data/changelog.txt +491 -0
  6. data/docs/about/users.markdown +1 -0
  7. data/fog.gemspec +4 -4
  8. data/lib/fog.rb +1 -1
  9. data/lib/fog/aws.rb +4 -0
  10. data/lib/fog/aws/auto_scaling.rb +3 -0
  11. data/lib/fog/aws/cloud_watch.rb +28 -0
  12. data/lib/fog/aws/compute.rb +7 -1
  13. data/lib/fog/aws/elasticache.rb +64 -6
  14. data/lib/fog/aws/models/auto_scaling/configuration.rb +3 -1
  15. data/lib/fog/aws/models/auto_scaling/group.rb +10 -9
  16. data/lib/fog/aws/models/auto_scaling/policies.rb +33 -0
  17. data/lib/fog/aws/models/auto_scaling/policy.rb +46 -0
  18. data/lib/fog/aws/models/cloud_watch/alarm.rb +50 -2
  19. data/lib/fog/aws/models/cloud_watch/alarms.rb +18 -1
  20. data/lib/fog/aws/models/compute/address.rb +2 -2
  21. data/lib/fog/aws/models/dns/records.rb +5 -0
  22. data/lib/fog/aws/models/elasticache/cluster.rb +1 -1
  23. data/lib/fog/aws/models/iam/users.rb +26 -4
  24. data/lib/fog/aws/parsers/auto_scaling/describe_policies.rb +7 -5
  25. data/lib/fog/aws/parsers/elb/describe_load_balancers.rb +1 -1
  26. data/lib/fog/aws/rds.rb +1 -1
  27. data/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb +8 -0
  28. data/lib/fog/aws/requests/auto_scaling/create_launch_configuration.rb +1 -2
  29. data/lib/fog/aws/requests/auto_scaling/delete_auto_scaling_group.rb +10 -2
  30. data/lib/fog/aws/requests/auto_scaling/delete_launch_configuration.rb +1 -1
  31. data/lib/fog/aws/requests/auto_scaling/delete_policy.rb +10 -1
  32. data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_instances.rb +0 -1
  33. data/lib/fog/aws/requests/auto_scaling/describe_policies.rb +13 -1
  34. data/lib/fog/aws/requests/auto_scaling/put_scaling_policy.rb +20 -1
  35. data/lib/fog/aws/requests/auto_scaling/update_auto_scaling_group.rb +1 -1
  36. data/lib/fog/aws/requests/cloud_watch/delete_alarms.rb +19 -1
  37. data/lib/fog/aws/requests/cloud_watch/describe_alarms.rb +20 -2
  38. data/lib/fog/aws/requests/cloud_watch/put_metric_alarm.rb +9 -0
  39. data/lib/fog/aws/requests/compute/allocate_address.rb +4 -5
  40. data/lib/fog/aws/requests/compute/create_dhcp_options.rb +6 -5
  41. data/lib/fog/aws/requests/compute/create_internet_gateway.rb +7 -6
  42. data/lib/fog/aws/requests/compute/create_subnet.rb +11 -10
  43. data/lib/fog/aws/requests/compute/create_vpc.rb +8 -7
  44. data/lib/fog/aws/requests/compute/delete_dhcp_options.rb +1 -0
  45. data/lib/fog/aws/requests/compute/delete_internet_gateway.rb +1 -0
  46. data/lib/fog/aws/requests/compute/delete_subnet.rb +1 -0
  47. data/lib/fog/aws/requests/compute/delete_vpc.rb +2 -1
  48. data/lib/fog/aws/requests/compute/describe_availability_zones.rb +1 -0
  49. data/lib/fog/aws/requests/compute/describe_dhcp_options.rb +1 -8
  50. data/lib/fog/aws/requests/compute/describe_instances.rb +3 -1
  51. data/lib/fog/aws/requests/compute/describe_internet_gateways.rb +1 -8
  52. data/lib/fog/aws/requests/compute/describe_subnets.rb +1 -9
  53. data/lib/fog/aws/requests/compute/describe_vpcs.rb +1 -8
  54. data/lib/fog/aws/requests/compute/release_address.rb +12 -4
  55. data/lib/fog/aws/requests/compute/start_instances.rb +1 -0
  56. data/lib/fog/aws/requests/compute/stop_instances.rb +1 -0
  57. data/lib/fog/aws/requests/elasticache/create_cache_cluster.rb +26 -2
  58. data/lib/fog/aws/requests/elasticache/delete_cache_cluster.rb +10 -1
  59. data/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb +16 -1
  60. data/lib/fog/aws/requests/elasticache/modify_cache_cluster.rb +35 -3
  61. data/lib/fog/aws/requests/elasticache/reboot_cache_cluster.rb +10 -2
  62. data/lib/fog/aws/requests/elb/create_load_balancer.rb +1 -1
  63. data/lib/fog/aws/requests/rds/describe_db_instances.rb +3 -3
  64. data/lib/fog/aws/sqs.rb +1 -1
  65. data/lib/fog/aws/storage.rb +1 -1
  66. data/lib/fog/bin/rackspace.rb +4 -0
  67. data/lib/fog/cloudstack/compute.rb +25 -18
  68. data/lib/fog/cloudstack/models/compute/image.rb +34 -34
  69. data/lib/fog/cloudstack/models/compute/job.rb +14 -1
  70. data/lib/fog/cloudstack/models/compute/jobs.rb +1 -1
  71. data/lib/fog/cloudstack/models/compute/security_group.rb +50 -0
  72. data/lib/fog/cloudstack/models/compute/security_group_rule.rb +62 -0
  73. data/lib/fog/cloudstack/models/compute/security_group_rules.rb +37 -0
  74. data/lib/fog/cloudstack/models/compute/security_groups.rb +27 -0
  75. data/lib/fog/cloudstack/models/compute/server.rb +63 -39
  76. data/lib/fog/cloudstack/models/compute/volume.rb +3 -7
  77. data/lib/fog/cloudstack/models/compute/zone.rb +1 -2
  78. data/lib/fog/cloudstack/requests/compute/assign_virtual_machine.rb +18 -0
  79. data/lib/fog/cloudstack/requests/compute/authorize_security_group_egress.rb +68 -0
  80. data/lib/fog/cloudstack/requests/compute/authorize_security_group_ingress.rb +55 -4
  81. data/lib/fog/cloudstack/requests/compute/create_security_group.rb +12 -4
  82. data/lib/fog/cloudstack/requests/compute/create_zone.rb +20 -0
  83. data/lib/fog/cloudstack/requests/compute/delete_security_group.rb +17 -0
  84. data/lib/fog/cloudstack/requests/compute/destroy_virtual_machine.rb +23 -1
  85. data/lib/fog/cloudstack/requests/compute/list_firewall_rules.rb +15 -0
  86. data/lib/fog/cloudstack/requests/compute/list_security_groups.rb +22 -4
  87. data/lib/fog/cloudstack/requests/compute/query_async_job_result.rb +15 -3
  88. data/lib/fog/cloudstack/requests/compute/revoke_security_group_egress.rb +42 -0
  89. data/lib/fog/cloudstack/requests/compute/revoke_security_group_ingress.rb +29 -3
  90. data/lib/fog/core.rb +1 -0
  91. data/lib/fog/core/attributes.rb +1 -1
  92. data/lib/fog/core/current_machine.rb +2 -2
  93. data/lib/fog/core/scp.rb +8 -0
  94. data/lib/fog/core/ssh.rb +8 -0
  95. data/lib/fog/dynect/dns.rb +14 -5
  96. data/lib/fog/ibm/requests/compute/create_instance.rb +1 -1
  97. data/lib/fog/libvirt/requests/compute/create_volume.rb +1 -1
  98. data/lib/fog/libvirt/requests/compute/list_volumes.rb +1 -1
  99. data/lib/fog/local/models/storage/file.rb +12 -1
  100. data/lib/fog/local/storage.rb +25 -1
  101. data/lib/fog/ninefold/compute.rb +1 -0
  102. data/lib/fog/openstack.rb +3 -1
  103. data/lib/fog/openstack/compute.rb +13 -2
  104. data/lib/fog/openstack/models/compute/servers.rb +10 -2
  105. data/lib/fog/openstack/requests/compute/create_flavor.rb +2 -2
  106. data/lib/fog/openstack/requests/compute/create_security_group.rb +1 -1
  107. data/lib/fog/openstack/requests/compute/create_server.rb +1 -1
  108. data/lib/fog/openstack/requests/compute/create_volume.rb +1 -1
  109. data/lib/fog/openstack/requests/compute/get_flavor_details.rb +7 -7
  110. data/lib/fog/openstack/requests/compute/get_quota.rb +1 -12
  111. data/lib/fog/openstack/requests/compute/get_quota_defaults.rb +1 -12
  112. data/lib/fog/openstack/requests/compute/get_volume_details.rb +1 -1
  113. data/lib/fog/openstack/requests/compute/list_flavors.rb +7 -7
  114. data/lib/fog/openstack/requests/compute/list_flavors_detail.rb +7 -7
  115. data/lib/fog/openstack/requests/compute/list_security_groups.rb +7 -7
  116. data/lib/fog/openstack/requests/compute/list_servers_detail.rb +4 -3
  117. data/lib/fog/openstack/requests/compute/list_volumes.rb +6 -8
  118. data/lib/fog/openstack/requests/compute/update_quota.rb +2 -15
  119. data/lib/fog/openstack/requests/identity/delete_role.rb +1 -1
  120. data/lib/fog/openstack/requests/identity/list_roles.rb +1 -1
  121. data/lib/fog/openstack/requests/image/create_image.rb +3 -1
  122. data/lib/fog/openstack/requests/image/list_public_images.rb +19 -1
  123. data/lib/fog/openstack/requests/image/list_public_images_detailed.rb +20 -2
  124. data/lib/fog/openstack/requests/image/update_image.rb +1 -1
  125. data/lib/fog/rackspace.rb +2 -0
  126. data/lib/fog/rackspace/databases.rb +121 -0
  127. data/lib/fog/rackspace/identity.rb +83 -0
  128. data/lib/fog/rackspace/load_balancers.rb +3 -0
  129. data/lib/fog/rackspace/models/databases/database.rb +32 -0
  130. data/lib/fog/rackspace/models/databases/databases.rb +31 -0
  131. data/lib/fog/rackspace/models/databases/flavor.rb +15 -0
  132. data/lib/fog/rackspace/models/databases/flavors.rb +25 -0
  133. data/lib/fog/rackspace/models/databases/instance.rb +104 -0
  134. data/lib/fog/rackspace/models/databases/instances.rb +25 -0
  135. data/lib/fog/rackspace/models/databases/user.rb +32 -0
  136. data/lib/fog/rackspace/models/databases/users.rb +31 -0
  137. data/lib/fog/rackspace/models/identity/credential.rb +13 -0
  138. data/lib/fog/rackspace/models/identity/credentials.rb +32 -0
  139. data/lib/fog/rackspace/models/identity/role.rb +14 -0
  140. data/lib/fog/rackspace/models/identity/roles.rb +32 -0
  141. data/lib/fog/rackspace/models/identity/tenant.rb +15 -0
  142. data/lib/fog/rackspace/models/identity/tenants.rb +28 -0
  143. data/lib/fog/rackspace/models/identity/user.rb +53 -0
  144. data/lib/fog/rackspace/models/identity/users.rb +36 -0
  145. data/lib/fog/rackspace/models/load_balancers/load_balancer.rb +17 -0
  146. data/lib/fog/rackspace/requests/databases/check_root_user.rb +15 -0
  147. data/lib/fog/rackspace/requests/databases/create_database.rb +24 -0
  148. data/lib/fog/rackspace/requests/databases/create_instance.rb +26 -0
  149. data/lib/fog/rackspace/requests/databases/create_user.rb +24 -0
  150. data/lib/fog/rackspace/requests/databases/delete_database.rb +15 -0
  151. data/lib/fog/rackspace/requests/databases/delete_instance.rb +15 -0
  152. data/lib/fog/rackspace/requests/databases/delete_user.rb +15 -0
  153. data/lib/fog/rackspace/requests/databases/enable_root_user.rb +15 -0
  154. data/lib/fog/rackspace/requests/databases/get_flavor.rb +15 -0
  155. data/lib/fog/rackspace/requests/databases/get_instance.rb +15 -0
  156. data/lib/fog/rackspace/requests/databases/list_databases.rb +15 -0
  157. data/lib/fog/rackspace/requests/databases/list_flavors.rb +15 -0
  158. data/lib/fog/rackspace/requests/databases/list_instances.rb +15 -0
  159. data/lib/fog/rackspace/requests/databases/list_users.rb +15 -0
  160. data/lib/fog/rackspace/requests/databases/resize_instance.rb +22 -0
  161. data/lib/fog/rackspace/requests/databases/resize_instance_volume.rb +24 -0
  162. data/lib/fog/rackspace/requests/databases/restart_instance.rb +20 -0
  163. data/lib/fog/rackspace/requests/identity/create_token.rb +25 -0
  164. data/lib/fog/rackspace/requests/identity/create_user.rb +25 -0
  165. data/lib/fog/rackspace/requests/identity/delete_user.rb +15 -0
  166. data/lib/fog/rackspace/requests/identity/get_credentials.rb +15 -0
  167. data/lib/fog/rackspace/requests/identity/get_user_by_id.rb +15 -0
  168. data/lib/fog/rackspace/requests/identity/get_user_by_name.rb +15 -0
  169. data/lib/fog/rackspace/requests/identity/list_credentials.rb +22 -0
  170. data/lib/fog/rackspace/requests/identity/list_tenants.rb +22 -0
  171. data/lib/fog/rackspace/requests/identity/list_user_roles.rb +22 -0
  172. data/lib/fog/rackspace/requests/identity/list_users.rb +22 -0
  173. data/lib/fog/rackspace/requests/identity/update_user.rb +24 -0
  174. data/lib/fog/rackspace/requests/load_balancers/get_ssl_termination.rb +15 -0
  175. data/lib/fog/rackspace/requests/load_balancers/remove_ssl_termination.rb +15 -0
  176. data/lib/fog/rackspace/requests/load_balancers/set_ssl_termination.rb +31 -0
  177. data/lib/fog/rackspace/storage.rb +1 -1
  178. data/lib/fog/vsphere/models/compute/server.rb +1 -0
  179. data/lib/fog/vsphere/requests/compute/vm_clone.rb +2 -2
  180. data/tests/aws/models/compute/address_tests.rb +2 -1
  181. data/tests/aws/models/compute/volume_tests.rb +1 -1
  182. data/tests/aws/models/dns/records_tests.rb +19 -1
  183. data/tests/aws/models/storage/directory_tests.rb +1 -1
  184. data/tests/aws/models/storage/url_tests.rb +7 -1
  185. data/tests/aws/requests/auto_scaling/auto_scaling_tests.rb +4 -2
  186. data/tests/aws/requests/compute/address_tests.rb +19 -1
  187. data/tests/aws/requests/elasticache/cache_cluster_tests.rb +4 -4
  188. data/tests/aws/requests/elb/helper.rb +13 -2
  189. data/tests/aws/requests/iam/access_key_tests.rb +1 -3
  190. data/tests/cloudstack/compute/models/security_group_rule_tests.rb +29 -0
  191. data/tests/cloudstack/compute/models/security_group_tests.rb +16 -0
  192. data/tests/cloudstack/compute/models/security_groups_tests.rb +19 -0
  193. data/tests/cloudstack/compute/models/server_tests.rb +18 -0
  194. data/tests/cloudstack/compute/models/volume_tests.rb +34 -0
  195. data/tests/cloudstack/compute/models/volumes_tests.rb +17 -0
  196. data/tests/compute/helper.rb +10 -3
  197. data/tests/core/current_machine_tests.rb +32 -0
  198. data/tests/helper.rb +1 -1
  199. data/tests/helpers/mock_helper.rb +3 -0
  200. data/tests/hp/requests/compute/address_tests.rb +2 -1
  201. data/tests/joyent/requests/compute/datasets_tests.rb +12 -3
  202. data/tests/local/models/file_tests.rb +43 -0
  203. data/tests/local/storage_tests.rb +40 -0
  204. data/tests/openstack/requests/compute/flavor_tests.rb +1 -1
  205. data/tests/openstack/requests/compute/server_tests.rb +3 -3
  206. data/tests/openstack/requests/compute/volume_tests.rb +1 -1
  207. data/tests/openstack/requests/identity/role_tests.rb +1 -1
  208. data/tests/rackspace/databases_tests.rb +26 -0
  209. data/tests/rackspace/models/databases/database_tests.rb +17 -0
  210. data/tests/rackspace/models/databases/databases_tests.rb +17 -0
  211. data/tests/rackspace/models/databases/flavors_tests.rb +20 -0
  212. data/tests/rackspace/models/databases/instance_tests.rb +43 -0
  213. data/tests/rackspace/models/databases/instances_tests.rb +14 -0
  214. data/tests/rackspace/models/databases/user_tests.rb +21 -0
  215. data/tests/rackspace/models/databases/users_tests.rb +21 -0
  216. data/tests/rackspace/models/identity/credentials_tests.rb +16 -0
  217. data/tests/rackspace/models/identity/roles_tests.rb +16 -0
  218. data/tests/rackspace/models/identity/tenants_tests.rb +21 -0
  219. data/tests/rackspace/models/identity/user_tests.rb +17 -0
  220. data/tests/rackspace/models/identity/users_tests.rb +17 -0
  221. data/tests/rackspace/models/load_balancers/load_balancer_tests.rb +20 -0
  222. data/tests/rackspace/requests/databases/database_tests.rb +36 -0
  223. data/tests/rackspace/requests/databases/flavor_tests.rb +16 -0
  224. data/tests/rackspace/requests/databases/helper.rb +84 -0
  225. data/tests/rackspace/requests/databases/instance_tests.rb +77 -0
  226. data/tests/rackspace/requests/databases/user_tests.rb +37 -0
  227. data/tests/rackspace/requests/identity/tenants_tests.rb +21 -0
  228. data/tests/rackspace/requests/identity/token_tests.rb +63 -0
  229. data/tests/rackspace/requests/identity/user_tests.rb +107 -0
  230. data/tests/rackspace/requests/load_balancers/helper.rb +70 -1
  231. data/tests/rackspace/requests/load_balancers/ssl_termination_tests.rb +38 -0
  232. data/tests/storage/models/file_tests.rb +1 -1
  233. metadata +129 -13
  234. data/spec/core/current_machine_spec.rb +0 -32
  235. data/spec/lib/fog/aws/parsers/sqs/receive_message_spec.rb +0 -58
  236. data/spec/spec_helper.rb +0 -8
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.4.0
4
+ version: 1.5.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: 2012-06-24 00:00:00.000000000Z
12
+ date: 2012-07-28 00:00:00.000000000Z
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.14.0
37
+ version: '0.14'
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.14.0
45
+ version: '0.14'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: formatador
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -339,13 +339,13 @@ executables:
339
339
  - fog
340
340
  extensions: []
341
341
  extra_rdoc_files:
342
- - README.rdoc
342
+ - README.md
343
343
  files:
344
344
  - .document
345
345
  - .gitignore
346
346
  - .irbrc
347
347
  - Gemfile
348
- - README.rdoc
348
+ - README.md
349
349
  - Rakefile
350
350
  - benchs/fog_vs.rb
351
351
  - benchs/params.rb
@@ -410,6 +410,8 @@ files:
410
410
  - lib/fog/aws/models/auto_scaling/groups.rb
411
411
  - lib/fog/aws/models/auto_scaling/instance.rb
412
412
  - lib/fog/aws/models/auto_scaling/instances.rb
413
+ - lib/fog/aws/models/auto_scaling/policies.rb
414
+ - lib/fog/aws/models/auto_scaling/policy.rb
413
415
  - lib/fog/aws/models/beanstalk/application.rb
414
416
  - lib/fog/aws/models/beanstalk/applications.rb
415
417
  - lib/fog/aws/models/beanstalk/environment.rb
@@ -1381,6 +1383,10 @@ files:
1381
1383
  - lib/fog/cloudstack/models/compute/images.rb
1382
1384
  - lib/fog/cloudstack/models/compute/job.rb
1383
1385
  - lib/fog/cloudstack/models/compute/jobs.rb
1386
+ - lib/fog/cloudstack/models/compute/security_group.rb
1387
+ - lib/fog/cloudstack/models/compute/security_group_rule.rb
1388
+ - lib/fog/cloudstack/models/compute/security_group_rules.rb
1389
+ - lib/fog/cloudstack/models/compute/security_groups.rb
1384
1390
  - lib/fog/cloudstack/models/compute/server.rb
1385
1391
  - lib/fog/cloudstack/models/compute/servers.rb
1386
1392
  - lib/fog/cloudstack/models/compute/volume.rb
@@ -1389,7 +1395,9 @@ files:
1389
1395
  - lib/fog/cloudstack/models/compute/zones.rb
1390
1396
  - lib/fog/cloudstack/requests/compute/acquire_ip_address.rb
1391
1397
  - lib/fog/cloudstack/requests/compute/assign_to_load_balancer_rule.rb
1398
+ - lib/fog/cloudstack/requests/compute/assign_virtual_machine.rb
1392
1399
  - lib/fog/cloudstack/requests/compute/attach_volume.rb
1400
+ - lib/fog/cloudstack/requests/compute/authorize_security_group_egress.rb
1393
1401
  - lib/fog/cloudstack/requests/compute/authorize_security_group_ingress.rb
1394
1402
  - lib/fog/cloudstack/requests/compute/change_service_for_virtual_machine.rb
1395
1403
  - lib/fog/cloudstack/requests/compute/create_account.rb
@@ -1403,6 +1411,7 @@ files:
1403
1411
  - lib/fog/cloudstack/requests/compute/create_ssh_key_pair.rb
1404
1412
  - lib/fog/cloudstack/requests/compute/create_user.rb
1405
1413
  - lib/fog/cloudstack/requests/compute/create_volume.rb
1414
+ - lib/fog/cloudstack/requests/compute/create_zone.rb
1406
1415
  - lib/fog/cloudstack/requests/compute/delete_account.rb
1407
1416
  - lib/fog/cloudstack/requests/compute/delete_domain.rb
1408
1417
  - lib/fog/cloudstack/requests/compute/delete_load_balancer_rule.rb
@@ -1436,6 +1445,7 @@ files:
1436
1445
  - lib/fog/cloudstack/requests/compute/list_events.rb
1437
1446
  - lib/fog/cloudstack/requests/compute/list_external_firewalls.rb
1438
1447
  - lib/fog/cloudstack/requests/compute/list_external_load_balancers.rb
1448
+ - lib/fog/cloudstack/requests/compute/list_firewall_rules.rb
1439
1449
  - lib/fog/cloudstack/requests/compute/list_hosts.rb
1440
1450
  - lib/fog/cloudstack/requests/compute/list_hypervisors.rb
1441
1451
  - lib/fog/cloudstack/requests/compute/list_instance_groups.rb
@@ -1470,6 +1480,7 @@ files:
1470
1480
  - lib/fog/cloudstack/requests/compute/register_user_keys.rb
1471
1481
  - lib/fog/cloudstack/requests/compute/remove_from_load_balancer_rule.rb
1472
1482
  - lib/fog/cloudstack/requests/compute/reset_password_for_virtual_machine.rb
1483
+ - lib/fog/cloudstack/requests/compute/revoke_security_group_egress.rb
1473
1484
  - lib/fog/cloudstack/requests/compute/revoke_security_group_ingress.rb
1474
1485
  - lib/fog/cloudstack/requests/compute/start_virtual_machine.rb
1475
1486
  - lib/fog/cloudstack/requests/compute/stop_virtual_machine.rb
@@ -2403,7 +2414,9 @@ files:
2403
2414
  - lib/fog/rackspace.rb
2404
2415
  - lib/fog/rackspace/cdn.rb
2405
2416
  - lib/fog/rackspace/compute.rb
2417
+ - lib/fog/rackspace/databases.rb
2406
2418
  - lib/fog/rackspace/dns.rb
2419
+ - lib/fog/rackspace/identity.rb
2407
2420
  - lib/fog/rackspace/load_balancers.rb
2408
2421
  - lib/fog/rackspace/models/compute/flavor.rb
2409
2422
  - lib/fog/rackspace/models/compute/flavors.rb
@@ -2411,11 +2424,27 @@ files:
2411
2424
  - lib/fog/rackspace/models/compute/images.rb
2412
2425
  - lib/fog/rackspace/models/compute/server.rb
2413
2426
  - lib/fog/rackspace/models/compute/servers.rb
2427
+ - lib/fog/rackspace/models/databases/database.rb
2428
+ - lib/fog/rackspace/models/databases/databases.rb
2429
+ - lib/fog/rackspace/models/databases/flavor.rb
2430
+ - lib/fog/rackspace/models/databases/flavors.rb
2431
+ - lib/fog/rackspace/models/databases/instance.rb
2432
+ - lib/fog/rackspace/models/databases/instances.rb
2433
+ - lib/fog/rackspace/models/databases/user.rb
2434
+ - lib/fog/rackspace/models/databases/users.rb
2414
2435
  - lib/fog/rackspace/models/dns/callback.rb
2415
2436
  - lib/fog/rackspace/models/dns/record.rb
2416
2437
  - lib/fog/rackspace/models/dns/records.rb
2417
2438
  - lib/fog/rackspace/models/dns/zone.rb
2418
2439
  - lib/fog/rackspace/models/dns/zones.rb
2440
+ - lib/fog/rackspace/models/identity/credential.rb
2441
+ - lib/fog/rackspace/models/identity/credentials.rb
2442
+ - lib/fog/rackspace/models/identity/role.rb
2443
+ - lib/fog/rackspace/models/identity/roles.rb
2444
+ - lib/fog/rackspace/models/identity/tenant.rb
2445
+ - lib/fog/rackspace/models/identity/tenants.rb
2446
+ - lib/fog/rackspace/models/identity/user.rb
2447
+ - lib/fog/rackspace/models/identity/users.rb
2419
2448
  - lib/fog/rackspace/models/load_balancers/access_rule.rb
2420
2449
  - lib/fog/rackspace/models/load_balancers/access_rules.rb
2421
2450
  - lib/fog/rackspace/models/load_balancers/load_balancer.rb
@@ -2454,6 +2483,23 @@ files:
2454
2483
  - lib/fog/rackspace/requests/compute/revert_resized_server.rb
2455
2484
  - lib/fog/rackspace/requests/compute/server_action.rb
2456
2485
  - lib/fog/rackspace/requests/compute/update_server.rb
2486
+ - lib/fog/rackspace/requests/databases/check_root_user.rb
2487
+ - lib/fog/rackspace/requests/databases/create_database.rb
2488
+ - lib/fog/rackspace/requests/databases/create_instance.rb
2489
+ - lib/fog/rackspace/requests/databases/create_user.rb
2490
+ - lib/fog/rackspace/requests/databases/delete_database.rb
2491
+ - lib/fog/rackspace/requests/databases/delete_instance.rb
2492
+ - lib/fog/rackspace/requests/databases/delete_user.rb
2493
+ - lib/fog/rackspace/requests/databases/enable_root_user.rb
2494
+ - lib/fog/rackspace/requests/databases/get_flavor.rb
2495
+ - lib/fog/rackspace/requests/databases/get_instance.rb
2496
+ - lib/fog/rackspace/requests/databases/list_databases.rb
2497
+ - lib/fog/rackspace/requests/databases/list_flavors.rb
2498
+ - lib/fog/rackspace/requests/databases/list_instances.rb
2499
+ - lib/fog/rackspace/requests/databases/list_users.rb
2500
+ - lib/fog/rackspace/requests/databases/resize_instance.rb
2501
+ - lib/fog/rackspace/requests/databases/resize_instance_volume.rb
2502
+ - lib/fog/rackspace/requests/databases/restart_instance.rb
2457
2503
  - lib/fog/rackspace/requests/dns/add_records.rb
2458
2504
  - lib/fog/rackspace/requests/dns/callback.rb
2459
2505
  - lib/fog/rackspace/requests/dns/create_domains.rb
@@ -2468,6 +2514,17 @@ files:
2468
2514
  - lib/fog/rackspace/requests/dns/remove_domains.rb
2469
2515
  - lib/fog/rackspace/requests/dns/remove_record.rb
2470
2516
  - lib/fog/rackspace/requests/dns/remove_records.rb
2517
+ - lib/fog/rackspace/requests/identity/create_token.rb
2518
+ - lib/fog/rackspace/requests/identity/create_user.rb
2519
+ - lib/fog/rackspace/requests/identity/delete_user.rb
2520
+ - lib/fog/rackspace/requests/identity/get_credentials.rb
2521
+ - lib/fog/rackspace/requests/identity/get_user_by_id.rb
2522
+ - lib/fog/rackspace/requests/identity/get_user_by_name.rb
2523
+ - lib/fog/rackspace/requests/identity/list_credentials.rb
2524
+ - lib/fog/rackspace/requests/identity/list_tenants.rb
2525
+ - lib/fog/rackspace/requests/identity/list_user_roles.rb
2526
+ - lib/fog/rackspace/requests/identity/list_users.rb
2527
+ - lib/fog/rackspace/requests/identity/update_user.rb
2471
2528
  - lib/fog/rackspace/requests/load_balancers/create_access_rule.rb
2472
2529
  - lib/fog/rackspace/requests/load_balancers/create_load_balancer.rb
2473
2530
  - lib/fog/rackspace/requests/load_balancers/create_node.rb
@@ -2486,6 +2543,7 @@ files:
2486
2543
  - lib/fog/rackspace/requests/load_balancers/get_monitor.rb
2487
2544
  - lib/fog/rackspace/requests/load_balancers/get_node.rb
2488
2545
  - lib/fog/rackspace/requests/load_balancers/get_session_persistence.rb
2546
+ - lib/fog/rackspace/requests/load_balancers/get_ssl_termination.rb
2489
2547
  - lib/fog/rackspace/requests/load_balancers/get_usage.rb
2490
2548
  - lib/fog/rackspace/requests/load_balancers/list_access_rules.rb
2491
2549
  - lib/fog/rackspace/requests/load_balancers/list_algorithms.rb
@@ -2497,11 +2555,13 @@ files:
2497
2555
  - lib/fog/rackspace/requests/load_balancers/remove_error_page.rb
2498
2556
  - lib/fog/rackspace/requests/load_balancers/remove_monitor.rb
2499
2557
  - lib/fog/rackspace/requests/load_balancers/remove_session_persistence.rb
2558
+ - lib/fog/rackspace/requests/load_balancers/remove_ssl_termination.rb
2500
2559
  - lib/fog/rackspace/requests/load_balancers/set_connection_logging.rb
2501
2560
  - lib/fog/rackspace/requests/load_balancers/set_connection_throttling.rb
2502
2561
  - lib/fog/rackspace/requests/load_balancers/set_error_page.rb
2503
2562
  - lib/fog/rackspace/requests/load_balancers/set_monitor.rb
2504
2563
  - lib/fog/rackspace/requests/load_balancers/set_session_persistence.rb
2564
+ - lib/fog/rackspace/requests/load_balancers/set_ssl_termination.rb
2505
2565
  - lib/fog/rackspace/requests/load_balancers/update_load_balancer.rb
2506
2566
  - lib/fog/rackspace/requests/load_balancers/update_node.rb
2507
2567
  - lib/fog/rackspace/requests/storage/copy_object.rb
@@ -2805,9 +2865,6 @@ files:
2805
2865
  - lib/fog/zerigo/requests/dns/list_zones.rb
2806
2866
  - lib/fog/zerigo/requests/dns/update_host.rb
2807
2867
  - lib/fog/zerigo/requests/dns/update_zone.rb
2808
- - spec/core/current_machine_spec.rb
2809
- - spec/lib/fog/aws/parsers/sqs/receive_message_spec.rb
2810
- - spec/spec_helper.rb
2811
2868
  - tests/aws/credentials_tests.rb
2812
2869
  - tests/aws/models/auto_scaling/activities_tests.rb
2813
2870
  - tests/aws/models/auto_scaling/configuration_test.rb
@@ -2970,6 +3027,12 @@ files:
2970
3027
  - tests/brightbox/requests/compute/zone_tests.rb
2971
3028
  - tests/clodo/requests/compute/image_tests.rb
2972
3029
  - tests/clodo/requests/compute/server_tests.rb
3030
+ - tests/cloudstack/compute/models/security_group_rule_tests.rb
3031
+ - tests/cloudstack/compute/models/security_group_tests.rb
3032
+ - tests/cloudstack/compute/models/security_groups_tests.rb
3033
+ - tests/cloudstack/compute/models/server_tests.rb
3034
+ - tests/cloudstack/compute/models/volume_tests.rb
3035
+ - tests/cloudstack/compute/models/volumes_tests.rb
2973
3036
  - tests/cloudstack/requests/disk_offering_tests.rb
2974
3037
  - tests/cloudstack/requests/os_type_tests.rb
2975
3038
  - tests/cloudstack/requests/security_group_tests.rb
@@ -2987,6 +3050,7 @@ files:
2987
3050
  - tests/compute/models/servers_tests.rb
2988
3051
  - tests/core/attribute_tests.rb
2989
3052
  - tests/core/credential_tests.rb
3053
+ - tests/core/current_machine_tests.rb
2990
3054
  - tests/core/mocking_tests.rb
2991
3055
  - tests/core/parser_tests.rb
2992
3056
  - tests/core/timeout_tests.rb
@@ -3075,6 +3139,8 @@ files:
3075
3139
  - tests/linode/requests/compute/linodeplans_tests.rb
3076
3140
  - tests/linode/requests/compute/stackscripts_tests.rb
3077
3141
  - tests/linode/requests/dns/dns_tests.rb
3142
+ - tests/local/models/file_tests.rb
3143
+ - tests/local/storage_tests.rb
3078
3144
  - tests/lorem.txt
3079
3145
  - tests/ninefold/models/storage/file_update_tests.rb
3080
3146
  - tests/ninefold/models/storage/nested_directories_tests.rb
@@ -3122,9 +3188,22 @@ files:
3122
3188
  - tests/ovirt/requests/compute/list_datacenters_tests.rb
3123
3189
  - tests/ovirt/requests/compute/list_storage_domains_tests.rb
3124
3190
  - tests/ovirt/requests/compute/update_vm_tests.rb
3191
+ - tests/rackspace/databases_tests.rb
3125
3192
  - tests/rackspace/helper.rb
3126
3193
  - tests/rackspace/load_balancer_tests.rb
3194
+ - tests/rackspace/models/databases/database_tests.rb
3195
+ - tests/rackspace/models/databases/databases_tests.rb
3196
+ - tests/rackspace/models/databases/flavors_tests.rb
3197
+ - tests/rackspace/models/databases/instance_tests.rb
3198
+ - tests/rackspace/models/databases/instances_tests.rb
3199
+ - tests/rackspace/models/databases/user_tests.rb
3200
+ - tests/rackspace/models/databases/users_tests.rb
3127
3201
  - tests/rackspace/models/dns/zone_tests.rb
3202
+ - tests/rackspace/models/identity/credentials_tests.rb
3203
+ - tests/rackspace/models/identity/roles_tests.rb
3204
+ - tests/rackspace/models/identity/tenants_tests.rb
3205
+ - tests/rackspace/models/identity/user_tests.rb
3206
+ - tests/rackspace/models/identity/users_tests.rb
3128
3207
  - tests/rackspace/models/load_balancers/access_list_tests.rb
3129
3208
  - tests/rackspace/models/load_balancers/access_lists_tests.rb
3130
3209
  - tests/rackspace/models/load_balancers/load_balancer_tests.rb
@@ -3139,9 +3218,17 @@ files:
3139
3218
  - tests/rackspace/requests/compute/image_tests.rb
3140
3219
  - tests/rackspace/requests/compute/resize_tests.rb
3141
3220
  - tests/rackspace/requests/compute/server_tests.rb
3221
+ - tests/rackspace/requests/databases/database_tests.rb
3222
+ - tests/rackspace/requests/databases/flavor_tests.rb
3223
+ - tests/rackspace/requests/databases/helper.rb
3224
+ - tests/rackspace/requests/databases/instance_tests.rb
3225
+ - tests/rackspace/requests/databases/user_tests.rb
3142
3226
  - tests/rackspace/requests/dns/dns_tests.rb
3143
3227
  - tests/rackspace/requests/dns/helper.rb
3144
3228
  - tests/rackspace/requests/dns/records_tests.rb
3229
+ - tests/rackspace/requests/identity/tenants_tests.rb
3230
+ - tests/rackspace/requests/identity/token_tests.rb
3231
+ - tests/rackspace/requests/identity/user_tests.rb
3145
3232
  - tests/rackspace/requests/load_balancers/access_list_tests.rb
3146
3233
  - tests/rackspace/requests/load_balancers/algorithm_tests.rb
3147
3234
  - tests/rackspace/requests/load_balancers/connection_logging_tests.rb
@@ -3154,6 +3241,7 @@ files:
3154
3241
  - tests/rackspace/requests/load_balancers/node_tests.rb
3155
3242
  - tests/rackspace/requests/load_balancers/protocol_tests.rb
3156
3243
  - tests/rackspace/requests/load_balancers/session_persistence_tests.rb
3244
+ - tests/rackspace/requests/load_balancers/ssl_termination_tests.rb
3157
3245
  - tests/rackspace/requests/load_balancers/usage_tests.rb
3158
3246
  - tests/rackspace/requests/load_balancers/virtual_ip_tests.rb
3159
3247
  - tests/rackspace/requests/storage/container_tests.rb
@@ -3261,7 +3349,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
3261
3349
  version: '0'
3262
3350
  segments:
3263
3351
  - 0
3264
- hash: -302554339
3352
+ hash: 939731919
3265
3353
  required_rubygems_version: !ruby/object:Gem::Requirement
3266
3354
  none: false
3267
3355
  requirements:
@@ -3275,9 +3363,6 @@ signing_key:
3275
3363
  specification_version: 2
3276
3364
  summary: brings clouds to you
3277
3365
  test_files:
3278
- - spec/core/current_machine_spec.rb
3279
- - spec/lib/fog/aws/parsers/sqs/receive_message_spec.rb
3280
- - spec/spec_helper.rb
3281
3366
  - tests/aws/credentials_tests.rb
3282
3367
  - tests/aws/models/auto_scaling/activities_tests.rb
3283
3368
  - tests/aws/models/auto_scaling/configuration_test.rb
@@ -3440,6 +3525,12 @@ test_files:
3440
3525
  - tests/brightbox/requests/compute/zone_tests.rb
3441
3526
  - tests/clodo/requests/compute/image_tests.rb
3442
3527
  - tests/clodo/requests/compute/server_tests.rb
3528
+ - tests/cloudstack/compute/models/security_group_rule_tests.rb
3529
+ - tests/cloudstack/compute/models/security_group_tests.rb
3530
+ - tests/cloudstack/compute/models/security_groups_tests.rb
3531
+ - tests/cloudstack/compute/models/server_tests.rb
3532
+ - tests/cloudstack/compute/models/volume_tests.rb
3533
+ - tests/cloudstack/compute/models/volumes_tests.rb
3443
3534
  - tests/cloudstack/requests/disk_offering_tests.rb
3444
3535
  - tests/cloudstack/requests/os_type_tests.rb
3445
3536
  - tests/cloudstack/requests/security_group_tests.rb
@@ -3457,6 +3548,7 @@ test_files:
3457
3548
  - tests/compute/models/servers_tests.rb
3458
3549
  - tests/core/attribute_tests.rb
3459
3550
  - tests/core/credential_tests.rb
3551
+ - tests/core/current_machine_tests.rb
3460
3552
  - tests/core/mocking_tests.rb
3461
3553
  - tests/core/parser_tests.rb
3462
3554
  - tests/core/timeout_tests.rb
@@ -3545,6 +3637,8 @@ test_files:
3545
3637
  - tests/linode/requests/compute/linodeplans_tests.rb
3546
3638
  - tests/linode/requests/compute/stackscripts_tests.rb
3547
3639
  - tests/linode/requests/dns/dns_tests.rb
3640
+ - tests/local/models/file_tests.rb
3641
+ - tests/local/storage_tests.rb
3548
3642
  - tests/lorem.txt
3549
3643
  - tests/ninefold/models/storage/file_update_tests.rb
3550
3644
  - tests/ninefold/models/storage/nested_directories_tests.rb
@@ -3592,9 +3686,22 @@ test_files:
3592
3686
  - tests/ovirt/requests/compute/list_datacenters_tests.rb
3593
3687
  - tests/ovirt/requests/compute/list_storage_domains_tests.rb
3594
3688
  - tests/ovirt/requests/compute/update_vm_tests.rb
3689
+ - tests/rackspace/databases_tests.rb
3595
3690
  - tests/rackspace/helper.rb
3596
3691
  - tests/rackspace/load_balancer_tests.rb
3692
+ - tests/rackspace/models/databases/database_tests.rb
3693
+ - tests/rackspace/models/databases/databases_tests.rb
3694
+ - tests/rackspace/models/databases/flavors_tests.rb
3695
+ - tests/rackspace/models/databases/instance_tests.rb
3696
+ - tests/rackspace/models/databases/instances_tests.rb
3697
+ - tests/rackspace/models/databases/user_tests.rb
3698
+ - tests/rackspace/models/databases/users_tests.rb
3597
3699
  - tests/rackspace/models/dns/zone_tests.rb
3700
+ - tests/rackspace/models/identity/credentials_tests.rb
3701
+ - tests/rackspace/models/identity/roles_tests.rb
3702
+ - tests/rackspace/models/identity/tenants_tests.rb
3703
+ - tests/rackspace/models/identity/user_tests.rb
3704
+ - tests/rackspace/models/identity/users_tests.rb
3598
3705
  - tests/rackspace/models/load_balancers/access_list_tests.rb
3599
3706
  - tests/rackspace/models/load_balancers/access_lists_tests.rb
3600
3707
  - tests/rackspace/models/load_balancers/load_balancer_tests.rb
@@ -3609,9 +3716,17 @@ test_files:
3609
3716
  - tests/rackspace/requests/compute/image_tests.rb
3610
3717
  - tests/rackspace/requests/compute/resize_tests.rb
3611
3718
  - tests/rackspace/requests/compute/server_tests.rb
3719
+ - tests/rackspace/requests/databases/database_tests.rb
3720
+ - tests/rackspace/requests/databases/flavor_tests.rb
3721
+ - tests/rackspace/requests/databases/helper.rb
3722
+ - tests/rackspace/requests/databases/instance_tests.rb
3723
+ - tests/rackspace/requests/databases/user_tests.rb
3612
3724
  - tests/rackspace/requests/dns/dns_tests.rb
3613
3725
  - tests/rackspace/requests/dns/helper.rb
3614
3726
  - tests/rackspace/requests/dns/records_tests.rb
3727
+ - tests/rackspace/requests/identity/tenants_tests.rb
3728
+ - tests/rackspace/requests/identity/token_tests.rb
3729
+ - tests/rackspace/requests/identity/user_tests.rb
3615
3730
  - tests/rackspace/requests/load_balancers/access_list_tests.rb
3616
3731
  - tests/rackspace/requests/load_balancers/algorithm_tests.rb
3617
3732
  - tests/rackspace/requests/load_balancers/connection_logging_tests.rb
@@ -3624,6 +3739,7 @@ test_files:
3624
3739
  - tests/rackspace/requests/load_balancers/node_tests.rb
3625
3740
  - tests/rackspace/requests/load_balancers/protocol_tests.rb
3626
3741
  - tests/rackspace/requests/load_balancers/session_persistence_tests.rb
3742
+ - tests/rackspace/requests/load_balancers/ssl_termination_tests.rb
3627
3743
  - tests/rackspace/requests/load_balancers/usage_tests.rb
3628
3744
  - tests/rackspace/requests/load_balancers/virtual_ip_tests.rb
3629
3745
  - tests/rackspace/requests/storage/container_tests.rb
@@ -1,32 +0,0 @@
1
- require 'spec_helper'
2
- require 'fog/core/current_machine'
3
-
4
- describe Fog::CurrentMachine do
5
- context '#ip_address' do
6
- around(:each) do |example|
7
- old_mock = Excon.defaults[:mock]
8
- described_class.ip_address = nil
9
- begin
10
- Excon.defaults[:mock] = true
11
- example.run
12
- ensure
13
- Excon.defaults[:mock] = false
14
- Excon.stubs.clear
15
- end
16
- end
17
- it 'should be threadsafe' do
18
- Excon.stub({:method => :get, :path => '/'}, {:body => ''})
19
-
20
- (1..10).map {
21
- Thread.new { described_class.ip_address }
22
- }.each{ |t| t.join }
23
- end
24
-
25
- it 'should remove trailing endline characters' do
26
- Excon.stub({:method => :get, :path => '/'}, {:body => "192.168.0.1\n"})
27
-
28
- described_class.ip_address.should == '192.168.0.1'
29
- end
30
-
31
- end
32
- end
@@ -1,58 +0,0 @@
1
- require 'fog/core/parser'
2
- require 'fog/aws/parsers/sqs/receive_message'
3
-
4
- describe Fog::Parsers::AWS::SQS::ReceiveMessage do
5
- let(:parser) { Fog::Parsers::AWS::SQS::ReceiveMessage.new }
6
-
7
- let(:sent_timestamp) { 1322475007845 }
8
- let(:approximate_first_receive_timestamp) { 1322494017370 }
9
-
10
- let(:xml) do
11
- <<-XML
12
- <?xml version="1.0"?>
13
- <ReceiveMessageResponse xmlns="http://queue.amazonaws.com/doc/2009-02-01/">
14
- <ReceiveMessageResult>
15
- <Message>
16
- <MessageId>e4fbeece-7260-4106-807d-18255e43e687</MessageId>
17
- <ReceiptHandle>gH2qdC6bjNtuE/U+iA5J/5HQK/lgvsTY0Vj+gFEXyRlsRL+EDf9tgjLxAW9cdutwjqgV22jyQyTgFsYV+G0oQc2posQntKVMZKqOLlrJqbKSOUnsBtkoWoD2MxyacbuDTG0q0a9yS3RpPSN4lV8RN0BrJjfoeQDRQOn/RIxtAH9H4C4NasSLODB1xJWcO/KsZYRch0IWL89a4YgP060XCxAyKYqY8O+GvNhX5d59JRAI6tO2sx9wLwytIHNlG97DDnUGb/6PNuYPmoZcvYOdfhMQgP28rdrUW3B7Pai+dqE=</ReceiptHandle>
18
- <MD5OfBody>b425c09d8559b59dd989cf8c47caaf54</MD5OfBody>
19
- <Body>testmessage</Body>
20
- <Attribute><Name>SenderId</Name><Value>000000000000</Value></Attribute>
21
- <Attribute><Name>SentTimestamp</Name><Value>#{sent_timestamp}</Value></Attribute>
22
- <Attribute><Name>ApproximateReceiveCount</Name><Value>2</Value></Attribute>
23
- <Attribute><Name>ApproximateFirstReceiveTimestamp</Name><Value>#{approximate_first_receive_timestamp}</Value></Attribute>
24
- </Message>
25
- </ReceiveMessageResult>
26
- <ResponseMetadata><RequestId>72c77661-d4b5-45b9-8a82-a685c980e9dd</RequestId></ResponseMetadata>
27
- </ReceiveMessageResponse>
28
- XML
29
- end
30
-
31
- def timestamp(attribute)
32
- body = Nokogiri::XML::SAX::PushParser.new(parser)
33
- body << xml
34
- body.finish
35
- response_body = parser.response
36
- response_body['Message'].first['Attributes'][attribute].utc
37
- end
38
-
39
- it "converts SentTimestamp to the same time as a Time-like object" do
40
- stamp = timestamp 'SentTimestamp'
41
- stamp.year.should == 2011
42
- stamp.month.should == 11
43
- stamp.day.should == 28
44
- stamp.hour.should == 10
45
- stamp.min.should == 10
46
- stamp.sec.should == 7
47
- end
48
-
49
- it "converts ApproximateFirstReceiveTimestamp to the same time as a Time-like object" do
50
- stamp = timestamp 'ApproximateFirstReceiveTimestamp'
51
- stamp.year.should == 2011
52
- stamp.month.should == 11
53
- stamp.day.should == 28
54
- stamp.hour.should == 15
55
- stamp.min.should == 26
56
- stamp.sec.should == 57
57
- end
58
- end