trajectory 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/.rspec +2 -0
  4. data/.ruby-version +1 -0
  5. data/.travis.yml +6 -0
  6. data/Gemfile +19 -0
  7. data/LICENSE.txt +22 -0
  8. data/README.md +57 -0
  9. data/Rakefile +18 -0
  10. data/config/env.yml +3 -0
  11. data/lib/trajectory/client.rb +24 -0
  12. data/lib/trajectory/core_ext/hash.rb +8 -0
  13. data/lib/trajectory/core_ext.rb +1 -0
  14. data/lib/trajectory/data_access/api.rb +54 -0
  15. data/lib/trajectory/data_access/data_store.rb +70 -0
  16. data/lib/trajectory/data_access.rb +2 -0
  17. data/lib/trajectory/domain/idea.rb +70 -0
  18. data/lib/trajectory/domain/ideas.rb +23 -0
  19. data/lib/trajectory/domain/iteration.rb +85 -0
  20. data/lib/trajectory/domain/iterations.rb +46 -0
  21. data/lib/trajectory/domain/project.rb +168 -0
  22. data/lib/trajectory/domain/projects.rb +55 -0
  23. data/lib/trajectory/domain/stories.rb +56 -0
  24. data/lib/trajectory/domain/story.rb +119 -0
  25. data/lib/trajectory/domain/update.rb +17 -0
  26. data/lib/trajectory/domain/user.rb +28 -0
  27. data/lib/trajectory/domain/users.rb +30 -0
  28. data/lib/trajectory/domain.rb +11 -0
  29. data/lib/trajectory/exceptions/bad_environment_error.rb +7 -0
  30. data/lib/trajectory/exceptions/missing_attribute_error.rb +12 -0
  31. data/lib/trajectory/exceptions/velocity_equal_to_zero_error.rb +11 -0
  32. data/lib/trajectory/exceptions.rb +3 -0
  33. data/lib/trajectory/version.rb +3 -0
  34. data/lib/trajectory.rb +15 -0
  35. data/spec/fabricators/iteration_fabricator.rb +18 -0
  36. data/spec/fabricators/project_fabricator.rb +11 -0
  37. data/spec/fabricators/story_fabricator.rb +18 -0
  38. data/spec/fixtures/vcr_cassettes/client.yml +853 -0
  39. data/spec/fixtures/vcr_cassettes/projects_and_ideas.yml +98 -0
  40. data/spec/fixtures/vcr_cassettes/projects_and_ideas_association.yml +52 -0
  41. data/spec/fixtures/vcr_cassettes/projects_and_iterations.yml +49 -0
  42. data/spec/fixtures/vcr_cassettes/projects_and_iterations_association.yml +49 -0
  43. data/spec/fixtures/vcr_cassettes/projects_and_stories.yml +101 -0
  44. data/spec/fixtures/vcr_cassettes/projects_and_stories_association.yml +147 -0
  45. data/spec/integration/client_spec.rb +96 -0
  46. data/spec/spec_helper.rb +13 -0
  47. data/spec/support/env.rb +11 -0
  48. data/spec/support/fabrication.rb +1 -0
  49. data/spec/support/simple_cov.rb +11 -0
  50. data/spec/support/timecop.rb +1 -0
  51. data/spec/support/vcr.rb +8 -0
  52. data/spec/unit/client_spec.rb +27 -0
  53. data/spec/unit/core_ext/hash_spec.rb +11 -0
  54. data/spec/unit/data_access/api_spec.rb +100 -0
  55. data/spec/unit/data_access/data_store_spec.rb +86 -0
  56. data/spec/unit/domain/idea_spec.rb +46 -0
  57. data/spec/unit/domain/ideas_spec.rb +22 -0
  58. data/spec/unit/domain/iteration_spec.rb +51 -0
  59. data/spec/unit/domain/iterations_spec.rb +47 -0
  60. data/spec/unit/domain/project_spec.rb +163 -0
  61. data/spec/unit/domain/projects_spec.rb +84 -0
  62. data/spec/unit/domain/stories_spec.rb +84 -0
  63. data/spec/unit/domain/story_spec.rb +71 -0
  64. data/spec/unit/domain/user_spec.rb +29 -0
  65. data/spec/unit/domain/users_spec.rb +36 -0
  66. data/spec/unit/exceptions/bad_environment_error_spec.rb +9 -0
  67. data/spec/unit/exceptions/missing_attribute_error_spec.rb +10 -0
  68. data/spec/unit/exceptions/velocity_equal_to_zero_error_spec.rb +10 -0
  69. data/trajectory.gemspec +21 -0
  70. metadata +174 -0
