dawn-cli 0.9.1 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -3
- data/bin/dawni +15 -0
- data/lib/dawn/cli/commands.rb +9 -8
- data/lib/dawn/cli/commands/app.rb +35 -6
- data/lib/dawn/cli/commands/auth.rb +9 -7
- data/lib/dawn/cli/commands/base_commands.rb +31 -0
- data/lib/dawn/cli/commands/domain.rb +15 -5
- data/lib/dawn/cli/commands/drain.rb +15 -5
- data/lib/dawn/cli/commands/env.rb +25 -14
- data/lib/dawn/cli/commands/key.rb +20 -7
- data/lib/dawn/cli/commands/local.rb +13 -3
- data/lib/dawn/cli/commands/release.rb +6 -4
- data/lib/dawn/cli/helpers.rb +3 -5
- data/lib/dawn/cli/output_formatter.rb +15 -2
- data/lib/dawn/cli/parser.rb +58 -36
- data/lib/dawn/cli/version.rb +2 -2
- data/spec/api.log +45272 -0
- data/spec/cli/commands/app_spec.rb +71 -0
- data/spec/cli/commands/auth_spec.rb +13 -0
- data/spec/cli/commands/domain_spec.rb +25 -0
- data/spec/cli/commands/drain_spec.rb +25 -0
- data/spec/cli/commands/env_spec.rb +26 -0
- data/spec/cli/commands/key_spec.rb +30 -0
- data/spec/cli/commands/local_spec.rb +15 -0
- data/spec/cli/commands/release_spec.rb +19 -0
- data/spec/cli/parser_spec.rb +262 -0
- data/spec/cli_spec_helper.rb +13 -0
- data/spec/support/vcr.rb +11 -0
- data/spec/vcr/Dawn_CLI_App/_create/should_create_a_new_app_with_a_name.yml +51 -0
- data/spec/vcr/Dawn_CLI_App/_create/should_create_a_new_app_without_a_name.yml +51 -0
- data/spec/vcr/Dawn_CLI_App/_delete/should_delete_current_app.yml +98 -0
- data/spec/vcr/Dawn_CLI_App/_list/should_list_all_available_apps.yml +65 -0
- data/spec/vcr/Dawn_CLI_App/_list_gears/should_list_all_gears_for_current_app.yml +98 -0
- data/spec/vcr/Dawn_CLI_App/_logs/should_trail_the_current_app_s_logs.yml +98 -0
- data/spec/vcr/Dawn_CLI_App/_scale/should_modify_the_formation_for_the_current_app.yml +98 -0
- data/spec/vcr/Dawn_CLI_Auth/_login/should_login_using_proper_credentials.yml +48 -0
- data/spec/vcr/Dawn_CLI_Auth/_login/should_not_login_using_invalid_credentials.yml +46 -0
- data/spec/vcr/Dawn_CLI_Domain/_add/should_add_a_domain_to_the_current_app.yml +96 -0
- data/spec/vcr/Dawn_CLI_Domain/_delete/should_delete_a_domain_to_the_current_app.yml +97 -0
- data/spec/vcr/Dawn_CLI_Domain/_list/should_list_all_domains_for_current_app.yml +102 -0
- data/spec/vcr/Dawn_CLI_Drain/_add/should_add_a_drain_to_the_current_app.yml +359 -0
- data/spec/vcr/Dawn_CLI_Drain/_delete/should_remove_a_drain_from_current_app.yml +476 -0
- data/spec/vcr/Dawn_CLI_Drain/_list/should_list_all_drains_for_current_app.yml +98 -0
- data/spec/vcr/Dawn_CLI_Env/_get/should_retrieve_an_ENV_variable_given_a_key.yml +51 -0
- data/spec/vcr/Dawn_CLI_Env/_set/should_set_an_ENV_variable_given_a_Hash.yml +424 -0
- data/spec/vcr/Dawn_CLI_Env/_unset/should_remove_an_ENV_variable_given_a_key.yml +275 -0
- data/spec/vcr/Dawn_CLI_Key/_add/should_add_existing_id_rsa.yml +52 -0
- data/spec/vcr/Dawn_CLI_Key/_delete/should_delete_a_key_by_id.yml +101 -0
- data/spec/vcr/Dawn_CLI_Key/_get/should_retrieve_a_key_by_id.yml +102 -0
- data/spec/vcr/Dawn_CLI_Key/_list/should_list_all_keys_deployed.yml +53 -0
- data/spec/vcr/Dawn_CLI_Local/_health_check/should_verify_that_server_is_running.yml +50 -0
- data/spec/vcr/Dawn_CLI_Local/_whoami/should_print_current_user_to_console.yml +51 -0
- metadata +43 -4
@@ -0,0 +1,275 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.dawn.dev/apps/env-test
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip
|
16
|
+
User-Agent:
|
17
|
+
- dawn/0.10.1
|
18
|
+
X-Ruby-Version:
|
19
|
+
- 2.1.2
|
20
|
+
X-Ruby-Platform:
|
21
|
+
- x86_64-linux
|
22
|
+
Authorization:
|
23
|
+
- Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 200
|
27
|
+
message:
|
28
|
+
headers:
|
29
|
+
content-type:
|
30
|
+
- text/html
|
31
|
+
etag:
|
32
|
+
- '"12423b39d6aa36cbfabe6db4db698199"'
|
33
|
+
cache-control:
|
34
|
+
- max-age=0, private, must-revalidate
|
35
|
+
x-request-id:
|
36
|
+
- 7813f247-a48a-4414-b18f-df26158d1176
|
37
|
+
x-runtime:
|
38
|
+
- '0.020455'
|
39
|
+
transfer-encoding:
|
40
|
+
- ''
|
41
|
+
connection:
|
42
|
+
- TE, close
|
43
|
+
Date:
|
44
|
+
- Tue, 24 Jun 2014 22:26:49 GMT
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: '{"app":{"id":10,"created_at":"2014-06-24 18:36:22 UTC","updated_at":"2014-06-24
|
48
|
+
18:36:22 UTC","name":"env-test","version":0,"env":{},"formation":{"web":"1"},"url":"env-test.dawnapp.dev"}}'
|
49
|
+
http_version:
|
50
|
+
recorded_at: Tue, 24 Jun 2014 22:27:09 GMT
|
51
|
+
- request:
|
52
|
+
method: post
|
53
|
+
uri: http://api.dawn.dev/apps/10/env
|
54
|
+
body:
|
55
|
+
encoding: UTF-8
|
56
|
+
string: '{"app":{"env":{}}}'
|
57
|
+
headers:
|
58
|
+
Accept:
|
59
|
+
- application/json
|
60
|
+
Content-Type:
|
61
|
+
- application/json
|
62
|
+
Accept-Encoding:
|
63
|
+
- gzip
|
64
|
+
User-Agent:
|
65
|
+
- dawn/0.10.1
|
66
|
+
X-Ruby-Version:
|
67
|
+
- 2.1.2
|
68
|
+
X-Ruby-Platform:
|
69
|
+
- x86_64-linux
|
70
|
+
Authorization:
|
71
|
+
- Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
|
72
|
+
response:
|
73
|
+
status:
|
74
|
+
code: 400
|
75
|
+
message:
|
76
|
+
headers:
|
77
|
+
content-type:
|
78
|
+
- text/html; charset=utf-8
|
79
|
+
x-request-id:
|
80
|
+
- a3adb474-ab4a-4d1a-951f-50a736a1f794
|
81
|
+
x-runtime:
|
82
|
+
- '0.062321'
|
83
|
+
content-length:
|
84
|
+
- '15361'
|
85
|
+
connection:
|
86
|
+
- TE, close
|
87
|
+
Date:
|
88
|
+
- Tue, 24 Jun 2014 22:27:05 GMT
|
89
|
+
body:
|
90
|
+
encoding: UTF-8
|
91
|
+
string: "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\"
|
92
|
+
/>\n <title>Action Controller: Exception caught</title>\n <style>\n body
|
93
|
+
{\n background-color: #FAFAFA;\n color: #333;\n margin: 0px;\n
|
94
|
+
\ }\n\n body, p, ol, ul, td {\n font-family: helvetica, verdana,
|
95
|
+
arial, sans-serif;\n font-size: 13px;\n line-height: 18px;\n }\n\n
|
96
|
+
\ pre {\n font-size: 11px;\n white-space: pre-wrap;\n }\n\n
|
97
|
+
\ pre.box {\n border: 1px solid #EEE;\n padding: 10px;\n margin:
|
98
|
+
0px;\n width: 958px;\n }\n\n header {\n color: #F0F0F0;\n
|
99
|
+
\ background: #C52F24;\n padding: 0.5em 1.5em;\n }\n\n h1 {\n
|
100
|
+
\ margin: 0.2em 0;\n line-height: 1.1em;\n font-size: 2em;\n
|
101
|
+
\ }\n\n h2 {\n color: #C52F24;\n line-height: 25px;\n }\n\n
|
102
|
+
\ .details {\n border: 1px solid #D0D0D0;\n border-radius: 4px;\n
|
103
|
+
\ margin: 1em 0px;\n display: block;\n width: 978px;\n }\n\n
|
104
|
+
\ .summary {\n padding: 8px 15px;\n border-bottom: 1px solid #D0D0D0;\n
|
105
|
+
\ display: block;\n }\n\n .details pre {\n margin: 5px;\n border:
|
106
|
+
none;\n }\n\n #container {\n box-sizing: border-box;\n width:
|
107
|
+
100%;\n padding: 0 1.5em;\n }\n\n .source * {\n margin: 0px;\n
|
108
|
+
\ padding: 0px;\n }\n\n .source {\n border: 1px solid #D9D9D9;\n
|
109
|
+
\ background: #ECECEC;\n width: 978px;\n }\n\n .source pre
|
110
|
+
{\n padding: 10px 0px;\n border: none;\n }\n\n .source .data
|
111
|
+
{\n font-size: 80%;\n overflow: auto;\n background-color: #FFF;\n
|
112
|
+
\ }\n\n .info {\n padding: 0.5em;\n }\n\n .source .data .line_numbers
|
113
|
+
{\n background-color: #ECECEC;\n color: #AAA;\n padding: 1em
|
114
|
+
.5em;\n border-right: 1px solid #DDD;\n text-align: right;\n }\n\n
|
115
|
+
\ .line {\n padding-left: 10px;\n }\n\n .line:hover {\n background-color:
|
116
|
+
#F6F6F6;\n }\n\n .line.active {\n background-color: #FFCCCC;\n
|
117
|
+
\ }\n\n a { color: #980905; }\n a:visited { color: #666; }\n a:hover
|
118
|
+
{ color: #C52F24; }\n\n \n </style>\n\n <script>\n var toggle = function(id)
|
119
|
+
{\n var s = document.getElementById(id).style;\n s.display = s.display
|
120
|
+
== 'none' ? 'block' : 'none';\n return false;\n }\n var show =
|
121
|
+
function(id) {\n document.getElementById(id).style.display = 'block';\n
|
122
|
+
\ }\n var hide = function(id) {\n document.getElementById(id).style.display
|
123
|
+
= 'none';\n }\n var toggleTrace = function() {\n return toggle('blame_trace');\n
|
124
|
+
\ }\n var toggleSessionDump = function() {\n return toggle('session_dump');\n
|
125
|
+
\ }\n var toggleEnvDump = function() {\n return toggle('env_dump');\n
|
126
|
+
\ }\n </script>\n</head>\n<body>\n\n<header>\n <h1>\n ActionController::ParameterMissing\n
|
127
|
+
\ in AppsController#update_env\n </h1>\n</header>\n\n<div id=\"container\">\n
|
128
|
+
\ <h2>param is missing or the value is empty: env</h2>\n\n <div class=\"source\">\n<div
|
129
|
+
class=\"info\">\n Extracted source (around line <strong>#49</strong>):\n</div>\n<div
|
130
|
+
class=\"data\">\n <table cellpadding=\"0\" cellspacing=\"0\" class=\"lines\">\n
|
131
|
+
\ <tr>\n <td>\n <pre class=\"line_numbers\">\n<span>47</span>\n<span>48</span>\n<span>49</span>\n<span>50</span>\n<span>51</span>\n<span>52</span>\n
|
132
|
+
\ </pre>\n </td>\n<td width=\"100%\">\n<pre>\n<div class=\"line\">\n</div><div
|
133
|
+
class=\"line\"> def update_env\n</div><div class=\"line active\"> @app.release!(app_params.require(:env))\n</div><div
|
134
|
+
class=\"line\"> render 'env', status: 200\n</div><div class=\"line\">
|
135
|
+
\ end\n</div><div class=\"line\">\n</div>\n</pre>\n</td>\n </tr>\n </table>\n</div>\n</div>\n\n
|
136
|
+
\ \n<p><code>Rails.root: /usr/src/app</code></p>\n\n<div id=\"traces\">\n
|
137
|
+
\ <a href=\"#\" onclick=\"hide('Framework-Trace');hide('Full-Trace');show('Application-Trace');;
|
138
|
+
return false;\">Application Trace</a> |\n <a href=\"#\" onclick=\"hide('Application-Trace');hide('Full-Trace');show('Framework-Trace');;
|
139
|
+
return false;\">Framework Trace</a> |\n <a href=\"#\" onclick=\"hide('Application-Trace');hide('Framework-Trace');show('Full-Trace');;
|
140
|
+
return false;\">Full Trace</a> \n\n <div id=\"Application-Trace\" style=\"display:
|
141
|
+
block;\">\n <pre><code>app/controllers/apps_controller.rb:49:in `update_env'</code></pre>\n
|
142
|
+
\ </div>\n <div id=\"Framework-Trace\" style=\"display: none;\">\n <pre><code>actionpack
|
143
|
+
(4.1.1) lib/action_controller/metal/strong_parameters.rb:183:in `require'\nactionpack
|
144
|
+
(4.1.1) lib/abstract_controller/base.rb:189:in `process_action'\nactionpack
|
145
|
+
(4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action'\nactionpack
|
146
|
+
(4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'\nactivesupport
|
147
|
+
(4.1.1) lib/active_support/callbacks.rb:113:in `call'\nactivesupport (4.1.1)
|
148
|
+
lib/active_support/callbacks.rb:113:in `call'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:149:in
|
149
|
+
`block in halting_and_conditional'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:149:in
|
150
|
+
`call'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:149:in `block
|
151
|
+
in halting_and_conditional'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:149:in
|
152
|
+
`call'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:149:in `block
|
153
|
+
in halting_and_conditional'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:166:in
|
154
|
+
`call'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block
|
155
|
+
in halting'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:166:in
|
156
|
+
`call'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block
|
157
|
+
in halting'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:86:in
|
158
|
+
`call'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks'\nactionpack
|
159
|
+
(4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action'\nactionpack
|
160
|
+
(4.1.1) lib/abstract_controller/base.rb:136:in `process'\nactionview (4.1.1)
|
161
|
+
lib/action_view/rendering.rb:30:in `process'\nactionpack (4.1.1) lib/action_controller/metal.rb:195:in
|
162
|
+
`dispatch'\nactionpack (4.1.1) lib/action_controller/metal.rb:231:in `block
|
163
|
+
in action'\nactionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:80:in
|
164
|
+
`call'\nactionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:80:in
|
165
|
+
`dispatch'\nactionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:48:in
|
166
|
+
`call'\nactionpack (4.1.1) lib/action_dispatch/journey/router.rb:71:in
|
167
|
+
`block in call'\nactionpack (4.1.1) lib/action_dispatch/journey/router.rb:59:in
|
168
|
+
`each'\nactionpack (4.1.1) lib/action_dispatch/journey/router.rb:59:in
|
169
|
+
`call'\nactionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:676:in
|
170
|
+
`call'\nwarden (1.2.3) lib/warden/manager.rb:35:in `block in call'\nwarden
|
171
|
+
(1.2.3) lib/warden/manager.rb:34:in `catch'\nwarden (1.2.3) lib/warden/manager.rb:34:in
|
172
|
+
`call'\nrack (1.5.2) lib/rack/etag.rb:23:in `call'\nrack (1.5.2) lib/rack/conditionalget.rb:35:in
|
173
|
+
`call'\nrack (1.5.2) lib/rack/head.rb:11:in `call'\nactionpack (4.1.1)
|
174
|
+
lib/action_dispatch/middleware/params_parser.rb:27:in `call'\nactiverecord
|
175
|
+
(4.1.1) lib/active_record/query_cache.rb:36:in `call'\nactiverecord (4.1.1)
|
176
|
+
lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'\nactionpack
|
177
|
+
(4.1.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\nactivesupport
|
178
|
+
(4.1.1) lib/active_support/callbacks.rb:82:in `run_callbacks'\nactionpack
|
179
|
+
(4.1.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'\nactionpack
|
180
|
+
(4.1.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'\nactionpack
|
181
|
+
(4.1.1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'\nbetter_errors
|
182
|
+
(1.1.0) lib/better_errors/middleware.rb:58:in `call'\nactionpack (4.1.1)
|
183
|
+
lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\nactionpack
|
184
|
+
(4.1.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\nrailties
|
185
|
+
(4.1.1) lib/rails/rack/logger.rb:38:in `call_app'\nrailties (4.1.1) lib/rails/rack/logger.rb:20:in
|
186
|
+
`block in call'\nactivesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in
|
187
|
+
`block in tagged'\nactivesupport (4.1.1) lib/active_support/tagged_logging.rb:26:in
|
188
|
+
`tagged'\nactivesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in
|
189
|
+
`tagged'\nrailties (4.1.1) lib/rails/rack/logger.rb:20:in `call'\nactionpack
|
190
|
+
(4.1.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'\nrack
|
191
|
+
(1.5.2) lib/rack/methodoverride.rb:21:in `call'\nrack (1.5.2) lib/rack/runtime.rb:17:in
|
192
|
+
`call'\nactivesupport (4.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in
|
193
|
+
`call'\nrack (1.5.2) lib/rack/lock.rb:17:in `call'\nactionpack (4.1.1)
|
194
|
+
lib/action_dispatch/middleware/static.rb:64:in `call'\nrack (1.5.2) lib/rack/sendfile.rb:112:in
|
195
|
+
`call'\nrailties (4.1.1) lib/rails/engine.rb:514:in `call'\nrailties
|
196
|
+
(4.1.1) lib/rails/application.rb:144:in `call'\npuma (2.8.2) lib/puma/rack_patch.rb:13:in
|
197
|
+
`call'\npuma (2.8.2) lib/puma/configuration.rb:71:in `call'\npuma
|
198
|
+
(2.8.2) lib/puma/server.rb:490:in `handle_request'\npuma (2.8.2) lib/puma/server.rb:361:in
|
199
|
+
`process_client'\npuma (2.8.2) lib/puma/server.rb:254:in `block in run'\npuma
|
200
|
+
(2.8.2) lib/puma/thread_pool.rb:92:in `call'\npuma (2.8.2) lib/puma/thread_pool.rb:92:in
|
201
|
+
`block in spawn_thread'</code></pre>\n </div>\n <div id=\"Full-Trace\"
|
202
|
+
style=\"display: none;\">\n <pre><code>actionpack (4.1.1) lib/action_controller/metal/strong_parameters.rb:183:in
|
203
|
+
`require'\napp/controllers/apps_controller.rb:49:in `update_env'\nactionpack
|
204
|
+
(4.1.1) lib/abstract_controller/base.rb:189:in `process_action'\nactionpack
|
205
|
+
(4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action'\nactionpack
|
206
|
+
(4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'\nactivesupport
|
207
|
+
(4.1.1) lib/active_support/callbacks.rb:113:in `call'\nactivesupport (4.1.1)
|
208
|
+
lib/active_support/callbacks.rb:113:in `call'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:149:in
|
209
|
+
`block in halting_and_conditional'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:149:in
|
210
|
+
`call'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:149:in `block
|
211
|
+
in halting_and_conditional'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:149:in
|
212
|
+
`call'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:149:in `block
|
213
|
+
in halting_and_conditional'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:166:in
|
214
|
+
`call'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block
|
215
|
+
in halting'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:166:in
|
216
|
+
`call'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block
|
217
|
+
in halting'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:86:in
|
218
|
+
`call'\nactivesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks'\nactionpack
|
219
|
+
(4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action'\nactionpack
|
220
|
+
(4.1.1) lib/abstract_controller/base.rb:136:in `process'\nactionview (4.1.1)
|
221
|
+
lib/action_view/rendering.rb:30:in `process'\nactionpack (4.1.1) lib/action_controller/metal.rb:195:in
|
222
|
+
`dispatch'\nactionpack (4.1.1) lib/action_controller/metal.rb:231:in `block
|
223
|
+
in action'\nactionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:80:in
|
224
|
+
`call'\nactionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:80:in
|
225
|
+
`dispatch'\nactionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:48:in
|
226
|
+
`call'\nactionpack (4.1.1) lib/action_dispatch/journey/router.rb:71:in
|
227
|
+
`block in call'\nactionpack (4.1.1) lib/action_dispatch/journey/router.rb:59:in
|
228
|
+
`each'\nactionpack (4.1.1) lib/action_dispatch/journey/router.rb:59:in
|
229
|
+
`call'\nactionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:676:in
|
230
|
+
`call'\nwarden (1.2.3) lib/warden/manager.rb:35:in `block in call'\nwarden
|
231
|
+
(1.2.3) lib/warden/manager.rb:34:in `catch'\nwarden (1.2.3) lib/warden/manager.rb:34:in
|
232
|
+
`call'\nrack (1.5.2) lib/rack/etag.rb:23:in `call'\nrack (1.5.2) lib/rack/conditionalget.rb:35:in
|
233
|
+
`call'\nrack (1.5.2) lib/rack/head.rb:11:in `call'\nactionpack (4.1.1)
|
234
|
+
lib/action_dispatch/middleware/params_parser.rb:27:in `call'\nactiverecord
|
235
|
+
(4.1.1) lib/active_record/query_cache.rb:36:in `call'\nactiverecord (4.1.1)
|
236
|
+
lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'\nactionpack
|
237
|
+
(4.1.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\nactivesupport
|
238
|
+
(4.1.1) lib/active_support/callbacks.rb:82:in `run_callbacks'\nactionpack
|
239
|
+
(4.1.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'\nactionpack
|
240
|
+
(4.1.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'\nactionpack
|
241
|
+
(4.1.1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'\nbetter_errors
|
242
|
+
(1.1.0) lib/better_errors/middleware.rb:58:in `call'\nactionpack (4.1.1)
|
243
|
+
lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\nactionpack
|
244
|
+
(4.1.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\nrailties
|
245
|
+
(4.1.1) lib/rails/rack/logger.rb:38:in `call_app'\nrailties (4.1.1) lib/rails/rack/logger.rb:20:in
|
246
|
+
`block in call'\nactivesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in
|
247
|
+
`block in tagged'\nactivesupport (4.1.1) lib/active_support/tagged_logging.rb:26:in
|
248
|
+
`tagged'\nactivesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in
|
249
|
+
`tagged'\nrailties (4.1.1) lib/rails/rack/logger.rb:20:in `call'\nactionpack
|
250
|
+
(4.1.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'\nrack
|
251
|
+
(1.5.2) lib/rack/methodoverride.rb:21:in `call'\nrack (1.5.2) lib/rack/runtime.rb:17:in
|
252
|
+
`call'\nactivesupport (4.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in
|
253
|
+
`call'\nrack (1.5.2) lib/rack/lock.rb:17:in `call'\nactionpack (4.1.1)
|
254
|
+
lib/action_dispatch/middleware/static.rb:64:in `call'\nrack (1.5.2) lib/rack/sendfile.rb:112:in
|
255
|
+
`call'\nrailties (4.1.1) lib/rails/engine.rb:514:in `call'\nrailties
|
256
|
+
(4.1.1) lib/rails/application.rb:144:in `call'\npuma (2.8.2) lib/puma/rack_patch.rb:13:in
|
257
|
+
`call'\npuma (2.8.2) lib/puma/configuration.rb:71:in `call'\npuma
|
258
|
+
(2.8.2) lib/puma/server.rb:490:in `handle_request'\npuma (2.8.2) lib/puma/server.rb:361:in
|
259
|
+
`process_client'\npuma (2.8.2) lib/puma/server.rb:254:in `block in run'\npuma
|
260
|
+
(2.8.2) lib/puma/thread_pool.rb:92:in `call'\npuma (2.8.2) lib/puma/thread_pool.rb:92:in
|
261
|
+
`block in spawn_thread'</code></pre>\n </div>\n</div>\n\n \n\n<h2
|
262
|
+
style=\"margin-top: 30px\">Request</h2>\n<p><b>Parameters</b>:</p> <pre>{"app"=>{"env"=>{}},\n
|
263
|
+
"id"=>"10",\n "format"=>"json"}</pre>\n\n<div
|
264
|
+
class=\"details\">\n <div class=\"summary\"><a href=\"#\" onclick=\"return
|
265
|
+
toggleSessionDump()\">Toggle session dump</a></div>\n <div id=\"session_dump\"
|
266
|
+
style=\"display:none\"><pre></pre></div>\n</div>\n\n<div class=\"details\">\n
|
267
|
+
\ <div class=\"summary\"><a href=\"#\" onclick=\"return toggleEnvDump()\">Toggle
|
268
|
+
env dump</a></div>\n <div id=\"env_dump\" style=\"display:none\"><pre>GATEWAY_INTERFACE:
|
269
|
+
"CGI/1.2"\nHTTP_ACCEPT: "application/json"\nHTTP_ACCEPT_ENCODING:
|
270
|
+
"gzip"\nREMOTE_ADDR: "172.17.0.11"\nSERVER_NAME: "api.dawn.dev"\nSERVER_PROTOCOL:
|
271
|
+
"HTTP/1.1"</pre></div>\n</div>\n\n<h2 style=\"margin-top: 30px\">Response</h2>\n<p><b>Headers</b>:</p>
|
272
|
+
<pre>None</pre>\n\n</div>\n\n\n</body>\n</html>\n"
|
273
|
+
http_version:
|
274
|
+
recorded_at: Tue, 24 Jun 2014 22:27:25 GMT
|
275
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://api.dawn.dev/account/keys
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDhTo7oNMhE3Pe96pXdDBWiWb6LYZCSWkNhLj5PIzejSWrxnGaXqCI+VIr62GtX9TqkC0vZCOC9sljYi1g/dhD0RMYzlmWkKChHAGDB95bV/APYCojy0y7wMxfAIPUIgBOYfqGz6JaEYaDRWFOtyMcyhHM3EtuXSKxUXELWKUB/BuDyln3LAcVdMMqGeSxt7BlWDai9OfWLy5TU4isvC0YN8LjFHk6iU66FvmNNq17lTrbZEW+XXROGZ5d1WfOFhOYIiUTAnSu45ta9TNp72AAJ7cRfaX+RH2srU1urfEzypSbRaW6MMpHgL60g6SZOfL4Um0ME5e06O/8IAZDZhKt3
|
9
|
+
icy@kana\n"}'
|
10
|
+
headers:
|
11
|
+
Accept:
|
12
|
+
- application/json
|
13
|
+
Content-Type:
|
14
|
+
- application/json
|
15
|
+
Accept-Encoding:
|
16
|
+
- gzip
|
17
|
+
User-Agent:
|
18
|
+
- dawn/0.10.1
|
19
|
+
X-Ruby-Version:
|
20
|
+
- 2.1.2
|
21
|
+
X-Ruby-Platform:
|
22
|
+
- x86_64-linux
|
23
|
+
Authorization:
|
24
|
+
- Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
|
25
|
+
response:
|
26
|
+
status:
|
27
|
+
code: 200
|
28
|
+
message:
|
29
|
+
headers:
|
30
|
+
content-type:
|
31
|
+
- text/html
|
32
|
+
etag:
|
33
|
+
- '"7b63a587d0a6d83688274ad35ddd4c00"'
|
34
|
+
cache-control:
|
35
|
+
- max-age=0, private, must-revalidate
|
36
|
+
x-request-id:
|
37
|
+
- fd0762a1-c081-4add-8700-350864835356
|
38
|
+
x-runtime:
|
39
|
+
- '0.019589'
|
40
|
+
transfer-encoding:
|
41
|
+
- ''
|
42
|
+
connection:
|
43
|
+
- TE, close
|
44
|
+
Date:
|
45
|
+
- Tue, 24 Jun 2014 22:27:06 GMT
|
46
|
+
body:
|
47
|
+
encoding: UTF-8
|
48
|
+
string: '{"key":{"id":6,"created_at":"2014-06-24 22:27:06 UTC","updated_at":"2014-06-24
|
49
|
+
22:27:06 UTC","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDhTo7oNMhE3Pe96pXdDBWiWb6LYZCSWkNhLj5PIzejSWrxnGaXqCI+VIr62GtX9TqkC0vZCOC9sljYi1g/dhD0RMYzlmWkKChHAGDB95bV/APYCojy0y7wMxfAIPUIgBOYfqGz6JaEYaDRWFOtyMcyhHM3EtuXSKxUXELWKUB/BuDyln3LAcVdMMqGeSxt7BlWDai9OfWLy5TU4isvC0YN8LjFHk6iU66FvmNNq17lTrbZEW+XXROGZ5d1WfOFhOYIiUTAnSu45ta9TNp72AAJ7cRfaX+RH2srU1urfEzypSbRaW6MMpHgL60g6SZOfL4Um0ME5e06O/8IAZDZhKt3","fingerprint":"c0:ca:bf:73:c1:da:2e:23:48:82:55:98:17:33:1c:06"}}'
|
50
|
+
http_version:
|
51
|
+
recorded_at: Tue, 24 Jun 2014 22:27:27 GMT
|
52
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,101 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.dawn.dev/account/keys
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip
|
16
|
+
User-Agent:
|
17
|
+
- dawn/0.10.1
|
18
|
+
X-Ruby-Version:
|
19
|
+
- 2.1.2
|
20
|
+
X-Ruby-Platform:
|
21
|
+
- x86_64-linux
|
22
|
+
Authorization:
|
23
|
+
- Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 200
|
27
|
+
message:
|
28
|
+
headers:
|
29
|
+
content-type:
|
30
|
+
- text/html
|
31
|
+
etag:
|
32
|
+
- '"a252071f35779f51b1f15e6a477061b4"'
|
33
|
+
cache-control:
|
34
|
+
- max-age=0, private, must-revalidate
|
35
|
+
x-request-id:
|
36
|
+
- 2f610a62-b811-4a23-a36f-01822cdcd44e
|
37
|
+
x-runtime:
|
38
|
+
- '0.024304'
|
39
|
+
transfer-encoding:
|
40
|
+
- ''
|
41
|
+
connection:
|
42
|
+
- TE, close
|
43
|
+
Date:
|
44
|
+
- Tue, 24 Jun 2014 22:27:49 GMT
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: '[{"key":{"id":2,"created_at":"2014-06-24 22:04:42 UTC","updated_at":"2014-06-24
|
48
|
+
22:04:42 UTC","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDALiPQc0GAmHQEBfDA430l6dLP5jMnJ6FcbAi103xtGAOAiWRVcBPFLkGXx2MRWZGHry3QW8hEIOgxsHOxa9/0qIiR1647h6ZenA6SJeBSntEZc13lRzyypLL45acNffcEsNVGCWx/A3HJsNyN4q7UmpbSEIwIIyRgRf0YIeDqvL3TqnwV29RGY9cl84ATu+7Wye2g6AG60qTXZONqldjM1bxzPi6iq4Alxt937kH8nDs6jvsYe+gjoGgrhjIhYPucukeuHJBRW6dzTvQDBqOB2kTSAtq5hbSc4PbWuHGR7Zk/QsctC7nX9O2V+oudGO0RlPqc714g/ntbV4QdTqrz","fingerprint":"9e:da:d1:6f:06:a2:fa:c9:a3:e3:ec:f0:0b:bc:5b:68"}},{"key":{"id":3,"created_at":"2014-06-24
|
49
|
+
22:04:46 UTC","updated_at":"2014-06-24 22:04:46 UTC","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzf9Z9gEOg9PJvhaZOZzuan6g2q9xUaqwNhiKtWPXA551NZNXk+tIYwYVv/aWY2T6+6KyeeFIzXJmUO9EJCPh8fmirGKrmdxGCFgkv2eK8bMJ+gVkPUoHbEqP5lzVTr+pB1l0wGIOn+G10Rs30vqvEz2sWUAJEWNksAZmlUOgubBpHhSYpoUyj8uaYG8/E2Gm0MgaCJHyT15lyavc8crdpm8NZbI8x3nHTrv/JwZaqQwTWJ6Am7g5WfYmeqr3ThJh/ODlaP7VnM7DJqnkfP8NuirV8lkoHe3qvlRcRMGDpikuvFKiI4BcHUy7E+R+Vl6MnPTb+4TY2uzLcXXXMBSiH","fingerprint":"7b:e3:80:47:5a:13:45:34:2c:0f:3d:ce:28:53:b5:08"}},{"key":{"id":4,"created_at":"2014-06-24
|
50
|
+
22:06:55 UTC","updated_at":"2014-06-24 22:06:55 UTC","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwKxxipkdhqXxcb1T2/IA4PCNJ5hVkLXtsMKVTta30eRKA5vxnzO56ovFngF00bCa1nIsTlsaX2JCkKHJblNCpxapEWq0Mg+PyHpXoFd0yqxgyLVy/X43StTCQISD015r/mpUJD7umk4cFPdYZo6ojik4v+9wRvlUVHkduUeMH4htQqpGhHrRYvFhSGI54jR1vZPfbU5HFilDimDrMRlwomGRZl4PHbtpcYRKgmQU45uQiksknYQ6P3oAQYQGQ1tL9Zs9pmXzrmq5h0mdTWbv8qo5yRs5xlFssvVA6cVXEtiPblYQXiJWO6JocavwUhn8QmkHC008AfGLHLvLSukhT","fingerprint":"61:94:99:ed:91:89:01:45:99:10:cb:fc:45:a3:81:c3"}},{"key":{"id":6,"created_at":"2014-06-24
|
51
|
+
22:27:06 UTC","updated_at":"2014-06-24 22:27:06 UTC","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDhTo7oNMhE3Pe96pXdDBWiWb6LYZCSWkNhLj5PIzejSWrxnGaXqCI+VIr62GtX9TqkC0vZCOC9sljYi1g/dhD0RMYzlmWkKChHAGDB95bV/APYCojy0y7wMxfAIPUIgBOYfqGz6JaEYaDRWFOtyMcyhHM3EtuXSKxUXELWKUB/BuDyln3LAcVdMMqGeSxt7BlWDai9OfWLy5TU4isvC0YN8LjFHk6iU66FvmNNq17lTrbZEW+XXROGZ5d1WfOFhOYIiUTAnSu45ta9TNp72AAJ7cRfaX+RH2srU1urfEzypSbRaW6MMpHgL60g6SZOfL4Um0ME5e06O/8IAZDZhKt3","fingerprint":"c0:ca:bf:73:c1:da:2e:23:48:82:55:98:17:33:1c:06"}}]'
|
52
|
+
http_version:
|
53
|
+
recorded_at: Tue, 24 Jun 2014 22:28:09 GMT
|
54
|
+
- request:
|
55
|
+
method: delete
|
56
|
+
uri: http://api.dawn.dev/account/keys/6
|
57
|
+
body:
|
58
|
+
encoding: US-ASCII
|
59
|
+
string: ''
|
60
|
+
headers:
|
61
|
+
Accept:
|
62
|
+
- application/json
|
63
|
+
Content-Type:
|
64
|
+
- application/json
|
65
|
+
Accept-Encoding:
|
66
|
+
- gzip
|
67
|
+
User-Agent:
|
68
|
+
- dawn/0.10.1
|
69
|
+
X-Ruby-Version:
|
70
|
+
- 2.1.2
|
71
|
+
X-Ruby-Platform:
|
72
|
+
- x86_64-linux
|
73
|
+
Authorization:
|
74
|
+
- Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
|
75
|
+
response:
|
76
|
+
status:
|
77
|
+
code: 200
|
78
|
+
message:
|
79
|
+
headers:
|
80
|
+
content-type:
|
81
|
+
- text/html
|
82
|
+
etag:
|
83
|
+
- '"ffc3660def67aa84ab18934bf5dae1d3"'
|
84
|
+
cache-control:
|
85
|
+
- max-age=0, private, must-revalidate
|
86
|
+
x-request-id:
|
87
|
+
- 3ab8e826-716d-4cfd-b0cc-f4cf29992b8b
|
88
|
+
x-runtime:
|
89
|
+
- '0.011089'
|
90
|
+
transfer-encoding:
|
91
|
+
- ''
|
92
|
+
connection:
|
93
|
+
- TE, close
|
94
|
+
Date:
|
95
|
+
- Tue, 24 Jun 2014 22:27:52 GMT
|
96
|
+
body:
|
97
|
+
encoding: UTF-8
|
98
|
+
string: '{"message":"key removed successfully"}'
|
99
|
+
http_version:
|
100
|
+
recorded_at: Tue, 24 Jun 2014 22:28:13 GMT
|
101
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,102 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.dawn.dev/account/keys
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip
|
16
|
+
User-Agent:
|
17
|
+
- dawn/0.10.1
|
18
|
+
X-Ruby-Version:
|
19
|
+
- 2.1.2
|
20
|
+
X-Ruby-Platform:
|
21
|
+
- x86_64-linux
|
22
|
+
Authorization:
|
23
|
+
- Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 200
|
27
|
+
message:
|
28
|
+
headers:
|
29
|
+
content-type:
|
30
|
+
- text/html
|
31
|
+
etag:
|
32
|
+
- '"a252071f35779f51b1f15e6a477061b4"'
|
33
|
+
cache-control:
|
34
|
+
- max-age=0, private, must-revalidate
|
35
|
+
x-request-id:
|
36
|
+
- 0457af83-399f-4813-a837-ca12b4f112b4
|
37
|
+
x-runtime:
|
38
|
+
- '0.017429'
|
39
|
+
transfer-encoding:
|
40
|
+
- ''
|
41
|
+
connection:
|
42
|
+
- TE, close
|
43
|
+
Date:
|
44
|
+
- Tue, 24 Jun 2014 22:27:39 GMT
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: '[{"key":{"id":2,"created_at":"2014-06-24 22:04:42 UTC","updated_at":"2014-06-24
|
48
|
+
22:04:42 UTC","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDALiPQc0GAmHQEBfDA430l6dLP5jMnJ6FcbAi103xtGAOAiWRVcBPFLkGXx2MRWZGHry3QW8hEIOgxsHOxa9/0qIiR1647h6ZenA6SJeBSntEZc13lRzyypLL45acNffcEsNVGCWx/A3HJsNyN4q7UmpbSEIwIIyRgRf0YIeDqvL3TqnwV29RGY9cl84ATu+7Wye2g6AG60qTXZONqldjM1bxzPi6iq4Alxt937kH8nDs6jvsYe+gjoGgrhjIhYPucukeuHJBRW6dzTvQDBqOB2kTSAtq5hbSc4PbWuHGR7Zk/QsctC7nX9O2V+oudGO0RlPqc714g/ntbV4QdTqrz","fingerprint":"9e:da:d1:6f:06:a2:fa:c9:a3:e3:ec:f0:0b:bc:5b:68"}},{"key":{"id":3,"created_at":"2014-06-24
|
49
|
+
22:04:46 UTC","updated_at":"2014-06-24 22:04:46 UTC","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzf9Z9gEOg9PJvhaZOZzuan6g2q9xUaqwNhiKtWPXA551NZNXk+tIYwYVv/aWY2T6+6KyeeFIzXJmUO9EJCPh8fmirGKrmdxGCFgkv2eK8bMJ+gVkPUoHbEqP5lzVTr+pB1l0wGIOn+G10Rs30vqvEz2sWUAJEWNksAZmlUOgubBpHhSYpoUyj8uaYG8/E2Gm0MgaCJHyT15lyavc8crdpm8NZbI8x3nHTrv/JwZaqQwTWJ6Am7g5WfYmeqr3ThJh/ODlaP7VnM7DJqnkfP8NuirV8lkoHe3qvlRcRMGDpikuvFKiI4BcHUy7E+R+Vl6MnPTb+4TY2uzLcXXXMBSiH","fingerprint":"7b:e3:80:47:5a:13:45:34:2c:0f:3d:ce:28:53:b5:08"}},{"key":{"id":4,"created_at":"2014-06-24
|
50
|
+
22:06:55 UTC","updated_at":"2014-06-24 22:06:55 UTC","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwKxxipkdhqXxcb1T2/IA4PCNJ5hVkLXtsMKVTta30eRKA5vxnzO56ovFngF00bCa1nIsTlsaX2JCkKHJblNCpxapEWq0Mg+PyHpXoFd0yqxgyLVy/X43StTCQISD015r/mpUJD7umk4cFPdYZo6ojik4v+9wRvlUVHkduUeMH4htQqpGhHrRYvFhSGI54jR1vZPfbU5HFilDimDrMRlwomGRZl4PHbtpcYRKgmQU45uQiksknYQ6P3oAQYQGQ1tL9Zs9pmXzrmq5h0mdTWbv8qo5yRs5xlFssvVA6cVXEtiPblYQXiJWO6JocavwUhn8QmkHC008AfGLHLvLSukhT","fingerprint":"61:94:99:ed:91:89:01:45:99:10:cb:fc:45:a3:81:c3"}},{"key":{"id":6,"created_at":"2014-06-24
|
51
|
+
22:27:06 UTC","updated_at":"2014-06-24 22:27:06 UTC","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDhTo7oNMhE3Pe96pXdDBWiWb6LYZCSWkNhLj5PIzejSWrxnGaXqCI+VIr62GtX9TqkC0vZCOC9sljYi1g/dhD0RMYzlmWkKChHAGDB95bV/APYCojy0y7wMxfAIPUIgBOYfqGz6JaEYaDRWFOtyMcyhHM3EtuXSKxUXELWKUB/BuDyln3LAcVdMMqGeSxt7BlWDai9OfWLy5TU4isvC0YN8LjFHk6iU66FvmNNq17lTrbZEW+XXROGZ5d1WfOFhOYIiUTAnSu45ta9TNp72AAJ7cRfaX+RH2srU1urfEzypSbRaW6MMpHgL60g6SZOfL4Um0ME5e06O/8IAZDZhKt3","fingerprint":"c0:ca:bf:73:c1:da:2e:23:48:82:55:98:17:33:1c:06"}}]'
|
52
|
+
http_version:
|
53
|
+
recorded_at: Tue, 24 Jun 2014 22:27:59 GMT
|
54
|
+
- request:
|
55
|
+
method: get
|
56
|
+
uri: http://api.dawn.dev/account/keys/6
|
57
|
+
body:
|
58
|
+
encoding: US-ASCII
|
59
|
+
string: ''
|
60
|
+
headers:
|
61
|
+
Accept:
|
62
|
+
- application/json
|
63
|
+
Content-Type:
|
64
|
+
- application/json
|
65
|
+
Accept-Encoding:
|
66
|
+
- gzip
|
67
|
+
User-Agent:
|
68
|
+
- dawn/0.10.1
|
69
|
+
X-Ruby-Version:
|
70
|
+
- 2.1.2
|
71
|
+
X-Ruby-Platform:
|
72
|
+
- x86_64-linux
|
73
|
+
Authorization:
|
74
|
+
- Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
|
75
|
+
response:
|
76
|
+
status:
|
77
|
+
code: 200
|
78
|
+
message:
|
79
|
+
headers:
|
80
|
+
content-type:
|
81
|
+
- text/html
|
82
|
+
etag:
|
83
|
+
- '"7b63a587d0a6d83688274ad35ddd4c00"'
|
84
|
+
cache-control:
|
85
|
+
- max-age=0, private, must-revalidate
|
86
|
+
x-request-id:
|
87
|
+
- ddf2c1a4-8aac-413e-997f-ab0b8542f6d6
|
88
|
+
x-runtime:
|
89
|
+
- '0.012357'
|
90
|
+
transfer-encoding:
|
91
|
+
- ''
|
92
|
+
connection:
|
93
|
+
- TE, close
|
94
|
+
Date:
|
95
|
+
- Tue, 24 Jun 2014 22:27:42 GMT
|
96
|
+
body:
|
97
|
+
encoding: UTF-8
|
98
|
+
string: '{"key":{"id":6,"created_at":"2014-06-24 22:27:06 UTC","updated_at":"2014-06-24
|
99
|
+
22:27:06 UTC","key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDhTo7oNMhE3Pe96pXdDBWiWb6LYZCSWkNhLj5PIzejSWrxnGaXqCI+VIr62GtX9TqkC0vZCOC9sljYi1g/dhD0RMYzlmWkKChHAGDB95bV/APYCojy0y7wMxfAIPUIgBOYfqGz6JaEYaDRWFOtyMcyhHM3EtuXSKxUXELWKUB/BuDyln3LAcVdMMqGeSxt7BlWDai9OfWLy5TU4isvC0YN8LjFHk6iU66FvmNNq17lTrbZEW+XXROGZ5d1WfOFhOYIiUTAnSu45ta9TNp72AAJ7cRfaX+RH2srU1urfEzypSbRaW6MMpHgL60g6SZOfL4Um0ME5e06O/8IAZDZhKt3","fingerprint":"c0:ca:bf:73:c1:da:2e:23:48:82:55:98:17:33:1c:06"}}'
|
100
|
+
http_version:
|
101
|
+
recorded_at: Tue, 24 Jun 2014 22:28:02 GMT
|
102
|
+
recorded_with: VCR 2.9.2
|