digital_ocean 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/.gitignore +0 -1
  2. data/CHANGELOG.md +40 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +114 -2
  5. data/digital_ocean.gemspec +1 -0
  6. data/doc/DigitalOcean/API.html +844 -0
  7. data/doc/DigitalOcean/AuthenticationMiddleware.html +342 -0
  8. data/doc/DigitalOcean/Resource/Base.html +206 -0
  9. data/doc/DigitalOcean/Resource/Droplet.html +1016 -0
  10. data/doc/DigitalOcean/Resource/Image.html +312 -0
  11. data/doc/DigitalOcean/Resource/Region.html +247 -0
  12. data/doc/DigitalOcean/Resource/SSHKey.html +312 -0
  13. data/doc/DigitalOcean/Resource/Size.html +208 -0
  14. data/doc/DigitalOcean/Resource.html +117 -0
  15. data/doc/DigitalOcean.html +131 -0
  16. data/doc/_index.html +213 -0
  17. data/doc/class_list.html +53 -0
  18. data/doc/css/common.css +1 -0
  19. data/doc/css/full_list.css +57 -0
  20. data/doc/css/style.css +328 -0
  21. data/doc/file.README.html +402 -0
  22. data/doc/file_list.html +55 -0
  23. data/doc/frames.html +28 -0
  24. data/doc/index.html +402 -0
  25. data/doc/js/app.js +214 -0
  26. data/doc/js/full_list.js +173 -0
  27. data/doc/js/jquery.js +4 -0
  28. data/doc/method_list.html +332 -0
  29. data/doc/top-level-namespace.html +112 -0
  30. data/lib/digital_ocean/api.rb +28 -0
  31. data/lib/digital_ocean/resource/droplet.rb +2 -2
  32. data/lib/digital_ocean/resource/region.rb +3 -0
  33. data/lib/digital_ocean/version.rb +1 -1
  34. data/spec/api_spec.rb +8 -4
  35. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_create/should_be_successful.yml +7 -5
  36. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_create/should_return_droplet_id.yml +50 -0
  37. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_delete/should_be_successful.yml +8 -6
  38. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_disable_backups/should_be_successful.yml +8 -6
  39. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_enable_backups/should_be_successful.yml +8 -6
  40. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_list/should_be_successful.yml +7 -5
  41. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_list/should_return_a_list_of_all_droplets.yml +7 -5
  42. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/{_reset_root_password → _password_reset}/should_be_successful.yml +10 -9
  43. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_power_cycle/should_be_successful.yml +8 -6
  44. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_power_off/should_be_successful.yml +8 -6
  45. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_power_on/should_be_successful.yml +8 -6
  46. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_reboot/should_be_successful.yml +8 -6
  47. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_rebuild/should_be_successful.yml +8 -6
  48. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_resize/should_be_successful.yml +8 -6
  49. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_restore/should_be_successful.yml +1 -1
  50. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_show/should_be_successful.yml +6 -4
  51. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_shutdown/should_be_successful.yml +8 -6
  52. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_snapshot/should_be_successful.yml +8 -6
  53. metadata +34 -7
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: delete
5
- uri: https://api.digitalocean.com/droplets/87071/destroy?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/droplets/106265/destroy?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -15,7 +15,7 @@ http_interactions:
15
15
  server:
16
16
  - nginx
17
17
  date:
18
- - Thu, 24 Jan 2013 10:02:25 GMT
18
+ - Wed, 20 Feb 2013 11:05:27 GMT
19
19
  content-type:
20
20
  - application/json; charset=utf-8
21
21
  transfer-encoding:
@@ -26,6 +26,8 @@ http_interactions:
26
26
  - '200'
27
27
  x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
+ strict-transport-security:
30
+ - max-age=31536000
29
31
  x-ua-compatible:
30
32
  - IE=Edge,chrome=1
31
33
  etag:
@@ -35,14 +37,14 @@ http_interactions:
35
37
  set-cookie:
36
38
  - _digitalocean2_session=wtf
37
39
  x-request-id:
38
- - 214430901aca3df5620ead3434e2df9e
40
+ - 20345a52b5d3b10d9e1547566f95177b
39
41
  x-runtime:
40
- - '0.643373'
42
+ - '0.247308'
41
43
  x-rack-cache:
42
44
  - invalidate, pass
43
45
  body:
44
46
  encoding: US-ASCII
45
- string: ! '{"status":"OK","event_id":594739}'
47
+ string: ! '{"status":"OK","event_id":765555}'
46
48
  http_version:
47
- recorded_at: Thu, 24 Jan 2013 10:02:25 GMT
49
+ recorded_at: Wed, 20 Feb 2013 11:05:27 GMT
48
50
  recorded_with: VCR 2.4.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://api.digitalocean.com/droplets/87071/disable_backups?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/droplets/106265/disable_backups?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -15,7 +15,7 @@ http_interactions:
15
15
  server:
16
16
  - nginx
17
17
  date:
18
- - Thu, 24 Jan 2013 09:56:26 GMT
18
+ - Wed, 20 Feb 2013 11:05:26 GMT
19
19
  content-type:
20
20
  - application/json; charset=utf-8
21
21
  transfer-encoding:
@@ -26,6 +26,8 @@ http_interactions:
26
26
  - '200'
27
27
  x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
+ strict-transport-security:
30
+ - max-age=31536000
29
31
  x-ua-compatible:
30
32
  - IE=Edge,chrome=1
31
33
  etag:
@@ -35,14 +37,14 @@ http_interactions:
35
37
  set-cookie:
36
38
  - _digitalocean2_session=wtf
37
39
  x-request-id:
38
- - 84e1e7680d5d50e88d06a8695457745e
40
+ - 794340237e702fa5851c0e86961796d2
39
41
  x-runtime:
40
- - '0.271582'
42
+ - '0.281499'
41
43
  x-rack-cache:
42
44
  - invalidate, pass
43
45
  body:
44
46
  encoding: US-ASCII
45
- string: ! '{"status":"OK","event_id":594710}'
47
+ string: ! '{"status":"OK","event_id":765554}'
46
48
  http_version:
47
- recorded_at: Thu, 24 Jan 2013 09:56:26 GMT
49
+ recorded_at: Wed, 20 Feb 2013 11:05:26 GMT
48
50
  recorded_with: VCR 2.4.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://api.digitalocean.com/droplets/87071/enable_backups?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/droplets/106265/enable_backups?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -15,7 +15,7 @@ http_interactions:
15
15
  server:
16
16
  - nginx
17
17
  date:
18
- - Thu, 24 Jan 2013 09:56:25 GMT
18
+ - Wed, 20 Feb 2013 11:05:25 GMT
19
19
  content-type:
20
20
  - application/json; charset=utf-8
21
21
  transfer-encoding:
@@ -26,6 +26,8 @@ http_interactions:
26
26
  - '200'
27
27
  x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
+ strict-transport-security:
30
+ - max-age=31536000
29
31
  x-ua-compatible:
30
32
  - IE=Edge,chrome=1
31
33
  etag:
@@ -35,14 +37,14 @@ http_interactions:
35
37
  set-cookie:
36
38
  - _digitalocean2_session=wtf
37
39
  x-request-id:
38
- - 2583dacb0be13efdaa97ea1ecc1dd36c
40
+ - fbd656affa26e05f2c2f84bd8d86ff6d
39
41
  x-runtime:
40
- - '0.504030'
42
+ - '0.123263'
41
43
  x-rack-cache:
42
44
  - invalidate, pass
43
45
  body:
44
46
  encoding: US-ASCII
45
- string: ! '{"status":"OK","event_id":594709}'
47
+ string: ! '{"status":"OK","event_id":765553}'
46
48
  http_version:
47
- recorded_at: Thu, 24 Jan 2013 09:56:25 GMT
49
+ recorded_at: Wed, 20 Feb 2013 11:05:25 GMT
48
50
  recorded_with: VCR 2.4.0
@@ -15,7 +15,7 @@ http_interactions:
15
15
  server:
16
16
  - nginx
17
17
  date:
18
- - Wed, 23 Jan 2013 12:38:25 GMT
18
+ - Wed, 20 Feb 2013 11:05:14 GMT
19
19
  content-type:
20
20
  - application/json; charset=utf-8
21
21
  transfer-encoding:
@@ -26,6 +26,8 @@ http_interactions:
26
26
  - '200'
27
27
  x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
+ strict-transport-security:
30
+ - max-age=31536000
29
31
  x-ua-compatible:
30
32
  - IE=Edge,chrome=1
31
33
  etag:
@@ -35,14 +37,14 @@ http_interactions:
35
37
  set-cookie:
36
38
  - _digitalocean2_session=wtf
37
39
  x-request-id:
38
- - 2110036f9f67090da25bd1956e627f57
40
+ - d53e8b9c2b96e35211e9ecd5cfb7e060
39
41
  x-runtime:
40
- - '0.865003'
42
+ - '0.815706'
41
43
  x-rack-cache:
42
44
  - miss
43
45
  body:
44
46
  encoding: US-ASCII
45
- string: ! '{"status":"OK","droplets":[{"id":83102,"name":"app200.ams.nl.moriz.net","image_id":25306,"size_id":63,"region_id":2,"backups_active":true,"ip_address":"185.14.185.158","status":"active"}]}'
47
+ string: ! '{"status":"OK","droplets":[{"id":83102,"name":"app200.ams.nl.moriz.net","image_id":25306,"size_id":63,"region_id":2,"backups_active":true,"ip_address":"185.14.185.158","status":"active"},{"id":106265,"name":"test","image_id":25306,"size_id":66,"region_id":2,"backups_active":null,"ip_address":"192.81.220.107","status":"active"}]}'
46
48
  http_version:
47
- recorded_at: Wed, 23 Jan 2013 12:38:25 GMT
49
+ recorded_at: Wed, 20 Feb 2013 11:05:14 GMT
48
50
  recorded_with: VCR 2.4.0
@@ -15,7 +15,7 @@ http_interactions:
15
15
  server:
16
16
  - nginx
17
17
  date:
18
- - Wed, 23 Jan 2013 12:38:26 GMT
18
+ - Wed, 20 Feb 2013 11:05:15 GMT
19
19
  content-type:
20
20
  - application/json; charset=utf-8
21
21
  transfer-encoding:
@@ -26,6 +26,8 @@ http_interactions:
26
26
  - '200'
27
27
  x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
+ strict-transport-security:
30
+ - max-age=31536000
29
31
  x-ua-compatible:
30
32
  - IE=Edge,chrome=1
31
33
  etag:
@@ -35,14 +37,14 @@ http_interactions:
35
37
  set-cookie:
36
38
  - _digitalocean2_session=wtf
37
39
  x-request-id:
38
- - e17b3c3510da15664d0408c0ecc49e00
40
+ - 852a8597b1159f1f98966cc47d7378b1
39
41
  x-runtime:
40
- - '0.163229'
42
+ - '0.137092'
41
43
  x-rack-cache:
42
44
  - miss
43
45
  body:
44
46
  encoding: US-ASCII
45
- string: ! '{"status":"OK","droplets":[{"id":83102,"name":"app200.ams.nl.moriz.net","image_id":25306,"size_id":63,"region_id":2,"backups_active":true,"ip_address":"185.14.185.158","status":"active"}]}'
47
+ string: ! '{"status":"OK","droplets":[{"id":83102,"name":"app200.ams.nl.moriz.net","image_id":25306,"size_id":63,"region_id":2,"backups_active":true,"ip_address":"185.14.185.158","status":"active"},{"id":106265,"name":"test","image_id":25306,"size_id":66,"region_id":2,"backups_active":null,"ip_address":"192.81.220.107","status":"active"}]}'
46
48
  http_version:
47
- recorded_at: Wed, 23 Jan 2013 12:38:26 GMT
49
+ recorded_at: Wed, 20 Feb 2013 11:05:15 GMT
48
50
  recorded_with: VCR 2.4.0
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  http_interactions:
3
3
  - request:
4
- method: get
5
- uri: https://api.digitalocean.com/droplets/87071/reset_root_password?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
4
+ method: post
5
+ uri: https://api.digitalocean.com/droplets/106265/password_reset?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -15,7 +15,7 @@ http_interactions:
15
15
  server:
16
16
  - nginx
17
17
  date:
18
- - Thu, 24 Jan 2013 09:32:49 GMT
18
+ - Wed, 20 Feb 2013 11:05:22 GMT
19
19
  content-type:
20
20
  - application/json; charset=utf-8
21
21
  transfer-encoding:
@@ -26,6 +26,8 @@ http_interactions:
26
26
  - '200'
27
27
  x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
+ strict-transport-security:
30
+ - max-age=31536000
29
31
  x-ua-compatible:
30
32
  - IE=Edge,chrome=1
31
33
  etag:
@@ -35,15 +37,14 @@ http_interactions:
35
37
  set-cookie:
36
38
  - _digitalocean2_session=wtf
37
39
  x-request-id:
38
- - 9afe59e1a314b1439025a541fe490efd
40
+ - 9f4b75f0120eaddc22201a9127261e0f
39
41
  x-runtime:
40
- - '0.102896'
42
+ - '0.117888'
41
43
  x-rack-cache:
42
- - miss
44
+ - invalidate, pass
43
45
  body:
44
46
  encoding: US-ASCII
45
- string: ! '{"status":"ERROR","error_message":{"action":["Invalid Action - The
46
- action you specified cannot be found"]}}'
47
+ string: ! '{"status":"OK","event_id":765549}'
47
48
  http_version:
48
- recorded_at: Thu, 24 Jan 2013 09:32:50 GMT
49
+ recorded_at: Wed, 20 Feb 2013 11:05:22 GMT
49
50
  recorded_with: VCR 2.4.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: put
5
- uri: https://api.digitalocean.com/droplets/87071/power_cycle?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/droplets/106265/power_cycle?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -15,7 +15,7 @@ http_interactions:
15
15
  server:
16
16
  - nginx
17
17
  date:
18
- - Thu, 24 Jan 2013 09:24:12 GMT
18
+ - Wed, 20 Feb 2013 11:05:19 GMT
19
19
  content-type:
20
20
  - application/json; charset=utf-8
21
21
  transfer-encoding:
@@ -26,6 +26,8 @@ http_interactions:
26
26
  - '200'
27
27
  x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
+ strict-transport-security:
30
+ - max-age=31536000
29
31
  x-ua-compatible:
30
32
  - IE=Edge,chrome=1
31
33
  etag:
@@ -35,14 +37,14 @@ http_interactions:
35
37
  set-cookie:
36
38
  - _digitalocean2_session=wtf
37
39
  x-request-id:
38
- - 43364ec0a2c0e669b13eba1159badc1e
40
+ - e0ee59bdcd3e5e3d18a07797a7d502c1
39
41
  x-runtime:
40
- - '0.119125'
42
+ - '0.133398'
41
43
  x-rack-cache:
42
44
  - invalidate, pass
43
45
  body:
44
46
  encoding: US-ASCII
45
- string: ! '{"status":"OK","event_id":594614}'
47
+ string: ! '{"status":"OK","event_id":765545}'
46
48
  http_version:
47
- recorded_at: Thu, 24 Jan 2013 09:24:12 GMT
49
+ recorded_at: Wed, 20 Feb 2013 11:05:19 GMT
48
50
  recorded_with: VCR 2.4.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: put
5
- uri: https://api.digitalocean.com/droplets/87071/power_off?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/droplets/106265/power_off?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -15,7 +15,7 @@ http_interactions:
15
15
  server:
