digital_ocean 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -1
  3. data/digital_ocean.gemspec +1 -1
  4. data/lib/digital_ocean/version.rb +1 -1
  5. data/spec/api_spec.rb +1 -1
  6. data/spec/vcr/cassettes/DigitalOcean_API/_domains/_create/should_be_successful.yml +2 -2
  7. data/spec/vcr/cassettes/DigitalOcean_API/_domains/_create/should_return_domain_id.yml +2 -2
  8. data/spec/vcr/cassettes/DigitalOcean_API/_domains/_create_record/should_be_successful.yml +2 -2
  9. data/spec/vcr/cassettes/DigitalOcean_API/_domains/_create_record/should_return_record_id.yml +2 -2
  10. data/spec/vcr/cassettes/DigitalOcean_API/_domains/_delete/should_be_successful.yml +2 -2
  11. data/spec/vcr/cassettes/DigitalOcean_API/_domains/_delete_record/should_be_successful.yml +2 -2
  12. data/spec/vcr/cassettes/DigitalOcean_API/_domains/_edit_record/should_be_successful.yml +2 -2
  13. data/spec/vcr/cassettes/DigitalOcean_API/_domains/_list/should_be_successful.yml +17 -11
  14. data/spec/vcr/cassettes/DigitalOcean_API/_domains/_list/should_return_a_list_of_all_domains.yml +17 -11
  15. data/spec/vcr/cassettes/DigitalOcean_API/_domains/_list_records/should_be_successful.yml +2 -2
  16. data/spec/vcr/cassettes/DigitalOcean_API/_domains/_list_records/should_return_a_list_of_all_domain_records.yml +2 -2
  17. data/spec/vcr/cassettes/DigitalOcean_API/_domains/_show/should_be_successful.yml +7 -5
  18. data/spec/vcr/cassettes/DigitalOcean_API/_domains/_show_record/should_be_successful.yml +2 -2
  19. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_create/should_be_successful.yml +2 -2
  20. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_create/should_return_droplet_id.yml +2 -2
  21. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_delete/should_be_successful.yml +4 -4
  22. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_disable_backups/should_be_successful.yml +2 -2
  23. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_enable_backups/should_be_successful.yml +2 -2
  24. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_list/should_be_successful.yml +2 -2
  25. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_list/should_return_a_list_of_all_droplets.yml +2 -2
  26. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_password_reset/should_be_successful.yml +2 -2
  27. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_power_cycle/should_be_successful.yml +2 -2
  28. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_power_off/should_be_successful.yml +2 -2
  29. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_power_on/should_be_successful.yml +2 -2
  30. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_reboot/should_be_successful.yml +2 -2
  31. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_rebuild/should_be_successful.yml +2 -2
  32. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_resize/should_be_successful.yml +2 -2
  33. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_restore/should_be_successful.yml +2 -2
  34. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_show/should_be_successful.yml +2 -2
  35. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_shutdown/should_be_successful.yml +2 -2
  36. data/spec/vcr/cassettes/DigitalOcean_API/_droplets/_snapshot/should_be_successful.yml +2 -2
  37. data/spec/vcr/cassettes/DigitalOcean_API/_images/_delete/invalid/should_not_be_successful.yml +2 -2
  38. data/spec/vcr/cassettes/DigitalOcean_API/_images/_delete/valid/should_be_successful.yml +3 -3
  39. data/spec/vcr/cassettes/DigitalOcean_API/_images/_list/with_filter_global/should_be_successful.yml +31 -23
  40. data/spec/vcr/cassettes/DigitalOcean_API/_images/_list/with_filter_global/should_return_global_images.yml +31 -23
  41. data/spec/vcr/cassettes/DigitalOcean_API/_images/_list/with_filter_my_images/should_be_successful.yml +2 -2
  42. data/spec/vcr/cassettes/DigitalOcean_API/_images/_list/with_filter_my_images/should_return_my_images.yml +2 -2
  43. data/spec/vcr/cassettes/DigitalOcean_API/_images/_list/without_filter/should_be_successful.yml +32 -24
  44. data/spec/vcr/cassettes/DigitalOcean_API/_images/_list/without_filter/should_return_a_list_of_all_images.yml +32 -24
  45. data/spec/vcr/cassettes/DigitalOcean_API/_images/_show/invalid/should_not_be_successful.yml +2 -2
  46. data/spec/vcr/cassettes/DigitalOcean_API/_images/_show/valid/should_be_successful.yml +2 -2
  47. data/spec/vcr/cassettes/DigitalOcean_API/_images/_show/valid/should_return_the_image.yml +2 -2
  48. data/spec/vcr/cassettes/DigitalOcean_API/_regions/_list/should_be_successful.yml +3 -3
  49. data/spec/vcr/cassettes/DigitalOcean_API/_regions/_list/should_return_a_list_of_all_available_regions.yml +3 -3
  50. data/spec/vcr/cassettes/DigitalOcean_API/_regions/_list/should_return_a_list_of_all_regions.yml +3 -3
  51. data/spec/vcr/cassettes/DigitalOcean_API/_sizes/_list/should_be_successful.yml +2 -2
  52. data/spec/vcr/cassettes/DigitalOcean_API/_sizes/_list/should_return_a_list_of_all_droplet_sizes.yml +2 -2
  53. data/spec/vcr/cassettes/DigitalOcean_API/_sizes/_list/should_return_the_correct_ID_for_the_96GB_size.yml +2 -2
  54. data/spec/vcr/cassettes/DigitalOcean_API/_ssh_keys/_add/should_be_successful.yml +3 -3
  55. data/spec/vcr/cassettes/DigitalOcean_API/_ssh_keys/_delete/should_be_successful.yml +5 -5
  56. data/spec/vcr/cassettes/DigitalOcean_API/_ssh_keys/_edit/should_be_successful.yml +3 -3
  57. data/spec/vcr/cassettes/DigitalOcean_API/_ssh_keys/_list/should_be_successful.yml +2 -2
  58. data/spec/vcr/cassettes/DigitalOcean_API/_ssh_keys/_list/should_return_a_list_of_all_SSH_keys.yml +2 -2
  59. data/spec/vcr/cassettes/DigitalOcean_API/_ssh_keys/_show/invalid/should_not_be_successful.yml +2 -2
  60. data/spec/vcr/cassettes/DigitalOcean_API/_ssh_keys/_show/valid/should_be_successful.yml +3 -3
  61. data/spec/vcr/cassettes/DigitalOcean_API/_ssh_keys/_show/valid/should_return_a_list_of_all_SSH_keys.yml +3 -3
  62. data/spec/vcr/cassettes/DigitalOcean_API/_ssh_keys/_show/valid/should_return_the_public_keykey.yml +3 -3
  63. metadata +30 -30
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://api.digitalocean.com/images?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/images?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,29 +42,37 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"OK","images":[{"id":57002,"name":"init","distribution":"Ubuntu"},{"id":57089,"name":"test1","distribution":"Ubuntu"},{"id":1601,"name":"CentOS
46
- 5.8 x64","distribution":"CentOS"},{"id":1602,"name":"CentOS 5.8 x32","distribution":"CentOS"},{"id":1605,"name":"CentOS
47
- 6.0 x32","distribution":"CentOS"},{"id":1606,"name":"Fedora 15 x64","distribution":"Fedora"},{"id":1607,"name":"Gentoo
48
- x64","distribution":"Gentoo"},{"id":1609,"name":"Ubuntu 11.10 x32 Server","distribution":"Ubuntu"},{"id":1611,"name":"CentOS
49
- 6.2 x64","distribution":"CentOS"},{"id":1615,"name":"Fedora 16 x64 Server","distribution":"Fedora"},{"id":1618,"name":"Fedora
50
- 16 x64 Desktop","distribution":"Fedora"},{"id":2676,"name":"Ubuntu 12.04 x64
51
- Server","distribution":"Ubuntu"},{"id":4870,"name":"Rails 3.2.2 - Nginx MySQL
52
- Passenger","distribution":"Ubuntu"},{"id":12573,"name":"Debian 6.0 x64","distribution":"Debian"},{"id":12574,"name":"CentOS
53
- 6.3 x64","distribution":"CentOS"},{"id":12575,"name":"Debian 6.0 x32","distribution":"Debian"},{"id":12578,"name":"CentOS
54
- 6.3 x32","distribution":"CentOS"},{"id":13632,"name":"Open Suse 12.1 x32","distribution":"openSUSE"},{"id":13863,"name":"Open
55
- Suse 12.2 X64","distribution":"openSUSE"},{"id":14097,"name":"Ubuntu 10.04
56
- x64 Server","distribution":"Ubuntu"},{"id":14098,"name":"Ubuntu 10.04 x32
57
- Server","distribution":"Ubuntu"},{"id":14218,"name":"Ubuntu 12.04 x64 Desktop","distribution":"Ubuntu"},{"id":23593,"name":"Arch
58
- Linux 2012-09 x64","distribution":"Arch Linux"},{"id":25306,"name":"Ubuntu
59
- 12.10 x32 Server","distribution":"Ubuntu"},{"id":25485,"name":"Ubuntu 12.10
60
- x32 Desktop","distribution":"Ubuntu"},{"id":25489,"name":"Ubuntu 12.10 x64
61
- Server","distribution":"Ubuntu"},{"id":25493,"name":"Ubuntu 12.10 x64 Desktop","distribution":"Ubuntu"},{"id":32387,"name":"Fedora
62
- 17 x32 Server","distribution":"Fedora"},{"id":32399,"name":"Fedora 17 x32
63
- Desktop","distribution":"Fedora"},{"id":32419,"name":"Fedora 17 x64 Desktop","distribution":"Fedora"},{"id":32428,"name":"Fedora
64
- 17 x64 Server","distribution":"Fedora"},{"id":42735,"name":"Ubuntu 12.04 x32
65
- Server","distribution":"Ubuntu"},{"id":43458,"name":"Ubuntu 11.04x64 Server","distribution":"Ubuntu"},{"id":43462,"name":"Ubuntu
66
- 11.04x32 Desktop","distribution":"Ubuntu"},{"id":46964,"name":"LAMP on Ubuntu
67
- 12.04","distribution":"Ubuntu"}]}'
45
+ string: "{\"status\":\"OK\",\"images\":[{\"id\":57002,\"name\":\"init\",\"distribution\":\"Ubuntu\"},{\"id\":57089,\"name\":\"test1\",\"distribution\":\"Ubuntu\"},{\"id\":1601,\"name\":\"CentOS
46
+ 5.8 x64\",\"distribution\":\"CentOS\"},{\"id\":1602,\"name\":\"CentOS 5.8
47
+ x32\",\"distribution\":\"CentOS\"},{\"id\":1605,\"name\":\"CentOS 6.0 x32\",\"distribution\":\"CentOS\"},{\"id\":1606,\"name\":\"Fedora
48
+ 15 x64\",\"distribution\":\"Fedora\"},{\"id\":1607,\"name\":\"Gentoo x64\",\"distribution\":\"Gentoo\"},{\"id\":1609,\"name\":\"Ubuntu
49
+ 11.10 x32 Server\",\"distribution\":\"Ubuntu\"},{\"id\":1611,\"name\":\"CentOS
50
+ 6.2 x64\",\"distribution\":\"CentOS\"},{\"id\":1615,\"name\":\"Fedora 16 x64
51
+ Server\",\"distribution\":\"Fedora\"},{\"id\":1618,\"name\":\"Fedora 16 x64
52
+ Desktop\",\"distribution\":\"Fedora\"},{\"id\":2676,\"name\":\"Ubuntu 12.04
53
+ x64 Server\",\"distribution\":\"Ubuntu\"},{\"id\":4870,\"name\":\"Rails 3.2.2
54
+ - Nginx MySQL Passenger\",\"distribution\":\"Ubuntu\"},{\"id\":12573,\"name\":\"Debian
55
+ 6.0 x64\",\"distribution\":\"Debian\"},{\"id\":12574,\"name\":\"CentOS 6.3
56
+ x64\",\"distribution\":\"CentOS\"},{\"id\":12575,\"name\":\"Debian 6.0 x32\",\"distribution\":\"Debian\"},{\"id\":12578,\"name\":\"CentOS
57
+ 6.3 x32\",\"distribution\":\"CentOS\"},{\"id\":13632,\"name\":\"Open Suse
58
+ 12.1 x32\",\"distribution\":\"openSUSE\"},{\"id\":13863,\"name\":\"Open Suse
59
+ 12.2 X64\",\"distribution\":\"openSUSE\"},{\"id\":14097,\"name\":\"Ubuntu
60
+ 10.04 x64 Server\",\"distribution\":\"Ubuntu\"},{\"id\":14098,\"name\":\"Ubuntu
61
+ 10.04 x32 Server\",\"distribution\":\"Ubuntu\"},{\"id\":14218,\"name\":\"Ubuntu
62
+ 12.04 x64 Desktop\",\"distribution\":\"Ubuntu\"},{\"id\":23593,\"name\":\"Arch
63
+ Linux 2012-09 x64\",\"distribution\":\"Arch Linux\"},{\"id\":25306,\"name\":\"Ubuntu
64
+ 12.10 x32 Server\",\"distribution\":\"Ubuntu\"},{\"id\":25485,\"name\":\"Ubuntu
65
+ 12.10 x32 Desktop\",\"distribution\":\"Ubuntu\"},{\"id\":25489,\"name\":\"Ubuntu
66
+ 12.10 x64 Server\",\"distribution\":\"Ubuntu\"},{\"id\":25493,\"name\":\"Ubuntu
67
+ 12.10 x64 Desktop\",\"distribution\":\"Ubuntu\"},{\"id\":32387,\"name\":\"Fedora
68
+ 17 x32 Server\",\"distribution\":\"Fedora\"},{\"id\":32399,\"name\":\"Fedora
69
+ 17 x32 Desktop\",\"distribution\":\"Fedora\"},{\"id\":32419,\"name\":\"Fedora
70
+ 17 x64 Desktop\",\"distribution\":\"Fedora\"},{\"id\":32428,\"name\":\"Fedora
71
+ 17 x64 Server\",\"distribution\":\"Fedora\"},{\"id\":42735,\"name\":\"Ubuntu
72
+ 12.04 x32 Server\",\"distribution\":\"Ubuntu\"},{\"id\":43458,\"name\":\"Ubuntu
73
+ 11.04x64 Server\",\"distribution\":\"Ubuntu\"},{\"id\":43462,\"name\":\"Ubuntu
74
+ 11.04x32 Desktop\",\"distribution\":\"Ubuntu\"},{\"id\":46964,\"name\":\"LAMP
75
+ on Ubuntu 12.04\",\"distribution\":\"Ubuntu\"}]}"
68
76
  http_version:
69
77
  recorded_at: Wed, 23 Jan 2013 21:04:41 GMT
70
78
  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/images?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/images?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,29 +42,37 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"OK","images":[{"id":57002,"name":"init","distribution":"Ubuntu"},{"id":57089,"name":"test1","distribution":"Ubuntu"},{"id":1601,"name":"CentOS
46
- 5.8 x64","distribution":"CentOS"},{"id":1602,"name":"CentOS 5.8 x32","distribution":"CentOS"},{"id":1605,"name":"CentOS
47
- 6.0 x32","distribution":"CentOS"},{"id":1606,"name":"Fedora 15 x64","distribution":"Fedora"},{"id":1607,"name":"Gentoo
48
- x64","distribution":"Gentoo"},{"id":1609,"name":"Ubuntu 11.10 x32 Server","distribution":"Ubuntu"},{"id":1611,"name":"CentOS
49
- 6.2 x64","distribution":"CentOS"},{"id":1615,"name":"Fedora 16 x64 Server","distribution":"Fedora"},{"id":1618,"name":"Fedora
50
- 16 x64 Desktop","distribution":"Fedora"},{"id":2676,"name":"Ubuntu 12.04 x64
51
- Server","distribution":"Ubuntu"},{"id":4870,"name":"Rails 3.2.2 - Nginx MySQL
52
- Passenger","distribution":"Ubuntu"},{"id":12573,"name":"Debian 6.0 x64","distribution":"Debian"},{"id":12574,"name":"CentOS
53
- 6.3 x64","distribution":"CentOS"},{"id":12575,"name":"Debian 6.0 x32","distribution":"Debian"},{"id":12578,"name":"CentOS
54
- 6.3 x32","distribution":"CentOS"},{"id":13632,"name":"Open Suse 12.1 x32","distribution":"openSUSE"},{"id":13863,"name":"Open
55
- Suse 12.2 X64","distribution":"openSUSE"},{"id":14097,"name":"Ubuntu 10.04
56
- x64 Server","distribution":"Ubuntu"},{"id":14098,"name":"Ubuntu 10.04 x32
57
- Server","distribution":"Ubuntu"},{"id":14218,"name":"Ubuntu 12.04 x64 Desktop","distribution":"Ubuntu"},{"id":23593,"name":"Arch
58
- Linux 2012-09 x64","distribution":"Arch Linux"},{"id":25306,"name":"Ubuntu
59
- 12.10 x32 Server","distribution":"Ubuntu"},{"id":25485,"name":"Ubuntu 12.10
60
- x32 Desktop","distribution":"Ubuntu"},{"id":25489,"name":"Ubuntu 12.10 x64
61
- Server","distribution":"Ubuntu"},{"id":25493,"name":"Ubuntu 12.10 x64 Desktop","distribution":"Ubuntu"},{"id":32387,"name":"Fedora
62
- 17 x32 Server","distribution":"Fedora"},{"id":32399,"name":"Fedora 17 x32
63
- Desktop","distribution":"Fedora"},{"id":32419,"name":"Fedora 17 x64 Desktop","distribution":"Fedora"},{"id":32428,"name":"Fedora
64
- 17 x64 Server","distribution":"Fedora"},{"id":42735,"name":"Ubuntu 12.04 x32
65
- Server","distribution":"Ubuntu"},{"id":43458,"name":"Ubuntu 11.04x64 Server","distribution":"Ubuntu"},{"id":43462,"name":"Ubuntu
66
- 11.04x32 Desktop","distribution":"Ubuntu"},{"id":46964,"name":"LAMP on Ubuntu
67
- 12.04","distribution":"Ubuntu"}]}'
45
+ string: "{\"status\":\"OK\",\"images\":[{\"id\":57002,\"name\":\"init\",\"distribution\":\"Ubuntu\"},{\"id\":57089,\"name\":\"test1\",\"distribution\":\"Ubuntu\"},{\"id\":1601,\"name\":\"CentOS
46
+ 5.8 x64\",\"distribution\":\"CentOS\"},{\"id\":1602,\"name\":\"CentOS 5.8
47
+ x32\",\"distribution\":\"CentOS\"},{\"id\":1605,\"name\":\"CentOS 6.0 x32\",\"distribution\":\"CentOS\"},{\"id\":1606,\"name\":\"Fedora
48
+ 15 x64\",\"distribution\":\"Fedora\"},{\"id\":1607,\"name\":\"Gentoo x64\",\"distribution\":\"Gentoo\"},{\"id\":1609,\"name\":\"Ubuntu
49
+ 11.10 x32 Server\",\"distribution\":\"Ubuntu\"},{\"id\":1611,\"name\":\"CentOS
50
+ 6.2 x64\",\"distribution\":\"CentOS\"},{\"id\":1615,\"name\":\"Fedora 16 x64
51
+ Server\",\"distribution\":\"Fedora\"},{\"id\":1618,\"name\":\"Fedora 16 x64
52
+ Desktop\",\"distribution\":\"Fedora\"},{\"id\":2676,\"name\":\"Ubuntu 12.04
53
+ x64 Server\",\"distribution\":\"Ubuntu\"},{\"id\":4870,\"name\":\"Rails 3.2.2
54
+ - Nginx MySQL Passenger\",\"distribution\":\"Ubuntu\"},{\"id\":12573,\"name\":\"Debian
55
+ 6.0 x64\",\"distribution\":\"Debian\"},{\"id\":12574,\"name\":\"CentOS 6.3
56
+ x64\",\"distribution\":\"CentOS\"},{\"id\":12575,\"name\":\"Debian 6.0 x32\",\"distribution\":\"Debian\"},{\"id\":12578,\"name\":\"CentOS
57
+ 6.3 x32\",\"distribution\":\"CentOS\"},{\"id\":13632,\"name\":\"Open Suse
58
+ 12.1 x32\",\"distribution\":\"openSUSE\"},{\"id\":13863,\"name\":\"Open Suse
59
+ 12.2 X64\",\"distribution\":\"openSUSE\"},{\"id\":14097,\"name\":\"Ubuntu
60
+ 10.04 x64 Server\",\"distribution\":\"Ubuntu\"},{\"id\":14098,\"name\":\"Ubuntu
61
+ 10.04 x32 Server\",\"distribution\":\"Ubuntu\"},{\"id\":14218,\"name\":\"Ubuntu
62
+ 12.04 x64 Desktop\",\"distribution\":\"Ubuntu\"},{\"id\":23593,\"name\":\"Arch
63
+ Linux 2012-09 x64\",\"distribution\":\"Arch Linux\"},{\"id\":25306,\"name\":\"Ubuntu
64
+ 12.10 x32 Server\",\"distribution\":\"Ubuntu\"},{\"id\":25485,\"name\":\"Ubuntu
65
+ 12.10 x32 Desktop\",\"distribution\":\"Ubuntu\"},{\"id\":25489,\"name\":\"Ubuntu
66
+ 12.10 x64 Server\",\"distribution\":\"Ubuntu\"},{\"id\":25493,\"name\":\"Ubuntu
67
+ 12.10 x64 Desktop\",\"distribution\":\"Ubuntu\"},{\"id\":32387,\"name\":\"Fedora
68
+ 17 x32 Server\",\"distribution\":\"Fedora\"},{\"id\":32399,\"name\":\"Fedora
69
+ 17 x32 Desktop\",\"distribution\":\"Fedora\"},{\"id\":32419,\"name\":\"Fedora
70
+ 17 x64 Desktop\",\"distribution\":\"Fedora\"},{\"id\":32428,\"name\":\"Fedora
71
+ 17 x64 Server\",\"distribution\":\"Fedora\"},{\"id\":42735,\"name\":\"Ubuntu
72
+ 12.04 x32 Server\",\"distribution\":\"Ubuntu\"},{\"id\":43458,\"name\":\"Ubuntu
73
+ 11.04x64 Server\",\"distribution\":\"Ubuntu\"},{\"id\":43462,\"name\":\"Ubuntu
74
+ 11.04x32 Desktop\",\"distribution\":\"Ubuntu\"},{\"id\":46964,\"name\":\"LAMP
75
+ on Ubuntu 12.04\",\"distribution\":\"Ubuntu\"}]}"
68
76
  http_version:
69
77
  recorded_at: Wed, 23 Jan 2013 21:04:42 GMT
70
78
  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/images/0?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/images/0?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,7 +42,7 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"ERROR","error_message":"No Image Found"}'
45
+ string: "{\"status\":\"ERROR\",\"error_message\":\"No Image Found\"}"
46
46
  http_version:
47
47
  recorded_at: Wed, 23 Jan 2013 21:14:12 GMT
48
48
  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/images/1601?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/images/1601?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,7 +42,7 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"OK","image":{"id":1601,"name":"CentOS 5.8 x64","distribution":"CentOS"}}'
