knife-digital_ocean 2.2.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +112 -20
  4. data/Rakefile +6 -0
  5. data/knife-digital_ocean.gemspec +4 -0
  6. data/lib/chef/knife/digital_ocean_base.rb +15 -0
  7. data/lib/chef/knife/digital_ocean_domain_create.rb +9 -10
  8. data/lib/chef/knife/digital_ocean_domain_destroy.rb +5 -5
  9. data/lib/chef/knife/digital_ocean_domain_list.rb +1 -2
  10. data/lib/chef/knife/digital_ocean_domain_record_create.rb +18 -18
  11. data/lib/chef/knife/digital_ocean_domain_record_destroy.rb +9 -10
  12. data/lib/chef/knife/digital_ocean_domain_record_edit.rb +21 -21
  13. data/lib/chef/knife/digital_ocean_domain_record_list.rb +4 -5
  14. data/lib/chef/knife/digital_ocean_droplet_create.rb +4 -5
  15. data/lib/chef/knife/digital_ocean_droplet_destroy.rb +3 -6
  16. data/lib/chef/knife/digital_ocean_droplet_power.rb +66 -0
  17. data/lib/chef/knife/digital_ocean_droplet_powercycle.rb +48 -0
  18. data/lib/chef/knife/digital_ocean_droplet_reboot.rb +48 -0
  19. data/lib/chef/knife/digital_ocean_droplet_rebuild.rb +58 -0
  20. data/lib/chef/knife/digital_ocean_droplet_rename.rb +58 -0
  21. data/lib/chef/knife/digital_ocean_droplet_resize.rb +58 -0
  22. data/lib/chef/knife/digital_ocean_droplet_snapshot.rb +58 -0
  23. data/lib/chef/knife/digital_ocean_image_destroy.rb +42 -0
  24. data/lib/chef/knife/digital_ocean_image_list.rb +1 -1
  25. data/lib/chef/knife/digital_ocean_image_transfer.rb +66 -0
  26. data/lib/chef/knife/digital_ocean_region_list.rb +1 -1
  27. data/lib/chef/knife/digital_ocean_sshkey_create.rb +11 -11
  28. data/lib/chef/knife/digital_ocean_sshkey_destroy.rb +6 -6
  29. data/lib/chef/knife/digital_ocean_sshkey_list.rb +1 -1
  30. data/lib/knife-digital_ocean/version.rb +1 -1
  31. data/spec/fixtures/keys/id_rsa.pub +1 -0
  32. data/spec/fixtures/vcr_cassettes/accountinfo.yml +7 -9
  33. data/spec/fixtures/vcr_cassettes/domain_create.yml +65 -0
  34. data/spec/fixtures/vcr_cassettes/{domainlist.yml → domain_list.yml} +15 -12
  35. data/spec/fixtures/vcr_cassettes/domain_record_create.yml +65 -0
  36. data/spec/fixtures/vcr_cassettes/domain_record_list.yml +63 -0
  37. data/spec/fixtures/vcr_cassettes/droplet.yml +12 -17
  38. data/spec/fixtures/vcr_cassettes/droplet_power.yml +65 -0
  39. data/spec/fixtures/vcr_cassettes/droplet_powercycle.yml +127 -0
  40. data/spec/fixtures/vcr_cassettes/droplet_reboot.yml +127 -0
  41. data/spec/fixtures/vcr_cassettes/droplet_rebuild.yml +65 -0
  42. data/spec/fixtures/vcr_cassettes/droplet_rename.yml +127 -0
  43. data/spec/fixtures/vcr_cassettes/droplet_resize.yml +65 -0
  44. data/spec/fixtures/vcr_cassettes/droplet_snapshot.yml +1057 -0
  45. data/spec/fixtures/vcr_cassettes/image.yml +55 -59
  46. data/spec/fixtures/vcr_cassettes/public_images.yml +54 -59
  47. data/spec/fixtures/vcr_cassettes/region.yml +8 -10
  48. data/spec/fixtures/vcr_cassettes/sizes.yml +8 -10
  49. data/spec/fixtures/vcr_cassettes/sshkey.yml +8 -10
  50. data/spec/fixtures/vcr_cassettes/sshkey_create.yml +68 -0
  51. data/spec/lib/chef/knife/digital_ocean_account_info_spec.rb +4 -4
  52. data/spec/lib/chef/knife/digital_ocean_domain_create_spec.rb +35 -1
  53. data/spec/lib/chef/knife/digital_ocean_domain_list_spec.rb +8 -9
  54. data/spec/lib/chef/knife/digital_ocean_domain_record_create_spec.rb +37 -1
  55. data/spec/lib/chef/knife/digital_ocean_domain_record_list_spec.rb +34 -1
  56. data/spec/lib/chef/knife/digital_ocean_droplet_create_spec.rb +5 -1
  57. data/spec/lib/chef/knife/digital_ocean_droplet_list_spec.rb +4 -4
  58. data/spec/lib/chef/knife/digital_ocean_droplet_power_spec.rb +39 -0
  59. data/spec/lib/chef/knife/digital_ocean_droplet_powercycle_spec.rb +38 -0
  60. data/spec/lib/chef/knife/digital_ocean_droplet_reboot_spec.rb +38 -0
  61. data/spec/lib/chef/knife/digital_ocean_droplet_rebuild_spec.rb +39 -0
  62. data/spec/lib/chef/knife/digital_ocean_droplet_rename_spec.rb +39 -0
  63. data/spec/lib/chef/knife/digital_ocean_droplet_resize_spec.rb +39 -0
  64. data/spec/lib/chef/knife/digital_ocean_droplet_snapshot_spec.rb +39 -0
  65. data/spec/lib/chef/knife/digital_ocean_image_list_spec.rb +8 -10
  66. data/spec/lib/chef/knife/digital_ocean_region_list_spec.rb +4 -4
  67. data/spec/lib/chef/knife/digital_ocean_size_list_spec.rb +4 -4
  68. data/spec/lib/chef/knife/digital_ocean_sshkey_create_spec.rb +35 -1
  69. data/spec/lib/chef/knife/digital_ocean_sshkey_list_spec.rb +4 -4
  70. data/spec/spec_helper.rb +29 -2
  71. metadata +93 -6
  72. data/spec/lib/chef/knife/digital_ocean_domain_record_edit_spec.rb +0 -5