16
16
  - nginx
17
17
  date:
18
- - Thu, 24 Jan 2013 09:29:11 GMT
18
+ - Wed, 20 Feb 2013 11:05:21 GMT
19
19
  content-type:
20
20
  - application/json; charset=utf-8
21
21
  transfer-encoding:
@@ -26,6 +26,8 @@ http_interactions:
26
26
  - '200'
27
27
  x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
+ strict-transport-security:
30
+ - max-age=31536000
29
31
  x-ua-compatible:
30
32
  - IE=Edge,chrome=1
31
33
  etag:
@@ -35,14 +37,14 @@ http_interactions:
35
37
  set-cookie:
36
38
  - _digitalocean2_session=wtf
37
39
  x-request-id:
38
- - 1a90d42067f0088d95dcd963a43658c1
40
+ - c3b09014afd97f98bbbbc0f62890a331
39
41
  x-runtime:
40
- - '0.598098'
42
+ - '0.109020'
41
43
  x-rack-cache:
42
44
  - invalidate, pass
43
45
  body:
44
46
  encoding: US-ASCII
45
- string: ! '{"status":"OK","event_id":594625}'
47
+ string: ! '{"status":"OK","event_id":765548}'
46
48
  http_version:
47
- recorded_at: Thu, 24 Jan 2013 09:29:11 GMT
49
+ recorded_at: Wed, 20 Feb 2013 11:05:21 GMT
48
50
  recorded_with: VCR 2.4.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: put
5
- uri: https://api.digitalocean.com/droplets/87071/power_on?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/droplets/106265/power_on?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -15,7 +15,7 @@ http_interactions:
15
15
  server:
16
16
  - nginx
17
17
  date:
18
- - Thu, 24 Jan 2013 09:27:54 GMT
18
+ - Wed, 20 Feb 2013 11:05:20 GMT
19
19
  content-type:
20
20
  - application/json; charset=utf-8
21
21
  transfer-encoding:
@@ -26,6 +26,8 @@ http_interactions:
26
26
  - '200'
27
27
  x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
+ strict-transport-security:
30
+ - max-age=31536000
29
31
  x-ua-compatible:
30
32
  - IE=Edge,chrome=1
31
33
  etag:
@@ -35,14 +37,14 @@ http_interactions:
35
37
  set-cookie:
36
38
  - _digitalocean2_session=wtf
37
39
  x-request-id:
38
- - c72fa7a7edd44044a02ae853d66ce4a9
40
+ - 2a389641ede008225a41cc034f6cb534
39
41
  x-runtime:
40
- - '0.200646'
42
+ - '0.184894'
41
43
  x-rack-cache:
42
44
  - invalidate, pass
43
45
  body:
44
46
  encoding: US-ASCII
45
- string: ! '{"status":"OK","event_id":594622}'
47
+ string: ! '{"status":"OK","event_id":765547}'
46
48
  http_version:
47
- recorded_at: Thu, 24 Jan 2013 09:27:54 GMT
49
+ recorded_at: Wed, 20 Feb 2013 11:05:20 GMT
48
50
  recorded_with: VCR 2.4.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: put
5
- uri: https://api.digitalocean.com/droplets/87071/reboot?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/droplets/106265/reboot?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -15,7 +15,7 @@ http_interactions:
15
15
  server:
16
16
  - nginx
17
17
  date:
18
- - Thu, 24 Jan 2013 09:22:29 GMT
18
+ - Wed, 20 Feb 2013 11:05:18 GMT
19
19
  content-type:
20
20
  - application/json; charset=utf-8
21
21
  transfer-encoding:
@@ -26,6 +26,8 @@ http_interactions:
26
26
  - '200'
27
27
  x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
+ strict-transport-security:
30
+ - max-age=31536000
29
31
  x-ua-compatible:
30
32
  - IE=Edge,chrome=1
31
33
  etag:
@@ -35,14 +37,14 @@ http_interactions:
35
37
  set-cookie:
36
38
  - _digitalocean2_session=wtf
37
39
  x-request-id:
38
- - 5c9785309b567ed5ed3457fa77c2a44b
40
+ - 541149e37d5a577d4ae52a66e509a653
39
41
  x-runtime:
40
- - '0.570607'
42
+ - '0.115826'
41
43
  x-rack-cache:
42
44
  - invalidate, pass
43
45
  body:
44
46
  encoding: US-ASCII
45
- string: ! '{"status":"OK","event_id":594612}'
47
+ string: ! '{"status":"OK","event_id":765544}'
46
48
  http_version:
47
- recorded_at: Thu, 24 Jan 2013 09:22:29 GMT
49
+ recorded_at: Wed, 20 Feb 2013 11:05:18 GMT
48
50
  recorded_with: VCR 2.4.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://api.digitalocean.com/droplets/87071/rebuild?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&image_id=57658
5
+ uri: https://api.digitalocean.com/droplets/106265/rebuild?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&image_id=57658
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -15,7 +15,7 @@ http_interactions:
15
15
  server:
16
16
  - nginx
17
17
  date:
18
- - Thu, 24 Jan 2013 09:51:19 GMT
18
+ - Wed, 20 Feb 2013 11:05:25 GMT
19
19
  content-type:
20
20
  - application/json; charset=utf-8
21
21
  transfer-encoding:
@@ -26,6 +26,8 @@ http_interactions:
26
26
  - '200'
27
27
  x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
+ strict-transport-security:
30
+ - max-age=31536000
29
31
  x-ua-compatible:
30
32
  - IE=Edge,chrome=1
31
33
  etag:
@@ -35,14 +37,14 @@ http_interactions:
35
37
  set-cookie:
36
38
  - _digitalocean2_session=wtf
37
39
  x-request-id:
38
- - 3febf0dfdde7dd48d4c54c419b7e2fbc
40
+ - 15f3afcddb362237e3553f8f2fc4fac7
39
41
  x-runtime:
40
- - '0.680994'
42
+ - '0.133005'
41
43
  x-rack-cache:
42
44
  - invalidate, pass
43
45
  body:
44
46
  encoding: US-ASCII
45
- string: ! '{"status":"OK","event_id":594691}'
47
+ string: ! '{"status":"OK","event_id":765552}'
46
48
  http_version:
47
- recorded_at: Thu, 24 Jan 2013 09:51:19 GMT
49
+ recorded_at: Wed, 20 Feb 2013 11:05:25 GMT
48
50
  recorded_with: VCR 2.4.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://api.digitalocean.com/droplets/87071/resize?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&size_id=63
5
+ uri: https://api.digitalocean.com/droplets/106265/resize?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&size_id=63
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -15,7 +15,7 @@ http_interactions:
15
15
  server:
16
16
  - nginx
17
17
  date:
18
- - Thu, 24 Jan 2013 09:37:25 GMT
18
+ - Wed, 20 Feb 2013 11:05:22 GMT
19
19
  content-type:
20
20
  - application/json; charset=utf-8
21
21
  transfer-encoding:
@@ -26,6 +26,8 @@ http_interactions:
26
26
  - '200'
27
27
  x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
+ strict-transport-security:
30
+ - max-age=31536000
29
31
  x-ua-compatible:
30
32
  - IE=Edge,chrome=1
31
33
  etag:
@@ -35,14 +37,14 @@ http_interactions:
35
37
  set-cookie:
36
38
  - _digitalocean2_session=wtf
37
39
  x-request-id:
38
- - 01cc9883f3c1d0e1ec22c299d9f2c78d
40
+ - 1327538e89481b99b2c323d0d018d96f
39
41
  x-runtime:
40
- - '0.637549'
42
+ - '0.113362'
41
43
  x-rack-cache:
42
44
  - miss
43
45
  body:
44
46
  encoding: US-ASCII