45
+ string: "{\"status\":\"OK\",\"image\":{\"id\":1601,\"name\":\"CentOS 5.8 x64\",\"distribution\":\"CentOS\"}}"
46
46
  http_version:
47
47
  recorded_at: Wed, 23 Jan 2013 21:14:10 GMT
48
48
  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/images/1601?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/images/1601?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,7 +42,7 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"OK","image":{"id":1601,"name":"CentOS 5.8 x64","distribution":"CentOS"}}'
45
+ string: "{\"status\":\"OK\",\"image\":{\"id\":1601,\"name\":\"CentOS 5.8 x64\",\"distribution\":\"CentOS\"}}"
46
46
  http_version:
47
47
  recorded_at: Wed, 23 Jan 2013 21:14:11 GMT
48
48
  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/regions?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/regions?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,8 +42,8 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"OK","regions":[{"id":1,"name":"New York 1"},{"id":2,"name":"Amsterdam
46
- 1"}]}'
45
+ string: "{\"status\":\"OK\",\"regions\":[{\"id\":1,\"name\":\"New York 1\"},{\"id\":2,\"name\":\"Amsterdam
46
+ 1\"}]}"
47
47
  http_version:
48
48
  recorded_at: Wed, 23 Jan 2013 14:05:59 GMT
49
49
  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/regions?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/regions?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,8 +42,8 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"OK","regions":[{"id":1,"name":"New York 1"},{"id":2,"name":"Amsterdam
46
- 1"}]}'
45
+ string: "{\"status\":\"OK\",\"regions\":[{\"id\":1,\"name\":\"New York 1\"},{\"id\":2,\"name\":\"Amsterdam
46
+ 1\"}]}"
47
47
  http_version:
48
48
  recorded_at: Wed, 23 Jan 2013 14:07:28 GMT
49
49
  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/regions?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/regions?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,8 +42,8 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"OK","regions":[{"id":1,"name":"New York 1"},{"id":2,"name":"Amsterdam
46
- 1"}]}'
45
+ string: "{\"status\":\"OK\",\"regions\":[{\"id\":1,\"name\":\"New York 1\"},{\"id\":2,\"name\":\"Amsterdam
46
+ 1\"}]}"
47
47
  http_version:
48
48
  recorded_at: Wed, 23 Jan 2013 14:07:31 GMT
49
49
  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/sizes?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/sizes?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,7 +42,7 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"OK","sizes":[{"id":66,"name":"512MB"},{"id":63,"name":"1GB"},{"id":62,"name":"2GB"},{"id":64,"name":"4GB"},{"id":65,"name":"8GB"},{"id":61,"name":"16GB"},{"id":60,"name":"32GB"},{"id":70,"name":"48GB"},{"id":69,"name":"64GB"},{"id":68,"name":"96GB"}]}'
45
+ string: "{\"status\":\"OK\",\"sizes\":[{\"id\":66,\"name\":\"512MB\"},{\"id\":63,\"name\":\"1GB\"},{\"id\":62,\"name\":\"2GB\"},{\"id\":64,\"name\":\"4GB\"},{\"id\":65,\"name\":\"8GB\"},{\"id\":61,\"name\":\"16GB\"},{\"id\":60,\"name\":\"32GB\"},{\"id\":70,\"name\":\"48GB\"},{\"id\":69,\"name\":\"64GB\"},{\"id\":68,\"name\":\"96GB\"}]}"
46
46
  http_version:
47
47
  recorded_at: Wed, 23 Jan 2013 14:00:02 GMT
48
48
  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/sizes?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/sizes?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,7 +42,7 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"OK","sizes":[{"id":66,"name":"512MB"},{"id":63,"name":"1GB"},{"id":62,"name":"2GB"},{"id":64,"name":"4GB"},{"id":65,"name":"8GB"},{"id":61,"name":"16GB"},{"id":60,"name":"32GB"},{"id":70,"name":"48GB"},{"id":69,"name":"64GB"},{"id":68,"name":"96GB"}]}'
45
+ string: "{\"status\":\"OK\",\"sizes\":[{\"id\":66,\"name\":\"512MB\"},{\"id\":63,\"name\":\"1GB\"},{\"id\":62,\"name\":\"2GB\"},{\"id\":64,\"name\":\"4GB\"},{\"id\":65,\"name\":\"8GB\"},{\"id\":61,\"name\":\"16GB\"},{\"id\":60,\"name\":\"32GB\"},{\"id\":70,\"name\":\"48GB\"},{\"id\":69,\"name\":\"64GB\"},{\"id\":68,\"name\":\"96GB\"}]}"
46
46
  http_version:
47
47
  recorded_at: Wed, 23 Jan 2013 14:02:26 GMT
48
48
  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/sizes?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/sizes?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,7 +42,7 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"OK","sizes":[{"id":66,"name":"512MB"},{"id":63,"name":"1GB"},{"id":62,"name":"2GB"},{"id":64,"name":"4GB"},{"id":65,"name":"8GB"},{"id":61,"name":"16GB"},{"id":60,"name":"32GB"},{"id":70,"name":"48GB"},{"id":69,"name":"64GB"},{"id":68,"name":"96GB"}]}'
45
+ string: "{\"status\":\"OK\",\"sizes\":[{\"id\":66,\"name\":\"512MB\"},{\"id\":63,\"name\":\"1GB\"},{\"id\":62,\"name\":\"2GB\"},{\"id\":64,\"name\":\"4GB\"},{\"id\":65,\"name\":\"8GB\"},{\"id\":61,\"name\":\"16GB\"},{\"id\":60,\"name\":\"32GB\"},{\"id\":70,\"name\":\"48GB\"},{\"id\":69,\"name\":\"64GB\"},{\"id\":68,\"name\":\"96GB\"}]}"
46
46
  http_version:
47
47
  recorded_at: Wed, 23 Jan 2013 14:03:47 GMT
48
48
  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/ssh_keys/new?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&name=mobile+computer&ssh_pub_key=ssh-dss+AAAAB3NzaC1kc3MAAACBAPUify%2F0h4QLkkhfMiOr8o5R6LEzV1ETC4cd7UgKUiLsX8%2BE%2Bs5hmbP6QvkWVyc1qpXuH7zyFj%2FFY5XSBdNyVVUblOxrOJVo9wPdl5ZaXxMkx%2B%2FxokVqfDvoeQa5adaBbk11xjt7F72KBeWb5WwZScblK4kOIrVT5HzNxl58xE2XAAAAFQDyqQMKaDAoUcUlEeoFC962WZE6kQAAAIAv83TOiGZ81zIqJ1%2BAQNNeUoXbDF%2Fu0B5qVgmr8rGxJ%2FC24M%2FLaLqpWB0fNb1xSF1luT33BN%2FNEFJ%2FMiUA53yffXkjFMcBbJPVDuxHh7%2FqLOWX0SlrH6IhKvTU6iowPb%2Bm0bBXQM8z6jR1Xyl6F2eb3HZfW0O15i%2BwDCjPeplfpwAAAIEA1zxtI3CackcnOAH2su9v%2FSBZPrfyir52ie1%2F%2BrH0WVnnAbc7yJRMOuRHZCZo4MXoQ%2B9%2FQoxBBxvBinabrlVPvwnRgGIOTcHOlo8Hs07THA6mlnLUcG%2FQNKFyR25XI86ntx3dg%2Bn89fUo302dWZAQ5vSl5nbqvsBs56wfWFvOYS8%3D+test%40example.com
5
+ uri: https://api.digitalocean.com/ssh_keys/new?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX&name=mobile+computer&ssh_pub_key=ssh-dss+AAAAB3NzaC1kc3MAAACBAPUify%2F0h4QLkkhfMiOr8o5R6LEzV1ETC4cd7UgKUiLsX8%2BE%2Bs5hmbP6QvkWVyc1qpXuH7zyFj%2FFY5XSBdNyVVUblOxrOJVo9wPdl5ZaXxMkx%2B%2FxokVqfDvoeQa5adaBbk11xjt7F72KBeWb5WwZScblK4kOIrVT5HzNxl58xE2XAAAAFQDyqQMKaDAoUcUlEeoFC962WZE6kQAAAIAv83TOiGZ81zIqJ1%2BAQNNeUoXbDF%2Fu0B5qVgmr8rGxJ%2FC24M%2FLaLqpWB0fNb1xSF1luT33BN%2FNEFJ%2FMiUA53yffXkjFMcBbJPVDuxHh7%2FqLOWX0SlrH6IhKvTU6iowPb%2Bm0bBXQM8z6jR1Xyl6F2eb3HZfW0O15i%2BwDCjPeplfpwAAAIEA1zxtI3CackcnOAH2su9v%2FSBZPrfyir52ie1%2F%2BrH0WVnnAbc7yJRMOuRHZCZo4MXoQ%2B9%2FQoxBBxvBinabrlVPvwnRgGIOTcHOlo8Hs07THA6mlnLUcG%2FQNKFyR25XI86ntx3dg%2Bn89fUo302dWZAQ5vSl5nbqvsBs56wfWFvOYS8%3D+test%40example.com
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -44,9 +44,9 @@ http_interactions:
44
44
  - miss
45
45
  body:
46
46
  encoding: US-ASCII
47
- string: ! '{"status":"OK","ssh_key":{"id":6760,"name":"mobile computer","ssh_pub_key":"ssh-dss
47
+ string: "{\"status\":\"OK\",\"ssh_key\":{\"id\":6760,\"name\":\"mobile computer\",\"ssh_pub_key\":\"ssh-dss
48
48
  AAAAB3NzaC1kc3MAAACBAPUify/0h4QLkkhfMiOr8o5R6LEzV1ETC4cd7UgKUiLsX8+E+s5hmbP6QvkWVyc1qpXuH7zyFj/FY5XSBdNyVVUblOxrOJVo9wPdl5ZaXxMkx+/xokVqfDvoeQa5adaBbk11xjt7F72KBeWb5WwZScblK4kOIrVT5HzNxl58xE2XAAAAFQDyqQMKaDAoUcUlEeoFC962WZE6kQAAAIAv83TOiGZ81zIqJ1+AQNNeUoXbDF/u0B5qVgmr8rGxJ/C24M/LaLqpWB0fNb1xSF1luT33BN/NEFJ/MiUA53yffXkjFMcBbJPVDuxHh7/qLOWX0SlrH6IhKvTU6iowPb+m0bBXQM8z6jR1Xyl6F2eb3HZfW0O15i+wDCjPeplfpwAAAIEA1zxtI3CackcnOAH2su9v/SBZPrfyir52ie1/+rH0WVnnAbc7yJRMOuRHZCZo4MXoQ+9/QoxBBxvBinabrlVPvwnRgGIOTcHOlo8Hs07THA6mlnLUcG/QNKFyR25XI86ntx3dg+n89fUo302dWZAQ5vSl5nbqvsBs56wfWFvOYS8=
49
- test@example.com"}}'
49
+ test@example.com\"}}"
50
50
  http_version:
51
51
  recorded_at: Wed, 27 Feb 2013 18:51:58 GMT
52
52
  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/ssh_keys/new?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&name=test_for_deletion&ssh_pub_key=ssh-dss+AAAAB3NzaC1kc3MAAACBAPUify%2F0h4QLkkhfMiOr8o5R6LEzV1ETC4cd7UgKUiLsX8%2BE%2Bs5hmbP6QvkWVyc1qpXuH7zyFj%2FFY5XSBdNyVVUblOxrOJVo9wPdl5ZaXxMkx%2B%2FxokVqfDvoeQa5adaBbk11xjt7F72KBeWb5WwZScblK4kOIrVT5HzNxl58xE2XAAAAFQDyqQMKaDAoUcUlEeoFC962WZE6kQAAAIAv83TOiGZ81zIqJ1%2BAQNNeUoXbDF%2Fu0B5qVgmr8rGxJ%2FC24M%2FLaLqpWB0fNb1xSF1luT33BN%2FNEFJ%2FMiUA53yffXkjFMcBbJPVDuxHh7%2FqLOWX0SlrH6IhKvTU6iowPb%2Bm0bBXQM8z6jR1Xyl6F2eb3HZfW0O15i%2BwDCjPeplfpwAAAIEA1zxtI3CackcnOAH2su9v%2FSBZPrfyir52ie1%2F%2BrH0WVnnAbc7yJRMOuRHZCZo4MXoQ%2B9%2FQoxBBxvBinabrlVPvwnRgGIOTcHOlo8Hs07THA6mlnLUcG%2FQNKFyR25XI86ntx3dg%2Bn89fUo302dWZAQ5vSl5nbqvsBs56wfWFvOYS8%3D+test%40example.com
5
+ uri: https://api.digitalocean.com/ssh_keys/new?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX&name=test_for_deletion&ssh_pub_key=ssh-dss+AAAAB3NzaC1kc3MAAACBAPUify%2F0h4QLkkhfMiOr8o5R6LEzV1ETC4cd7UgKUiLsX8%2BE%2Bs5hmbP6QvkWVyc1qpXuH7zyFj%2FFY5XSBdNyVVUblOxrOJVo9wPdl5ZaXxMkx%2B%2FxokVqfDvoeQa5adaBbk11xjt7F72KBeWb5WwZScblK4kOIrVT5HzNxl58xE2XAAAAFQDyqQMKaDAoUcUlEeoFC962WZE6kQAAAIAv83TOiGZ81zIqJ1%2BAQNNeUoXbDF%2Fu0B5qVgmr8rGxJ%2FC24M%2FLaLqpWB0fNb1xSF1luT33BN%2FNEFJ%2FMiUA53yffXkjFMcBbJPVDuxHh7%2FqLOWX0SlrH6IhKvTU6iowPb%2Bm0bBXQM8z6jR1Xyl6F2eb3HZfW0O15i%2BwDCjPeplfpwAAAIEA1zxtI3CackcnOAH2su9v%2FSBZPrfyir52ie1%2F%2BrH0WVnnAbc7yJRMOuRHZCZo4MXoQ%2B9%2FQoxBBxvBinabrlVPvwnRgGIOTcHOlo8Hs07THA6mlnLUcG%2FQNKFyR25XI86ntx3dg%2Bn89fUo302dWZAQ5vSl5nbqvsBs56wfWFvOYS8%3D+test%40example.com
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -44,14 +44,14 @@ http_interactions:
44
44
  - miss
45
45
  body:
46
46
  encoding: US-ASCII
47
- string: ! '{"status":"OK","ssh_key":{"id":6769,"name":"test_for_deletion","ssh_pub_key":"ssh-dss
47
+ string: "{\"status\":\"OK\",\"ssh_key\":{\"id\":6769,\"name\":\"test_for_deletion\",\"ssh_pub_key\":\"ssh-dss
48
48
  AAAAB3NzaC1kc3MAAACBAPUify/0h4QLkkhfMiOr8o5R6LEzV1ETC4cd7UgKUiLsX8+E+s5hmbP6QvkWVyc1qpXuH7zyFj/FY5XSBdNyVVUblOxrOJVo9wPdl5ZaXxMkx+/xokVqfDvoeQa5adaBbk11xjt7F72KBeWb5WwZScblK4kOIrVT5HzNxl58xE2XAAAAFQDyqQMKaDAoUcUlEeoFC962WZE6kQAAAIAv83TOiGZ81zIqJ1+AQNNeUoXbDF/u0B5qVgmr8rGxJ/C24M/LaLqpWB0fNb1xSF1luT33BN/NEFJ/MiUA53yffXkjFMcBbJPVDuxHh7/qLOWX0SlrH6IhKvTU6iowPb+m0bBXQM8z6jR1Xyl6F2eb3HZfW0O15i+wDCjPeplfpwAAAIEA1zxtI3CackcnOAH2su9v/SBZPrfyir52ie1/+rH0WVnnAbc7yJRMOuRHZCZo4MXoQ+9/QoxBBxvBinabrlVPvwnRgGIOTcHOlo8Hs07THA6mlnLUcG/QNKFyR25XI86ntx3dg+n89fUo302dWZAQ5vSl5nbqvsBs56wfWFvOYS8=
49
- test@example.com"}}'
49
+ test@example.com\"}}"
50
50
  http_version:
51
51
  recorded_at: Wed, 27 Feb 2013 19:05:54 GMT
52
52
  - request:
53
53
  method: get
54
- uri: https://api.digitalocean.com/ssh_keys/6769/destroy?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
54
+ uri: https://api.digitalocean.com/ssh_keys/6769/destroy?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
55
55
  body:
56
56
  encoding: US-ASCII
57
57
  string: ''
@@ -93,7 +93,7 @@ http_interactions:
93
93
  - miss
94
94
  body:
95
95
  encoding: US-ASCII
96
- string: ! '{"status":"OK"}'
96
+ string: "{\"status\":\"OK\"}"
97
97
  http_version:
98
98
  recorded_at: Wed, 27 Feb 2013 19:05:55 GMT
99
99
  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/ssh_keys/6757/edit?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&name=mobile+computer+new&ssh_pub_key=ssh-rsa+AAAAB3NzaC1kc3MAAACBAPUify%2F0h4QLkkhfMiOr8o5R6LEzV1ETC4cd7UgKUiLsX8%2BE%2Bs5hmbP6QvkWVyc1qpXuH7zyFj%2FFY5XSBdNyVVUblOxrOJVo9wPdl5ZaXxMkx%2B%2FxokVqfDvoeQa5adaBbk11xjt7F72KBeWb5WwZScblK4kOIrVT5HzNxl58xE2XAAAAFQDyqQMKaDAoUcUlEeoFC962WZE6kQAAAIAv83TOiGZ81zIqJ1%2BAQNNeUoXbDF%2Fu0B5qVgmr8rGxJ%2FC24M%2FLaLqpWB0fNb1xSF1luT33BN%2FNEFJ%2FMiUA53yffXkjFMcBbJPVDuxHh7%2FqLOWX0SlrH6IhKvTU6iowPb%2Bm0bBXQM8z6jR1Xyl6F2eb3HZfW0O15i%2BwDCjPeplfpwAAAIEA1zxtI3CackcnOAH2su9v%2FSBZPrfyir52ie1%2F%2BrH0WVnnAbc7yJRMOuRHZCZo4MXoQ%2B9%2FQoxBBxvBinabrlVPvwnRgGIOTcHOlo8Hs07THA6mlnLUcG%2FQNKFyR25XI86ntx3dg%2Bn89fUo302dWZAQ5vSl5nbqvsBs56wfWFvOYS8%3D+test%40example.com
5
+ uri: https://api.digitalocean.com/ssh_keys/6757/edit?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX&name=mobile+computer+new&ssh_pub_key=ssh-rsa+AAAAB3NzaC1kc3MAAACBAPUify%2F0h4QLkkhfMiOr8o5R6LEzV1ETC4cd7UgKUiLsX8%2BE%2Bs5hmbP6QvkWVyc1qpXuH7zyFj%2FFY5XSBdNyVVUblOxrOJVo9wPdl5ZaXxMkx%2B%2FxokVqfDvoeQa5adaBbk11xjt7F72KBeWb5WwZScblK4kOIrVT5HzNxl58xE2XAAAAFQDyqQMKaDAoUcUlEeoFC962WZE6kQAAAIAv83TOiGZ81zIqJ1%2BAQNNeUoXbDF%2Fu0B5qVgmr8rGxJ%2FC24M%2FLaLqpWB0fNb1xSF1luT33BN%2FNEFJ%2FMiUA53yffXkjFMcBbJPVDuxHh7%2FqLOWX0SlrH6IhKvTU6iowPb%2Bm0bBXQM8z6jR1Xyl6F2eb3HZfW0O15i%2BwDCjPeplfpwAAAIEA1zxtI3CackcnOAH2su9v%2FSBZPrfyir52ie1%2F%2BrH0WVnnAbc7yJRMOuRHZCZo4MXoQ%2B9%2FQoxBBxvBinabrlVPvwnRgGIOTcHOlo8Hs07THA6mlnLUcG%2FQNKFyR25XI86ntx3dg%2Bn89fUo302dWZAQ5vSl5nbqvsBs56wfWFvOYS8%3D+test%40example.com
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -44,9 +44,9 @@ http_interactions:
44
44
  - miss
45
45
  body:
46
46
  encoding: US-ASCII
47
- string: ! '{"status":"OK","ssh_key":{"id":6757,"name":"mobile computer","ssh_pub_key":"ssh-rsa
47
+ string: "{\"status\":\"OK\",\"ssh_key\":{\"id\":6757,\"name\":\"mobile computer\",\"ssh_pub_key\":\"ssh-rsa
48
48
  AAAAB3NzaC1kc3MAAACBAPUify/0h4QLkkhfMiOr8o5R6LEzV1ETC4cd7UgKUiLsX8+E+s5hmbP6QvkWVyc1qpXuH7zyFj/FY5XSBdNyVVUblOxrOJVo9wPdl5ZaXxMkx+/xokVqfDvoeQa5adaBbk11xjt7F72KBeWb5WwZScblK4kOIrVT5HzNxl58xE2XAAAAFQDyqQMKaDAoUcUlEeoFC962WZE6kQAAAIAv83TOiGZ81zIqJ1+AQNNeUoXbDF/u0B5qVgmr8rGxJ/C24M/LaLqpWB0fNb1xSF1luT33BN/NEFJ/MiUA53yffXkjFMcBbJPVDuxHh7/qLOWX0SlrH6IhKvTU6iowPb+m0bBXQM8z6jR1Xyl6F2eb3HZfW0O15i+wDCjPeplfpwAAAIEA1zxtI3CackcnOAH2su9v/SBZPrfyir52ie1/+rH0WVnnAbc7yJRMOuRHZCZo4MXoQ+9/QoxBBxvBinabrlVPvwnRgGIOTcHOlo8Hs07THA6mlnLUcG/QNKFyR25XI86ntx3dg+n89fUo302dWZAQ5vSl5nbqvsBs56wfWFvOYS8=
49
- test@example.com"}}'
49
+ test@example.com\"}}"
50
50
  http_version:
51
51
  recorded_at: Wed, 27 Feb 2013 18:57:21 GMT
52
52
  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/ssh_keys?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/ssh_keys?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,7 +42,7 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"OK","ssh_keys":[{"id":1000,"name":"xxxxxx"}]}'
45
+ string: "{\"status\":\"OK\",\"ssh_keys\":[{\"id\":1000,\"name\":\"xxxxxx\"}]}"
46
46
  http_version:
47
47
  recorded_at: Wed, 23 Jan 2013 14:10:49 GMT
48
48
  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/ssh_keys?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/ssh_keys?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,7 +42,7 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"OK","ssh_keys":[{"id":1000,"name":"xxxxxx"}]}'
45
+ string: "{\"status\":\"OK\",\"ssh_keys\":[{\"id\":1000,\"name\":\"xxxxxx\"}]}"
46
46
  http_version:
47
47
  recorded_at: Wed, 23 Jan 2013 14:37:07 GMT
48
48
  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/ssh_keys/1?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/ssh_keys/1?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,7 +42,7 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"ERROR","error_message":"No SSH Key Found"}'
