locomotivecms_coal 1.0.0.pre.alpha.3 → 1.0.0.pre.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -7
  3. data/README.md +60 -3
  4. data/lib/locomotive/coal/client.rb +10 -3
  5. data/lib/locomotive/coal/error.rb +4 -3
  6. data/lib/locomotive/coal/resources/concerns/request.rb +3 -3
  7. data/lib/locomotive/coal/resources/content_entries.rb +9 -0
  8. data/lib/locomotive/coal/resources/current_site.rb +25 -0
  9. data/lib/locomotive/coal/resources/memberships.rb +13 -0
  10. data/lib/locomotive/coal/resources/pages.rb +1 -1
  11. data/lib/locomotive/coal/resources/snippets.rb +8 -0
  12. data/lib/locomotive/coal/version.rb +1 -1
  13. data/lib/locomotive/coal.rb +3 -0
  14. data/locomotivecms_coal.gemspec +2 -2
  15. data/spec/fixtures/coal_cassettes/client.yml +117 -160
  16. data/spec/fixtures/coal_cassettes/content_assets.yml +47 -71
  17. data/spec/fixtures/coal_cassettes/content_entries.yml +510 -388
  18. data/spec/fixtures/coal_cassettes/content_types.yml +128 -196
  19. data/spec/fixtures/coal_cassettes/current_site.yml +124 -0
  20. data/spec/fixtures/coal_cassettes/memberships.yml +203 -0
  21. data/spec/fixtures/coal_cassettes/my_account.yml +40 -62
  22. data/spec/fixtures/coal_cassettes/pages.yml +82 -108
  23. data/spec/fixtures/coal_cassettes/sites.yml +43 -59
  24. data/spec/fixtures/coal_cassettes/snippets.yml +48 -70
  25. data/spec/fixtures/coal_cassettes/theme_assets.yml +46 -70
  26. data/spec/fixtures/coal_cassettes/token.yml +25 -31
  27. data/spec/fixtures/coal_cassettes/translations.yml +46 -70
  28. data/spec/fixtures/coal_cassettes/version.yml +18 -28
  29. data/spec/integration/resources/content_entries_spec.rb +11 -0
  30. data/spec/integration/resources/current_site_spec.rb +22 -0
  31. data/spec/integration/resources/memberships_spec.rb +39 -0
  32. metadata +16 -6
@@ -22,42 +22,34 @@ http_interactions:
22
22
  headers:
23
23
  Content-Type:
24
24
  - application/json
25
- Content-Length:
26
- - '32'
27
25
  Etag:
28
- - W/"6ba0e226b40adfde2d656d9027a1335f"
26
+ - W/"157eb61d395f237526d11950bbc5a1fa"
29
27
  Cache-Control:
30
28
  - max-age=0, private, must-revalidate
31
29
  X-Request-Id:
32
- - 0ec191d2-e289-4cbc-b837-2ced17afaa07
30
+ - a1d5bbf0-cf2d-4279-8465-e4847553f155
33
31
  X-Runtime:
34
- - '0.015012'
35
- Connection:
36
- - keep-alive
37
- Server:
38
- - thin
32
+ - '0.064629'
33
+ Content-Length:
34
+ - '32'
39
35
  body:
40
36
  encoding: UTF-8
41
- string: '{"token":"Z9s7W_-BXyGQsDPFsorr"}'
37
+ string: '{"token":"v6XDp282UyPDeM6DgA-S"}'
42
38
  http_version:
43
- recorded_at: Mon, 04 May 2015 13:51:30 GMT
39
+ recorded_at: Wed, 29 Jul 2015 15:36:35 GMT
44
40
  - request:
45
41
  method: get
46
- uri: http://localhost:3000/locomotive/api/v3/translations.json
42
+ uri: http://localhost:3000/locomotive/api/v3/my_account.json?auth_token=v6XDp282UyPDeM6DgA-S
47
43
  body:
48
- encoding: UTF-8
49
- string: auth_token=Z9s7W_-BXyGQsDPFsorr
44
+ encoding: US-ASCII
45
+ string: ''
50
46
  headers:
51
47
  Accept:
52
48
  - application/json
53
49
  X-Locomotive-Account-Email:
54
50
  - admin@locomotivecms.com
55
51
  X-Locomotive-Account-Token:
56
- - Z9s7W_-BXyGQsDPFsorr
57
- X-Locomotive-Site-Handle:
58
- - sample
59
- Content-Type:
60
- - application/x-www-form-urlencoded
52
+ - v6XDp282UyPDeM6DgA-S
61
53
  Accept-Encoding:
62
54
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
63
55
  User-Agent:
@@ -69,40 +61,31 @@ http_interactions:
69
61
  headers:
70
62
  Content-Type:
71
63
  - application/json
72
- Content-Length:
73
- - '2'
74
64
  Etag:
75
- - W/"d751713988987e9331980363e24189ce"
65
+ - W/"90a3d77a13c34daf43fc0149ef56eeec"
76
66
  Cache-Control:
77
67
  - max-age=0, private, must-revalidate
78
68
  X-Request-Id:
79
- - 6c80facc-11f4-43a1-9a0b-3d4843a05db1
69
+ - 30646b0b-7d2a-4a5c-885c-2869a8b529de
80
70
  X-Runtime:
81
- - '0.037026'
82
- Connection:
83
- - keep-alive
84
- Server:
85
- - thin
71
+ - '0.014990'
72
+ Content-Length:
73
+ - '264'
86
74
  body:
87
75
  encoding: UTF-8
88
- string: "[]"
76
+ string: '{"_id":"55b8f2ea4469646440000000","created_at":"2015-07-29T15:36:10Z","updated_at":"2015-07-29T15:36:34Z","name":"John
77
+ Doe","email":"admin@locomotivecms.com","locale":"en","api_key":"d49cd50f6f0d2b163f48fc73cb249f0244c37074","super_admin":false,"local_admin":true}'
89
78
  http_version:
90
- recorded_at: Mon, 04 May 2015 13:51:30 GMT
79
+ recorded_at: Wed, 29 Jul 2015 15:36:35 GMT
91
80
  - request:
92
- method: get
93
- uri: http://localhost:3000/locomotive/api/v3/snippets.json
81
+ method: post
82
+ uri: http://www.example.com:3000/locomotive/api/v3/tokens.json
94
83
  body:
95
84
  encoding: UTF-8
96
- string: auth_token=Z9s7W_-BXyGQsDPFsorr
85
+ string: email=admin%40locomotivecms.com&password=locomotive
97
86
  headers:
98
87
  Accept:
99
88
  - application/json
100
- X-Locomotive-Account-Email:
101
- - admin@locomotivecms.com
102
- X-Locomotive-Account-Token:
103
- - Z9s7W_-BXyGQsDPFsorr
104
- X-Locomotive-Site-Handle:
105
- - sample
106
89
  Content-Type:
107
90
  - application/x-www-form-urlencoded
108
91
  Accept-Encoding:
@@ -111,47 +94,39 @@ http_interactions:
111
94
  - Ruby
112
95
  response:
113
96
  status:
114
- code: 200
115
- message: OK
97
+ code: 201
98
+ message: Created
116
99
  headers:
117
100
  Content-Type:
118
101
  - application/json
119
- Content-Length:
120
- - '2'
121
102
  Etag:
122
- - W/"d751713988987e9331980363e24189ce"
103
+ - W/"157eb61d395f237526d11950bbc5a1fa"
123
104
  Cache-Control:
124
105
  - max-age=0, private, must-revalidate
125
106
  X-Request-Id:
126
- - 9932aff8-11a2-414b-baed-73401abde9b4
107
+ - 5bcb10fc-5799-4d7e-9392-c806b83d94bc
127
108
  X-Runtime:
128
- - '0.025186'
129
- Connection:
130
- - keep-alive
131
- Server:
132
- - thin
109
+ - '0.016948'
110
+ Content-Length:
111
+ - '32'
133
112
  body:
134
113
  encoding: UTF-8
135
- string: "[]"
114
+ string: '{"token":"v6XDp282UyPDeM6DgA-S"}'
136
115
  http_version:
137
- recorded_at: Mon, 04 May 2015 13:51:30 GMT
116
+ recorded_at: Wed, 29 Jul 2015 15:36:35 GMT
138
117
  - request:
139
118
  method: get
140
- uri: http://localhost:3000/locomotive/api/v3/theme_assets.json
119
+ uri: http://www.example.com:3000/locomotive/api/v3/sites.json?auth_token=v6XDp282UyPDeM6DgA-S
141
120
  body:
142
- encoding: UTF-8
143
- string: auth_token=Z9s7W_-BXyGQsDPFsorr
121
+ encoding: US-ASCII
122
+ string: ''
144
123
  headers:
145
124
  Accept:
146
125
  - application/json
147
126
  X-Locomotive-Account-Email:
148
127
  - admin@locomotivecms.com
149
128
  X-Locomotive-Account-Token:
150
- - Z9s7W_-BXyGQsDPFsorr
151
- X-Locomotive-Site-Handle:
152
- - sample
153
- Content-Type:
154
- - application/x-www-form-urlencoded
129
+ - v6XDp282UyPDeM6DgA-S
155
130
  Accept-Encoding:
156
131
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
157
132
  User-Agent:
@@ -163,40 +138,37 @@ http_interactions:
163
138
  headers:
164
139
  Content-Type:
165
140
  - application/json
166
- Content-Length:
167
- - '2'
168
141
  Etag:
169
- - W/"d751713988987e9331980363e24189ce"
142
+ - W/"6eeec342423fe5777a3bdb54452c56c3"
170
143
  Cache-Control:
171
144
  - max-age=0, private, must-revalidate
172
145
  X-Request-Id:
173
- - 73f7645b-1b44-443b-a477-66462bd60cf2
146
+ - 8f7f14e1-6e80-4170-aadf-81aced4a58c6
174
147
  X-Runtime:
175
- - '0.024025'
176
- Connection:
177
- - keep-alive
178
- Server:
179
- - thin
148
+ - '0.022445'
149
+ Content-Length:
150
+ - '1120'
180
151
  body:
181
152
  encoding: UTF-8