45
- string: ! '{"status":"OK","event_id":594644}'
47
+ string: ! '{"status":"OK","event_id":765550}'
46
48
  http_version:
47
- recorded_at: Thu, 24 Jan 2013 09:37:25 GMT
49
+ recorded_at: Wed, 20 Feb 2013 11:05:22 GMT
48
50
  recorded_with: VCR 2.4.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://api.digitalocean.com/droplets/87071/restore?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&image_id=57658
5
+ uri: https://api.digitalocean.com/droplets/106265/restore?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&image_id=57658
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -15,7 +15,7 @@ http_interactions:
15
15
  server:
16
16
  - nginx
17
17
  date:
18
- - Wed, 23 Jan 2013 12:54:31 GMT
18
+ - Wed, 20 Feb 2013 11:05:15 GMT
19
19
  content-type:
20
20
  - application/json; charset=utf-8
21
21
  transfer-encoding:
@@ -26,6 +26,8 @@ http_interactions:
26
26
  - '200'
27
27
  x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
+ strict-transport-security:
30
+ - max-age=31536000
29
31
  x-ua-compatible:
30
32
  - IE=Edge,chrome=1
31
33
  etag:
@@ -35,14 +37,14 @@ http_interactions:
35
37
  set-cookie:
36
38
  - _digitalocean2_session=wtf
37
39
  x-request-id:
38
- - ab0fe504dbc14930cf6f3fde3ccaf143
40
+ - 8e99f39d46a4134fc443335647d4b221
39
41
  x-runtime:
40
- - '0.775382'
42
+ - '0.146290'
41
43
  x-rack-cache:
42
44
  - miss
43
45
  body:
44
46
  encoding: US-ASCII
45
47
  string: ! '{"status":"OK","droplet":{"id":83102,"name":"app200.ams.nl.moriz.net","image_id":25306,"size_id":63,"region_id":2,"backups_active":true,"ip_address":"185.14.185.158","status":"active"}}'
46
48
  http_version:
47
- recorded_at: Wed, 23 Jan 2013 12:54:31 GMT
49
+ recorded_at: Wed, 20 Feb 2013 11:05:15 GMT
48
50
  recorded_with: VCR 2.4.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: put
5
- uri: https://api.digitalocean.com/droplets/87071/shutdown?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/droplets/106265/shutdown?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -15,7 +15,7 @@ http_interactions:
15
15
  server:
16
16
  - nginx
17
17
  date:
18
- - Thu, 24 Jan 2013 09:26:01 GMT
18
+ - Wed, 20 Feb 2013 11:05:19 GMT
19
19
  content-type:
20
20
  - application/json; charset=utf-8
21
21
  transfer-encoding:
@@ -26,6 +26,8 @@ http_interactions:
26
26
  - '200'
27
27
  x-powered-by:
28
28
  - Phusion Passenger (mod_rails/mod_rack) 3.0.11
29
+ strict-transport-security:
30
+ - max-age=31536000
29
31
  x-ua-compatible:
30
32
  - IE=Edge,chrome=1
31
33
  etag:
@@ -35,14 +37,14 @@ http_interactions:
35
37
  set-cookie:
36
38
  - _digitalocean2_session=wtf
37
39
  x-request-id:
38
- - e131def10d626b38a82b4506bd4c03aa
40
+ - 903282a88afbdf0a4882cc17918e9b5b
39
41
  x-runtime:
40
- - '0.559939'
42
+ - '0.186379'
41
43
  x-rack-cache:
42
44
  - invalidate, pass
43
45
  body:
44
46
  encoding: US-ASCII
45
- string: ! '{"status":"OK","event_id":594619}'
47
+ string: ! '{"status":"OK","event_id":765546}'
46
48
  http_version:
47
- recorded_at: Thu, 24 Jan 2013 09:26:01 GMT
49
+ recorded_at: Wed, 20 Feb 2013 11:05:20 GMT
48
50
  recorded_with: VCR 2.4.0