trollolo 0.0.9 → 0.0.10

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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/Gemfile +1 -1
  4. data/README.md +97 -0
  5. data/lib/card.rb +0 -14
  6. data/lib/cli.rb +66 -27
  7. data/lib/empty_column.rb +5 -0
  8. data/lib/scrum/backlog_mover.rb +47 -0
  9. data/lib/scrum/card_type_detection.rb +23 -0
  10. data/lib/scrum/creator.rb +30 -0
  11. data/lib/scrum/prioritizer.rb +24 -0
  12. data/lib/scrum/priority_name.rb +15 -0
  13. data/lib/scrum/scrum_boards.rb +11 -0
  14. data/lib/scrum/sprint_board.rb +82 -0
  15. data/lib/scrum/sprint_cleaner.rb +41 -0
  16. data/lib/scrum/sprint_planning_board.rb +26 -0
  17. data/lib/scrum.rb +13 -0
  18. data/lib/scrum_board.rb +17 -7
  19. data/lib/settings.rb +36 -12
  20. data/lib/trello_service.rb +22 -0
  21. data/lib/trello_wrapper.rb +9 -23
  22. data/lib/trollolo.rb +3 -2
  23. data/lib/version.rb +1 -1
  24. data/man/trollolo.1.md +22 -1
  25. data/spec/data/board.json +3 -4
  26. data/spec/data/full-board-with-accepted.json +1817 -0
  27. data/spec/data/full-board.json +3 -27
  28. data/spec/data/trollolorc +13 -0
  29. data/spec/data/trollolorc_with_board_aliases +9 -0
  30. data/spec/data/vcr/creator_custom_config.yml +824 -0
  31. data/spec/data/vcr/creator_default_config.yml +824 -0
  32. data/spec/data/vcr/move_backlog.yml +2375 -0
  33. data/spec/data/vcr/move_backlog_missing_backlog.yml +155 -0
  34. data/spec/data/vcr/move_backlog_missing_waterbed.yml +364 -0
  35. data/spec/data/vcr/prioritize_backlog_list.yml +2335 -0
  36. data/spec/data/vcr/prioritize_no_backlog_list.yml +190 -0
  37. data/spec/data/vcr/sprint_board.yml +624 -0
  38. data/spec/data/vcr/sprint_board_no_waterline.yml +556 -0
  39. data/spec/data/vcr/sprint_cleanup.yml +1239 -7500
  40. data/spec/data/vcr/sprint_planning_board.yml +239 -0
  41. data/spec/integration/create_burndown_spec.rb +1 -1
  42. data/spec/unit/card_spec.rb +0 -41
  43. data/spec/unit/cli_spec.rb +74 -1
  44. data/spec/unit/empty_column_spec.rb +9 -0
  45. data/spec/unit/scrum/backlog_mover_spec.rb +26 -0
  46. data/spec/unit/scrum/card_type_detection_spec.rb +35 -0
  47. data/spec/unit/scrum/creator_spec.rb +23 -0
  48. data/spec/unit/scrum/prioritizer_spec.rb +45 -0
  49. data/spec/unit/scrum/priority_name_spec.rb +35 -0
  50. data/spec/unit/scrum/sprint_board_spec.rb +22 -0
  51. data/spec/unit/scrum/sprint_cleaner_spec.rb +26 -0
  52. data/spec/unit/scrum/sprint_planning_board_spec.rb +14 -0
  53. data/spec/unit/scrum_board_spec.rb +90 -0
  54. data/spec/unit/settings_spec.rb +42 -6
  55. data/spec/unit/spec_helper.rb +3 -2
  56. data/spec/unit/support/update_webmock_data +3 -1
  57. data/spec/unit/support/vcr.rb +8 -8
  58. data/spec/unit/support/webmocks.rb +9 -0
  59. data/spec/unit/trello_wrapper_spec.rb +20 -0
  60. data/trollolo.gemspec +2 -1
  61. metadata +52 -9
  62. data/lib/prioritizer.rb +0 -34
  63. data/lib/sprint_cleanup.rb +0 -54
  64. data/spec/unit/prioritizer_spec.rb +0 -47
  65. data/spec/unit/sprint_cleanup_spec.rb +0 -18