182
- string: "[]"
153
+ string: '[{"_id":"55b8f2ea4469646440000002","created_at":"2015-07-29T15:36:10Z","updated_at":"2015-07-29T15:36:10Z","name":"LocomotiveCMS","handle":"www","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"locales":["en"],"domains":["www.example.com"],"memberships":[{"_id":"55b8f2ea4469646440000005","created_at":null,"updated_at":null,"role":"admin","account_id":"55b8f2ea4469646440000000","name":"John
154
+ Doe","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"picture_thumbnail_url":null},{"_id":"55b8f2ea4469646440000006","created_at":"2015-07-29T15:36:10Z","updated_at":"2015-07-29T15:36:34Z","name":"John
155
+ Doe","handle":"sample","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"locales":["en"],"domains":["sample.example.com"],"memberships":[{"_id":"55b8f2ea4469646440000009","created_at":null,"updated_at":null,"role":"admin","account_id":"55b8f2ea4469646440000000","name":"John
156
+ Doe","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"picture_thumbnail_url":null}]'
183
157
  http_version:
184
- recorded_at: Mon, 04 May 2015 13:51:30 GMT
158
+ recorded_at: Wed, 29 Jul 2015 15:36:35 GMT
185
159
  - request:
186
160
  method: get
187
- uri: http://localhost:3000/locomotive/api/v3/my_account.json
161
+ uri: http://localhost:3000/locomotive/api/v3/sites.json?auth_token=v6XDp282UyPDeM6DgA-S
188
162
  body:
189
- encoding: UTF-8
190
- string: auth_token=Z9s7W_-BXyGQsDPFsorr
163
+ encoding: US-ASCII
164
+ string: ''
191
165
  headers:
192
166
  Accept:
193
167
  - application/json
194
168
  X-Locomotive-Account-Email:
195
169
  - admin@locomotivecms.com
196
170
  X-Locomotive-Account-Token:
197
- - Z9s7W_-BXyGQsDPFsorr
198
- Content-Type:
199
- - application/x-www-form-urlencoded
171
+ - v6XDp282UyPDeM6DgA-S
200
172
  Accept-Encoding:
201
173
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
202
174
  User-Agent:
@@ -208,81 +180,82 @@ http_interactions:
208
180
  headers:
209
181
  Content-Type:
210
182
  - application/json
211
- Content-Length:
212
- - '261'
213
183
  Etag:
214
- - W/"8fad791a4f5d5da4ee14fa5bc5058ba4"
184
+ - W/"6eeec342423fe5777a3bdb54452c56c3"
215
185
  Cache-Control:
216
186
  - max-age=0, private, must-revalidate
217
187
  X-Request-Id:
218
- - 7bfe3620-ce6d-467a-8a50-370a633857f7
188
+ - e22616cf-3631-477d-96ba-081a56beb562
219
189
  X-Runtime:
220
- - '0.016831'
221
- Connection:
222
- - keep-alive
223
- Server:
224
- - thin
190
+ - '0.024625'
191
+ Content-Length:
192
+ - '1120'
225
193
  body:
226
194
  encoding: UTF-8
227
- string: '{"_id":"554779596469644d44000000","created_at":"2015-05-04T13:51:21Z","updated_at":"2015-05-04T13:51:21Z","name":"Admin","email":"admin@locomotivecms.com","locale":"en","api_key":"d49cd50f6f0d2b163f48fc73cb249f0244c37074","super_admin":false,"local_admin":true}'
195
+ string: '[{"_id":"55b8f2ea4469646440000002","created_at":"2015-07-29T15:36:10Z","updated_at":"2015-07-29T15:36:10Z","name":"LocomotiveCMS","handle":"www","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"locales":["en"],"domains":["www.example.com"],"memberships":[{"_id":"55b8f2ea4469646440000005","created_at":null,"updated_at":null,"role":"admin","account_id":"55b8f2ea4469646440000000","name":"John
196
+ Doe","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"picture_thumbnail_url":null},{"_id":"55b8f2ea4469646440000006","created_at":"2015-07-29T15:36:10Z","updated_at":"2015-07-29T15:36:34Z","name":"John
197
+ Doe","handle":"sample","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"locales":["en"],"domains":["sample.example.com"],"memberships":[{"_id":"55b8f2ea4469646440000009","created_at":null,"updated_at":null,"role":"admin","account_id":"55b8f2ea4469646440000000","name":"John
198
+ Doe","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"picture_thumbnail_url":null}]'
228
199
  http_version:
229
- recorded_at: Mon, 04 May 2015 13:51:30 GMT
200
+ recorded_at: Wed, 29 Jul 2015 15:36:35 GMT
230
201
  - request:
231
- method: post
232
- uri: http://www.example.com:3000/locomotive/api/v3/tokens.json
202
+ method: get
203
+ uri: http://localhost:3000/locomotive/api/v3/translations.json?auth_token=v6XDp282UyPDeM6DgA-S
233
204
  body:
234
- encoding: UTF-8
235
- string: email=admin%40locomotivecms.com&password=locomotive
205
+ encoding: US-ASCII
206
+ string: ''
236
207
  headers:
237
208
  Accept:
238
209
  - application/json
239
- Content-Type:
240
- - application/x-www-form-urlencoded
210
+ X-Locomotive-Account-Email:
211
+ - admin@locomotivecms.com
212
+ X-Locomotive-Account-Token:
213
+ - v6XDp282UyPDeM6DgA-S
214
+ X-Locomotive-Site-Handle:
215
+ - sample
241
216
  Accept-Encoding:
242
217
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
243
218
  User-Agent:
244
219
  - Ruby
245
220
  response:
246
221
  status:
247
- code: 201
248
- message: Created
222
+ code: 200
223
+ message: OK
249
224
  headers:
250
225
  Content-Type:
251
226
  - application/json
252
- Content-Length:
253
- - '32'
254
227
  Etag:
255
- - W/"6ba0e226b40adfde2d656d9027a1335f"
228
+ - W/"d751713988987e9331980363e24189ce"
256
229
  Cache-Control:
257
230
  - max-age=0, private, must-revalidate
258
231
  X-Request-Id:
259
- - 06635287-8e00-4bea-9bce-ee735e1a3185
232
+ - 4386dc93-d584-446b-9dcc-52915c532d6a
260
233
  X-Runtime:
261
- - '0.016993'
262
- Connection:
263
- - keep-alive
264
- Server:
265
- - thin
234
+ - '0.021975'
235
+ Content-Length:
236
+ - '2'
266
237
  body:
267
238
  encoding: UTF-8
268
- string: '{"token":"Z9s7W_-BXyGQsDPFsorr"}'
239
+ string: "[]"
269
240
  http_version:
270
- recorded_at: Mon, 04 May 2015 13:51:30 GMT
241
+ recorded_at: Wed, 29 Jul 2015 15:36:35 GMT
271
242
  - request:
272
243
  method: get
273
- uri: http://www.example.com:3000/locomotive/api/v3/sites.json
244
+ uri: http://localhost:3000/locomotive/api/v3/snippets.json?auth_token=v6XDp282UyPDeM6DgA-S
274
245
  body:
275
- encoding: UTF-8
276
- string: auth_token=Z9s7W_-BXyGQsDPFsorr
246
+ encoding: US-ASCII
247
+ string: ''
277
248
  headers:
278
249
  Accept:
279
250
  - application/json
280
251
  X-Locomotive-Account-Email:
281
252
  - admin@locomotivecms.com
282
253
  X-Locomotive-Account-Token:
283
- - Z9s7W_-BXyGQsDPFsorr
284
- Content-Type:
285
- - application/x-www-form-urlencoded
254
+ - v6XDp282UyPDeM6DgA-S
255
+ X-Locomotive-Site-Handle:
256
+ - sample
257
+ X-Locomotive-Locale:
258
+ - ''
286
259
  Accept-Encoding:
287
260
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
288
261
  User-Agent:
@@ -294,41 +267,36 @@ http_interactions:
294
267
  headers:
295
268
  Content-Type:
296
269
  - application/json
297
- Content-Length:
298
- - '1021'
299
270
  Etag:
300
- - W/"7447d8e7cdca76d1abcbb9df74b1cab8"
271
+ - W/"d751713988987e9331980363e24189ce"
301
272
  Cache-Control:
302
273
  - max-age=0, private, must-revalidate
303
274
  X-Request-Id:
304
- - efd892db-8b7f-425f-8337-34120d36898e
275
+ - 02321481-b45a-47bc-a5e4-0606ff6f0981
305
276
  X-Runtime:
306
- - '0.041425'
307
- Connection:
308
- - keep-alive
309
- Server:
310
- - thin
277
+ - '0.021469'
278
+ Content-Length:
279
+ - '2'
311
280
  body:
312
281
  encoding: UTF-8
313
- string: '[{"_id":"554779596469644d44010000","created_at":"2015-05-04T13:51:21Z","updated_at":"2015-05-04T13:51:21Z","name":"LocomotiveCMS","handle":"www","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"locales":["en"],"domains":["www.example.com"],"memberships":[{"_id":"554779596469644d44040000","created_at":null,"updated_at":null,"role":"admin","account_id":"554779596469644d44000000","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC"},{"_id":"554779596469644d44050000","created_at":"2015-05-04T13:51:21Z","updated_at":"2015-05-04T13:51:21Z","name":"Sample
314
- site","handle":"sample","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"locales":["en"],"domains":["sample.example.com"],"memberships":[{"_id":"554779596469644d44080000","created_at":null,"updated_at":null,"role":"admin","account_id":"554779596469644d44000000","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC"}]'
282
+ string: "[]"
315
283
  http_version:
316
- recorded_at: Mon, 04 May 2015 13:51:30 GMT
284
+ recorded_at: Wed, 29 Jul 2015 15:36:35 GMT
317
285
  - request:
318
286
  method: get
319
- uri: http://localhost:3000/locomotive/api/v3/sites.json
287
+ uri: http://localhost:3000/locomotive/api/v3/theme_assets.json?auth_token=v6XDp282UyPDeM6DgA-S
320
288
  body:
321
- encoding: UTF-8
322
- string: auth_token=Z9s7W_-BXyGQsDPFsorr
289
+ encoding: US-ASCII
290
+ string: ''
323
291
  headers:
324
292
  Accept:
325
293
  - application/json
326
294
  X-Locomotive-Account-Email:
327
295
  - admin@locomotivecms.com
328
296
  X-Locomotive-Account-Token:
329
- - Z9s7W_-BXyGQsDPFsorr
330
- Content-Type:
331
- - application/x-www-form-urlencoded
297
+ - v6XDp282UyPDeM6DgA-S
298
+ X-Locomotive-Site-Handle:
299
+ - sample
332
300
  Accept-Encoding:
333
301
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
334
302
  User-Agent:
@@ -340,41 +308,34 @@ http_interactions:
340
308
  headers:
341
309
  Content-Type:
342
310
  - application/json
343
- Content-Length:
344
- - '1021'
345
311
  Etag:
346
- - W/"7447d8e7cdca76d1abcbb9df74b1cab8"
312
+ - W/"d751713988987e9331980363e24189ce"
347
313
  Cache-Control:
348
314
  - max-age=0, private, must-revalidate
349
315
  X-Request-Id:
350
- - 07693e18-8e3e-4c44-afd8-2197f9be4d5d
316
+ - f1c44850-e6d1-4f80-88a7-e6dac3b650cc
351
317
  X-Runtime:
352
- - '0.041525'
353
- Connection:
354
- - keep-alive
355
- Server:
356
- - thin
318
+ - '0.021556'
319
+ Content-Length:
320
+ - '2'
357
321
  body:
358
322
  encoding: UTF-8
359
- string: '[{"_id":"554779596469644d44010000","created_at":"2015-05-04T13:51:21Z","updated_at":"2015-05-04T13:51:21Z","name":"LocomotiveCMS","handle":"www","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"locales":["en"],"domains":["www.example.com"],"memberships":[{"_id":"554779596469644d44040000","created_at":null,"updated_at":null,"role":"admin","account_id":"554779596469644d44000000","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC"},{"_id":"554779596469644d44050000","created_at":"2015-05-04T13:51:21Z","updated_at":"2015-05-04T13:51:21Z","name":"Sample
360
- site","handle":"sample","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"locales":["en"],"domains":["sample.example.com"],"memberships":[{"_id":"554779596469644d44080000","created_at":null,"updated_at":null,"role":"admin","account_id":"554779596469644d44000000","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC"}]'
323
+ string: "[]"
361
324
  http_version:
362
- recorded_at: Mon, 04 May 2015 13:51:30 GMT
325
+ recorded_at: Wed, 29 Jul 2015 15:36:35 GMT
363
326
  - request:
364
327
  method: get
365
- uri: http://localhost:3000/locomotive/api/v3/version.json
328
+ uri: http://localhost:3000/locomotive/api/v3/version.json?auth_token=v6XDp282UyPDeM6DgA-S&email=admin@locomotivecms.com&handle=&password=locomotive&token=v6XDp282UyPDeM6DgA-S
366
329
  body:
367
- encoding: UTF-8
368
- string: auth_token=Z9s7W_-BXyGQsDPFsorr&email=admin%40locomotivecms.com&handle=&password=locomotive&token=Z9s7W_-BXyGQsDPFsorr
330
+ encoding: US-ASCII
331
+ string: ''
369
332
  headers:
370
333
  Accept:
371
334
  - application/json
372
335
  X-Locomotive-Account-Email:
373
336
  - admin@locomotivecms.com
374
337
  X-Locomotive-Account-Token:
375
- - Z9s7W_-BXyGQsDPFsorr
376
- Content-Type:
377
- - application/x-www-form-urlencoded
338
+ - v6XDp282UyPDeM6DgA-S
378
339
  Accept-Encoding:
379
340
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
380
341
  User-Agent:
@@ -386,23 +347,19 @@ http_interactions:
386
347
  headers:
387
348
  Content-Type:
388
349
  - application/json
389
- Content-Length:
390
- - '18'
391
350
  Etag:
392
- - W/"02b2733eaed04ddde340a02b57d9bc85"
351
+ - W/"4f482497f0c1e5f67e0c6bc908159a8b"
393
352
  Cache-Control:
394
353
  - max-age=0, private, must-revalidate
395
354
  X-Request-Id:
396
- - cdfc7489-fe43-4475-a98e-65c1712d321b
355
+ - d42b7453-1375-451b-b24e-c4bbc53f5241
397
356
  X-Runtime:
398
- - '0.008635'
399
- Connection:
400
- - keep-alive
401
- Server:
402
- - thin
357
+ - '0.012935'
358
+ Content-Length:
359
+ - '26'
403
360
  body:
404
361
  encoding: UTF-8
405
- string: '{"engine":"3.0.0"}'
362
+ string: '{"engine":"3.0.0-alpha.3"}'
406
363
  http_version:
407
- recorded_at: Tue, 12 May 2015 13:23:38 GMT
364
+ recorded_at: Wed, 29 Jul 2015 15:36:35 GMT
408
365
  recorded_with: VCR 2.9.3