@@ -0,0 +1,853 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects.json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ Cache-Control:
18
+ - max-age=0, private, must-revalidate
19
+ Content-Type:
20
+ - application/json; charset=utf-8
21
+ Date:
22
+ - Thu, 28 Feb 2013 14:28:33 GMT
23
+ Etag:
24
+ - '"cc05e3d5cabab604f969cf8360cdbc3c"'
25
+ Server:
26
+ - thin 1.3.1 codename Triple Espresso
27
+ Set-Cookie:
28
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTc0ZDkzNWQyMDI4MmRlMjM1YmVjODE1YjQ4ODRmMGYyBjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--a932da25bd6f3f453981d9d146c58bbeb5d62fd6;
29
+ path=/; HttpOnly
30
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Fri,
31
+ 28-Feb-2014 14:28:33 GMT
32
+ X-Rack-Cache:
33
+ - miss
34
+ X-Request-Id:
35
+ - fbb8875648d5c9dae26b8616772acb0d
36
+ X-Runtime:
37
+ - '0.050896'
38
+ X-Ua-Compatible:
39
+ - IE=Edge,chrome=1
40
+ Transfer-Encoding:
41
+ - chunked
42
+ Connection:
43
+ - keep-alive
44
+ body:
45
+ encoding: US-ASCII
46
+ string: '[{"archived":false,"created_at":"2013-02-19T05:32:06-11:00","estimated_velocity":13,"historic_velocity":[1],"id":15504817,"keyword":"test","name":"test-project","updated_at":"2013-02-28T02:40:44-11:00","completed_iterations_count":1,"completed_stories_count":1,"users":[{"created_at":"2013-02-19T05:31:47-11:00","email":"loic.minaudier+fake-user-for-api@gmail.com","id":15506817,"name":"loic-minaudier-fake-user-for-api","updated_at":"2013-02-19T05:31:47-11:00","gravatar_url":"https://secure.gravatar.com/avatar/9ddba4784ddfcd87efaf03ba3b96e51c.png?d=https%3A%2F%2Fwww.apptrajectory.com%2Fassets%2Fuser.png&r=PG&s=150"}],"subscribed_user_names":["loic-minaudier-fake-user-for-api"],"subscribed_user_ids":[15506817],"tags":[]}]'
47
+ http_version:
48
+ recorded_at: Thu, 28 Feb 2013 14:28:37 GMT
49
+ - request:
50
+ method: get
51
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/ideas.json
52
+ body:
53
+ encoding: US-ASCII
54
+ string: ''
55
+ headers:
56
+ Content-Type:
57
+ - application/json
58
+ response:
59
+ status:
60
+ code: 200
61
+ message: OK
62
+ headers:
63
+ Cache-Control:
64
+ - max-age=0, private, must-revalidate
65
+ Content-Type:
66
+ - application/json; charset=utf-8
67
+ Date:
68
+ - Thu, 28 Feb 2013 14:28:34 GMT
69
+ Etag:
70
+ - '"e8b6e0e36a2bdc3b3fd44a0b2ff2f0f7"'
71
+ Server:
72
+ - thin 1.3.1 codename Triple Espresso
73
+ Set-Cookie:
74
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWNhMGM2ZDRlNjg5NWYwYmEzZjcwNWQ3MTZmNjRhNTgzBjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--5c616a5c59d5ec1109b8735e487ed5c2b715999a;
75
+ path=/; HttpOnly
76
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Fri,
77
+ 28-Feb-2014 14:28:34 GMT
78
+ X-Rack-Cache:
79
+ - miss
80
+ X-Request-Id:
81
+ - b05e7c73d17367b2b8ea9da78009d9a3
82
+ X-Runtime:
83
+ - '0.112326'
84
+ X-Ua-Compatible:
85
+ - IE=Edge,chrome=1
86
+ Transfer-Encoding:
87
+ - chunked
88
+ Connection:
89
+ - keep-alive
90
+ body:
91
+ encoding: US-ASCII
92
+ string: '[{"body":"Some content for idea 2","comments_count":0,"created_at":"2013-02-28T14:40:44+01:00","id":15505355,"last_activity_at":"2013-02-28T14:40:44+01:00","lookup_hash":"d106c797a22ada9a36c8","project_id":15504817,"subject":"Idea
93
+ 2","updated_at":"2013-02-28T14:40:44+01:00","user_id":15506817,"user":{"created_at":"2013-02-19T17:31:47+01:00","email":"loic.minaudier+fake-user-for-api@gmail.com","id":15506817,"name":"loic-minaudier-fake-user-for-api","updated_at":"2013-02-19T17:31:47+01:00","gravatar_url":"https://secure.gravatar.com/avatar/9ddba4784ddfcd87efaf03ba3b96e51c.png?d=https%3A%2F%2Fwww.apptrajectory.com%2Fassets%2Fuser.png&r=PG&s=150"},"upload_ids":[],"stories_count":0,"accepted_stories_count":0,"last_comment_user_name":null,"subscribed_user_ids":[15506817],"last_activity_at":"2013-02-28T14:40:44+01:00","state":"in-progress","story_ids":[]},{"body":"some
94
+ content for idea 1","comments_count":0,"created_at":"2013-02-28T14:40:25+01:00","id":15505354,"last_activity_at":"2013-02-28T14:40:25+01:00","lookup_hash":"695fb9b05740b30c3a76","project_id":15504817,"subject":"idea
95
+ 1","updated_at":"2013-02-28T14:40:25+01:00","user_id":15506817,"user":{"created_at":"2013-02-19T17:31:47+01:00","email":"loic.minaudier+fake-user-for-api@gmail.com","id":15506817,"name":"loic-minaudier-fake-user-for-api","updated_at":"2013-02-19T17:31:47+01:00","gravatar_url":"https://secure.gravatar.com/avatar/9ddba4784ddfcd87efaf03ba3b96e51c.png?d=https%3A%2F%2Fwww.apptrajectory.com%2Fassets%2Fuser.png&r=PG&s=150"},"upload_ids":[],"stories_count":0,"accepted_stories_count":0,"last_comment_user_name":null,"subscribed_user_ids":[15506817],"last_activity_at":"2013-02-28T14:40:25+01:00","state":"in-progress","story_ids":[]}]'
96
+ http_version:
97
+ recorded_at: Thu, 28 Feb 2013 14:28:38 GMT
98
+ - request:
99
+ method: get
100
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/stories/completed.json
101
+ body:
102
+ encoding: US-ASCII
103
+ string: ''
104
+ headers:
105
+ Content-Type:
106
+ - application/json
107
+ response:
108
+ status:
109
+ code: 200
110
+ message: OK
111
+ headers:
112
+ Cache-Control:
113
+ - max-age=0, private, must-revalidate
114
+ Content-Type:
115
+ - application/json; charset=utf-8
116
+ Date:
117
+ - Thu, 28 Feb 2013 14:28:35 GMT
118
+ Etag:
119
+ - '"b5a3b3e439838c6116224ffa1a348e0a"'
120
+ Last-Modified:
121
+ - Mon, 25 Feb 2013 00:05:09 GMT
122
+ Server:
123
+ - thin 1.3.1 codename Triple Espresso
124
+ Set-Cookie:
125
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTIwZWI4MzM3OTYyNzdjZDVjMDlkMjY3ZDQ3MjQwOWU3BjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--ea45fac2f78867e3fee8a80c76d9c6e952ca967c;
126
+ path=/; HttpOnly
127
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Fri,
128
+ 28-Feb-2014 14:28:35 GMT
129
+ X-Rack-Cache:
130
+ - miss
131
+ X-Request-Id:
132
+ - 1a1417c49655fe7fe7892fe6706e2e67
133
+ X-Runtime:
134
+ - '0.105486'
135
+ X-Ua-Compatible:
136
+ - IE=Edge,chrome=1
137
+ Transfer-Encoding:
138
+ - chunked
139
+ Connection:
140
+ - keep-alive
141
+ body:
142
+ encoding: US-ASCII
143
+ string: '{"stories":[{"archived":true,"assignee_id":15506817,"branch":"l-story-1","comments_count":0,"created_at":"2013-02-21T16:49:27+01:00","deleted":false,"design_needed":false,"development_needed":false,"id":15623694,"idea_id":null,"iteration_id":16055704,"points":1,"position":100,"state":"accepted","task_type":"Feature","title":"story
144
+ 1","updated_at":"2013-02-22T11:46:44+01:00","user_id":15506817,"state_events":["unaccept"],"comma_separated_tags":null}],"iterations":[{"accepted_points":1,"comments_count":0,"complete":true,"created_at":"2013-02-19T17:32:06+01:00","estimated_points":1,"estimated_velocity":20,"id":16055704,"starts_on":"2013-02-18","stories_count":1,"team_strength":100,"updated_at":"2013-02-25T01:05:09+01:00","percent_complete":100,"current?":false,"future?":false,"accepted_stories_count":1}]}'
145
+ http_version:
146
+ recorded_at: Thu, 28 Feb 2013 14:28:39 GMT
147
+ - request:
148
+ method: get
149
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/stories.json
150
+ body:
151
+ encoding: US-ASCII
152
+ string: ''
153
+ headers:
154
+ Content-Type:
155
+ - application/json
156
+ response:
157
+ status:
158
+ code: 200
159
+ message: OK
160
+ headers:
161
+ Cache-Control:
162
+ - max-age=0, private, must-revalidate
163
+ Content-Type:
164
+ - application/json; charset=utf-8
165
+ Date:
166
+ - Thu, 28 Feb 2013 14:28:35 GMT
167
+ Etag:
168
+ - '"b5a3b3e439838c6116224ffa1a348e0a"'
169
+ Last-Modified:
170
+ - Mon, 25 Feb 2013 00:05:09 GMT
171
+ Server:
172
+ - thin 1.3.1 codename Triple Espresso
173
+ Set-Cookie:
174
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTlkNzNlODIzMzI5ZmRkZDliY2ExMzdmOWRkMzllNmMxBjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--8aa371938366a00856b60299f63c23cd70725366;
175
+ path=/; HttpOnly
176
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Fri,
177
+ 28-Feb-2014 14:28:35 GMT
178
+ X-Rack-Cache:
179
+ - miss
180
+ X-Request-Id:
181
+ - d4082cb72dd1a3b03700299373c20d1a
182
+ X-Runtime:
183
+ - '0.080638'
184
+ X-Ua-Compatible:
185
+ - IE=Edge,chrome=1
186
+ Content-Length:
187
+ - '799'
188
+ Connection:
189
+ - keep-alive
190
+ body:
191
+ encoding: US-ASCII
192
+ string: '{"stories":[{"archived":false,"assignee_id":null,"branch":null,"comments_count":0,"created_at":"2013-02-21T16:49:31+01:00","deleted":false,"design_needed":false,"development_needed":false,"id":15623695,"idea_id":null,"iteration_id":16057164,"points":0,"position":200,"state":"unstarted","task_type":"Feature","title":"story
193
+ 2","updated_at":"2013-02-25T01:05:09+01:00","user_id":15506817,"state_events":["start"],"comma_separated_tags":null}],"iterations":[{"accepted_points":0,"comments_count":0,"complete":false,"created_at":"2013-02-25T01:05:09+01:00","estimated_points":0,"estimated_velocity":13,"id":16057164,"starts_on":"2013-02-25","stories_count":1,"team_strength":100,"updated_at":"2013-02-25T01:05:09+01:00","percent_complete":0,"current?":true,"future?":false,"accepted_stories_count":0}]}'
194
+ http_version:
195
+ recorded_at: Thu, 28 Feb 2013 14:28:39 GMT
196
+ - request:
197
+ method: get
198
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/iterations.json
199
+ body:
200
+ encoding: US-ASCII
201
+ string: ''
202
+ headers:
203
+ Content-Type:
204
+ - application/json
205
+ response:
206
+ status:
207
+ code: 200
208
+ message: OK
209
+ headers:
210
+ Cache-Control:
211
+ - max-age=0, private, must-revalidate
212
+ Content-Type:
213
+ - application/json; charset=utf-8
214
+ Date:
215
+ - Thu, 28 Feb 2013 14:28:37 GMT
216
+ Etag:
217
+ - '"2363bebac35f4b90f94ae57cb3f12cd7"'
218
+ Server:
219
+ - thin 1.3.1 codename Triple Espresso
220
+ Set-Cookie:
221
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTIxNmFlYjliZjJjNjk3OTExYmE4MGQwODQzZDFmNjQ3BjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--588e7b891604e48eec89eed8e0d0ad74868cc00d;
222
+ path=/; HttpOnly
223
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Fri,
224
+ 28-Feb-2014 14:28:37 GMT
225
+ X-Rack-Cache:
226
+ - miss
227
+ X-Request-Id:
228
+ - 1dbbae3281e0997b3b08b2684311146a
229
+ X-Runtime:
230
+ - '0.119873'
231
+ X-Ua-Compatible:
232
+ - IE=Edge,chrome=1
233
+ Content-Length:
234
+ - '687'
235
+ Connection:
236
+ - keep-alive
237
+ body:
238
+ encoding: US-ASCII
239
+ string: '[{"accepted_points":1,"comments_count":0,"complete":true,"created_at":"2013-02-19T17:32:06+01:00","estimated_points":1,"estimated_velocity":20,"id":16055704,"starts_on":"2013-02-18","stories_count":1,"team_strength":100,"updated_at":"2013-02-25T01:05:09+01:00","percent_complete":100,"current?":false,"future?":false,"accepted_stories_count":1},{"accepted_points":0,"comments_count":0,"complete":false,"created_at":"2013-02-25T01:05:09+01:00","estimated_points":0,"estimated_velocity":13,"id":16057164,"starts_on":"2013-02-25","stories_count":1,"team_strength":100,"updated_at":"2013-02-25T01:05:09+01:00","percent_complete":0,"current?":true,"future?":false,"accepted_stories_count":0}]'
240
+ http_version:
241
+ recorded_at: Thu, 28 Feb 2013 14:28:41 GMT
242
+ - request:
243
+ method: get
244
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/users.json
245
+ body:
246
+ encoding: US-ASCII
247
+ string: ''
248
+ headers:
249
+ Content-Type:
250
+ - application/json
251
+ response:
252
+ status:
253
+ code: 200
254
+ message: OK
255
+ headers:
256
+ Cache-Control:
257
+ - max-age=0, private, must-revalidate
258
+ Content-Type:
259
+ - application/json; charset=utf-8
260
+ Date:
261
+ - Thu, 07 Mar 2013 16:50:58 GMT
262
+ Etag:
263
+ - '"5ac88f5c894d604b46ea8d8b02ea75ca"'
264
+ Server:
265
+ - thin 1.3.1 codename Triple Espresso
266
+ Set-Cookie:
267
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTk3NjcwMDIxNzQ4NTczMGM3MzJlNGNjYTM1MzRmMDkyBjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--bb8b4148bf5350bfd8558ae95e1bef6e02159d0a;
268
+ path=/; HttpOnly
269
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Fri,
270
+ 07-Mar-2014 16:50:58 GMT
271
+ X-Rack-Cache:
272
+ - miss
273
+ X-Request-Id:
274
+ - ef9e625bf016d2a2f2ef5680be429625
275
+ X-Runtime:
276
+ - '0.065137'
277
+ X-Ua-Compatible:
278
+ - IE=Edge,chrome=1
279
+ Content-Length:
280
+ - '360'
281
+ Connection:
282
+ - keep-alive
283
+ body:
284
+ encoding: UTF-8
285
+ string: '[{"created_at":"2013-02-19T17:31:47+01:00","email":"loic.minaudier+fake-user-for-api@gmail.com","id":15506817,"name":"loic-minaudier-fake-user-for-api","updated_at":"2013-02-19T17:31:47+01:00","gravatar_url":"https://secure.gravatar.com/avatar/9ddba4784ddfcd87efaf03ba3b96e51c.png?d=https%3A%2F%2Fwww.apptrajectory.com%2Fassets%2Fuser.png&r=PG&s=150"}]'
286
+ http_version:
287
+ recorded_at: Thu, 07 Mar 2013 16:51:01 GMT
288
+ - request:
289
+ method: get
290
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/updates.json?since=2013-01-01T00:00:00%2000:00
291
+ body:
292
+ encoding: US-ASCII
293
+ string: ''
294
+ headers:
295
+ Content-Type:
296
+ - application/json
297
+ response:
298
+ status:
299
+ code: 200
300
+ message: OK
301
+ headers:
302
+ Cache-Control:
303
+ - max-age=0, private, must-revalidate
304
+ Content-Type:
305
+ - application/json; charset=utf-8
306
+ Date:
307
+ - Fri, 08 Mar 2013 09:27:08 GMT
308
+ Etag:
309
+ - '"1c8f4014f95b29cd66ce65d5eb132470"'
310
+ Server:
311
+ - thin 1.3.1 codename Triple Espresso
312
+ Set-Cookie:
313
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTIxZTc0ZWRkY2NjMzYyYmIwZWYxMWU0NTNlOWY3ZTU2BjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--31a219b12c19463bdd2d5be43c0ac747a7b67160;
314
+ path=/; HttpOnly
315
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Sat,
316
+ 08-Mar-2014 09:27:08 GMT
317
+ X-Rack-Cache:
318
+ - miss
319
+ X-Request-Id:
320
+ - c982d1fbf6daf53d81117d2354a039bc
321
+ X-Runtime:
322
+ - '0.439292'
323
+ X-Ua-Compatible:
324
+ - IE=Edge,chrome=1
325
+ Transfer-Encoding:
326
+ - chunked
327
+ Connection:
328
+ - keep-alive
329
+ body:
330
+ encoding: UTF-8
331
+ string: '{"timestamp":"2013-03-08T09:27:08+00:00","stories":[{"archived":true,"assignee_id":15506817,"branch":"l-story-1","comments_count":0,"created_at":"2013-02-21T16:49:27+01:00","deleted":false,"design_needed":false,"development_needed":false,"id":15623694,"idea_id":null,"iteration_id":16055704,"points":1,"position":100,"state":"accepted","task_type":"Feature","title":"story
332
+ 1","updated_at":"2013-02-22T11:46:44+01:00","user_id":15506817,"state_events":["unaccept"],"comma_separated_tags":null},{"archived":false,"assignee_id":null,"branch":null,"comments_count":0,"created_at":"2013-02-21T16:49:31+01:00","deleted":false,"design_needed":false,"development_needed":false,"id":15623695,"idea_id":null,"iteration_id":16063751,"points":0,"position":200,"state":"unstarted","task_type":"Feature","title":"story
333
+ 2","updated_at":"2013-03-04T01:05:00+01:00","user_id":15506817,"state_events":["start"],"comma_separated_tags":null}],"iterations":[{"accepted_points":1,"comments_count":0,"complete":true,"created_at":"2013-02-19T17:32:06+01:00","estimated_points":1,"estimated_velocity":20,"id":16055704,"starts_on":"2013-02-18","stories_count":1,"team_strength":100,"updated_at":"2013-02-25T01:05:09+01:00","percent_complete":100,"current?":false,"future?":false,"accepted_stories_count":1},{"accepted_points":0,"comments_count":0,"complete":true,"created_at":"2013-02-25T01:05:09+01:00","estimated_points":0,"estimated_velocity":13,"id":16057164,"starts_on":"2013-02-25","stories_count":0,"team_strength":100,"updated_at":"2013-03-04T01:05:00+01:00","percent_complete":0,"current?":false,"future?":false,"accepted_stories_count":0},{"accepted_points":0,"comments_count":0,"complete":false,"created_at":"2013-03-04T01:05:00+01:00","estimated_points":0,"estimated_velocity":7,"id":16063751,"starts_on":"2013-03-04","stories_count":1,"team_strength":100,"updated_at":"2013-03-04T01:05:00+01:00","percent_complete":0,"current?":true,"future?":false,"accepted_stories_count":0}],"updates":[{"id":15813566,"meta":"started","type":"StateChange","user_id":15506817,"created_at":"2013-02-22T11:46:34+01:00","updated_at":"2013-02-22T11:46:34+01:00","updateable_id":15623694,"updateable_type":"Story","":[]},{"id":15813567,"meta":"finished","type":"StateChange","user_id":15506817,"created_at":"2013-02-22T11:46:36+01:00","updated_at":"2013-02-22T11:46:36+01:00","updateable_id":15623694,"updateable_type":"Story","":[]},{"id":15813568,"meta":"delivered","type":"StateChange","user_id":15506817,"created_at":"2013-02-22T11:46:41+01:00","updated_at":"2013-02-22T11:46:41+01:00","updateable_id":15623694,"updateable_type":"Story","":[]},{"id":15813569,"meta":"accepted","type":"StateChange","user_id":15506817,"created_at":"2013-02-22T11:46:44+01:00","updated_at":"2013-02-22T11:46:44+01:00","updateable_id":15623694,"updateable_type":"Story","":[]}]}'
334
+ http_version:
335
+ recorded_at: Fri, 08 Mar 2013 09:27:11 GMT
336
+ - request:
337
+ method: get
338
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/updates.json?since=2013-01-01T00:00:00%2000:00
339
+ body:
340
+ encoding: US-ASCII
341
+ string: ''
342
+ headers:
343
+ Content-Type:
344
+ - application/json
345
+ response:
346
+ status:
347
+ code: 200
348
+ message: OK
349
+ headers:
350
+ Cache-Control:
351
+ - max-age=0, private, must-revalidate
352
+ Content-Type:
353
+ - application/json; charset=utf-8
354
+ Date:
355
+ - Fri, 08 Mar 2013 10:13:28 GMT
356
+ Etag:
357
+ - '"961c71551a45bd90eb354adc13aa7f15"'
358
+ Server:
359
+ - thin 1.3.1 codename Triple Espresso
360
+ Set-Cookie:
361
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTViOTI4OWJiOTBmNjIxNjI0MjUyYmY3OTQ2MGY1ZTczBjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--70c5f1b87c3576bf7223aebd5d5532f0319c0ef2;
362
+ path=/; HttpOnly
363
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Sat,
364
+ 08-Mar-2014 10:13:28 GMT
365
+ X-Rack-Cache:
366
+ - miss
367
+ X-Request-Id:
368
+ - 0d64f423aa6ff8084f78b8e7212362c5
369
+ X-Runtime:
370
+ - '0.070677'
371
+ X-Ua-Compatible:
372
+ - IE=Edge,chrome=1
373
+ Transfer-Encoding:
374
+ - chunked
375
+ Connection:
376
+ - keep-alive
377
+ body:
378
+ encoding: UTF-8
379
+ string: '{"timestamp":"2013-03-08T10:13:28+00:00","stories":[{"archived":true,"assignee_id":15506817,"branch":"l-story-1","comments_count":0,"created_at":"2013-02-21T16:49:27+01:00","deleted":false,"design_needed":false,"development_needed":false,"id":15623694,"idea_id":null,"iteration_id":16055704,"points":1,"position":100,"state":"accepted","task_type":"Feature","title":"story
380
+ 1","updated_at":"2013-02-22T11:46:44+01:00","user_id":15506817,"state_events":["unaccept"],"comma_separated_tags":null},{"archived":false,"assignee_id":null,"branch":null,"comments_count":0,"created_at":"2013-02-21T16:49:31+01:00","deleted":false,"design_needed":false,"development_needed":false,"id":15623695,"idea_id":null,"iteration_id":16063751,"points":0,"position":200,"state":"unstarted","task_type":"Feature","title":"story
381
+ 2","updated_at":"2013-03-04T01:05:00+01:00","user_id":15506817,"state_events":["start"],"comma_separated_tags":null}],"iterations":[{"accepted_points":1,"comments_count":0,"complete":true,"created_at":"2013-02-19T17:32:06+01:00","estimated_points":1,"estimated_velocity":20,"id":16055704,"starts_on":"2013-02-18","stories_count":1,"team_strength":100,"updated_at":"2013-02-25T01:05:09+01:00","percent_complete":100,"current?":false,"future?":false,"accepted_stories_count":1},{"accepted_points":0,"comments_count":0,"complete":true,"created_at":"2013-02-25T01:05:09+01:00","estimated_points":0,"estimated_velocity":13,"id":16057164,"starts_on":"2013-02-25","stories_count":0,"team_strength":100,"updated_at":"2013-03-04T01:05:00+01:00","percent_complete":0,"current?":false,"future?":false,"accepted_stories_count":0},{"accepted_points":0,"comments_count":0,"complete":false,"created_at":"2013-03-04T01:05:00+01:00","estimated_points":0,"estimated_velocity":7,"id":16063751,"starts_on":"2013-03-04","stories_count":1,"team_strength":100,"updated_at":"2013-03-04T01:05:00+01:00","percent_complete":0,"current?":true,"future?":false,"accepted_stories_count":0}],"updates":[{"id":15813566,"meta":"started","type":"StateChange","user_id":15506817,"created_at":"2013-02-22T11:46:34+01:00","updated_at":"2013-02-22T11:46:34+01:00","updateable_id":15623694,"updateable_type":"Story","":[]},{"id":15813567,"meta":"finished","type":"StateChange","user_id":15506817,"created_at":"2013-02-22T11:46:36+01:00","updated_at":"2013-02-22T11:46:36+01:00","updateable_id":15623694,"updateable_type":"Story","":[]},{"id":15813568,"meta":"delivered","type":"StateChange","user_id":15506817,"created_at":"2013-02-22T11:46:41+01:00","updated_at":"2013-02-22T11:46:41+01:00","updateable_id":15623694,"updateable_type":"Story","":[]},{"id":15813569,"meta":"accepted","type":"StateChange","user_id":15506817,"created_at":"2013-02-22T11:46:44+01:00","updated_at":"2013-02-22T11:46:44+01:00","updateable_id":15623694,"updateable_type":"Story","":[]}]}'
382
+ http_version:
383
+ recorded_at: Fri, 08 Mar 2013 10:13:32 GMT
384
+ - request:
385
+ method: get
386
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/updates.json?since=2013-01-01T00:00:00%2000:00
387
+ body:
388
+ encoding: US-ASCII
389
+ string: ''
390
+ headers:
391
+ Content-Type:
392
+ - application/json
393
+ response:
394
+ status:
395
+ code: 200
396
+ message: OK
397
+ headers:
398
+ Cache-Control:
399
+ - max-age=0, private, must-revalidate
400
+ Content-Type:
401
+ - application/json; charset=utf-8
402
+ Date:
403
+ - Fri, 08 Mar 2013 10:13:29 GMT
404
+ Etag:
405
+ - '"d47d6c90e64be49244d0ba426ca7fd81"'
406
+ Server:
407
+ - thin 1.3.1 codename Triple Espresso
408
+ Set-Cookie:
409
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTcyOGJkM2FjMWRjMWE3NTllZDM3YmQ3MTQ2YmY2NWVjBjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--ab1d9dc051920f7600af3a5888184d7e849cbc15;
410
+ path=/; HttpOnly
411
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Sat,
412
+ 08-Mar-2014 10:13:29 GMT
413
+ X-Rack-Cache:
414
+ - miss
415
+ X-Request-Id:
416
+ - 02d9c3a1ca0850363059606bb6d03c67
417
+ X-Runtime:
418
+ - '0.083376'
419
+ X-Ua-Compatible:
420
+ - IE=Edge,chrome=1
421
+ Transfer-Encoding:
422
+ - chunked
423
+ Connection:
424
+ - keep-alive
425
+ body:
426
+ encoding: UTF-8
427
+ string: '{"timestamp":"2013-03-08T10:13:29+00:00","stories":[{"archived":true,"assignee_id":15506817,"branch":"l-story-1","comments_count":0,"created_at":"2013-02-21T16:49:27+01:00","deleted":false,"design_needed":false,"development_needed":false,"id":15623694,"idea_id":null,"iteration_id":16055704,"points":1,"position":100,"state":"accepted","task_type":"Feature","title":"story
428
+ 1","updated_at":"2013-02-22T11:46:44+01:00","user_id":15506817,"state_events":["unaccept"],"comma_separated_tags":null},{"archived":false,"assignee_id":null,"branch":null,"comments_count":0,"created_at":"2013-02-21T16:49:31+01:00","deleted":false,"design_needed":false,"development_needed":false,"id":15623695,"idea_id":null,"iteration_id":16063751,"points":0,"position":200,"state":"unstarted","task_type":"Feature","title":"story
429
+ 2","updated_at":"2013-03-04T01:05:00+01:00","user_id":15506817,"state_events":["start"],"comma_separated_tags":null}],"iterations":[{"accepted_points":1,"comments_count":0,"complete":true,"created_at":"2013-02-19T17:32:06+01:00","estimated_points":1,"estimated_velocity":20,"id":16055704,"starts_on":"2013-02-18","stories_count":1,"team_strength":100,"updated_at":"2013-02-25T01:05:09+01:00","percent_complete":100,"current?":false,"future?":false,"accepted_stories_count":1},{"accepted_points":0,"comments_count":0,"complete":true,"created_at":"2013-02-25T01:05:09+01:00","estimated_points":0,"estimated_velocity":13,"id":16057164,"starts_on":"2013-02-25","stories_count":0,"team_strength":100,"updated_at":"2013-03-04T01:05:00+01:00","percent_complete":0,"current?":false,"future?":false,"accepted_stories_count":0},{"accepted_points":0,"comments_count":0,"complete":false,"created_at":"2013-03-04T01:05:00+01:00","estimated_points":0,"estimated_velocity":7,"id":16063751,"starts_on":"2013-03-04","stories_count":1,"team_strength":100,"updated_at":"2013-03-04T01:05:00+01:00","percent_complete":0,"current?":true,"future?":false,"accepted_stories_count":0}],"updates":[{"id":15813566,"meta":"started","type":"StateChange","user_id":15506817,"created_at":"2013-02-22T11:46:34+01:00","updated_at":"2013-02-22T11:46:34+01:00","updateable_id":15623694,"updateable_type":"Story","":[]},{"id":15813567,"meta":"finished","type":"StateChange","user_id":15506817,"created_at":"2013-02-22T11:46:36+01:00","updated_at":"2013-02-22T11:46:36+01:00","updateable_id":15623694,"updateable_type":"Story","":[]},{"id":15813568,"meta":"delivered","type":"StateChange","user_id":15506817,"created_at":"2013-02-22T11:46:41+01:00","updated_at":"2013-02-22T11:46:41+01:00","updateable_id":15623694,"updateable_type":"Story","":[]},{"id":15813569,"meta":"accepted","type":"StateChange","user_id":15506817,"created_at":"2013-02-22T11:46:44+01:00","updated_at":"2013-02-22T11:46:44+01:00","updateable_id":15623694,"updateable_type":"Story","":[]}]}'
430
+ http_version:
431
+ recorded_at: Fri, 08 Mar 2013 10:13:33 GMT
432
+ - request:
433
+ method: get
434
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/updates.json?since=2013-03-08T11:23:55%2001:00
435
+ body:
436
+ encoding: US-ASCII
437
+ string: ''
438
+ headers:
439
+ Content-Type:
440
+ - application/json
441
+ response:
442
+ status:
443
+ code: 200
444
+ message: OK
445
+ headers:
446
+ Cache-Control:
447
+ - max-age=0, private, must-revalidate
448
+ Content-Type:
449
+ - application/json; charset=utf-8
450
+ Date:
451
+ - Fri, 08 Mar 2013 10:23:53 GMT
452
+ Etag:
453
+ - '"3ffc630b5e735e88d26d702a072dbb70"'
454
+ Server:
455
+ - thin 1.3.1 codename Triple Espresso
456
+ Set-Cookie:
457
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTQxZGJlN2JiZTVkMDJiMzFiZjVjYzNlNzIxNDdiMzQxBjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--c8e970071242c3151010cf49cc7b3bb6da514077;
458
+ path=/; HttpOnly
459
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Sat,
460
+ 08-Mar-2014 10:23:53 GMT
461
+ X-Rack-Cache:
462
+ - miss
463
+ X-Request-Id:
464
+ - 56eb00d014315dd13d61890f5bc3cfd4
465
+ X-Runtime:
466
+ - '0.043583'
467
+ X-Ua-Compatible:
468
+ - IE=Edge,chrome=1
469
+ Transfer-Encoding:
470
+ - chunked
471
+ Connection:
472
+ - keep-alive
473
+ body:
474
+ encoding: UTF-8
475
+ string: '{"timestamp":"2013-03-08T10:23:53+00:00","stories":[],"iterations":[],"updates":[]}'
476
+ http_version:
477
+ recorded_at: Fri, 08 Mar 2013 10:23:56 GMT
478
+ - request:
479
+ method: get
480
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/updates.json?since=2013-03-08T11:23:56%2001:00
481
+ body:
482
+ encoding: US-ASCII
483
+ string: ''
484
+ headers:
485
+ Content-Type:
486
+ - application/json
487
+ response:
488
+ status:
489
+ code: 200
490
+ message: OK
491
+ headers:
492
+ Cache-Control:
493
+ - max-age=0, private, must-revalidate
494
+ Content-Type:
495
+ - application/json; charset=utf-8
496
+ Date:
497
+ - Fri, 08 Mar 2013 10:23:53 GMT
498
+ Etag:
499
+ - '"3ffc630b5e735e88d26d702a072dbb70"'
500
+ Server:
501
+ - thin 1.3.1 codename Triple Espresso
502
+ Set-Cookie:
503
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWM5N2NhM2IzOWFkMGNhMmY0YTE2YWJhNjRiYzliNTM1BjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--41a07ef734e4db9b9d47857eeff7f76c21df5369;
504
+ path=/; HttpOnly
505
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Sat,
506
+ 08-Mar-2014 10:23:53 GMT
507
+ X-Rack-Cache:
508
+ - miss
509
+ X-Request-Id:
510
+ - 9a151350b9c30c1d38ab4549ea0c4170
511
+ X-Runtime:
512
+ - '0.088776'
513
+ X-Ua-Compatible:
514
+ - IE=Edge,chrome=1
515
+ Content-Length:
516
+ - '83'
517
+ Connection:
518
+ - keep-alive
519
+ body:
520
+ encoding: UTF-8
521
+ string: '{"timestamp":"2013-03-08T10:23:53+00:00","stories":[],"iterations":[],"updates":[]}'
522
+ http_version:
523
+ recorded_at: Fri, 08 Mar 2013 10:23:57 GMT
524
+ - request:
525
+ method: get
526
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/updates.json?since=2013-03-08T11:25:17%2001:00
527
+ body:
528
+ encoding: US-ASCII
529
+ string: ''
530
+ headers:
531
+ Content-Type:
532
+ - application/json
533
+ response:
534
+ status:
535
+ code: 200
536
+ message: OK
537
+ headers:
538
+ Cache-Control:
539
+ - max-age=0, private, must-revalidate
540
+ Content-Type:
541
+ - application/json; charset=utf-8
542
+ Date:
543
+ - Fri, 08 Mar 2013 10:25:15 GMT
544
+ Etag:
545
+ - '"b064a68e6fe0f37c0a93a53cb41c4c32"'
546
+ Server:
547
+ - thin 1.3.1 codename Triple Espresso
548
+ Set-Cookie:
549
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTRmYjNhNWYyYWMwZGQ2YmJhZTljZTFiNTNkYzA2ZjVjBjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--a6f92612838947068b240b8a00f3ece9d8b6a217;
550
+ path=/; HttpOnly
551
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Sat,
552
+ 08-Mar-2014 10:25:15 GMT
553
+ X-Rack-Cache:
554
+ - miss
555
+ X-Request-Id:
556
+ - b790cafe3cc3cc1e21f80924df48cece
557
+ X-Runtime:
558
+ - '0.035147'
559
+ X-Ua-Compatible:
560
+ - IE=Edge,chrome=1
561
+ Transfer-Encoding:
562
+ - chunked
563
+ Connection:
564
+ - keep-alive
565
+ body:
566
+ encoding: UTF-8
567
+ string: '{"timestamp":"2013-03-08T10:25:15+00:00","stories":[],"iterations":[],"updates":[]}'
568
+ http_version:
569
+ recorded_at: Fri, 08 Mar 2013 10:25:19 GMT
570
+ - request:
571
+ method: get
572
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/updates.json?since=2013-03-08T11:25:19%2001:00
573
+ body:
574
+ encoding: US-ASCII
575
+ string: ''
576
+ headers:
577
+ Content-Type:
578
+ - application/json
579
+ response:
580
+ status:
581
+ code: 200
582
+ message: OK
583
+ headers:
584
+ Cache-Control:
585
+ - max-age=0, private, must-revalidate
586
+ Content-Type:
587
+ - application/json; charset=utf-8
588
+ Date:
589
+ - Fri, 08 Mar 2013 10:25:15 GMT
590
+ Etag:
591
+ - '"b064a68e6fe0f37c0a93a53cb41c4c32"'
592
+ Server:
593
+ - thin 1.3.1 codename Triple Espresso
594
+ Set-Cookie:
595
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTUwNzA5YjczZjJiM2FkMjY2MmRkMmQ1YTY0MGQ0MmI5BjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--c20754970993a977deab1004cabee65ce3bfa929;
596
+ path=/; HttpOnly
597
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Sat,
598
+ 08-Mar-2014 10:25:15 GMT
599
+ X-Rack-Cache:
600
+ - miss
601
+ X-Request-Id:
602
+ - 488aec8e3c7226ee2732d10724e3b811
603
+ X-Runtime:
604
+ - '0.034794'
605
+ X-Ua-Compatible:
606
+ - IE=Edge,chrome=1
607
+ Content-Length:
608
+ - '83'
609
+ Connection:
610
+ - keep-alive
611
+ body:
612
+ encoding: UTF-8
613
+ string: '{"timestamp":"2013-03-08T10:25:15+00:00","stories":[],"iterations":[],"updates":[]}'
614
+ http_version:
615
+ recorded_at: Fri, 08 Mar 2013 10:25:19 GMT
616
+ - request:
617
+ method: get
618
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/updates.json?since=2013-03-08T11:34:30%2001:00
619
+ body:
620
+ encoding: US-ASCII
621
+ string: ''
622
+ headers:
623
+ Content-Type:
624
+ - application/json
625
+ response:
626
+ status:
627
+ code: 200
628
+ message: OK
629
+ headers:
630
+ Cache-Control:
631
+ - max-age=0, private, must-revalidate
632
+ Content-Type:
633
+ - application/json; charset=utf-8
634
+ Date:
635
+ - Fri, 08 Mar 2013 10:34:27 GMT
636
+ Etag:
637
+ - '"aee1f587af83e83aff54f8bb99cccd06"'
638
+ Server:
639
+ - thin 1.3.1 codename Triple Espresso
640
+ Set-Cookie:
641
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTI1MTI1YzNkOTgwOGUzZTk2Zjg2YzJjNDllOTRmODEzBjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--bb07c9c03a05e24ce772717bffb4b34b88e590da;
642
+ path=/; HttpOnly
643
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Sat,
644
+ 08-Mar-2014 10:34:27 GMT
645
+ X-Rack-Cache:
646
+ - miss
647
+ X-Request-Id:
648
+ - 220f2b7e7e36ab9fc5d206388cb09665
649
+ X-Runtime:
650
+ - '0.035942'
651
+ X-Ua-Compatible:
652
+ - IE=Edge,chrome=1
653
+ Content-Length:
654
+ - '83'
655
+ Connection:
656
+ - keep-alive
657
+ body:
658
+ encoding: UTF-8
659
+ string: '{"timestamp":"2013-03-08T10:34:27+00:00","stories":[],"iterations":[],"updates":[]}'
660
+ http_version:
661
+ recorded_at: Fri, 08 Mar 2013 10:34:31 GMT
662
+ - request:
663
+ method: get
664
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/updates.json?since=2013-03-08T11:34:31%2001:00
665
+ body:
666
+ encoding: US-ASCII
667
+ string: ''
668
+ headers:
669
+ Content-Type:
670
+ - application/json
671
+ response:
672
+ status:
673
+ code: 200
674
+ message: OK
675
+ headers:
676
+ Cache-Control:
677
+ - max-age=0, private, must-revalidate
678
+ Content-Type:
679
+ - application/json; charset=utf-8
680
+ Date:
681
+ - Fri, 08 Mar 2013 10:34:28 GMT
682
+ Etag:
683
+ - '"749e9a5f4b9f2e438a29a4486b65368a"'
684
+ Server:
685
+ - thin 1.3.1 codename Triple Espresso
686
+ Set-Cookie:
687
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTRkYzhiM2I0NTZmNzFlYTcwNWRmMDZmYThhYzA4NzQ2BjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--762631d66d9fc16477d87f98c9cb05aa24362918;
688
+ path=/; HttpOnly
689
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Sat,
690
+ 08-Mar-2014 10:34:28 GMT
691
+ X-Rack-Cache:
692
+ - miss
693
+ X-Request-Id:
694
+ - 413e02ab3a23790796fd6538b96a6acb
695
+ X-Runtime:
696
+ - '0.039528'
697
+ X-Ua-Compatible:
698
+ - IE=Edge,chrome=1
699
+ Transfer-Encoding:
700
+ - chunked
701
+ Connection:
702
+ - keep-alive
703
+ body:
704
+ encoding: UTF-8
705
+ string: '{"timestamp":"2013-03-08T10:34:28+00:00","stories":[],"iterations":[],"updates":[]}'
706
+ http_version:
707
+ recorded_at: Fri, 08 Mar 2013 10:34:32 GMT
708
+ - request:
709
+ method: get
710
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/updates.json?since=2013-03-08T11:34:52%2001:00
711
+ body:
712
+ encoding: US-ASCII
713
+ string: ''
714
+ headers:
715
+ Content-Type:
716
+ - application/json
717
+ response:
718
+ status:
719
+ code: 200
720
+ message: OK
721
+ headers:
722
+ Cache-Control:
723
+ - max-age=0, private, must-revalidate
724
+ Content-Type:
725
+ - application/json; charset=utf-8
726
+ Date:
727
+ - Fri, 08 Mar 2013 10:34:48 GMT
728
+ Etag:
729
+ - '"896ab2acf4f378d2d6a2a36c3bf88ae1"'
730
+ Server:
731
+ - thin 1.3.1 codename Triple Espresso
732
+ Set-Cookie:
733
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTYxNmM4YjY1ZGM4MmM2ZWQ2NDRjMGJkYjhmNjU3NWQ5BjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--deadd153879c24eb71783854d736ed5a37a56f0b;
734
+ path=/; HttpOnly
735
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Sat,
736
+ 08-Mar-2014 10:34:48 GMT
737
+ X-Rack-Cache:
738
+ - miss
739
+ X-Request-Id:
740
+ - eb9c911238bf7c2d659e63037be9bf0a
741
+ X-Runtime:
742
+ - '0.047578'
743
+ X-Ua-Compatible:
744
+ - IE=Edge,chrome=1
745
+ Transfer-Encoding:
746
+ - chunked
747
+ Connection:
748
+ - keep-alive
749
+ body:
750
+ encoding: UTF-8
751
+ string: '{"timestamp":"2013-03-08T10:34:48+00:00","stories":[],"iterations":[],"updates":[]}'
752
+ http_version:
753
+ recorded_at: Fri, 08 Mar 2013 10:34:52 GMT
754
+ - request:
755
+ method: get
756
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/updates.json?since=2013-03-08T11:34:52%2001:00
757
+ body:
758
+ encoding: US-ASCII
759
+ string: ''
760
+ headers:
761
+ Content-Type:
762
+ - application/json
763
+ response:
764
+ status:
765
+ code: 200
766
+ message: OK
767
+ headers:
768
+ Cache-Control:
769
+ - max-age=0, private, must-revalidate
770
+ Content-Type:
771
+ - application/json; charset=utf-8
772
+ Date:
773
+ - Fri, 08 Mar 2013 10:34:49 GMT
774
+ Etag:
775
+ - '"ca09560db9be7b1148569c99d89953ab"'
776
+ Server:
777
+ - thin 1.3.1 codename Triple Espresso
778
+ Set-Cookie:
779
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWJlZWRiOTkzNjAwM2MzZjM4MjczYTgzNDU5MWMzM2I5BjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--b9683c6133ca1268845920e74380998a4e886ec8;
780
+ path=/; HttpOnly
781
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Sat,
782
+ 08-Mar-2014 10:34:49 GMT
783
+ X-Rack-Cache:
784
+ - miss
785
+ X-Request-Id:
786
+ - 0c1148baa124a5282f9dfc619723b88c
787
+ X-Runtime:
788
+ - '0.036259'
789
+ X-Ua-Compatible:
790
+ - IE=Edge,chrome=1
791
+ Transfer-Encoding:
792
+ - chunked
793
+ Connection:
794
+ - keep-alive
795
+ body:
796
+ encoding: UTF-8
797
+ string: '{"timestamp":"2013-03-08T10:34:49+00:00","stories":[],"iterations":[],"updates":[]}'
798
+ http_version:
799
+ recorded_at: Fri, 08 Mar 2013 10:34:53 GMT
800
+ - request:
801
+ method: get
802
+ uri: https://www.apptrajectory.com/api/76900a72434cfe249da911eea2a6c94a/accounts/fake-user-for-api-test/projects/test/updates.json?since=2013-03-01T01:00:00%2001:00
803
+ body:
804
+ encoding: US-ASCII
805
+ string: ''
806
+ headers:
807
+ Content-Type:
808
+ - application/json
809
+ response:
810
+ status:
811
+ code: 200
812
+ message: OK
813
+ headers:
814
+ Cache-Control:
815
+ - max-age=0, private, must-revalidate
816
+ Content-Type:
817
+ - application/json; charset=utf-8
818
+ Date:
819
+ - Mon, 11 Mar 2013 16:32:37 GMT
820
+ Etag:
821
+ - '"db0253c28918dd3118de3ea27c50be77"'
822
+ Server:
823
+ - thin 1.3.1 codename Triple Espresso
824
+ Set-Cookie:
825
+ - _trajectory_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTJiNDc0ZGRiYzdkMDc2ZmRhYzJhNWVmZWJmOWZlYzY2BjsAVEkiDWttX3F1ZXVlBjsARlsGWwdJIg1pZGVudGlmeQY7AEZJIhVhY2NvdW50LTE1NTAwMzI5BjsARkkiEGttX2lkZW50aXR5BjsARkAM--27c44429de5df9c6be089c8f0377e081a93d9b48;
826
+ path=/; HttpOnly
827
+ - remember_token=4771d415418b4cd08b7bf6f671c816788bc98f9d; path=/; expires=Tue,
828
+ 11-Mar-2014 16:32:37 GMT
829
+ X-Rack-Cache:
830
+ - miss
831
+ X-Request-Id:
832
+ - a05e432b6e769a14ac1350a7d95f7cd5
833
+ X-Runtime:
834
+ - '0.367181'
835
+ X-Ua-Compatible:
836
+ - IE=Edge,chrome=1
837
+ Transfer-Encoding:
838
+ - chunked
839
+ Connection:
840
+ - keep-alive
841
+ body:
842
+ encoding: UTF-8
843
+ string: '{"timestamp":"2013-03-11T16:32:37+00:00","stories":[{"archived":true,"assignee_id":15506817,"branch":"l-story-1","comments_count":2,"created_at":"2013-02-21T16:49:27+01:00","deleted":false,"design_needed":false,"development_needed":false,"id":15623694,"idea_id":null,"iteration_id":16055704,"points":1,"position":100,"state":"accepted","task_type":"Feature","title":"story
844
+ 1","updated_at":"2013-03-08T14:03:21+01:00","user_id":15506817,"state_events":["unaccept"],"comma_separated_tags":null},{"archived":false,"assignee_id":null,"branch":null,"comments_count":2,"created_at":"2013-02-21T16:49:31+01:00","deleted":false,"design_needed":false,"development_needed":false,"id":15623695,"idea_id":null,"iteration_id":16070349,"points":0,"position":200,"state":"unstarted","task_type":"Feature","title":"story
845
+ 2","updated_at":"2013-03-11T01:06:27+01:00","user_id":15506817,"state_events":["start"],"comma_separated_tags":null}],"iterations":[{"accepted_points":1,"comments_count":0,"complete":true,"created_at":"2013-02-19T17:32:06+01:00","estimated_points":1,"estimated_velocity":20,"id":16055704,"starts_on":"2013-02-18","stories_count":1,"team_strength":100,"updated_at":"2013-03-08T14:03:21+01:00","percent_complete":100,"current?":false,"future?":false,"accepted_stories_count":1},{"accepted_points":0,"comments_count":0,"complete":true,"created_at":"2013-02-25T01:05:09+01:00","estimated_points":0,"estimated_velocity":13,"id":16057164,"starts_on":"2013-02-25","stories_count":0,"team_strength":100,"updated_at":"2013-03-04T01:05:00+01:00","percent_complete":0,"current?":false,"future?":false,"accepted_stories_count":0},{"accepted_points":0,"comments_count":0,"complete":true,"created_at":"2013-03-04T01:05:00+01:00","estimated_points":0,"estimated_velocity":7,"id":16063751,"starts_on":"2013-03-04","stories_count":0,"team_strength":100,"updated_at":"2013-03-11T01:06:27+01:00","percent_complete":0,"current?":false,"future?":false,"accepted_stories_count":0},{"accepted_points":0,"comments_count":0,"complete":false,"created_at":"2013-03-11T01:06:27+01:00","estimated_points":0,"estimated_velocity":0,"id":16070349,"starts_on":"2013-03-11","stories_count":1,"team_strength":100,"updated_at":"2013-03-11T01:06:27+01:00","percent_complete":0,"current?":true,"future?":false,"accepted_stories_count":0}],"updates":[{"id":15818430,"meta":"first
846
+ comment","type":"Comment","user_id":15506817,"created_at":"2013-03-08T14:03:16+01:00","updated_at":"2013-03-08T14:03:16+01:00","updateable_id":15623694,"updateable_type":"Story","formatted_meta":"<p>first
847
+ comment</p>\n","editable":true,"":[]},{"id":15818431,"meta":"second comment","type":"Comment","user_id":15506817,"created_at":"2013-03-08T14:03:21+01:00","updated_at":"2013-03-08T14:03:21+01:00","updateable_id":15623694,"updateable_type":"Story","formatted_meta":"<p>second
848
+ comment</p>\n","editable":true,"":[]},{"id":15818446,"meta":"a comment","type":"Comment","user_id":15506817,"created_at":"2013-03-08T15:46:29+01:00","updated_at":"2013-03-08T15:46:29+01:00","updateable_id":15623695,"updateable_type":"Story","formatted_meta":"<p>a
849
+ comment</p>\n","editable":true,"":[]},{"id":15818447,"meta":"another comment","type":"Comment","user_id":15506817,"created_at":"2013-03-08T15:46:34+01:00","updated_at":"2013-03-08T15:46:34+01:00","updateable_id":15623695,"updateable_type":"Story","formatted_meta":"<p>another
850
+ comment</p>\n","editable":true,"":[]}]}'
851
+ http_version:
852
+ recorded_at: Fri, 01 Mar 2013 00:00:00 GMT
853
+ recorded_with: VCR 2.4.0