@@ -0,0 +1,65 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.digitalocean.com/v2/droplets/3193966/actions
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"type":"rebuild","image":"8073571"}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ Authorization:
13
+ - Bearer FAKE_ACCESS_TOKEN
14
+ User-Agent:
15
+ - Faraday v0.9.0
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Server:
26
+ - cloudflare-nginx
27
+ Date:
28
+ - Tue, 18 Nov 2014 03:22:25 GMT
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ Transfer-Encoding:
32
+ - chunked
33
+ Connection:
34
+ - keep-alive
35
+ Set-Cookie: _COOKIE_ID_
36
+ Status:
37
+ - 201 Created
38
+ X-Frame-Options:
39
+ - SAMEORIGIN
40
+ X-Xss-Protection:
41
+ - 1; mode=block
42
+ X-Content-Type-Options:
43
+ - nosniff
44
+ Ratelimit-Limit:
45
+ - '1200'
46
+ Ratelimit-Remaining:
47
+ - '1197'
48
+ Ratelimit-Reset:
49
+ - '1416284457'
50
+ Etag:
51
+ - '"ea08394e50630400950fc136b07a7c45"'
52
+ Cache-Control:
53
+ - max-age=0, private, must-revalidate
54
+ X-Request-Id:
55
+ - 46a6bdb7-12e5-4670-ae26-95599119689c
56
+ X-Runtime:
57
+ - '0.124437'
58
+ Cf-Ray:
59
+ - 18b10b27665a0ecd-EWR
60
+ body:
61
+ encoding: UTF-8
62
+ string: '{"action":{"id":37042642,"status":"in-progress","type":"rebuild","started_at":"2014-11-18T03:22:25Z","completed_at":null,"resource_id":3193966,"resource_type":"droplet","region":"nyc3"}}'
63
+ http_version:
64
+ recorded_at: Tue, 18 Nov 2014 03:22:25 GMT
65
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,127 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.digitalocean.com/v2/droplets/3193966/actions
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"type":"rename","name":"ilikelamp.com"}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ Authorization:
13
+ - Bearer FAKE_ACCESS_TOKEN
14
+ User-Agent:
15
+ - Faraday v0.9.0
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Server:
26
+ - cloudflare-nginx
27
+ Date:
28
+ - Tue, 18 Nov 2014 01:49:45 GMT
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ Transfer-Encoding:
32
+ - chunked
33
+ Connection:
34
+ - keep-alive
35
+ Set-Cookie: _COOKIE_ID_
36
+ Status:
37
+ - 201 Created
38
+ X-Frame-Options:
39
+ - SAMEORIGIN
40
+ X-Xss-Protection:
41
+ - 1; mode=block
42
+ X-Content-Type-Options:
43
+ - nosniff
44
+ Ratelimit-Limit:
45
+ - '1200'
46
+ Ratelimit-Remaining:
47
+ - '1127'
48
+ Ratelimit-Reset:
49
+ - '1416275267'
50
+ Etag:
51
+ - '"617689ca08bc67b2313d8f7263aa95a4"'
52
+ Cache-Control:
53
+ - max-age=0, private, must-revalidate
54
+ X-Request-Id:
55
+ - e6e8f088-85f1-4884-9536-62dc36fd930e
56
+ X-Runtime:
57
+ - '0.531174'
58
+ Cf-Ray:
59
+ - 18b08366649e0ecd-EWR
60
+ body:
61
+ encoding: UTF-8
62
+ string: '{"action":{"id":37038359,"status":"in-progress","type":"rename","started_at":"2014-11-18T01:49:45Z","completed_at":null,"resource_id":3193966,"resource_type":"droplet","region":"nyc3"}}'
63
+ http_version:
64
+ recorded_at: Tue, 18 Nov 2014 01:49:45 GMT
65
+ - request:
66
+ method: get
67
+ uri: https://api.digitalocean.com/v2/droplets/3193966
68
+ body:
69
+ encoding: US-ASCII
70
+ string: ''
71
+ headers:
72
+ Content-Type:
73
+ - application/json
74
+ Authorization:
75
+ - Bearer FAKE_ACCESS_TOKEN
76
+ User-Agent:
77
+ - Faraday v0.9.0
78
+ Accept-Encoding:
79
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
80
+ Accept:
81
+ - "*/*"
82
+ response:
83
+ status:
84
+ code: 200
85
+ message: OK
86
+ headers:
87
+ Server:
88
+ - cloudflare-nginx
89
+ Date:
90
+ - Tue, 18 Nov 2014 01:49:49 GMT
91
+ Content-Type:
92
+ - application/json; charset=utf-8
93
+ Transfer-Encoding:
94
+ - chunked
95
+ Connection:
96
+ - keep-alive
97
+ Set-Cookie: _COOKIE_ID_
98
+ Status:
99
+ - 200 OK
100
+ X-Frame-Options:
101
+ - SAMEORIGIN
102
+ X-Xss-Protection:
103
+ - 1; mode=block
104
+ X-Content-Type-Options:
105
+ - nosniff
106
+ Ratelimit-Limit:
107
+ - '1200'
108
+ Ratelimit-Remaining:
109
+ - '1127'
110
+ Ratelimit-Reset:
111
+ - '1416275386'
112
+ Cache-Control:
113
+ - max-age=0, private, must-revalidate
114
+ X-Request-Id:
115
+ - c0d9f735-99fe-4be9-86ac-47582d589792
116
+ X-Runtime:
117
+ - '0.160562'
118
+ Cf-Ray:
119
+ - 18b0837da5ec0ec7-EWR
120
+ body:
121
+ encoding: UTF-8
122
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":false,"status":"active","kernel":{"id":952,"name":"Debian
123
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
124
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
125
+ http_version:
126
+ recorded_at: Tue, 18 Nov 2014 01:49:49 GMT
127
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,65 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.digitalocean.com/v2/droplets/3195306/actions
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"type":"resize","size":"1gb"}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ Authorization:
13
+ - Bearer FAKE_ACCESS_TOKEN
14
+ User-Agent:
15
+ - Faraday v0.9.0
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Server:
26
+ - cloudflare-nginx
27
+ Date:
28
+ - Tue, 18 Nov 2014 03:30:48 GMT
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ Transfer-Encoding:
32
+ - chunked
33
+ Connection:
34
+ - keep-alive
35
+ Set-Cookie: _COOKIE_ID_
36
+ Status:
37
+ - 201 Created
38
+ X-Frame-Options:
39
+ - SAMEORIGIN
40
+ X-Xss-Protection:
41
+ - 1; mode=block
42
+ X-Content-Type-Options:
43
+ - nosniff
44
+ Ratelimit-Limit:
45
+ - '1200'
46
+ Ratelimit-Remaining:
47
+ - '1189'
48
+ Ratelimit-Reset:
49
+ - '1416284457'
50
+ Etag:
51
+ - '"8d64d10904d087979071faa5d02c2bef"'
52
+ Cache-Control:
53
+ - max-age=0, private, must-revalidate
54
+ X-Request-Id:
55
+ - 9d545b7a-63d4-42e7-808a-8b603a5bf491
56
+ X-Runtime:
57
+ - '0.139524'
58
+ Cf-Ray:
59
+ - 18b1176a23030ecd-EWR
60
+ body:
61
+ encoding: UTF-8
62
+ string: '{"action":{"id":37043026,"status":"in-progress","type":"resize","started_at":"2014-11-18T03:30:48Z","completed_at":null,"resource_id":3195306,"resource_type":"droplet","region":"nyc1"}}'
63
+ http_version:
64
+ recorded_at: Tue, 18 Nov 2014 03:30:48 GMT
65
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,1057 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.digitalocean.com/v2/droplets/3193966/actions
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"type":"snapshot","name":"ilikelamp-snapshots"}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ Authorization:
13
+ - Bearer FAKE_ACCESS_TOKEN
14
+ User-Agent:
15
+ - Faraday v0.9.0
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Server:
26
+ - cloudflare-nginx
27
+ Date:
28
+ - Tue, 18 Nov 2014 02:05:59 GMT
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ Transfer-Encoding:
32
+ - chunked
33
+ Connection:
34
+ - keep-alive
35
+ Set-Cookie: _COOKIE_ID_
36
+ Status:
37
+ - 201 Created
38
+ X-Frame-Options:
39
+ - SAMEORIGIN
40
+ X-Xss-Protection:
41
+ - 1; mode=block
42
+ X-Content-Type-Options:
43
+ - nosniff
44
+ Ratelimit-Limit:
45
+ - '1200'
46
+ Ratelimit-Remaining:
47
+ - '1141'
48
+ Ratelimit-Reset:
49
+ - '1416276139'
50
+ Etag:
51
+ - '"917cb049c926d723184c06b7c29def72"'
52
+ Cache-Control:
53
+ - max-age=0, private, must-revalidate
54
+ X-Request-Id:
55
+ - c3f121e5-30b2-4dec-ae0d-f5dca31e33a9
56
+ X-Runtime:
57
+ - '0.151907'
58
+ Cf-Ray:
59
+ - 18b09b2b08440ecd-EWR
60
+ body:
61
+ encoding: UTF-8
62
+ string: '{"action":{"id":37039109,"status":"in-progress","type":"snapshot","started_at":"2014-11-18T02:05:59Z","completed_at":null,"resource_id":3193966,"resource_type":"droplet","region":"nyc3"}}'
63
+ http_version:
64
+ recorded_at: Tue, 18 Nov 2014 02:05:59 GMT
65
+ - request:
66
+ method: get
67
+ uri: https://api.digitalocean.com/v2/droplets/3193966
68
+ body:
69
+ encoding: US-ASCII
70
+ string: ''
71
+ headers:
72
+ Content-Type:
73
+ - application/json
74
+ Authorization:
75
+ - Bearer FAKE_ACCESS_TOKEN
76
+ User-Agent:
77
+ - Faraday v0.9.0
78
+ Accept-Encoding:
79
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
80
+ Accept:
81
+ - "*/*"
82
+ response:
83
+ status:
84
+ code: 200
85
+ message: OK
86
+ headers:
87
+ Server:
88
+ - cloudflare-nginx
89
+ Date:
90
+ - Tue, 18 Nov 2014 02:06:02 GMT
91
+ Content-Type:
92
+ - application/json; charset=utf-8
93
+ Transfer-Encoding:
94
+ - chunked
95
+ Connection:
96
+ - keep-alive
97
+ Set-Cookie: _COOKIE_ID_
98
+ Status:
99
+ - 200 OK
100
+ X-Frame-Options:
101
+ - SAMEORIGIN
102
+ X-Xss-Protection:
103
+ - 1; mode=block
104
+ X-Content-Type-Options:
105
+ - nosniff
106
+ Ratelimit-Limit:
107
+ - '1200'
108
+ Ratelimit-Remaining:
109
+ - '1140'
110
+ Ratelimit-Reset:
111
+ - '1416276792'
112
+ Cache-Control:
113
+ - max-age=0, private, must-revalidate
114
+ X-Request-Id:
115
+ - b30c49ea-11d1-4bc7-b3be-5631590b022e
116
+ X-Runtime:
117
+ - '0.211399'
118
+ Cf-Ray:
119
+ - 18b09b4039ad0ec7-EWR
120
+ body:
121
+ encoding: UTF-8
122
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
123
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
124
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
125
+ http_version:
126
+ recorded_at: Tue, 18 Nov 2014 02:06:02 GMT
127
+ - request:
128
+ method: get
129
+ uri: https://api.digitalocean.com/v2/droplets/3193966
130
+ body:
131
+ encoding: US-ASCII
132
+ string: ''
133
+ headers:
134
+ Content-Type:
135
+ - application/json
136
+ Authorization:
137
+ - Bearer FAKE_ACCESS_TOKEN
138
+ User-Agent:
139
+ - Faraday v0.9.0
140
+ Accept-Encoding:
141
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
142
+ Accept:
143
+ - "*/*"
144
+ response:
145
+ status:
146
+ code: 200
147
+ message: OK
148
+ headers:
149
+ Server:
150
+ - cloudflare-nginx
151
+ Date:
152
+ - Tue, 18 Nov 2014 02:06:05 GMT
153
+ Content-Type:
154
+ - application/json; charset=utf-8
155
+ Transfer-Encoding:
156
+ - chunked
157
+ Connection:
158
+ - keep-alive
159
+ Set-Cookie: _COOKIE_ID_
160
+ Status:
161
+ - 200 OK
162
+ X-Frame-Options:
163
+ - SAMEORIGIN
164
+ X-Xss-Protection:
165
+ - 1; mode=block
166
+ X-Content-Type-Options:
167
+ - nosniff
168
+ Ratelimit-Limit:
169
+ - '1200'
170
+ Ratelimit-Remaining:
171
+ - '1139'
172
+ Ratelimit-Reset:
173
+ - '1416276792'
174
+ Cache-Control:
175
+ - max-age=0, private, must-revalidate
176
+ X-Request-Id:
177
+ - 5c4a333c-ebf0-49f0-b2ed-d7d0f3353a5a
178
+ X-Runtime:
179
+ - '0.126247'
180
+ Cf-Ray:
181
+ - 18b09b5546650ecd-EWR
182
+ body:
183
+ encoding: UTF-8
184
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
185
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
186
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
187
+ http_version:
188
+ recorded_at: Tue, 18 Nov 2014 02:06:05 GMT
189
+ - request:
190
+ method: get
191
+ uri: https://api.digitalocean.com/v2/droplets/3193966
192
+ body:
193
+ encoding: US-ASCII
194
+ string: ''
195
+ headers:
196
+ Content-Type:
197
+ - application/json
198
+ Authorization:
199
+ - Bearer FAKE_ACCESS_TOKEN
200
+ User-Agent:
201
+ - Faraday v0.9.0
202
+ Accept-Encoding:
203
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
204
+ Accept:
205
+ - "*/*"
206
+ response:
207
+ status:
208
+ code: 200
209
+ message: OK
210
+ headers:
211
+ Server:
212
+ - cloudflare-nginx
213
+ Date:
214
+ - Tue, 18 Nov 2014 02:06:09 GMT
215
+ Content-Type:
216
+ - application/json; charset=utf-8
217
+ Transfer-Encoding:
218
+ - chunked
219
+ Connection:
220
+ - keep-alive
221
+ Set-Cookie: _COOKIE_ID_
222
+ Status:
223
+ - 200 OK
224
+ X-Frame-Options:
225
+ - SAMEORIGIN
226
+ X-Xss-Protection:
227
+ - 1; mode=block
228
+ X-Content-Type-Options:
229
+ - nosniff
230
+ Ratelimit-Limit:
231
+ - '1200'
232
+ Ratelimit-Remaining:
233
+ - '1138'
234
+ Ratelimit-Reset:
235
+ - '1416276792'
236
+ Cache-Control:
237
+ - max-age=0, private, must-revalidate
238
+ X-Request-Id:
239
+ - 2b12facc-6d08-415c-921c-e2052f51a951
240
+ X-Runtime:
241
+ - '0.080137'
242
+ Cf-Ray:
243
+ - 18b09b6a42920ec7-EWR
244
+ body:
245
+ encoding: UTF-8
246
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
247
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
248
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
249
+ http_version:
250
+ recorded_at: Tue, 18 Nov 2014 02:06:09 GMT
251
+ - request:
252
+ method: get
253
+ uri: https://api.digitalocean.com/v2/droplets/3193966
254
+ body:
255
+ encoding: US-ASCII
256
+ string: ''
257
+ headers:
258
+ Content-Type:
259
+ - application/json
260
+ Authorization:
261
+ - Bearer FAKE_ACCESS_TOKEN
262
+ User-Agent:
263
+ - Faraday v0.9.0
264
+ Accept-Encoding:
265
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
266
+ Accept:
267
+ - "*/*"
268
+ response:
269
+ status:
270
+ code: 200
271
+ message: OK
272
+ headers:
273
+ Server:
274
+ - cloudflare-nginx
275
+ Date:
276
+ - Tue, 18 Nov 2014 02:06:12 GMT
277
+ Content-Type:
278
+ - application/json; charset=utf-8
279
+ Transfer-Encoding:
280
+ - chunked
281
+ Connection:
282
+ - keep-alive
283
+ Set-Cookie: _COOKIE_ID_
284
+ Status:
285
+ - 200 OK
286
+ X-Frame-Options:
287
+ - SAMEORIGIN
288
+ X-Xss-Protection:
289
+ - 1; mode=block
290
+ X-Content-Type-Options:
291
+ - nosniff
292
+ Ratelimit-Limit:
293
+ - '1200'
294
+ Ratelimit-Remaining:
295
+ - '1137'
296
+ Ratelimit-Reset:
297
+ - '1416276792'
298
+ Cache-Control:
299
+ - max-age=0, private, must-revalidate
300
+ X-Request-Id:
301
+ - 775f677e-44c2-4818-ab0d-394d714a7181
302
+ X-Runtime:
303
+ - '0.077649'
304
+ Cf-Ray:
305
+ - 18b09b7e89860ecd-EWR
306
+ body:
307
+ encoding: UTF-8
308
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
309
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
310
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
311
+ http_version:
312
+ recorded_at: Tue, 18 Nov 2014 02:06:12 GMT
313
+ - request:
314
+ method: get
315
+ uri: https://api.digitalocean.com/v2/droplets/3193966
316
+ body:
317
+ encoding: US-ASCII
318
+ string: ''
319
+ headers:
320
+ Content-Type:
321
+ - application/json
322
+ Authorization:
323
+ - Bearer FAKE_ACCESS_TOKEN
324
+ User-Agent:
325
+ - Faraday v0.9.0
326
+ Accept-Encoding:
327
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
328
+ Accept:
329
+ - "*/*"
330
+ response:
331
+ status:
332
+ code: 200
333
+ message: OK
334
+ headers:
335
+ Server:
336
+ - cloudflare-nginx
337
+ Date:
338
+ - Tue, 18 Nov 2014 02:06:15 GMT
339
+ Content-Type:
340
+ - application/json; charset=utf-8
341
+ Transfer-Encoding:
342
+ - chunked
343
+ Connection:
344
+ - keep-alive
345
+ Set-Cookie: _COOKIE_ID_
346
+ Status:
347
+ - 200 OK
348
+ X-Frame-Options:
349
+ - SAMEORIGIN
350
+ X-Xss-Protection:
351
+ - 1; mode=block
352
+ X-Content-Type-Options:
353
+ - nosniff
354
+ Ratelimit-Limit:
355
+ - '1200'
356
+ Ratelimit-Remaining:
357
+ - '1136'
358
+ Ratelimit-Reset:
359
+ - '1416276792'
360
+ Cache-Control:
361
+ - max-age=0, private, must-revalidate
362
+ X-Request-Id:
363
+ - 4c946f56-29c0-4d8f-92fb-12029fc56fa9
364
+ X-Runtime:
365
+ - '0.185888'
366
+ Cf-Ray:
367
+ - 18b09b92bd8d0ec7-EWR
368
+ body:
369
+ encoding: UTF-8
370
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
371
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
372
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
373
+ http_version:
374
+ recorded_at: Tue, 18 Nov 2014 02:06:15 GMT
375
+ - request:
376
+ method: get
377
+ uri: https://api.digitalocean.com/v2/droplets/3193966
378
+ body:
379
+ encoding: US-ASCII
380
+ string: ''
381
+ headers:
382
+ Content-Type:
383
+ - application/json
384
+ Authorization:
385
+ - Bearer FAKE_ACCESS_TOKEN
386
+ User-Agent:
387
+ - Faraday v0.9.0
388
+ Accept-Encoding:
389
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
390
+ Accept:
391
+ - "*/*"
392
+ response:
393
+ status:
394
+ code: 200
395
+ message: OK
396
+ headers:
397
+ Server:
398
+ - cloudflare-nginx
399
+ Date:
400
+ - Tue, 18 Nov 2014 02:06:19 GMT
401
+ Content-Type:
402
+ - application/json; charset=utf-8
403
+ Transfer-Encoding:
404
+ - chunked
405
+ Connection:
406
+ - keep-alive
407
+ Set-Cookie: _COOKIE_ID_
408
+ Status:
409
+ - 200 OK
410
+ X-Frame-Options:
411
+ - SAMEORIGIN
412
+ X-Xss-Protection:
413
+ - 1; mode=block
414
+ X-Content-Type-Options:
415
+ - nosniff
416
+ Ratelimit-Limit:
417
+ - '1200'
418
+ Ratelimit-Remaining:
419
+ - '1135'
420
+ Ratelimit-Reset:
421
+ - '1416276792'
422
+ Cache-Control:
423
+ - max-age=0, private, must-revalidate
424
+ X-Request-Id:
425
+ - f2615512-0adf-4084-8965-c4cc4fa7f7b4
426
+ X-Runtime:
427
+ - '0.134714'
428
+ Cf-Ray:
429
+ - 18b09ba7b2c60ecd-EWR
430
+ body:
431
+ encoding: UTF-8
432
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
433
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
434
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
435
+ http_version:
436
+ recorded_at: Tue, 18 Nov 2014 02:06:19 GMT
437
+ - request:
438
+ method: get
439
+ uri: https://api.digitalocean.com/v2/droplets/3193966
440
+ body:
441
+ encoding: US-ASCII
442
+ string: ''
443
+ headers:
444
+ Content-Type:
445
+ - application/json
446
+ Authorization:
447
+ - Bearer FAKE_ACCESS_TOKEN
448
+ User-Agent:
449
+ - Faraday v0.9.0
450
+ Accept-Encoding:
451
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
452
+ Accept:
453
+ - "*/*"
454
+ response:
455
+ status:
456
+ code: 200
457
+ message: OK
458
+ headers:
459
+ Server:
460
+ - cloudflare-nginx
461
+ Date:
462
+ - Tue, 18 Nov 2014 02:06:22 GMT
463
+ Content-Type:
464
+ - application/json; charset=utf-8
465
+ Transfer-Encoding:
466
+ - chunked
467
+ Connection:
468
+ - keep-alive
469
+ Set-Cookie: _COOKIE_ID_
470
+ Status:
471
+ - 200 OK
472
+ X-Frame-Options:
473
+ - SAMEORIGIN
474
+ X-Xss-Protection:
475
+ - 1; mode=block
476
+ X-Content-Type-Options:
477
+ - nosniff
478
+ Ratelimit-Limit:
479
+ - '1200'
480
+ Ratelimit-Remaining:
481
+ - '1134'
482
+ Ratelimit-Reset:
483
+ - '1416276792'
484
+ Cache-Control:
485
+ - max-age=0, private, must-revalidate
486
+ X-Request-Id:
487
+ - e5117c9f-d728-4015-b047-a6c1f5ac7dce
488
+ X-Runtime:
489
+ - '0.148326'
490
+ Cf-Ray:
491
+ - 18b09bbceba20ec7-EWR
492
+ body:
493
+ encoding: UTF-8
494
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
495
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
496
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
497
+ http_version:
498
+ recorded_at: Tue, 18 Nov 2014 02:06:22 GMT
499
+ - request:
500
+ method: get
501
+ uri: https://api.digitalocean.com/v2/droplets/3193966
502
+ body:
503
+ encoding: US-ASCII
504
+ string: ''
505
+ headers:
506
+ Content-Type:
507
+ - application/json
508
+ Authorization:
509
+ - Bearer FAKE_ACCESS_TOKEN
510
+ User-Agent:
511
+ - Faraday v0.9.0
512
+ Accept-Encoding:
513
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
514
+ Accept:
515
+ - "*/*"
516
+ response:
517
+ status:
518
+ code: 200
519
+ message: OK
520
+ headers:
521
+ Server:
522
+ - cloudflare-nginx
523
+ Date:
524
+ - Tue, 18 Nov 2014 02:06:26 GMT
525
+ Content-Type:
526
+ - application/json; charset=utf-8
527
+ Transfer-Encoding:
528
+ - chunked
529
+ Connection:
530
+ - keep-alive
531
+ Set-Cookie: _COOKIE_ID_
532
+ Status:
533
+ - 200 OK
534
+ X-Frame-Options:
535
+ - SAMEORIGIN
536
+ X-Xss-Protection:
537
+ - 1; mode=block
538
+ X-Content-Type-Options:
539
+ - nosniff
540
+ Ratelimit-Limit:
541
+ - '1200'
542
+ Ratelimit-Remaining:
543
+ - '1133'
544
+ Ratelimit-Reset:
545
+ - '1416276792'
546
+ Cache-Control:
547
+ - max-age=0, private, must-revalidate
548
+ X-Request-Id:
549
+ - ff906242-a4a2-4d1e-a5c5-ce02f6c17a30
550
+ X-Runtime:
551
+ - '0.439403'
552
+ Cf-Ray:
553
+ - 18b09bd184ae0ecd-EWR
554
+ body:
555
+ encoding: UTF-8
556
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
557
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
558
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
559
+ http_version:
560
+ recorded_at: Tue, 18 Nov 2014 02:06:26 GMT
561
+ - request:
562
+ method: get
563
+ uri: https://api.digitalocean.com/v2/droplets/3193966
564
+ body:
565
+ encoding: US-ASCII
566
+ string: ''
567
+ headers:
568
+ Content-Type:
569
+ - application/json
570
+ Authorization:
571
+ - Bearer FAKE_ACCESS_TOKEN
572
+ User-Agent:
573
+ - Faraday v0.9.0
574
+ Accept-Encoding:
575
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
576
+ Accept:
577
+ - "*/*"
578
+ response:
579
+ status:
580
+ code: 200
581
+ message: OK
582
+ headers:
583
+ Server:
584
+ - cloudflare-nginx
585
+ Date:
586
+ - Tue, 18 Nov 2014 02:06:29 GMT
587
+ Content-Type:
588
+ - application/json; charset=utf-8
589
+ Transfer-Encoding:
590
+ - chunked
591
+ Connection:
592
+ - keep-alive
593
+ Set-Cookie: _COOKIE_ID_
594
+ Status:
595
+ - 200 OK
596
+ X-Frame-Options:
597
+ - SAMEORIGIN
598
+ X-Xss-Protection:
599
+ - 1; mode=block
600
+ X-Content-Type-Options:
601
+ - nosniff
602
+ Ratelimit-Limit:
603
+ - '1200'
604
+ Ratelimit-Remaining:
605
+ - '1132'
606
+ Ratelimit-Reset:
607
+ - '1416276792'
608
+ Cache-Control:
609
+ - max-age=0, private, must-revalidate
610
+ X-Request-Id:
611
+ - 84e675d3-524d-401a-bae1-5a6b14154e82
612
+ X-Runtime:
613
+ - '0.133115'
614
+ Cf-Ray:
615
+ - 18b09be84fa50ec7-EWR
616
+ body:
617
+ encoding: UTF-8
618
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
619
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
620
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
621
+ http_version:
622
+ recorded_at: Tue, 18 Nov 2014 02:06:29 GMT
623
+ - request:
624
+ method: get
625
+ uri: https://api.digitalocean.com/v2/droplets/3193966
626
+ body:
627
+ encoding: US-ASCII
628
+ string: ''
629
+ headers:
630
+ Content-Type:
631
+ - application/json
632
+ Authorization:
633
+ - Bearer FAKE_ACCESS_TOKEN
634
+ User-Agent:
635
+ - Faraday v0.9.0
636
+ Accept-Encoding:
637
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
638
+ Accept:
639
+ - "*/*"
640
+ response:
641
+ status:
642
+ code: 200
643
+ message: OK
644
+ headers:
645
+ Server:
646
+ - cloudflare-nginx
647
+ Date:
648
+ - Tue, 18 Nov 2014 02:06:32 GMT
649
+ Content-Type:
650
+ - application/json; charset=utf-8
651
+ Transfer-Encoding:
652
+ - chunked
653
+ Connection:
654
+ - keep-alive
655
+ Set-Cookie: _COOKIE_ID_
656
+ Status:
657
+ - 200 OK
658
+ X-Frame-Options:
659
+ - SAMEORIGIN
660
+ X-Xss-Protection:
661
+ - 1; mode=block
662
+ X-Content-Type-Options:
663
+ - nosniff
664
+ Ratelimit-Limit:
665
+ - '1200'
666
+ Ratelimit-Remaining:
667
+ - '1131'
668
+ Ratelimit-Reset:
669
+ - '1416276792'
670
+ Cache-Control:
671
+ - max-age=0, private, must-revalidate
672
+ X-Request-Id:
673
+ - 7a256e5d-4d0a-453c-b36b-ca27557b9ef0
674
+ X-Runtime:
675
+ - '0.101358'
676
+ Cf-Ray:
677
+ - 18b09bff3a590ecd-EWR
678
+ body:
679
+ encoding: UTF-8
680
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
681
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
682
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
683
+ http_version:
684
+ recorded_at: Tue, 18 Nov 2014 02:06:32 GMT
685
+ - request:
686
+ method: get
687
+ uri: https://api.digitalocean.com/v2/droplets/3193966
688
+ body:
689
+ encoding: US-ASCII
690
+ string: ''
691
+ headers:
692
+ Content-Type:
693
+ - application/json
694
+ Authorization:
695
+ - Bearer FAKE_ACCESS_TOKEN
696
+ User-Agent:
697
+ - Faraday v0.9.0
698
+ Accept-Encoding:
699
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
700
+ Accept:
701
+ - "*/*"
702
+ response:
703
+ status:
704
+ code: 200
705
+ message: OK
706
+ headers:
707
+ Server:
708
+ - cloudflare-nginx
709
+ Date:
710
+ - Tue, 18 Nov 2014 02:06:36 GMT
711
+ Content-Type:
712
+ - application/json; charset=utf-8
713
+ Transfer-Encoding:
714
+ - chunked
715
+ Connection:
716
+ - keep-alive
717
+ Set-Cookie: _COOKIE_ID_
718
+ Status:
719
+ - 200 OK
720
+ X-Frame-Options:
721
+ - SAMEORIGIN
722
+ X-Xss-Protection:
723
+ - 1; mode=block
724
+ X-Content-Type-Options:
725
+ - nosniff
726
+ Ratelimit-Limit:
727
+ - '1200'
728
+ Ratelimit-Remaining:
729
+ - '1130'
730
+ Ratelimit-Reset:
731
+ - '1416276792'
732
+ Cache-Control:
733
+ - max-age=0, private, must-revalidate
734
+ X-Request-Id:
735
+ - dd503193-ab67-4915-994a-8afed0a35e3f
736
+ X-Runtime:
737
+ - '0.108243'
738
+ Cf-Ray:
739
+ - 18b09c13952e0ec7-EWR
740
+ body:
741
+ encoding: UTF-8
742
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
743
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
744
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
745
+ http_version:
746
+ recorded_at: Tue, 18 Nov 2014 02:06:36 GMT
747
+ - request:
748
+ method: get
749
+ uri: https://api.digitalocean.com/v2/droplets/3193966
750
+ body:
751
+ encoding: US-ASCII
752
+ string: ''
753
+ headers:
754
+ Content-Type:
755
+ - application/json
756
+ Authorization:
757
+ - Bearer FAKE_ACCESS_TOKEN
758
+ User-Agent:
759
+ - Faraday v0.9.0
760
+ Accept-Encoding:
761
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
762
+ Accept:
763
+ - "*/*"
764
+ response:
765
+ status:
766
+ code: 200
767
+ message: OK
768
+ headers:
769
+ Server:
770
+ - cloudflare-nginx
771
+ Date:
772
+ - Tue, 18 Nov 2014 02:06:39 GMT
773
+ Content-Type:
774
+ - application/json; charset=utf-8
775
+ Transfer-Encoding:
776
+ - chunked
777
+ Connection:
778
+ - keep-alive
779
+ Set-Cookie: _COOKIE_ID_
780
+ Status:
781
+ - 200 OK
782
+ X-Frame-Options:
783
+ - SAMEORIGIN
784
+ X-Xss-Protection:
785
+ - 1; mode=block
786
+ X-Content-Type-Options:
787
+ - nosniff
788
+ Ratelimit-Limit:
789
+ - '1200'
790
+ Ratelimit-Remaining:
791
+ - '1129'
792
+ Ratelimit-Reset:
793
+ - '1416276792'
794
+ Cache-Control:
795
+ - max-age=0, private, must-revalidate
796
+ X-Request-Id:
797
+ - bd770269-3775-4f59-8c09-7c3fb481d338
798
+ X-Runtime:
799
+ - '0.142762'
800
+ Cf-Ray:
801
+ - 18b09c28a6b40ecd-EWR
802
+ body:
803
+ encoding: UTF-8
804
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
805
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
806
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
807
+ http_version:
808
+ recorded_at: Tue, 18 Nov 2014 02:06:39 GMT
809
+ - request:
810
+ method: get
811
+ uri: https://api.digitalocean.com/v2/droplets/3193966
812
+ body:
813
+ encoding: US-ASCII
814
+ string: ''
815
+ headers:
816
+ Content-Type:
817
+ - application/json
818
+ Authorization:
819
+ - Bearer FAKE_ACCESS_TOKEN
820
+ User-Agent:
821
+ - Faraday v0.9.0
822
+ Accept-Encoding:
823
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
824
+ Accept:
825
+ - "*/*"
826
+ response:
827
+ status:
828
+ code: 200
829
+ message: OK
830
+ headers:
831
+ Server:
832
+ - cloudflare-nginx
833
+ Date:
834
+ - Tue, 18 Nov 2014 02:06:43 GMT
835
+ Content-Type:
836
+ - application/json; charset=utf-8
837
+ Transfer-Encoding:
838
+ - chunked
839
+ Connection:
840
+ - keep-alive
841
+ Set-Cookie: _COOKIE_ID_
842
+ Status:
843
+ - 200 OK
844
+ X-Frame-Options:
845
+ - SAMEORIGIN
846
+ X-Xss-Protection:
847
+ - 1; mode=block
848
+ X-Content-Type-Options:
849
+ - nosniff
850
+ Ratelimit-Limit:
851
+ - '1200'
852
+ Ratelimit-Remaining:
853
+ - '1128'
854
+ Ratelimit-Reset:
855
+ - '1416276792'
856
+ Cache-Control:
857
+ - max-age=0, private, must-revalidate
858
+ X-Request-Id:
859
+ - b32259ba-968e-4eb7-b630-04aa9052afa1
860
+ X-Runtime:
861
+ - '0.396224'
862
+ Cf-Ray:
863
+ - 18b09c3d88270ec7-EWR
864
+ body:
865
+ encoding: UTF-8
866
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
867
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
868
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
869
+ http_version:
870
+ recorded_at: Tue, 18 Nov 2014 02:06:43 GMT
871
+ - request:
872
+ method: get
873
+ uri: https://api.digitalocean.com/v2/droplets/3193966
874
+ body:
875
+ encoding: US-ASCII
876
+ string: ''
877
+ headers:
878
+ Content-Type:
879
+ - application/json
880
+ Authorization:
881
+ - Bearer FAKE_ACCESS_TOKEN
882
+ User-Agent:
883
+ - Faraday v0.9.0
884
+ Accept-Encoding:
885
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
886
+ Accept:
887
+ - "*/*"
888
+ response:
889
+ status:
890
+ code: 200
891
+ message: OK
892
+ headers:
893
+ Server:
894
+ - cloudflare-nginx
895
+ Date:
896
+ - Tue, 18 Nov 2014 02:06:46 GMT
897
+ Content-Type:
898
+ - application/json; charset=utf-8
899
+ Transfer-Encoding:
900
+ - chunked
901
+ Connection:
902
+ - keep-alive
903
+ Set-Cookie: _COOKIE_ID_
904
+ Status:
905
+ - 200 OK
906
+ X-Frame-Options:
907
+ - SAMEORIGIN
908
+ X-Xss-Protection:
909
+ - 1; mode=block
910
+ X-Content-Type-Options:
911
+ - nosniff
912
+ Ratelimit-Limit:
913
+ - '1200'
914
+ Ratelimit-Remaining:
915
+ - '1127'
916
+ Ratelimit-Reset:
917
+ - '1416276792'
918
+ Cache-Control:
919
+ - max-age=0, private, must-revalidate
920
+ X-Request-Id:
921
+ - ff740ec6-713c-4028-a14f-68bf32919684
922
+ X-Runtime:
923
+ - '0.100713'
924
+ Cf-Ray:
925
+ - 18b09c53ca8f0ecd-EWR
926
+ body:
927
+ encoding: UTF-8
928
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
929
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
930
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
931
+ http_version:
932
+ recorded_at: Tue, 18 Nov 2014 02:06:46 GMT
933
+ - request:
934
+ method: get
935
+ uri: https://api.digitalocean.com/v2/droplets/3193966
936
+ body:
937
+ encoding: US-ASCII
938
+ string: ''
939
+ headers:
940
+ Content-Type:
941
+ - application/json
942
+ Authorization:
943
+ - Bearer FAKE_ACCESS_TOKEN
944
+ User-Agent:
945
+ - Faraday v0.9.0
946
+ Accept-Encoding:
947
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
948
+ Accept:
949
+ - "*/*"
950
+ response:
951
+ status:
952
+ code: 200
953
+ message: OK
954
+ headers:
955
+ Server:
956
+ - cloudflare-nginx
957
+ Date:
958
+ - Tue, 18 Nov 2014 02:06:49 GMT
959
+ Content-Type:
960
+ - application/json; charset=utf-8
961
+ Transfer-Encoding:
962
+ - chunked
963
+ Connection:
964
+ - keep-alive
965
+ Set-Cookie: _COOKIE_ID_
966
+ Status:
967
+ - 200 OK
968
+ X-Frame-Options:
969
+ - SAMEORIGIN
970
+ X-Xss-Protection:
971
+ - 1; mode=block
972
+ X-Content-Type-Options:
973
+ - nosniff
974
+ Ratelimit-Limit:
975
+ - '1200'
976
+ Ratelimit-Remaining:
977
+ - '1126'
978
+ Ratelimit-Reset:
979
+ - '1416276792'
980
+ Cache-Control:
981
+ - max-age=0, private, must-revalidate
982
+ X-Request-Id:
983
+ - af189ac2-8e18-4421-8114-2c5e62a67345
984
+ X-Runtime:
985
+ - '0.156593'
986
+ Cf-Ray:
987
+ - 18b09c681b770ec7-EWR
988
+ body:
989
+ encoding: UTF-8
990
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":true,"status":"off","kernel":{"id":952,"name":"Debian
991
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
992
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
993
+ http_version:
994
+ recorded_at: Tue, 18 Nov 2014 02:06:49 GMT
995
+ - request:
996
+ method: get
997
+ uri: https://api.digitalocean.com/v2/droplets/3193966
998
+ body:
999
+ encoding: US-ASCII
1000
+ string: ''
1001
+ headers:
1002
+ Content-Type:
1003
+ - application/json
1004
+ Authorization:
1005
+ - Bearer FAKE_ACCESS_TOKEN
1006
+ User-Agent:
1007
+ - Faraday v0.9.0
1008
+ Accept-Encoding:
1009
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1010
+ Accept:
1011
+ - "*/*"
1012
+ response:
1013
+ status:
1014
+ code: 200
1015
+ message: OK
1016
+ headers:
1017
+ Server:
1018
+ - cloudflare-nginx
1019
+ Date:
1020
+ - Tue, 18 Nov 2014 02:06:53 GMT
1021
+ Content-Type:
1022
+ - application/json; charset=utf-8
1023
+ Transfer-Encoding:
1024
+ - chunked
1025
+ Connection:
1026
+ - keep-alive
1027
+ Set-Cookie: _COOKIE_ID_
1028
+ Status:
1029
+ - 200 OK
1030
+ X-Frame-Options:
1031
+ - SAMEORIGIN
1032
+ X-Xss-Protection:
1033
+ - 1; mode=block
1034
+ X-Content-Type-Options:
1035
+ - nosniff
1036
+ Ratelimit-Limit:
1037
+ - '1200'
1038
+ Ratelimit-Remaining:
1039
+ - '1125'
1040
+ Ratelimit-Reset:
1041
+ - '1416276792'
1042
+ Cache-Control:
1043
+ - max-age=0, private, must-revalidate
1044
+ X-Request-Id:
1045
+ - 51955b6e-aab8-44b9-a5fc-0903e9ad267e
1046
+ X-Runtime:
1047
+ - '0.142730'
1048
+ Cf-Ray:
1049
+ - 18b09c7d7d860ecd-EWR
1050
+ body:
1051
+ encoding: UTF-8
1052
+ string: '{"droplet":{"id":3193966,"name":"ilikelamp.com","memory":512,"vcpus":1,"disk":20,"locked":false,"status":"active","kernel":{"id":952,"name":"Debian
1053
+ 7.0 x64 vmlinuz-3.2.0-4-amd64 (3.2.54-2)","version":"3.2.0-4-amd64"},"created_at":"2014-11-18T00:29:26Z","features":["virtio"],"backup_ids":[],"snapshot_ids":[8073571,8075632],"image":{"id":8073571,"name":"rebuild-snapshot","distribution":"Debian","slug":null,"public":false,"regions":["nyc3","nyc3"],"created_at":"2014-11-18T00:58:36Z","min_disk_size":20},"size_slug":"512mb","networks":{"v4":[{"ip_address":"104.236.29.101","netmask":"255.255.192.0","gateway":"104.236.0.1","type":"public"}],"v6":[]},"region":{"name":"New
1054
+ York 3","slug":"nyc3","sizes":["32gb","16gb","2gb","1gb","4gb","8gb","512mb","64gb","48gb"],"features":["virtio","private_networking","backups","ipv6","metadata"],"available":true}}}'
1055
+ http_version:
1056
+ recorded_at: Tue, 18 Nov 2014 02:06:53 GMT
1057
+ recorded_with: VCR 2.9.3