@@ -0,0 +1,824 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.trello.com/1/boards?key=mykey&token=mytoken
6
+ body:
7
+ encoding: UTF-8
8
+ string: name=Sprint%20Board
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Length:
15
+ - '19'
16
+ Content-Type:
17
+ - application/x-www-form-urlencoded
18
+ User-Agent:
19
+ - Ruby
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Cache-Control:
26
+ - max-age=0, must-revalidate, no-cache, no-store
27
+ X-Content-Type-Options:
28
+ - nosniff
29
+ Strict-Transport-Security:
30
+ - max-age=15768000
31
+ X-Xss-Protection:
32
+ - 1; mode=block
33
+ X-Frame-Options:
34
+ - DENY
35
+ X-Trello-Version:
36
+ - 1.830.0
37
+ X-Trello-Environment:
38
+ - Production
39
+ Access-Control-Allow-Origin:
40
+ - "*"
41
+ Access-Control-Allow-Methods:
42
+ - GET, PUT, POST, DELETE
43
+ Access-Control-Allow-Headers:
44
+ - Authorization, Accept, Content-Type
45
+ X-Server-Time:
46
+ - '1481805652919'
47
+ Expires:
48
+ - Thu, 01 Jan 1970 00:00:00
49
+ Content-Type:
50
+ - application/json; charset=utf-8
51
+ Content-Length:
52
+ - '760'
53
+ Etag:
54
+ - W/"2f8-2c04b7e5"
55
+ Vary:
56
+ - Accept-Encoding
57
+ Date:
58
+ - Thu, 15 Dec 2016 12:40:52 GMT
59
+ Connection:
60
+ - keep-alive
61
+ body:
62
+ encoding: UTF-8
63
+ string: '{"id":"58528f54314dfadfe96ab6db","name":"Sprint Board","desc":"","descData":null,"closed":false,"idOrganization":null,"pinned":false,"url":"https://trello.com/b/kvmkTeKt/sprint-board","shortUrl":"https://trello.com/b/kvmkTeKt","prefs":{"permissionLevel":"private","voting":"disabled","comments":"members","invitations":"members","selfJoin":true,"cardCovers":true,"cardAging":"regular","calendarFeedEnabled":false,"background":"blue","backgroundImage":null,"backgroundImageScaled":null,"backgroundTile":false,"backgroundBrightness":"dark","backgroundColor":"#0079BF","canBePublic":true,"canBeOrg":true,"canBePrivate":true,"canInvite":true},"labelNames":{"green":"","yellow":"","orange":"","red":"","purple":"","blue":"","sky":"","lime":"","pink":"","black":""}}'
64
+ http_version:
65
+ recorded_at: Thu, 15 Dec 2016 12:40:57 GMT
66
+ - request:
67
+ method: post
68
+ uri: https://api.trello.com/1/lists?key=mykey&token=mytoken
69
+ body:
70
+ encoding: UTF-8
71
+ string: name=Sprint%20Backlog&closed=false&idBoard=58528f54314dfadfe96ab6db&pos=&idListSource=
72
+ headers:
73
+ Accept:
74
+ - "*/*; q=0.5, application/xml"
75
+ Accept-Encoding:
76
+ - gzip, deflate
77
+ Content-Length:
78
+ - '86'
79
+ Content-Type:
80
+ - application/x-www-form-urlencoded
81
+ User-Agent:
82
+ - Ruby
83
+ response:
84
+ status:
85
+ code: 200
86
+ message: OK
87
+ headers:
88
+ Cache-Control:
89
+ - max-age=0, must-revalidate, no-cache, no-store
90
+ X-Content-Type-Options:
91
+ - nosniff
92
+ Strict-Transport-Security:
93
+ - max-age=15768000
94
+ X-Xss-Protection:
95
+ - 1; mode=block
96
+ X-Frame-Options:
97
+ - DENY
98
+ X-Trello-Version:
99
+ - 1.830.0
100
+ X-Trello-Environment:
101
+ - Production
102
+ Access-Control-Allow-Origin:
103
+ - "*"
104
+ Access-Control-Allow-Methods:
105
+ - GET, PUT, POST, DELETE
106
+ Access-Control-Allow-Headers:
107
+ - Authorization, Accept, Content-Type
108
+ X-Server-Time:
109
+ - '1481805653163'
110
+ Expires:
111
+ - Thu, 01 Jan 1970 00:00:00
112
+ Content-Type:
113
+ - application/json; charset=utf-8
114
+ Content-Length:
115
+ - '120'
116
+ Etag:
117
+ - W/"78-943f1122"
118
+ Vary:
119
+ - Accept-Encoding
120
+ Date:
121
+ - Thu, 15 Dec 2016 12:40:53 GMT
122
+ Connection:
123
+ - keep-alive
124
+ body:
125
+ encoding: UTF-8
126
+ string: '{"id":"58528f55a3a704dcda4697f8","name":"Sprint Backlog","closed":false,"idBoard":"58528f54314dfadfe96ab6db","pos":8192}'
127
+ http_version:
128
+ recorded_at: Thu, 15 Dec 2016 12:40:57 GMT
129
+ - request:
130
+ method: post
131
+ uri: https://api.trello.com/1/lists?key=mykey&token=mytoken
132
+ body:
133
+ encoding: UTF-8
134
+ string: name=QA&closed=false&idBoard=58528f54314dfadfe96ab6db&pos=&idListSource=
135
+ headers:
136
+ Accept:
137
+ - "*/*; q=0.5, application/xml"
138
+ Accept-Encoding:
139
+ - gzip, deflate
140
+ Content-Length:
141
+ - '72'
142
+ Content-Type:
143
+ - application/x-www-form-urlencoded
144
+ User-Agent:
145
+ - Ruby
146
+ response:
147
+ status:
148
+ code: 200
149
+ message: OK
150
+ headers:
151
+ Cache-Control:
152
+ - max-age=0, must-revalidate, no-cache, no-store
153
+ X-Content-Type-Options:
154
+ - nosniff
155
+ Strict-Transport-Security:
156
+ - max-age=15768000
157
+ X-Xss-Protection:
158
+ - 1; mode=block
159
+ X-Frame-Options:
160
+ - DENY
161
+ X-Trello-Version:
162
+ - 1.830.0
163
+ X-Trello-Environment:
164
+ - Production
165
+ Access-Control-Allow-Origin:
166
+ - "*"
167
+ Access-Control-Allow-Methods:
168
+ - GET, PUT, POST, DELETE
169
+ Access-Control-Allow-Headers:
170
+ - Authorization, Accept, Content-Type
171
+ X-Server-Time:
172
+ - '1481805653414'
173
+ Expires:
174
+ - Thu, 01 Jan 1970 00:00:00
175
+ Content-Type:
176
+ - application/json; charset=utf-8
177
+ Content-Length:
178
+ - '108'
179
+ Etag:
180
+ - W/"6c-a45999a0"
181
+ Vary:
182
+ - Accept-Encoding
183
+ Date:
184
+ - Thu, 15 Dec 2016 12:40:53 GMT
185
+ Connection:
186
+ - keep-alive
187
+ body:
188
+ encoding: UTF-8
189
+ string: '{"id":"58528f55824b7cd2e1b86c20","name":"QA","closed":false,"idBoard":"58528f54314dfadfe96ab6db","pos":4096}'
190
+ http_version:
191
+ recorded_at: Thu, 15 Dec 2016 12:40:57 GMT
192
+ - request:
193
+ method: post
194
+ uri: https://api.trello.com/1/lists?key=mykey&token=mytoken
195
+ body:
196
+ encoding: UTF-8
197
+ string: name=Doing&closed=false&idBoard=58528f54314dfadfe96ab6db&pos=&idListSource=
198
+ headers:
199
+ Accept:
200
+ - "*/*; q=0.5, application/xml"
201
+ Accept-Encoding:
202
+ - gzip, deflate
203
+ Content-Length:
204
+ - '75'
205
+ Content-Type:
206
+ - application/x-www-form-urlencoded
207
+ User-Agent:
208
+ - Ruby
209
+ response:
210
+ status:
211
+ code: 200
212
+ message: OK
213
+ headers:
214
+ Cache-Control:
215
+ - max-age=0, must-revalidate, no-cache, no-store
216
+ X-Content-Type-Options:
217
+ - nosniff
218
+ Strict-Transport-Security:
219
+ - max-age=15768000
220
+ X-Xss-Protection:
221
+ - 1; mode=block
222
+ X-Frame-Options:
223
+ - DENY
224
+ X-Trello-Version:
225
+ - 1.830.0
226
+ X-Trello-Environment:
227
+ - Production
228
+ Access-Control-Allow-Origin:
229
+ - "*"
230
+ Access-Control-Allow-Methods:
231
+ - GET, PUT, POST, DELETE
232
+ Access-Control-Allow-Headers:
233
+ - Authorization, Accept, Content-Type
234
+ X-Server-Time:
235
+ - '1481805654194'
236
+ Expires:
237
+ - Thu, 01 Jan 1970 00:00:00
238
+ Content-Type:
239
+ - application/json; charset=utf-8
240
+ Content-Length:
241
+ - '111'
242
+ Etag:
243
+ - W/"6f-958ba540"
244
+ Vary:
245
+ - Accept-Encoding
246
+ Date:
247
+ - Thu, 15 Dec 2016 12:40:54 GMT
248
+ Connection:
249
+ - keep-alive
250
+ body:
251
+ encoding: UTF-8
252
+ string: '{"id":"58528f559ddc0b5538c78a82","name":"Doing","closed":false,"idBoard":"58528f54314dfadfe96ab6db","pos":2048}'
253
+ http_version:
254
+ recorded_at: Thu, 15 Dec 2016 12:40:58 GMT
255
+ - request:
256
+ method: post
257
+ uri: https://api.trello.com/1/labels?key=mykey&token=mytoken
258
+ body:
259
+ encoding: UTF-8
260
+ string: name=Sticky&color=&idBoard=58528f54314dfadfe96ab6db
261
+ headers:
262
+ Accept:
263
+ - "*/*; q=0.5, application/xml"
264
+ Accept-Encoding:
265
+ - gzip, deflate
266
+ Content-Length:
267
+ - '51'
268
+ Content-Type:
269
+ - application/x-www-form-urlencoded
270
+ User-Agent:
271
+ - Ruby
272
+ response:
273
+ status:
274
+ code: 200
275
+ message: OK
276
+ headers:
277
+ Cache-Control:
278
+ - max-age=0, must-revalidate, no-cache, no-store
279
+ X-Content-Type-Options:
280
+ - nosniff
281
+ Strict-Transport-Security:
282
+ - max-age=15768000
283
+ X-Xss-Protection:
284
+ - 1; mode=block
285
+ X-Frame-Options:
286
+ - DENY
287
+ X-Trello-Version:
288
+ - 1.830.0
289
+ X-Trello-Environment:
290
+ - Production
291
+ Access-Control-Allow-Origin:
292
+ - "*"
293
+ Access-Control-Allow-Methods:
294
+ - GET, PUT, POST, DELETE
295
+ Access-Control-Allow-Headers:
296
+ - Authorization, Accept, Content-Type
297
+ X-Server-Time:
298
+ - '1481805654439'
299
+ Expires:
300
+ - Thu, 01 Jan 1970 00:00:00
301
+ Content-Type:
302
+ - application/json; charset=utf-8
303
+ Content-Length:
304
+ - '108'
305
+ Etag:
306
+ - W/"6c-607e883f"
307
+ Vary:
308
+ - Accept-Encoding
309
+ Date:
310
+ - Thu, 15 Dec 2016 12:40:54 GMT
311
+ Connection:
312
+ - keep-alive
313
+ body:
314
+ encoding: UTF-8
315
+ string: '{"id":"58528f5671f929225f27b6c1","idBoard":"58528f54314dfadfe96ab6db","name":"Sticky","color":null,"uses":0}'
316
+ http_version:
317
+ recorded_at: Thu, 15 Dec 2016 12:40:58 GMT
318
+ - request:
319
+ method: post
320
+ uri: https://api.trello.com/1/labels?key=mykey&token=mytoken
321
+ body:
322
+ encoding: UTF-8
323
+ string: name=Seabed&color=&idBoard=58528f54314dfadfe96ab6db
324
+ headers:
325
+ Accept:
326
+ - "*/*; q=0.5, application/xml"
327
+ Accept-Encoding:
328
+ - gzip, deflate
329
+ Content-Length:
330
+ - '51'
331
+ Content-Type:
332
+ - application/x-www-form-urlencoded
333
+ User-Agent:
334
+ - Ruby
335
+ response:
336
+ status:
337
+ code: 200
338
+ message: OK
339
+ headers:
340
+ Cache-Control:
341
+ - max-age=0, must-revalidate, no-cache, no-store
342
+ X-Content-Type-Options:
343
+ - nosniff
344
+ Strict-Transport-Security:
345
+ - max-age=15768000
346
+ X-Xss-Protection:
347
+ - 1; mode=block
348
+ X-Frame-Options:
349
+ - DENY
350
+ X-Trello-Version:
351
+ - 1.830.0
352
+ X-Trello-Environment:
353
+ - Production
354
+ Access-Control-Allow-Origin:
355
+ - "*"
356
+ Access-Control-Allow-Methods:
357
+ - GET, PUT, POST, DELETE
358
+ Access-Control-Allow-Headers:
359
+ - Authorization, Accept, Content-Type
360
+ X-Server-Time:
361
+ - '1481805654665'
362
+ Expires:
363
+ - Thu, 01 Jan 1970 00:00:00
364
+ Content-Type:
365
+ - application/json; charset=utf-8
366
+ Content-Length:
367
+ - '108'
368
+ Etag:
369
+ - W/"6c-1aa5c07d"
370
+ Vary:
371
+ - Accept-Encoding
372
+ Date:
373
+ - Thu, 15 Dec 2016 12:40:54 GMT
374
+ Connection:
375
+ - keep-alive
376
+ body:
377
+ encoding: UTF-8
378
+ string: '{"id":"58528f56b8c2099aab4b2644","idBoard":"58528f54314dfadfe96ab6db","name":"Seabed","color":null,"uses":0}'
379
+ http_version:
380
+ recorded_at: Thu, 15 Dec 2016 12:40:58 GMT
381
+ - request:
382
+ method: post
383
+ uri: https://api.trello.com/1/labels?key=mykey&token=mytoken
384
+ body:
385
+ encoding: UTF-8
386
+ string: name=Under%20waterline&color=&idBoard=58528f54314dfadfe96ab6db
387
+ headers:
388
+ Accept:
389
+ - "*/*; q=0.5, application/xml"
390
+ Accept-Encoding:
391
+ - gzip, deflate
392
+ Content-Length:
393
+ - '62'
394
+ Content-Type:
395
+ - application/x-www-form-urlencoded
396
+ User-Agent:
397
+ - Ruby
398
+ response:
399
+ status:
400
+ code: 200
401
+ message: OK
402
+ headers:
403
+ Cache-Control:
404
+ - max-age=0, must-revalidate, no-cache, no-store
405
+ X-Content-Type-Options:
406
+ - nosniff
407
+ Strict-Transport-Security:
408
+ - max-age=15768000
409
+ X-Xss-Protection:
410
+ - 1; mode=block
411
+ X-Frame-Options:
412
+ - DENY
413
+ X-Trello-Version:
414
+ - 1.830.0
415
+ X-Trello-Environment:
416
+ - Production
417
+ Access-Control-Allow-Origin:
418
+ - "*"
419
+ Access-Control-Allow-Methods:
420
+ - GET, PUT, POST, DELETE
421
+ Access-Control-Allow-Headers:
422
+ - Authorization, Accept, Content-Type
423
+ X-Server-Time:
424
+ - '1481805655068'
425
+ Expires:
426
+ - Thu, 01 Jan 1970 00:00:00
427
+ Content-Type:
428
+ - application/json; charset=utf-8
429
+ Content-Length:
430
+ - '117'
431
+ Etag:
432
+ - W/"75-e900568a"
433
+ Vary:
434
+ - Accept-Encoding
435
+ Date:
436
+ - Thu, 15 Dec 2016 12:40:55 GMT
437
+ Connection:
438
+ - keep-alive
439
+ body:
440
+ encoding: UTF-8
441
+ string: '{"id":"58528f561e93e3e9e9bd00d3","idBoard":"58528f54314dfadfe96ab6db","name":"Under
442
+ waterline","color":null,"uses":0}'
443
+ http_version:
444
+ recorded_at: Thu, 15 Dec 2016 12:40:59 GMT
445
+ - request:
446
+ method: post
447
+ uri: https://api.trello.com/1/boards?key=mykey&token=mytoken
448
+ body:
449
+ encoding: UTF-8
450
+ string: name=Planning%20Board
451
+ headers:
452
+ Accept:
453
+ - "*/*; q=0.5, application/xml"
454
+ Accept-Encoding:
455
+ - gzip, deflate
456
+ Content-Length:
457
+ - '21'
458
+ Content-Type:
459
+ - application/x-www-form-urlencoded
460
+ User-Agent:
461
+ - Ruby
462
+ response:
463
+ status:
464
+ code: 200
465
+ message: OK
466
+ headers:
467
+ Cache-Control:
468
+ - max-age=0, must-revalidate, no-cache, no-store
469
+ X-Content-Type-Options:
470
+ - nosniff
471
+ Strict-Transport-Security:
472
+ - max-age=15768000
473
+ X-Xss-Protection:
474
+ - 1; mode=block
475
+ X-Frame-Options:
476
+ - DENY
477
+ X-Trello-Version:
478
+ - 1.830.0
479
+ X-Trello-Environment:
480
+ - Production
481
+ Access-Control-Allow-Origin:
482
+ - "*"
483
+ Access-Control-Allow-Methods:
484
+ - GET, PUT, POST, DELETE
485
+ Access-Control-Allow-Headers:
486
+ - Authorization, Accept, Content-Type
487
+ X-Server-Time:
488
+ - '1481805655326'
489
+ Expires:
490
+ - Thu, 01 Jan 1970 00:00:00
491
+ Content-Type:
492
+ - application/json; charset=utf-8
493
+ Content-Length:
494
+ - '764'
495
+ Etag:
496
+ - W/"2fc-c52c7bb4"
497
+ Vary:
498
+ - Accept-Encoding
499
+ Date:
500
+ - Thu, 15 Dec 2016 12:40:55 GMT
501
+ Connection:
502
+ - keep-alive
503
+ body:
504
+ encoding: UTF-8
505
+ string: '{"id":"58528f57bd62cab95263d9fb","name":"Planning Board","desc":"","descData":null,"closed":false,"idOrganization":null,"pinned":false,"url":"https://trello.com/b/M9zXeYlD/planning-board","shortUrl":"https://trello.com/b/M9zXeYlD","prefs":{"permissionLevel":"private","voting":"disabled","comments":"members","invitations":"members","selfJoin":true,"cardCovers":true,"cardAging":"regular","calendarFeedEnabled":false,"background":"blue","backgroundImage":null,"backgroundImageScaled":null,"backgroundTile":false,"backgroundBrightness":"dark","backgroundColor":"#0079BF","canBePublic":true,"canBeOrg":true,"canBePrivate":true,"canInvite":true},"labelNames":{"green":"","yellow":"","orange":"","red":"","purple":"","blue":"","sky":"","lime":"","pink":"","black":""}}'
506
+ http_version:
507
+ recorded_at: Thu, 15 Dec 2016 12:40:59 GMT
508
+ - request:
509
+ method: post
510
+ uri: https://api.trello.com/1/lists?key=mykey&token=mytoken
511
+ body:
512
+ encoding: UTF-8
513
+ string: name=Backlog&closed=false&idBoard=58528f57bd62cab95263d9fb&pos=&idListSource=
514
+ headers:
515
+ Accept:
516
+ - "*/*; q=0.5, application/xml"
517
+ Accept-Encoding:
518
+ - gzip, deflate
519
+ Content-Length:
520
+ - '77'
521
+ Content-Type:
522
+ - application/x-www-form-urlencoded
523
+ User-Agent:
524
+ - Ruby
525
+ response:
526
+ status:
527
+ code: 200
528
+ message: OK
529
+ headers:
530
+ Cache-Control:
531
+ - max-age=0, must-revalidate, no-cache, no-store
532
+ X-Content-Type-Options:
533
+ - nosniff
534
+ Strict-Transport-Security:
535
+ - max-age=15768000
536
+ X-Xss-Protection:
537
+ - 1; mode=block
538
+ X-Frame-Options:
539
+ - DENY
540
+ X-Trello-Version:
541
+ - 1.830.0
542
+ X-Trello-Environment:
543
+ - Production
544
+ Access-Control-Allow-Origin:
545
+ - "*"
546
+ Access-Control-Allow-Methods:
547
+ - GET, PUT, POST, DELETE
548
+ Access-Control-Allow-Headers:
549
+ - Authorization, Accept, Content-Type
550
+ X-Server-Time:
551
+ - '1481805655635'
552
+ Expires:
553
+ - Thu, 01 Jan 1970 00:00:00
554
+ Content-Type:
555
+ - application/json; charset=utf-8
556
+ Content-Length:
557
+ - '113'
558
+ Etag:
559
+ - W/"71-b088b572"
560
+ Vary:
561
+ - Accept-Encoding
562
+ Date:
563
+ - Thu, 15 Dec 2016 12:40:55 GMT
564
+ Connection:
565
+ - keep-alive
566
+ body:
567
+ encoding: UTF-8
568
+ string: '{"id":"58528f574b6aa9d8ab64fcdb","name":"Backlog","closed":false,"idBoard":"58528f57bd62cab95263d9fb","pos":8192}'
569
+ http_version:
570
+ recorded_at: Thu, 15 Dec 2016 12:40:59 GMT
571
+ - request:
572
+ method: post
573
+ uri: https://api.trello.com/1/lists?key=mykey&token=mytoken
574
+ body:
575
+ encoding: UTF-8
576
+ string: name=Ready%20for%20Estimation&closed=false&idBoard=58528f57bd62cab95263d9fb&pos=&idListSource=
577
+ headers:
578
+ Accept:
579
+ - "*/*; q=0.5, application/xml"
580
+ Accept-Encoding:
581
+ - gzip, deflate
582
+ Content-Length:
583
+ - '94'
584
+ Content-Type:
585
+ - application/x-www-form-urlencoded
586
+ User-Agent:
587
+ - Ruby
588
+ response:
589
+ status:
590
+ code: 200
591
+ message: OK
592
+ headers:
593
+ Cache-Control:
594
+ - max-age=0, must-revalidate, no-cache, no-store
595
+ X-Content-Type-Options:
596
+ - nosniff
597
+ Strict-Transport-Security:
598
+ - max-age=15768000
599
+ X-Xss-Protection:
600
+ - 1; mode=block
601
+ X-Frame-Options:
602
+ - DENY
603
+ X-Trello-Version:
604
+ - 1.830.0
605
+ X-Trello-Environment:
606
+ - Production
607
+ Access-Control-Allow-Origin:
608
+ - "*"
609
+ Access-Control-Allow-Methods:
610
+ - GET, PUT, POST, DELETE
611
+ Access-Control-Allow-Headers:
612
+ - Authorization, Accept, Content-Type
613
+ X-Server-Time:
614
+ - '1481805655894'
615
+ Expires:
616
+ - Thu, 01 Jan 1970 00:00:00
617
+ Content-Type:
618
+ - application/json; charset=utf-8
619
+ Content-Length:
620
+ - '126'
621
+ Etag:
622
+ - W/"7e-b82eaf8d"
623
+ Vary:
624
+ - Accept-Encoding
625
+ Date:
626
+ - Thu, 15 Dec 2016 12:40:55 GMT
627
+ Connection:
628
+ - keep-alive
629
+ body:
630
+ encoding: UTF-8
631
+ string: '{"id":"58528f57d95462eff9c256f8","name":"Ready for Estimation","closed":false,"idBoard":"58528f57bd62cab95263d9fb","pos":4096}'
632
+ http_version:
633
+ recorded_at: Thu, 15 Dec 2016 12:41:00 GMT
634
+ - request:
635
+ method: post
636
+ uri: https://api.trello.com/1/labels?key=mykey&token=mytoken
637
+ body:
638
+ encoding: UTF-8
639
+ string: name=Sticky&color=&idBoard=58528f57bd62cab95263d9fb
640
+ headers:
641
+ Accept:
642
+ - "*/*; q=0.5, application/xml"
643
+ Accept-Encoding:
644
+ - gzip, deflate
645
+ Content-Length:
646
+ - '51'
647
+ Content-Type:
648
+ - application/x-www-form-urlencoded
649
+ User-Agent:
650
+ - Ruby
651
+ response:
652
+ status:
653
+ code: 200
654
+ message: OK
655
+ headers:
656
+ Cache-Control:
657
+ - max-age=0, must-revalidate, no-cache, no-store
658
+ X-Content-Type-Options:
659
+ - nosniff
660
+ Strict-Transport-Security:
661
+ - max-age=15768000
662
+ X-Xss-Protection:
663
+ - 1; mode=block
664
+ X-Frame-Options:
665
+ - DENY
666
+ X-Trello-Version:
667
+ - 1.830.0
668
+ X-Trello-Environment:
669
+ - Production
670
+ Access-Control-Allow-Origin:
671
+ - "*"
672
+ Access-Control-Allow-Methods:
673
+ - GET, PUT, POST, DELETE
674
+ Access-Control-Allow-Headers:
675
+ - Authorization, Accept, Content-Type
676
+ X-Server-Time:
677
+ - '1481805656152'
678
+ Expires:
679
+ - Thu, 01 Jan 1970 00:00:00
680
+ Content-Type:
681
+ - application/json; charset=utf-8
682
+ Content-Length:
683
+ - '108'
684
+ Etag:
685
+ - W/"6c-feaa33b6"
686
+ Vary:
687
+ - Accept-Encoding
688
+ Date:
689
+ - Thu, 15 Dec 2016 12:40:56 GMT
690
+ Connection:
691
+ - keep-alive
692
+ body:
693
+ encoding: UTF-8
694
+ string: '{"id":"58528f58fffa6765389a653a","idBoard":"58528f57bd62cab95263d9fb","name":"Sticky","color":null,"uses":0}'
695
+ http_version:
696
+ recorded_at: Thu, 15 Dec 2016 12:41:00 GMT
697
+ - request:
698
+ method: post
699
+ uri: https://api.trello.com/1/labels?key=mykey&token=mytoken
700
+ body:
701
+ encoding: UTF-8
702
+ string: name=Seabed&color=&idBoard=58528f57bd62cab95263d9fb
703
+ headers:
704
+ Accept:
705
+ - "*/*; q=0.5, application/xml"
706
+ Accept-Encoding:
707
+ - gzip, deflate
708
+ Content-Length:
709
+ - '51'
710
+ Content-Type:
711
+ - application/x-www-form-urlencoded
712
+ User-Agent:
713
+ - Ruby
714
+ response:
715
+ status:
716
+ code: 200
717
+ message: OK
718
+ headers:
719
+ Cache-Control:
720
+ - max-age=0, must-revalidate, no-cache, no-store
721
+ X-Content-Type-Options:
722
+ - nosniff
723
+ Strict-Transport-Security:
724
+ - max-age=15768000
725
+ X-Xss-Protection:
726
+ - 1; mode=block
727
+ X-Frame-Options:
728
+ - DENY
729
+ X-Trello-Version:
730
+ - 1.830.0
731
+ X-Trello-Environment:
732
+ - Production
733
+ Access-Control-Allow-Origin:
734
+ - "*"
735
+ Access-Control-Allow-Methods:
736
+ - GET, PUT, POST, DELETE
737
+ Access-Control-Allow-Headers:
738
+ - Authorization, Accept, Content-Type
739
+ X-Server-Time:
740
+ - '1481805656397'
741
+ Expires:
742
+ - Thu, 01 Jan 1970 00:00:00
743
+ Content-Type:
744
+ - application/json; charset=utf-8
745
+ Content-Length:
746
+ - '108'
747
+ Etag:
748
+ - W/"6c-c630d274"
749
+ Vary:
750
+ - Accept-Encoding
751
+ Date:
752
+ - Thu, 15 Dec 2016 12:40:56 GMT
753
+ Connection:
754
+ - keep-alive
755
+ body:
756
+ encoding: UTF-8
757
+ string: '{"id":"58528f583ec84cd38d40bd7d","idBoard":"58528f57bd62cab95263d9fb","name":"Seabed","color":null,"uses":0}'
758
+ http_version:
759
+ recorded_at: Thu, 15 Dec 2016 12:41:00 GMT
760
+ - request:
761
+ method: post
762
+ uri: https://api.trello.com/1/labels?key=mykey&token=mytoken
763
+ body:
764
+ encoding: UTF-8
765
+ string: name=Under%20waterline&color=&idBoard=58528f57bd62cab95263d9fb
766
+ headers:
767
+ Accept:
768
+ - "*/*; q=0.5, application/xml"
769
+ Accept-Encoding:
770
+ - gzip, deflate
771
+ Content-Length:
772
+ - '62'
773
+ Content-Type:
774
+ - application/x-www-form-urlencoded
775
+ User-Agent:
776
+ - Ruby
777
+ response:
778
+ status:
779
+ code: 200
780
+ message: OK
781
+ headers:
782
+ Cache-Control:
783
+ - max-age=0, must-revalidate, no-cache, no-store
784
+ X-Content-Type-Options:
785
+ - nosniff
786
+ Strict-Transport-Security:
787
+ - max-age=15768000
788
+ X-Xss-Protection:
789
+ - 1; mode=block
790
+ X-Frame-Options:
791
+ - DENY
792
+ X-Trello-Version:
793
+ - 1.830.0
794
+ X-Trello-Environment:
795
+ - Production
796
+ Access-Control-Allow-Origin:
797
+ - "*"
798
+ Access-Control-Allow-Methods:
799
+ - GET, PUT, POST, DELETE
800
+ Access-Control-Allow-Headers:
801
+ - Authorization, Accept, Content-Type
802
+ X-Server-Time:
803
+ - '1481805656640'
804
+ Expires:
805
+ - Thu, 01 Jan 1970 00:00:00
806
+ Content-Type:
807
+ - application/json; charset=utf-8
808
+ Content-Length:
809
+ - '117'
810
+ Etag:
811
+ - W/"75-17430a65"
812
+ Vary:
813
+ - Accept-Encoding
814
+ Date:
815
+ - Thu, 15 Dec 2016 12:40:56 GMT
816
+ Connection:
817
+ - keep-alive
818
+ body:
819
+ encoding: UTF-8
820
+ string: '{"id":"58528f58b3b2cd9ea0934ae5","idBoard":"58528f57bd62cab95263d9fb","name":"Under
821
+ waterline","color":null,"uses":0}'
822
+ http_version:
823
+ recorded_at: Thu, 15 Dec 2016 12:41:00 GMT
824
+ recorded_with: VCR 3.0.3