vermonster 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +3 -0
- data/.rvmrc +1 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +43 -0
- data/README.markdown +105 -0
- data/Rakefile +15 -0
- data/lib/vermonster/authentication.rb +49 -0
- data/lib/vermonster/lists.rb +51 -0
- data/lib/vermonster/tasks.rb +58 -0
- data/lib/vermonster/users.rb +27 -0
- data/lib/vermonster/version.rb +3 -0
- data/lib/vermonster.rb +40 -0
- data/spec/fixtures/cassettes/authentication.yml +104 -0
- data/spec/fixtures/cassettes/lists.yml +391 -0
- data/spec/fixtures/cassettes/tasks.yml +826 -0
- data/spec/fixtures/cassettes/users.yml +117 -0
- data/spec/spec_helper.rb +24 -0
- data/spec/vermonster/authentication_spec.rb +54 -0
- data/spec/vermonster/lists_spec.rb +107 -0
- data/spec/vermonster/tasks_spec.rb +119 -0
- data/spec/vermonster/users_spec.rb +59 -0
- data/vermonster.gemspec +29 -0
- metadata +152 -0
@@ -0,0 +1,826 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.cheddarapp.com/v1/me
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- Bearer 6e8c9e570805e75d683a963b1290116a
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- ! '*/*'
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Access-Control-Allow-Headers:
|
24
|
+
- ! '*,X-Pusher-Socket-ID,Content-Type,Authorization'
|
25
|
+
Access-Control-Allow-Methods:
|
26
|
+
- GET, POST, PUT, OPTIONS
|
27
|
+
Access-Control-Allow-Origin:
|
28
|
+
- ! '*'
|
29
|
+
Access-Control-Max-Age:
|
30
|
+
- '86400'
|
31
|
+
Access-Control-Request-Method:
|
32
|
+
- ! '*'
|
33
|
+
Cache-Control:
|
34
|
+
- must-revalidate, private, max-age=0
|
35
|
+
Content-Type:
|
36
|
+
- application/json; charset=utf-8
|
37
|
+
Date:
|
38
|
+
- Thu, 19 Jul 2012 12:48:06 GMT
|
39
|
+
Etag:
|
40
|
+
- ! '"ef42e623e164e34871846180e276f9de"'
|
41
|
+
Server:
|
42
|
+
- thin 1.4.1 codename Chromeo
|
43
|
+
X-Rack-Cache:
|
44
|
+
- miss
|
45
|
+
X-Request-Id:
|
46
|
+
- 0802b6d651596ebda41dc34189ec2be3
|
47
|
+
X-Runtime:
|
48
|
+
- '0.018486'
|
49
|
+
X-Ua-Compatible:
|
50
|
+
- IE=Edge,chrome=1
|
51
|
+
Content-Length:
|
52
|
+
- '354'
|
53
|
+
Connection:
|
54
|
+
- keep-alive
|
55
|
+
body:
|
56
|
+
encoding: US-ASCII
|
57
|
+
string: ! '{"created_at":"2012-07-18T19:33:13Z","first_name":null,"has_plus":false,"id":13055,"last_name":null,"updated_at":"2012-07-18T19:33:13Z","username":"vermonster","url":"https://api.cheddarapp.com/v1/users/13055","socket":{"auth_url":"https://api.cheddarapp.com/pusher/auth","api_key":"675f10a650f18b4eb0a8","app_id":"15197","channel":"private-user-13055"}}'
|
58
|
+
http_version:
|
59
|
+
recorded_at: Thu, 19 Jul 2012 12:48:06 GMT
|
60
|
+
- request:
|
61
|
+
method: get
|
62
|
+
uri: https://api.cheddarapp.com/v1/tasks/182736
|
63
|
+
body:
|
64
|
+
encoding: US-ASCII
|
65
|
+
string: ''
|
66
|
+
headers:
|
67
|
+
Authorization:
|
68
|
+
- Bearer 6e8c9e570805e75d683a963b1290116a
|
69
|
+
Accept-Encoding:
|
70
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
71
|
+
Accept:
|
72
|
+
- ! '*/*'
|
73
|
+
User-Agent:
|
74
|
+
- Ruby
|
75
|
+
response:
|
76
|
+
status:
|
77
|
+
code: 200
|
78
|
+
message: OK
|
79
|
+
headers:
|
80
|
+
Access-Control-Allow-Headers:
|
81
|
+
- ! '*,X-Pusher-Socket-ID,Content-Type,Authorization'
|
82
|
+
Access-Control-Allow-Methods:
|
83
|
+
- GET, POST, PUT, OPTIONS
|
84
|
+
Access-Control-Allow-Origin:
|
85
|
+
- ! '*'
|
86
|
+
Access-Control-Max-Age:
|
87
|
+
- '86400'
|
88
|
+
Access-Control-Request-Method:
|
89
|
+
- ! '*'
|
90
|
+
Cache-Control:
|
91
|
+
- must-revalidate, private, max-age=0
|
92
|
+
Content-Type:
|
93
|
+
- application/json; charset=utf-8
|
94
|
+
Date:
|
95
|
+
- Thu, 19 Jul 2012 12:48:07 GMT
|
96
|
+
Etag:
|
97
|
+
- ! '"adc000a51348ecea8be75c8b75be10ac"'
|
98
|
+
Server:
|
99
|
+
- thin 1.4.1 codename Chromeo
|
100
|
+
X-Rack-Cache:
|
101
|
+
- miss
|
102
|
+
X-Request-Id:
|
103
|
+
- ed7c5ac4adf4537caf45778b0e5d4714
|
104
|
+
X-Runtime:
|
105
|
+
- '0.017871'
|
106
|
+
X-Ua-Compatible:
|
107
|
+
- IE=Edge,chrome=1
|
108
|
+
Content-Length:
|
109
|
+
- '442'
|
110
|
+
Connection:
|
111
|
+
- keep-alive
|
112
|
+
body:
|
113
|
+
encoding: US-ASCII
|
114
|
+
string: ! '{"archived_at":null,"completed_at":null,"created_at":"2012-07-18T19:33:13Z","display_html":"Welcome
|
115
|
+
to Cheddar! Click the checkbox to complete tasks","display_text":"Welcome
|
116
|
+
to Cheddar! Click the checkbox to complete tasks","id":182736,"list_id":24200,"position":1,"text":"Welcome
|
117
|
+
to Cheddar! Click the checkbox to complete tasks","updated_at":"2012-07-18T19:33:13Z","entities":[],"tags":[],"url":"https://api.cheddarapp.com/v1/tasks/182736"}'
|
118
|
+
http_version:
|
119
|
+
recorded_at: Thu, 19 Jul 2012 12:48:07 GMT
|
120
|
+
- request:
|
121
|
+
method: get
|
122
|
+
uri: https://api.cheddarapp.com/v1/lists/24200/tasks
|
123
|
+
body:
|
124
|
+
encoding: US-ASCII
|
125
|
+
string: ''
|
126
|
+
headers:
|
127
|
+
Authorization:
|
128
|
+
- Bearer 6e8c9e570805e75d683a963b1290116a
|
129
|
+
Accept-Encoding:
|
130
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
131
|
+
Accept:
|
132
|
+
- ! '*/*'
|
133
|
+
User-Agent:
|
134
|
+
- Ruby
|
135
|
+
response:
|
136
|
+
status:
|
137
|
+
code: 200
|
138
|
+
message: OK
|
139
|
+
headers:
|
140
|
+
Access-Control-Allow-Headers:
|
141
|
+
- ! '*,X-Pusher-Socket-ID,Content-Type,Authorization'
|
142
|
+
Access-Control-Allow-Methods:
|
143
|
+
- GET, POST, PUT, OPTIONS
|
144
|
+
Access-Control-Allow-Origin:
|
145
|
+
- ! '*'
|
146
|
+
Access-Control-Max-Age:
|
147
|
+
- '86400'
|
148
|
+
Access-Control-Request-Method:
|
149
|
+
- ! '*'
|
150
|
+
Cache-Control:
|
151
|
+
- must-revalidate, private, max-age=0
|
152
|
+
Content-Type:
|
153
|
+
- application/json; charset=utf-8
|
154
|
+
Date:
|
155
|
+
- Thu, 19 Jul 2012 12:48:08 GMT
|
156
|
+
Etag:
|
157
|
+
- ! '"74e53991f1f482ee7ffe36665acf0b4e"'
|
158
|
+
Server:
|
159
|
+
- thin 1.4.1 codename Chromeo
|
160
|
+
X-Rack-Cache:
|
161
|
+
- miss
|
162
|
+
X-Request-Id:
|
163
|
+
- 7016f0153f7d2e112f53eef35ff4aeb4
|
164
|
+
X-Runtime:
|
165
|
+
- '0.028284'
|
166
|
+
X-Ua-Compatible:
|
167
|
+
- IE=Edge,chrome=1
|
168
|
+
Content-Length:
|
169
|
+
- '5843'
|
170
|
+
Connection:
|
171
|
+
- keep-alive
|
172
|
+
body:
|
173
|
+
encoding: US-ASCII
|
174
|
+
string: ! '[{"archived_at":null,"completed_at":null,"created_at":"2012-07-18T19:33:13Z","display_html":"Welcome
|
175
|
+
to Cheddar! Click the checkbox to complete tasks","display_text":"Welcome
|
176
|
+
to Cheddar! Click the checkbox to complete tasks","id":182736,"list_id":24200,"position":1,"text":"Welcome
|
177
|
+
to Cheddar! Click the checkbox to complete tasks","updated_at":"2012-07-18T19:33:13Z","entities":[],"tags":[],"url":"https://api.cheddarapp.com/v1/tasks/182736"},{"archived_at":null,"completed_at":null,"created_at":"2012-07-18T19:33:13Z","display_html":"Type
|
178
|
+
in the box and press enter to make new tasks","display_text":"Type in the
|
179
|
+
box and press enter to make new tasks","id":182737,"list_id":24200,"position":2,"text":"Type
|
180
|
+
in the box and press enter to make new tasks","updated_at":"2012-07-18T19:33:13Z","entities":[],"tags":[],"url":"https://api.cheddarapp.com/v1/tasks/182737"},{"archived_at":null,"completed_at":null,"created_at":"2012-07-18T19:33:13Z","display_html":"Use
|
181
|
+
<a href=\"http://daringfireball.net/projects/markdown\" rel=\"external nofollow\"
|
182
|
+
class=\"link\">Markdown</a> in your tasks for extra <strong>awesome</strong>.
|
183
|
+
Read the <a href=\"https://cheddarapp.com/text\" rel=\"external nofollow\"
|
184
|
+
class=\"link\">super simple guide</a>.","display_text":"Use Markdown in your
|
185
|
+
tasks for extra awesome. Read the super simple guide.","id":182738,"list_id":24200,"position":3,"text":"Use
|
186
|
+
[Markdown](http://daringfireball.net/projects/markdown) in your tasks for
|
187
|
+
extra **awesome**. Read the [super simple guide](https://cheddarapp.com/text).","updated_at":"2012-07-18T19:33:13Z","entities":[{"type":"link","text":"[Markdown](http://daringfireball.net/projects/markdown)","display_text":"Markdown","indices":[4,59],"url":"http://daringfireball.net/projects/markdown","display_indices":[4,12]},{"type":"double_emphasis","text":"**awesome**","display_text":"awesome","indices":[84,95],"display_indices":[37,44]},{"type":"link","text":"[super
|
188
|
+
simple guide](https://cheddarapp.com/text)","display_text":"super simple guide","indices":[106,155],"url":"https://cheddarapp.com/text","display_indices":[55,73]}],"tags":[],"url":"https://api.cheddarapp.com/v1/tasks/182738"},{"archived_at":null,"completed_at":null,"created_at":"2012-07-18T19:33:13Z","display_html":"Use
|
189
|
+
<a href=\"#tag-tags\" class=\"tag\">#tags</a> to organize your tasks","display_text":"Use
|
190
|
+
#tags to organize your tasks","id":182739,"list_id":24200,"position":4,"text":"Use
|
191
|
+
#tags to organize your tasks","updated_at":"2012-07-18T19:33:13Z","entities":[{"type":"tag","text":"#tags","display_text":"#tags","indices":[4,9],"tag_name":"tags","display_indices":[4,9]}],"tags":[{"id":30,"name":"tags"}],"url":"https://api.cheddarapp.com/v1/tasks/182739"},{"archived_at":null,"completed_at":null,"created_at":"2012-07-18T19:33:13Z","display_html":"Click
|
192
|
+
the pencil next to a task or the title of your list to edit it","display_text":"Click
|
193
|
+
the pencil next to a task or the title of your list to edit it","id":182740,"list_id":24200,"position":5,"text":"Click
|
194
|
+
the pencil next to a task or the title of your list to edit it","updated_at":"2012-07-18T19:33:13Z","entities":[],"tags":[],"url":"https://api.cheddarapp.com/v1/tasks/182740"},{"archived_at":null,"completed_at":null,"created_at":"2012-07-18T19:33:13Z","display_html":"Click
|
195
|
+
<em>Archive Tasks</em> in the top right to archive lots of tasks at once","display_text":"Click
|
196
|
+
Archive Tasks in the top right to archive lots of tasks at once","id":182741,"list_id":24200,"position":6,"text":"Click
|
197
|
+
*Archive Tasks* in the top right to archive lots of tasks at once","updated_at":"2012-07-18T19:33:13Z","entities":[{"type":"emphasis","text":"*Archive
|
198
|
+
Tasks*","display_text":"Archive Tasks","indices":[6,21],"display_indices":[6,19]}],"tags":[],"url":"https://api.cheddarapp.com/v1/tasks/182741"},{"archived_at":null,"completed_at":null,"created_at":"2012-07-18T19:33:13Z","display_html":"Click
|
199
|
+
on <a href=\"https://cheddarapp.com\" rel=\"external nofollow\" class=\"link\">Your
|
200
|
+
Lists</a> to see all of your lists. <strong>You can make more lists there.</strong>","display_text":"Click
|
201
|
+
on Your Lists to see all of your lists. You can make more lists there.","id":182742,"list_id":24200,"position":7,"text":"Click
|
202
|
+
on [Your Lists](https://cheddarapp.com) to see all of your lists. **You can
|
203
|
+
make more lists there.**","updated_at":"2012-07-18T19:33:13Z","entities":[{"type":"link","text":"[Your
|
204
|
+
Lists](https://cheddarapp.com)","display_text":"Your Lists","indices":[9,45],"url":"https://cheddarapp.com","display_indices":[9,19]},{"type":"double_emphasis","text":"**You
|
205
|
+
can make more lists there.**","display_text":"You can make more lists there.","indices":[72,106],"display_indices":[46,76]}],"tags":[],"url":"https://api.cheddarapp.com/v1/tasks/182742"},{"archived_at":null,"completed_at":null,"created_at":"2012-07-18T19:33:13Z","display_html":"Checkout
|
206
|
+
the <a href=\"https://cheddarapp.com/support\" rel=\"external nofollow\" class=\"link\">support
|
207
|
+
page</a> if you need help or have questions","display_text":"Checkout the
|
208
|
+
support page if you need help or have questions","id":182743,"list_id":24200,"position":8,"text":"Checkout
|
209
|
+
the [support page](https://cheddarapp.com/support) if you need help or have
|
210
|
+
questions","updated_at":"2012-07-18T19:33:13Z","entities":[{"type":"link","text":"[support
|
211
|
+
page](https://cheddarapp.com/support)","display_text":"support page","indices":[13,59],"url":"https://cheddarapp.com/support","display_indices":[13,25]}],"tags":[],"url":"https://api.cheddarapp.com/v1/tasks/182743"},{"archived_at":null,"completed_at":null,"created_at":"2012-07-18T19:33:13Z","display_html":"Enjoy
|
212
|
+
using Cheddar!","display_text":"Enjoy using Cheddar!","id":182744,"list_id":24200,"position":9,"text":"Enjoy
|
213
|
+
using Cheddar!","updated_at":"2012-07-18T19:33:13Z","entities":[],"tags":[],"url":"https://api.cheddarapp.com/v1/tasks/182744"}]'
|
214
|
+
http_version:
|
215
|
+
recorded_at: Thu, 19 Jul 2012 12:48:08 GMT
|
216
|
+
- request:
|
217
|
+
method: get
|
218
|
+
uri: https://api.cheddarapp.com/v1/tasks/24200
|
219
|
+
body:
|
220
|
+
encoding: US-ASCII
|
221
|
+
string: ''
|
222
|
+
headers:
|
223
|
+
Authorization:
|
224
|
+
- Bearer 6e8c9e570805e75d683a963b1290116a
|
225
|
+
Accept-Encoding:
|
226
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
227
|
+
Accept:
|
228
|
+
- ! '*/*'
|
229
|
+
User-Agent:
|
230
|
+
- Ruby
|
231
|
+
response:
|
232
|
+
status:
|
233
|
+
code: 401
|
234
|
+
message: Unauthorized
|
235
|
+
headers:
|
236
|
+
Cache-Control:
|
237
|
+
- no-cache, private
|
238
|
+
Content-Type:
|
239
|
+
- application/json; charset=utf-8
|
240
|
+
Date:
|
241
|
+
- Sun, 22 Jul 2012 02:53:35 GMT
|
242
|
+
Server:
|
243
|
+
- thin 1.4.1 codename Chromeo
|
244
|
+
X-Rack-Cache:
|
245
|
+
- miss
|
246
|
+
X-Request-Id:
|
247
|
+
- 62381c3d4238a2dd26b9966da1029c5e
|
248
|
+
X-Runtime:
|
249
|
+
- '0.020529'
|
250
|
+
X-Ua-Compatible:
|
251
|
+
- IE=Edge,chrome=1
|
252
|
+
Content-Length:
|
253
|
+
- '82'
|
254
|
+
Connection:
|
255
|
+
- keep-alive
|
256
|
+
body:
|
257
|
+
encoding: US-ASCII
|
258
|
+
string: ! '{"error":"unauthorized","error_description":"You don''t have access
|
259
|
+
to this list."}'
|
260
|
+
http_version:
|
261
|
+
recorded_at: Sun, 22 Jul 2012 02:53:35 GMT
|
262
|
+
- request:
|
263
|
+
method: put
|
264
|
+
uri: https://api.cheddarapp.com/v1/tasks/
|
265
|
+
body:
|
266
|
+
encoding: US-ASCII
|
267
|
+
string: ! '{"task": {"text":"Welcome to Vermonster!"}}'
|
268
|
+
headers:
|
269
|
+
Authorization:
|
270
|
+
- Bearer 6e8c9e570805e75d683a963b1290116a
|
271
|
+
Content-Type:
|
272
|
+
- application/json
|
273
|
+
Accept:
|
274
|
+
- ! '*/*'
|
275
|
+
User-Agent:
|
276
|
+
- Ruby
|
277
|
+
response:
|
278
|
+
status:
|
279
|
+
code: 404
|
280
|
+
message: Not Found
|
281
|
+
headers:
|
282
|
+
Content-Type:
|
283
|
+
- text/html; charset=utf-8
|
284
|
+
Date:
|
285
|
+
- Sun, 22 Jul 2012 02:53:36 GMT
|
286
|
+
Server:
|
287
|
+
- thin 1.4.1 codename Chromeo
|
288
|
+
X-Rack-Cache:
|
289
|
+
- invalidate, pass
|
290
|
+
X-Request-Id:
|
291
|
+
- 9f98051139a361186dd1ffc1991e943c
|
292
|
+
X-Runtime:
|
293
|
+
- '0.027514'
|
294
|
+
Content-Length:
|
295
|
+
- '728'
|
296
|
+
Connection:
|
297
|
+
- keep-alive
|
298
|
+
body:
|
299
|
+
encoding: US-ASCII
|
300
|
+
string: ! "<!DOCTYPE html>\n<html>\n<head>\n <title>The page you were looking
|
301
|
+
for doesn't exist (404)</title>\n <style type=\"text/css\">\n body { background-color:
|
302
|
+
#fff; color: #666; text-align: center; font-family: arial, sans-serif; }\n
|
303
|
+
\ div.dialog {\n width: 25em;\n padding: 0 4em;\n margin:
|
304
|
+
4em auto 0 auto;\n border: 1px solid #ccc;\n border-right-color:
|
305
|
+
#999;\n border-bottom-color: #999;\n }\n h1 { font-size: 100%;
|
306
|
+
color: #f00; line-height: 1.5em; }\n </style>\n</head>\n\n<body>\n <!--
|
307
|
+
This file lives in public/404.html -->\n <div class=\"dialog\">\n <h1>The
|
308
|
+
page you were looking for doesn't exist.</h1>\n <p>You may have mistyped
|
309
|
+
the address or the page may have moved.</p>\n </div>\n</body>\n</html>\n"
|
310
|
+
http_version:
|
311
|
+
recorded_at: Sun, 22 Jul 2012 02:53:36 GMT
|
312
|
+
- request:
|
313
|
+
method: get
|
314
|
+
uri: https://api.cheddarapp.com/v1/tasks/182737
|
315
|
+
body:
|
316
|
+
encoding: US-ASCII
|
317
|
+
string: ''
|
318
|
+
headers:
|
319
|
+
Authorization:
|
320
|
+
- Bearer 6e8c9e570805e75d683a963b1290116a
|
321
|
+
Accept-Encoding:
|
322
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
323
|
+
Accept:
|
324
|
+
- ! '*/*'
|
325
|
+
User-Agent:
|
326
|
+
- Ruby
|
327
|
+
response:
|
328
|
+
status:
|
329
|
+
code: 200
|
330
|
+
message: OK
|
331
|
+
headers:
|
332
|
+
Access-Control-Allow-Headers:
|
333
|
+
- ! '*,X-Pusher-Socket-ID,Content-Type,Authorization'
|
334
|
+
Access-Control-Allow-Methods:
|
335
|
+
- GET, POST, PUT, OPTIONS
|
336
|
+
Access-Control-Allow-Origin:
|
337
|
+
- ! '*'
|
338
|
+
Access-Control-Max-Age:
|
339
|
+
- '86400'
|
340
|
+
Access-Control-Request-Method:
|
341
|
+
- ! '*'
|
342
|
+
Cache-Control:
|
343
|
+
- must-revalidate, private, max-age=0
|
344
|
+
Content-Type:
|
345
|
+
- application/json; charset=utf-8
|
346
|
+
Date:
|
347
|
+
- Sun, 22 Jul 2012 02:57:34 GMT
|
348
|
+
Etag:
|
349
|
+
- ! '"2fdb74999a1766fc9eafeda9bd261bb1"'
|
350
|
+
Server:
|
351
|
+
- thin 1.4.1 codename Chromeo
|
352
|
+
X-Rack-Cache:
|
353
|
+
- miss
|
354
|
+
X-Request-Id:
|
355
|
+
- c0063279bfd7e3d6eda89f4e98394163
|
356
|
+
X-Runtime:
|
357
|
+
- '0.025865'
|
358
|
+
X-Ua-Compatible:
|
359
|
+
- IE=Edge,chrome=1
|
360
|
+
Content-Length:
|
361
|
+
- '421'
|
362
|
+
Connection:
|
363
|
+
- keep-alive
|
364
|
+
body:
|
365
|
+
encoding: US-ASCII
|
366
|
+
string: ! '{"archived_at":null,"completed_at":null,"created_at":"2012-07-18T19:33:13Z","display_html":"Type
|
367
|
+
in the box and press enter to make new tasks","display_text":"Type in the
|
368
|
+
box and press enter to make new tasks","id":182737,"list_id":24200,"position":2,"text":"Type
|
369
|
+
in the box and press enter to make new tasks","updated_at":"2012-07-18T19:33:13Z","entities":[],"tags":[],"url":"https://api.cheddarapp.com/v1/tasks/182737"}'
|
370
|
+
http_version:
|
371
|
+
recorded_at: Sun, 22 Jul 2012 02:57:35 GMT
|
372
|
+
- request:
|
373
|
+
method: put
|
374
|
+
uri: https://api.cheddarapp.com/v1/tasks/182737
|
375
|
+
body:
|
376
|
+
encoding: US-ASCII
|
377
|
+
string: ! '{"task": {"text":"Welcome to Vermonster!"}}'
|
378
|
+
headers:
|
379
|
+
Authorization:
|
380
|
+
- Bearer 6e8c9e570805e75d683a963b1290116a
|
381
|
+
Content-Type:
|
382
|
+
- application/json
|
383
|
+
Accept:
|
384
|
+
- ! '*/*'
|
385
|
+
User-Agent:
|
386
|
+
- Ruby
|
387
|
+
response:
|
388
|
+
status:
|
389
|
+
code: 200
|
390
|
+
message: OK
|
391
|
+
headers:
|
392
|
+
Access-Control-Allow-Headers:
|
393
|
+
- ! '*,X-Pusher-Socket-ID,Content-Type,Authorization'
|
394
|
+
Access-Control-Allow-Methods:
|
395
|
+
- GET, POST, PUT, OPTIONS
|
396
|
+
Access-Control-Allow-Origin:
|
397
|
+
- ! '*'
|
398
|
+
Access-Control-Max-Age:
|
399
|
+
- '86400'
|
400
|
+
Access-Control-Request-Method:
|
401
|
+
- ! '*'
|
402
|
+
Cache-Control:
|
403
|
+
- max-age=0, private, must-revalidate
|
404
|
+
Content-Type:
|
405
|
+
- application/json; charset=utf-8
|
406
|
+
Date:
|
407
|
+
- Sun, 22 Jul 2012 02:57:35 GMT
|
408
|
+
Etag:
|
409
|
+
- ! '"4b945f8bb9408b0ff71e883622c334db"'
|
410
|
+
Server:
|
411
|
+
- thin 1.4.1 codename Chromeo
|
412
|
+
X-Rack-Cache:
|
413
|
+
- invalidate, pass
|
414
|
+
X-Request-Id:
|
415
|
+
- 0c1f1c70d47772638382966fd06aa254
|
416
|
+
X-Runtime:
|
417
|
+
- '0.035112'
|
418
|
+
X-Ua-Compatible:
|
419
|
+
- IE=Edge,chrome=1
|
420
|
+
Content-Length:
|
421
|
+
- '340'
|
422
|
+
Connection:
|
423
|
+
- keep-alive
|
424
|
+
body:
|
425
|
+
encoding: US-ASCII
|
426
|
+
string: ! '{"archived_at":null,"completed_at":null,"created_at":"2012-07-18T19:33:13Z","display_html":"Welcome
|
427
|
+
to Vermonster!","display_text":"Welcome to Vermonster!","id":182737,"list_id":24200,"position":2,"text":"Welcome
|
428
|
+
to Vermonster!","updated_at":"2012-07-22T02:57:35Z","entities":[],"tags":[],"url":"https://api.cheddarapp.com/v1/tasks/182737"}'
|
429
|
+
http_version:
|
430
|
+
recorded_at: Sun, 22 Jul 2012 02:57:35 GMT
|
431
|
+
- request:
|
432
|
+
method: post
|
433
|
+
uri: https://api.cheddarapp.com/v1/lists/24200/tasks
|
434
|
+
body:
|
435
|
+
encoding: US-ASCII
|
436
|
+
string: ! '{"task": {"text":"Foo to the bar."}}'
|
437
|
+
headers:
|
438
|
+
Authorization:
|
439
|
+
- Bearer 6e8c9e570805e75d683a963b1290116a
|
440
|
+
Content-Type:
|
441
|
+
- application/json
|
442
|
+
Accept:
|
443
|
+
- ! '*/*'
|
444
|
+
User-Agent:
|
445
|
+
- Ruby
|
446
|
+
response:
|
447
|
+
status:
|
448
|
+
code: 201
|
449
|
+
message: Created
|
450
|
+
headers:
|
451
|
+
Access-Control-Allow-Headers:
|
452
|
+
- ! '*,X-Pusher-Socket-ID,Content-Type,Authorization'
|
453
|
+
Access-Control-Allow-Methods:
|
454
|
+
- GET, POST, PUT, OPTIONS
|
455
|
+
Access-Control-Allow-Origin:
|
456
|
+
- ! '*'
|
457
|
+
Access-Control-Max-Age:
|
458
|
+
- '86400'
|
459
|
+
Access-Control-Request-Method:
|
460
|
+
- ! '*'
|
461
|
+
Cache-Control:
|
462
|
+
- max-age=0, private, must-revalidate
|
463
|
+
Content-Type:
|
464
|
+
- application/json; charset=utf-8
|
465
|
+
Date:
|
466
|
+
- Sat, 28 Jul 2012 22:39:22 GMT
|
467
|
+
Etag:
|
468
|
+
- ! '"8dd90521b1d6c0028e31994eebe893f6"'
|
469
|
+
Location:
|
470
|
+
- https://api.cheddarapp.com/v1/tasks/209582
|
471
|
+
Server:
|
472
|
+
- thin 1.4.1 codename Chromeo
|
473
|
+
X-Rack-Cache:
|
474
|
+
- invalidate, pass
|
475
|
+
X-Request-Id:
|
476
|
+
- bb03e51b1736df2f689ab69885eb3873
|
477
|
+
X-Runtime:
|
478
|
+
- '0.039128'
|
479
|
+
X-Ua-Compatible:
|
480
|
+
- IE=Edge,chrome=1
|
481
|
+
Content-Length:
|
482
|
+
- '320'
|
483
|
+
Connection:
|
484
|
+
- keep-alive
|
485
|
+
body:
|
486
|
+
encoding: US-ASCII
|
487
|
+
string: ! '{"archived_at":null,"completed_at":null,"created_at":"2012-07-28T22:39:22Z","display_html":"Foo
|
488
|
+
to the bar.","display_text":"Foo to the bar.","id":209582,"list_id":24200,"position":10,"text":"Foo
|
489
|
+
to the bar.","updated_at":"2012-07-28T22:39:22Z","entities":[],"tags":[],"url":"https://api.cheddarapp.com/v1/tasks/209582"}'
|
490
|
+
http_version:
|
491
|
+
recorded_at: Sat, 28 Jul 2012 22:39:22 GMT
|
492
|
+
- request:
|
493
|
+
method: post
|
494
|
+
uri: https://api.cheddarapp.com/v1/lists/24393/tasks/archive_completed
|
495
|
+
body:
|
496
|
+
encoding: US-ASCII
|
497
|
+
string: ''
|
498
|
+
headers:
|
499
|
+
Authorization:
|
500
|
+
- Bearer 6e8c9e570805e75d683a963b1290116a
|
501
|
+
Content-Length:
|
502
|
+
- '0'
|
503
|
+
Accept:
|
504
|
+
- ! '*/*'
|
505
|
+
User-Agent:
|
506
|
+
- Ruby
|
507
|
+
response:
|
508
|
+
status:
|
509
|
+
code: 204
|
510
|
+
message: No Content
|
511
|
+
headers:
|
512
|
+
Access-Control-Allow-Headers:
|
513
|
+
- ! '*,X-Pusher-Socket-ID,Content-Type,Authorization'
|
514
|
+
Access-Control-Allow-Methods:
|
515
|
+
- GET, POST, PUT, OPTIONS
|
516
|
+
Access-Control-Allow-Origin:
|
517
|
+
- ! '*'
|
518
|
+
Access-Control-Max-Age:
|
519
|
+
- '86400'
|
520
|
+
Access-Control-Request-Method:
|
521
|
+
- ! '*'
|
522
|
+
Cache-Control:
|
523
|
+
- no-cache
|
524
|
+
Date:
|
525
|
+
- Sat, 28 Jul 2012 23:01:43 GMT
|
526
|
+
Server:
|
527
|
+
- thin 1.4.1 codename Chromeo
|
528
|
+
X-Rack-Cache:
|
529
|
+
- invalidate, pass
|
530
|
+
X-Request-Id:
|
531
|
+
- dea477268d37db8a71dc53cc90540846
|
532
|
+
X-Runtime:
|
533
|
+
- '0.024853'
|
534
|
+
X-Ua-Compatible:
|
535
|
+
- IE=Edge,chrome=1
|
536
|
+
Connection:
|
537
|
+
- keep-alive
|
538
|
+
body:
|
539
|
+
encoding: US-ASCII
|
540
|
+
string: ''
|
541
|
+
http_version:
|
542
|
+
recorded_at: Sat, 28 Jul 2012 23:01:43 GMT
|
543
|
+
- request:
|
544
|
+
method: get
|
545
|
+
uri: https://api.cheddarapp.com/v1/lists/24393
|
546
|
+
body:
|
547
|
+
encoding: US-ASCII
|
548
|
+
string: ''
|
549
|
+
headers:
|
550
|
+
Authorization:
|
551
|
+
- Bearer 6e8c9e570805e75d683a963b1290116a
|
552
|
+
Accept-Encoding:
|
553
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
554
|
+
Accept:
|
555
|
+
- ! '*/*'
|
556
|
+
User-Agent:
|
557
|
+
- Ruby
|
558
|
+
response:
|
559
|
+
status:
|
560
|
+
code: 200
|
561
|
+
message: OK
|
562
|
+
headers:
|
563
|
+
Access-Control-Allow-Headers:
|
564
|
+
- ! '*,X-Pusher-Socket-ID,Content-Type,Authorization'
|
565
|
+
Access-Control-Allow-Methods:
|
566
|
+
- GET, POST, PUT, OPTIONS
|
567
|
+
Access-Control-Allow-Origin:
|
568
|
+
- ! '*'
|
569
|
+
Access-Control-Max-Age:
|
570
|
+
- '86400'
|
571
|
+
Access-Control-Request-Method:
|
572
|
+
- ! '*'
|
573
|
+
Cache-Control:
|
574
|
+
- must-revalidate, private, max-age=0
|
575
|
+
Content-Type:
|
576
|
+
- application/json; charset=utf-8
|
577
|
+
Date:
|
578
|
+
- Sat, 28 Jul 2012 23:01:43 GMT
|
579
|
+
Etag:
|
580
|
+
- ! '"644e726d0add3fc2b21e9cade1a083ec"'
|
581
|
+
Server:
|
582
|
+
- thin 1.4.1 codename Chromeo
|
583
|
+
X-Rack-Cache:
|
584
|
+
- miss
|
585
|
+
X-Request-Id:
|
586
|
+
- c25f3088c20bcd9a091f1dbe157736b5
|
587
|
+
X-Runtime:
|
588
|
+
- '0.039234'
|
589
|
+
X-Ua-Compatible:
|
590
|
+
- IE=Edge,chrome=1
|
591
|
+
Content-Length:
|
592
|
+
- '576'
|
593
|
+
Connection:
|
594
|
+
- keep-alive
|
595
|
+
body:
|
596
|
+
encoding: US-ASCII
|
597
|
+
string: ! '{"archived_at":"2012-07-19T12:29:26Z","created_at":"2012-07-19T12:27:58Z","id":24393,"position":2,"slug":"QT9","title":"Foobar","updated_at":"2012-07-19T12:29:27Z","url":"https://api.cheddarapp.com/v1/lists/24393","user":{"created_at":"2012-07-18T19:33:13Z","first_name":null,"has_plus":false,"id":13055,"last_name":null,"updated_at":"2012-07-18T19:33:13Z","username":"vermonster","url":"https://api.cheddarapp.com/v1/users/13055","socket":{"auth_url":"https://api.cheddarapp.com/pusher/auth","api_key":"675f10a650f18b4eb0a8","app_id":"15197","channel":"private-user-13055"}}}'
|
598
|
+
http_version:
|
599
|
+
recorded_at: Sat, 28 Jul 2012 23:01:43 GMT
|
600
|
+
- request:
|
601
|
+
method: get
|
602
|
+
uri: https://api.cheddarapp.com/v1/lists/24393/tasks
|
603
|
+
body:
|
604
|
+
encoding: US-ASCII
|
605
|
+
string: ''
|
606
|
+
headers:
|
607
|
+
Authorization:
|
608
|
+
- Bearer 6e8c9e570805e75d683a963b1290116a
|
609
|
+
Accept-Encoding:
|
610
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
611
|
+
Accept:
|
612
|
+
- ! '*/*'
|
613
|
+
User-Agent:
|
614
|
+
- Ruby
|
615
|
+
response:
|
616
|
+
status:
|
617
|
+
code: 200
|
618
|
+
message: OK
|
619
|
+
headers:
|
620
|
+
Access-Control-Allow-Headers:
|
621
|
+
- ! '*,X-Pusher-Socket-ID,Content-Type,Authorization'
|
622
|
+
Access-Control-Allow-Methods:
|
623
|
+
- GET, POST, PUT, OPTIONS
|
624
|
+
Access-Control-Allow-Origin:
|
625
|
+
- ! '*'
|
626
|
+
Access-Control-Max-Age:
|
627
|
+
- '86400'
|
628
|
+
Access-Control-Request-Method:
|
629
|
+
- ! '*'
|
630
|
+
Cache-Control:
|
631
|
+
- must-revalidate, private, max-age=0
|
632
|
+
Content-Type:
|
633
|
+
- application/json; charset=utf-8
|
634
|
+
Date:
|
635
|
+
- Sat, 28 Jul 2012 23:01:44 GMT
|
636
|
+
Etag:
|
637
|
+
- ! '"d751713988987e9331980363e24189ce"'
|
638
|
+
Server:
|
639
|
+
- thin 1.4.1 codename Chromeo
|
640
|
+
X-Rack-Cache:
|
641
|
+
- miss
|
642
|
+
X-Request-Id:
|
643
|
+
- c13c6ba00bd152e36a2b2ce2ef7584b7
|
644
|
+
X-Runtime:
|
645
|
+
- '0.023897'
|
646
|
+
X-Ua-Compatible:
|
647
|
+
- IE=Edge,chrome=1
|
648
|
+
Content-Length:
|
649
|
+
- '2'
|
650
|
+
Connection:
|
651
|
+
- keep-alive
|
652
|
+
body:
|
653
|
+
encoding: US-ASCII
|
654
|
+
string: ! '[]'
|
655
|
+
http_version:
|
656
|
+
recorded_at: Sat, 28 Jul 2012 23:01:44 GMT
|
657
|
+
- request:
|
658
|
+
method: post
|
659
|
+
uri: https://api.cheddarapp.com/v1/lists/24393/tasks/archive_all
|
660
|
+
body:
|
661
|
+
encoding: US-ASCII
|
662
|
+
string: ''
|
663
|
+
headers:
|
664
|
+
Authorization:
|
665
|
+
- Bearer 6e8c9e570805e75d683a963b1290116a
|
666
|
+
Content-Length:
|
667
|
+
- '0'
|
668
|
+
Accept:
|
669
|
+
- ! '*/*'
|
670
|
+
User-Agent:
|
671
|
+
- Ruby
|
672
|
+
response:
|
673
|
+
status:
|
674
|
+
code: 204
|
675
|
+
message: No Content
|
676
|
+
headers:
|
677
|
+
Access-Control-Allow-Headers:
|
678
|
+
- ! '*,X-Pusher-Socket-ID,Content-Type,Authorization'
|
679
|
+
Access-Control-Allow-Methods:
|
680
|
+
- GET, POST, PUT, OPTIONS
|
681
|
+
Access-Control-Allow-Origin:
|
682
|
+
- ! '*'
|
683
|
+
Access-Control-Max-Age:
|
684
|
+
- '86400'
|
685
|
+
Access-Control-Request-Method:
|
686
|
+
- ! '*'
|
687
|
+
Cache-Control:
|
688
|
+
- no-cache
|
689
|
+
Date:
|
690
|
+
- Sat, 28 Jul 2012 23:03:01 GMT
|
691
|
+
Server:
|
692
|
+
- thin 1.4.1 codename Chromeo
|
693
|
+
X-Rack-Cache:
|
694
|
+
- invalidate, pass
|
695
|
+
X-Request-Id:
|
696
|
+
- 6ea1fa6747d5bb9970d910e7344a3fed
|
697
|
+
X-Runtime:
|
698
|
+
- '0.022247'
|
699
|
+
X-Ua-Compatible:
|
700
|
+
- IE=Edge,chrome=1
|
701
|
+
Connection:
|
702
|
+
- keep-alive
|
703
|
+
body:
|
704
|
+
encoding: US-ASCII
|
705
|
+
string: ''
|
706
|
+
http_version:
|
707
|
+
recorded_at: Sat, 28 Jul 2012 23:03:01 GMT
|
708
|
+
- request:
|
709
|
+
method: get
|
710
|
+
uri: https://api.cheddarapp.com/v1/tasks/209582
|
711
|
+
body:
|
712
|
+
encoding: US-ASCII
|
713
|
+
string: ''
|
714
|
+
headers:
|
715
|
+
Authorization:
|
716
|
+
- Bearer 6e8c9e570805e75d683a963b1290116a
|
717
|
+
Accept-Encoding:
|
718
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
719
|
+
Accept:
|
720
|
+
- ! '*/*'
|
721
|
+
User-Agent:
|
722
|
+
- Ruby
|
723
|
+
response:
|
724
|
+
status:
|
725
|
+
code: 200
|
726
|
+
message: OK
|
727
|
+
headers:
|
728
|
+
Access-Control-Allow-Headers:
|
729
|
+
- ! '*,X-Pusher-Socket-ID,Content-Type,Authorization'
|
730
|
+
Access-Control-Allow-Methods:
|
731
|
+
- GET, POST, PUT, OPTIONS
|
732
|
+
Access-Control-Allow-Origin:
|
733
|
+
- ! '*'
|
734
|
+
Access-Control-Max-Age:
|
735
|
+
- '86400'
|
736
|
+
Access-Control-Request-Method:
|
737
|
+
- ! '*'
|
738
|
+
Cache-Control:
|
739
|
+
- must-revalidate, private, max-age=0
|
740
|
+
Content-Type:
|
741
|
+
- application/json; charset=utf-8
|
742
|
+
Date:
|
743
|
+
- Sun, 29 Jul 2012 22:55:26 GMT
|
744
|
+
Etag:
|
745
|
+
- ! '"8dd90521b1d6c0028e31994eebe893f6"'
|
746
|
+
Server:
|
747
|
+
- thin 1.4.1 codename Chromeo
|
748
|
+
X-Rack-Cache:
|
749
|
+
- miss
|
750
|
+
X-Request-Id:
|
751
|
+
- 261f13074a4be14c4d3d72b1ef9fb6a4
|
752
|
+
X-Runtime:
|
753
|
+
- '0.017074'
|
754
|
+
X-Ua-Compatible:
|
755
|
+
- IE=Edge,chrome=1
|
756
|
+
Content-Length:
|
757
|
+
- '320'
|
758
|
+
Connection:
|
759
|
+
- keep-alive
|
760
|
+
body:
|
761
|
+
encoding: US-ASCII
|
762
|
+
string: ! '{"archived_at":null,"completed_at":null,"created_at":"2012-07-28T22:39:22Z","display_html":"Foo
|
763
|
+
to the bar.","display_text":"Foo to the bar.","id":209582,"list_id":24200,"position":10,"text":"Foo
|
764
|
+
to the bar.","updated_at":"2012-07-28T22:39:22Z","entities":[],"tags":[],"url":"https://api.cheddarapp.com/v1/tasks/209582"}'
|
765
|
+
http_version:
|
766
|
+
recorded_at: Sun, 29 Jul 2012 22:55:26 GMT
|
767
|
+
- request:
|
768
|
+
method: put
|
769
|
+
uri: https://api.cheddarapp.com/v1/tasks/209582/move
|
770
|
+
body:
|
771
|
+
encoding: US-ASCII
|
772
|
+
string: ! '{"task": { "list_id": 24398 } }'
|
773
|
+
headers:
|
774
|
+
Authorization:
|
775
|
+
- Bearer 6e8c9e570805e75d683a963b1290116a
|
776
|
+
Content-Type:
|
777
|
+
- application/json
|
778
|
+
Accept:
|
779
|
+
- ! '*/*'
|
780
|
+
User-Agent:
|
781
|
+
- Ruby
|
782
|
+
response:
|
783
|
+
status:
|
784
|
+
code: 200
|
785
|
+
message: OK
|
786
|
+
headers:
|
787
|
+
Access-Control-Allow-Headers:
|
788
|
+
- ! '*,X-Pusher-Socket-ID,Content-Type,Authorization'
|
789
|
+
Access-Control-Allow-Methods:
|
790
|
+
- GET, POST, PUT, OPTIONS
|
791
|
+
Access-Control-Allow-Origin:
|
792
|
+
- ! '*'
|
793
|
+
Access-Control-Max-Age:
|
794
|
+
- '86400'
|
795
|
+
Access-Control-Request-Method:
|
796
|
+
- ! '*'
|
797
|
+
Cache-Control:
|
798
|
+
- max-age=0, private, must-revalidate
|
799
|
+
Content-Type:
|
800
|
+
- application/json; charset=utf-8
|
801
|
+
Date:
|
802
|
+
- Sun, 29 Jul 2012 22:55:27 GMT
|
803
|
+
Etag:
|
804
|
+
- ! '"858b3251326f3aa6bd3ed751cd34650b"'
|
805
|
+
Server:
|
806
|
+
- thin 1.4.1 codename Chromeo
|
807
|
+
X-Rack-Cache:
|
808
|
+
- invalidate, pass
|
809
|
+
X-Request-Id:
|
810
|
+
- 4db2a8a12eca1f3ae8e26658e757ca82
|
811
|
+
X-Runtime:
|
812
|
+
- '0.060187'
|
813
|
+
X-Ua-Compatible:
|
814
|
+
- IE=Edge,chrome=1
|
815
|
+
Content-Length:
|
816
|
+
- '319'
|
817
|
+
Connection:
|
818
|
+
- keep-alive
|
819
|
+
body:
|
820
|
+
encoding: US-ASCII
|
821
|
+
string: ! '{"archived_at":null,"completed_at":null,"created_at":"2012-07-28T22:39:22Z","display_html":"Foo
|
822
|
+
to the bar.","display_text":"Foo to the bar.","id":209582,"list_id":24398,"position":1,"text":"Foo
|
823
|
+
to the bar.","updated_at":"2012-07-29T22:55:27Z","entities":[],"tags":[],"url":"https://api.cheddarapp.com/v1/tasks/209582"}'
|
824
|
+
http_version:
|
825
|
+
recorded_at: Sun, 29 Jul 2012 22:55:27 GMT
|
826
|
+
recorded_with: VCR 2.2.3
|