45
+ string: "{\"status\":\"ERROR\",\"error_message\":\"No SSH Key Found\"}"
46
46
  http_version:
47
47
  recorded_at: Wed, 23 Jan 2013 21:20:38 GMT
48
48
  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/ssh_keys/3738?client_id=client_id_XXXXXXXXXXXXXXXXXXX&api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
5
+ uri: https://api.digitalocean.com/ssh_keys/3738?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&client_id=client_id_XXXXXXXXXXXXXXXXXXX
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,9 +42,9 @@ http_interactions:
42
42
  - miss
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"status":"OK","ssh_key":{"id":3738,"name":"default","ssh_pub_key":"ssh-dss
45
+ string: "{\"status\":\"OK\",\"ssh_key\":{\"id\":3738,\"name\":\"default\",\"ssh_pub_key\":\"ssh-dss
46
46
  AAAAB3NzaC1kc3MAAACBAPThLrORruKPqm9B9WQ3Sc215mytV0R0tmGX3LowdFwLrsuhshgBQc0jQzXMrr4V+INn51ICHnNVQAgNdpglexvkevyGIw2uWqeKhHOFwKX4/vrFeCtb+MNFiI4bTuAZ2WPOrUqm9gXal3VysanjK3DQ9HxNQUjHOcPVMXrm2OzvAAAAFQCHMswAbrQ/stlOaAjz0tyxHGEHywAAAIEA0SmM7J6nZhhvY2HTviFDBsyq1acRAQ0t3ZOY030Z4XE56JvMGgkIl1ioejVNObWyNs5omSO+zpntBrvVdl2+dKe8OxUH5YS54rNA1hkJmcoPla3P/oVqvRsVoFdWjOv/KeWFoBdC/x/KGdVsI0/vJF6jpnrjkOKcGR0ih4ss29wAAACBALZxAEu9qlgTaGNPc0J041UMmbROlgayVZ0HlhqQn7jd1jjqmtJeNlG86axtbza2F3VwOhXmegTLLMHowlOoLLLzB3cCgYLT0N98uov3+1nAudnTmUVujBHNwa/oAH+1pE94ob/BPgef2mp59LRgMaes1/u8yOCURcrWU4oPsEO5
47
- rmoriz@moriz\r\n"}}'
47
+ rmoriz@moriz\\r\\n\"}}"
48
48
  http_version:
49
49
  recorded_at: Wed, 23 Jan 2013 20:12:11 GMT
50
50
  recorded_with: VCR 2.4.0