locomotivecms_coal 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,23 +23,23 @@ http_interactions:
23
23
  Content-Type:
24
24
  - application/json
25
25
  Etag:
26
- - W/"3b6ceb0d2ba232a8d48dd0dc8f702ef4"
26
+ - W/"120917583ae3f64355d682b690f7cb40"
27
27
  Cache-Control:
28
28
  - max-age=0, private, must-revalidate
29
29
  X-Request-Id:
30
- - 862e94f5-5d78-476e-9857-2c796f88a028
30
+ - fb432188-59b1-4343-bdef-e10465975f97
31
31
  X-Runtime:
32
- - '0.014467'
32
+ - '0.015828'
33
33
  Content-Length:
34
34
  - '32'
35
35
  body:
36
36
  encoding: UTF-8
37
- string: '{"token":"xM_3r1zn2aQAinPFqSvd"}'
37
+ string: '{"token":"E2aoXzMxkFsLnCcmCcc_"}'
38
38
  http_version:
39
- recorded_at: Tue, 11 Aug 2015 13:12:35 GMT
39
+ recorded_at: Sat, 21 Nov 2015 22:30:58 GMT
40
40
  - request:
41
41
  method: get
42
- uri: http://localhost:3000/locomotive/sample/api/v3/theme_assets.json?auth_token=xM_3r1zn2aQAinPFqSvd
42
+ uri: http://localhost:3000/locomotive/sample/api/v3/theme_assets.json?auth_token=E2aoXzMxkFsLnCcmCcc_
43
43
  body:
44
44
  encoding: US-ASCII
45
45
  string: ''
@@ -49,7 +49,7 @@ http_interactions:
49
49
  X-Locomotive-Account-Email:
50
50
  - admin@locomotivecms.com
51
51
  X-Locomotive-Account-Token:
52
- - xM_3r1zn2aQAinPFqSvd
52
+ - E2aoXzMxkFsLnCcmCcc_
53
53
  Accept-Encoding:
54
54
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
55
55
  User-Agent:
@@ -66,16 +66,16 @@ http_interactions:
66
66
  Cache-Control:
67
67
  - max-age=0, private, must-revalidate
68
68
  X-Request-Id:
69
- - 05d04295-f14a-40d8-8382-c7d39680367d
69
+ - 7d3411f7-ce06-4246-b6a7-0af08b610d02
70
70
  X-Runtime:
71
- - '0.036538'
71
+ - '0.046273'
72
72
  Content-Length:
73
73
  - '2'
74
74
  body:
75
75
  encoding: UTF-8
76
76
  string: "[]"
77
77
  http_version:
78
- recorded_at: Tue, 11 Aug 2015 13:12:35 GMT
78
+ recorded_at: Sat, 21 Nov 2015 22:30:58 GMT
79
79
  - request:
80
80
  method: post
81
81
  uri: http://localhost:3000/locomotive/sample/api/v3/theme_assets.json
@@ -257,7 +257,7 @@ http_interactions:
257
257
  RGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0idGhlbWVfYXNzZXRbZm9s
258
258
  ZGVyXSINCg0KZm9vdGVyDQotLS0tLS0tLS0tLS0tUnVieU11bHRpcGFydFBv
259
259
  c3QNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iYXV0
260
- aF90b2tlbiINCg0KeE1fM3Ixem4yYVFBaW5QRnFTdmQNCi0tLS0tLS0tLS0t
260
+ aF90b2tlbiINCg0KRTJhb1h6TXhrRnNMbkNjbUNjY18NCi0tLS0tLS0tLS0t
261
261
  LS1SdWJ5TXVsdGlwYXJ0UG9zdC0tDQoNCg==
262
262
  headers:
263
263
  Accept:
@@ -265,7 +265,7 @@ http_interactions:
265
265
  X-Locomotive-Account-Email:
266
266
  - admin@locomotivecms.com
267
267
  X-Locomotive-Account-Token:
268
- - xM_3r1zn2aQAinPFqSvd
268
+ - E2aoXzMxkFsLnCcmCcc_
269
269
  Content-Type:
270
270
  - multipart/form-data; boundary=-----------RubyMultipartPost
271
271
  Content-Length:
@@ -282,34 +282,34 @@ http_interactions:
282
282
  Content-Type:
283
283
  - application/json
284
284
  Etag:
285
- - W/"1285911cccd057be0eff1210b2abb6f2"
285
+ - W/"2b3f3e0da8581beda45e69aa533bb6ff"
286
286
  Cache-Control:
287
287
  - max-age=0, private, must-revalidate
288
288
  X-Request-Id:
289
- - 58314641-1993-4d8b-99d2-a561a03343e0
289
+ - b211ff3a-29b1-488d-86b1-69dc93a9b716
290
290
  X-Runtime:
291
- - '0.241139'
291
+ - '0.233523'
292
292
  Content-Length:
293
- - '335'
293
+ - '365'
294
294
  body:
295
295
  encoding: UTF-8
296
- string: '{"_id":"55c9f4c387f6432a3b000002","created_at":"2015-08-11T13:12:35Z","updated_at":"2015-08-11T13:12:35Z","content_type":"image","folder":"images/footer","checksum":"933d32a3720db54b73003ba10a876eec","local_path":"footer/rails.png","url":"/sites/55c9f4a487f6432a1e000006/theme/images/footer/rails.png","size":"7.31
296
+ string: '{"_id":"5650f0a287f6436cbc000003","created_at":"2015-11-21T22:30:58Z","updated_at":"2015-11-21T22:30:58Z","content_type":"image","local_path":"images/footer/rails.png","folder":"images/footer","checksum":"933d32a3720db54b73003ba10a876eec","filename":"rails.png","url":"/sites/5650f08c87f6436c94000006/theme/images/footer/rails.png","size":"7.31
297
297
  KB","raw_size":7485}'
298
298
  http_version:
299
- recorded_at: Tue, 11 Aug 2015 13:12:35 GMT
299
+ recorded_at: Sat, 21 Nov 2015 22:30:58 GMT
300
300
  - request:
301
301
  method: put
302
- uri: http://localhost:3000/locomotive/sample/api/v3/theme_assets/55c9f4c387f6432a3b000002.json
302
+ uri: http://localhost:3000/locomotive/sample/api/v3/theme_assets/5650f0a287f6436cbc000003.json
303
303
  body:
304
304
  encoding: UTF-8
305
- string: auth_token=xM_3r1zn2aQAinPFqSvd&theme_asset%5Bfolder%5D=header
305
+ string: auth_token=E2aoXzMxkFsLnCcmCcc_&theme_asset%5Bfolder%5D=header
306
306
  headers:
307
307
  Accept:
308
308
  - application/json
309
309
  X-Locomotive-Account-Email:
310
310
  - admin@locomotivecms.com
311
311
  X-Locomotive-Account-Token:
312
- - xM_3r1zn2aQAinPFqSvd
312
+ - E2aoXzMxkFsLnCcmCcc_
313
313
  Content-Type:
314
314
  - application/x-www-form-urlencoded
315
315
  Accept-Encoding:
@@ -324,24 +324,24 @@ http_interactions:
324
324
  Content-Type:
325
325
  - application/json
326
326
  Etag:
327
- - W/"8b9c55f1e8252c5c19250797d7a1ff6b"
327
+ - W/"fc1e9fdd9f7465d692f021492c9a2218"
328
328
  Cache-Control:
329
329
  - max-age=0, private, must-revalidate
330
330
  X-Request-Id:
331
- - ad82bc69-d1b3-463d-bc4f-fb384c102d21
331
+ - 95eeba78-a049-4cc1-9287-b5dc25ed2261
332
332
  X-Runtime:
333
- - '0.076525'
333
+ - '0.058801'
334
334
  Content-Length:
335
- - '335'
335
+ - '365'
336
336
  body:
337
337
  encoding: UTF-8
338
- string: '{"_id":"55c9f4c387f6432a3b000002","created_at":"2015-08-11T13:12:35Z","updated_at":"2015-08-11T13:12:35Z","content_type":"image","folder":"images/header","checksum":"933d32a3720db54b73003ba10a876eec","local_path":"header/rails.png","url":"/sites/55c9f4a487f6432a1e000006/theme/images/header/rails.png","size":"7.31
338
+ string: '{"_id":"5650f0a287f6436cbc000003","created_at":"2015-11-21T22:30:58Z","updated_at":"2015-11-21T22:30:58Z","content_type":"image","local_path":"images/header/rails.png","folder":"images/header","checksum":"933d32a3720db54b73003ba10a876eec","filename":"rails.png","url":"/sites/5650f08c87f6436c94000006/theme/images/header/rails.png","size":"7.31
339
339
  KB","raw_size":7485}'
340
340
  http_version:
341
- recorded_at: Tue, 11 Aug 2015 13:12:35 GMT
341
+ recorded_at: Sat, 21 Nov 2015 22:30:58 GMT
342
342
  - request:
343
343
  method: delete
344
- uri: http://localhost:3000/locomotive/sample/api/v3/theme_assets/55c9f4c387f6432a3b000002.json?auth_token=xM_3r1zn2aQAinPFqSvd
344
+ uri: http://localhost:3000/locomotive/sample/api/v3/theme_assets/5650f0a287f6436cbc000003.json?auth_token=E2aoXzMxkFsLnCcmCcc_
345
345
  body:
346
346
  encoding: US-ASCII
347
347
  string: ''
@@ -351,7 +351,7 @@ http_interactions:
351
351
  X-Locomotive-Account-Email:
352
352
  - admin@locomotivecms.com
353
353
  X-Locomotive-Account-Token:
354
- - xM_3r1zn2aQAinPFqSvd
354
+ - E2aoXzMxkFsLnCcmCcc_
355
355
  Accept-Encoding:
356
356
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
357
357
  User-Agent:
@@ -364,19 +364,19 @@ http_interactions:
364
364
  Content-Type:
365
365
  - application/json
366
366
  Etag:
367
- - W/"8b9c55f1e8252c5c19250797d7a1ff6b"
367
+ - W/"fc1e9fdd9f7465d692f021492c9a2218"
368
368
  Cache-Control:
369
369
  - max-age=0, private, must-revalidate
370
370
  X-Request-Id:
371
- - 7ddddd87-313c-4047-8fe7-649b9350a098
371
+ - 35990908-1549-4386-ab93-54ca6c5ff163
372
372
  X-Runtime:
373
- - '0.048580'
373
+ - '0.043259'
374
374
  Content-Length:
375
- - '335'
375
+ - '365'
376
376
  body:
377
377
  encoding: UTF-8
378
- string: '{"_id":"55c9f4c387f6432a3b000002","created_at":"2015-08-11T13:12:35Z","updated_at":"2015-08-11T13:12:35Z","content_type":"image","folder":"images/header","checksum":"933d32a3720db54b73003ba10a876eec","local_path":"header/rails.png","url":"/sites/55c9f4a487f6432a1e000006/theme/images/header/rails.png","size":"7.31
378
+ string: '{"_id":"5650f0a287f6436cbc000003","created_at":"2015-11-21T22:30:58Z","updated_at":"2015-11-21T22:30:58Z","content_type":"image","local_path":"images/header/rails.png","folder":"images/header","checksum":"933d32a3720db54b73003ba10a876eec","filename":"rails.png","url":"/sites/5650f08c87f6436c94000006/theme/images/header/rails.png","size":"7.31
379
379
  KB","raw_size":7485}'
380
380
  http_version:
381
- recorded_at: Tue, 11 Aug 2015 13:12:36 GMT
381
+ recorded_at: Sat, 21 Nov 2015 22:30:58 GMT
382
382
  recorded_with: VCR 2.9.3
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://acme.example.com:3000/tokens.json
5
+ uri: http://localhost:3000/locomotive/api/v3/tokens.json
6
6
  body:
7
7
  encoding: UTF-8
8
- string: email=admin%40locomotivecms.com&password=locomotive
8
+ string: api_key=d49cd50f6f0d2b163f48fc73cb249f0244c37074&email=admin%40locomotivecms.com
9
9
  headers:
10
10
  Accept:
11
11
  - application/json
@@ -17,27 +17,29 @@ http_interactions:
17
17
  - Ruby
18
18
  response:
19
19
  status:
20
- code: 404
21
- message: Not Found
20
+ code: 201
21
+ message: Created
22
22
  headers:
23
23
  Content-Type:
24
- - text/html
24
+ - application/json
25
+ Etag:
26
+ - W/"120917583ae3f64355d682b690f7cb40"
25
27
  Cache-Control:
26
- - no-cache
28
+ - max-age=0, private, must-revalidate
27
29
  X-Request-Id:
28
- - 600086d1-ecb5-4798-91ef-0a2c0f2413cb
30
+ - 93c7092a-9fe1-4f90-a513-e008ea455ee2
29
31
  X-Runtime:
30
- - '0.040004'
31
- Transfer-Encoding:
32
- - chunked
32
+ - '0.018246'
33
+ Content-Length:
34
+ - '32'
33
35
  body:
34
36
  encoding: UTF-8
35
- string: Hi, we are sorry but no site was found.
37
+ string: '{"token":"E2aoXzMxkFsLnCcmCcc_"}'
36
38
  http_version:
37
- recorded_at: Tue, 11 Aug 2015 13:12:36 GMT
39
+ recorded_at: Sat, 21 Nov 2015 22:31:02 GMT
38
40
  - request:
39
41
  method: post
40
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
42
+ uri: http://acme.example.com:3000/tokens.json
41
43
  body:
42
44
  encoding: UTF-8
43
45
  string: email=admin%40locomotivecms.com&password=locomotive
@@ -52,24 +54,29 @@ http_interactions:
52
54
  - Ruby
53
55
  response:
54
56
  status:
55
- code: 201
56
- message: Created
57
+ code: 404
58
+ message: Not Found
57
59
  headers:
60
+ X-Frame-Options:
61
+ - SAMEORIGIN
62
+ X-Xss-Protection:
63
+ - 1; mode=block
64
+ X-Content-Type-Options:
65
+ - nosniff
58
66
  Content-Type:
59
- - application/json
60
- Etag:
61
- - W/"3b6ceb0d2ba232a8d48dd0dc8f702ef4"
67
+ - application/json; charset=utf-8
62
68
  Cache-Control:
63
- - max-age=0, private, must-revalidate
69
+ - no-cache
64
70
  X-Request-Id:
65
- - fff2a1ce-b1f4-4294-82b6-4678fb2992f3
71
+ - 14ab882f-7a7b-418a-a176-12bd1c9353d0
66
72
  X-Runtime:
67
- - '0.015440'
68
- Content-Length:
69
- - '32'
73
+ - '0.110531'
74
+ Transfer-Encoding:
75
+ - chunked
70
76
  body:
71
77
  encoding: UTF-8
72
- string: '{"token":"xM_3r1zn2aQAinPFqSvd"}'
78
+ string: |
79
+ {"error":"no site found"}
73
80
  http_version:
74
- recorded_at: Tue, 11 Aug 2015 13:12:36 GMT
81
+ recorded_at: Sat, 21 Nov 2015 22:31:03 GMT
75
82
  recorded_with: VCR 2.9.3
@@ -23,23 +23,23 @@ http_interactions:
23
23
  Content-Type:
24
24
  - application/json
25
25
  Etag:
26
- - W/"3b6ceb0d2ba232a8d48dd0dc8f702ef4"
26
+ - W/"120917583ae3f64355d682b690f7cb40"
27
27
  Cache-Control:
28
28
  - max-age=0, private, must-revalidate
29
29
  X-Request-Id:
30
- - 700698ed-b255-4353-af99-c91740293a8d
30
+ - 0d8afb02-0aed-4ed7-bb23-6c4020d43c7d
31
31
  X-Runtime:
32
- - '0.446493'
32
+ - '0.015846'
33
33
  Content-Length:
34
34
  - '32'
35
35
  body:
36
36
  encoding: UTF-8
37
- string: '{"token":"xM_3r1zn2aQAinPFqSvd"}'
37
+ string: '{"token":"E2aoXzMxkFsLnCcmCcc_"}'
38
38
  http_version:
39
- recorded_at: Tue, 11 Aug 2015 13:12:33 GMT
39
+ recorded_at: Sat, 21 Nov 2015 22:30:57 GMT
40
40
  - request:
41
41
  method: get
42
- uri: http://localhost:3000/locomotive/sample/api/v3/translations.json?auth_token=xM_3r1zn2aQAinPFqSvd
42
+ uri: http://localhost:3000/locomotive/sample/api/v3/translations.json?auth_token=E2aoXzMxkFsLnCcmCcc_
43
43
  body:
44
44
  encoding: US-ASCII
45
45
  string: ''
@@ -49,7 +49,7 @@ http_interactions:
49
49
  X-Locomotive-Account-Email:
50
50
  - admin@locomotivecms.com
51
51
  X-Locomotive-Account-Token:
52
- - xM_3r1zn2aQAinPFqSvd
52
+ - E2aoXzMxkFsLnCcmCcc_
53
53
  Accept-Encoding:
54
54
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
55
55
  User-Agent:
@@ -66,29 +66,29 @@ http_interactions:
66
66
  Cache-Control:
67
67
  - max-age=0, private, must-revalidate
68
68
  X-Request-Id:
69
- - 8491f9c4-efad-446d-81ed-464fccf1c16e
69
+ - a6ddd5a8-c121-4956-b909-79eb0f8077dd
70
70
  X-Runtime:
71
- - '0.065670'
71
+ - '0.039425'
72
72
  Content-Length:
73
73
  - '2'
74
74
  body:
75
75
  encoding: UTF-8
76
76
  string: "[]"
77
77
  http_version:
78
- recorded_at: Tue, 11 Aug 2015 13:12:33 GMT
78
+ recorded_at: Sat, 21 Nov 2015 22:30:58 GMT
79
79
  - request:
80
80
  method: post
81
81
  uri: http://localhost:3000/locomotive/sample/api/v3/translations.json
82
82
  body:
83
83
  encoding: UTF-8
84
- string: auth_token=xM_3r1zn2aQAinPFqSvd&translation%5Bkey%5D=hello&translation%5Bvalues%5D%5Ben%5D=Hello+world&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde
84
+ string: auth_token=E2aoXzMxkFsLnCcmCcc_&translation%5Bkey%5D=hello&translation%5Bvalues%5D%5Ben%5D=Hello+world&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde
85
85
  headers:
86
86
  Accept:
87
87
  - application/json
88
88
  X-Locomotive-Account-Email:
89
89
  - admin@locomotivecms.com
90
90
  X-Locomotive-Account-Token:
91
- - xM_3r1zn2aQAinPFqSvd
91
+ - E2aoXzMxkFsLnCcmCcc_
92
92
  Content-Type:
93
93
  - application/x-www-form-urlencoded
94
94
  Accept-Encoding:
@@ -103,34 +103,34 @@ http_interactions:
103
103
  Content-Type:
104
104
  - application/json
105
105
  Etag:
106
- - W/"ecd7b98c5da1aed1b9c1ff2866aceb7a"
106
+ - W/"e12c448b863d0d73edecffe2625f35c2"
107
107
  Cache-Control:
108
108
  - max-age=0, private, must-revalidate
109
109
  X-Request-Id:
110
- - 85dbfb8a-9178-4475-9a3b-d80ed7a73b52
110
+ - a8d07bd2-dc1b-4281-8910-db7bbb5391b4
111
111
  X-Runtime:
112
- - '0.338358'
112
+ - '0.038517'
113
113
  Content-Length:
114
114
  - '174'
115
115
  body:
116
116
  encoding: UTF-8
117
- string: '{"_id":"55c9f4c187f6432a3b000000","created_at":"2015-08-11T13:12:34Z","updated_at":"2015-08-11T13:12:34Z","key":"hello","values":{"en":"Hello
117
+ string: '{"_id":"5650f0a287f6436cbc000002","created_at":"2015-11-21T22:30:58Z","updated_at":"2015-11-21T22:30:58Z","key":"hello","values":{"en":"Hello
118
118
  world","fr":"Bonjour le monde"}}'
119
119
  http_version:
120
- recorded_at: Tue, 11 Aug 2015 13:12:34 GMT
120
+ recorded_at: Sat, 21 Nov 2015 22:30:58 GMT
121
121
  - request:
122
122
  method: put
123
- uri: http://localhost:3000/locomotive/sample/api/v3/translations/55c9f4c187f6432a3b000000.json
123
+ uri: http://localhost:3000/locomotive/sample/api/v3/translations/5650f0a287f6436cbc000002.json
124
124
  body:
125
125
  encoding: UTF-8
126
- string: auth_token=xM_3r1zn2aQAinPFqSvd&translation%5Bvalues%5D%5Ben%5D=Hello+world%21&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde%21
126
+ string: auth_token=E2aoXzMxkFsLnCcmCcc_&translation%5Bvalues%5D%5Ben%5D=Hello+world%21&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde%21
127
127
  headers:
128
128
  Accept:
129
129
  - application/json
130
130
  X-Locomotive-Account-Email:
131
131
  - admin@locomotivecms.com
132
132
  X-Locomotive-Account-Token:
133
- - xM_3r1zn2aQAinPFqSvd
133
+ - E2aoXzMxkFsLnCcmCcc_
134
134
  Content-Type:
135
135
  - application/x-www-form-urlencoded
136
136
  Accept-Encoding:
@@ -145,24 +145,24 @@ http_interactions:
145
145
  Content-Type:
146
146
  - application/json
147
147
  Etag:
148
- - W/"3ec5d15bb27e4864b1fa93c4a90a2569"
148
+ - W/"6d40d07a511948d32eb20b44dd228610"
149
149
  Cache-Control:
150
150
  - max-age=0, private, must-revalidate
151
151
  X-Request-Id:
152
- - ed6817ff-5126-421b-a951-65e5848f38bb
152
+ - 65e5ecda-6d24-42dd-bc34-06207c895e23
153
153
  X-Runtime:
154
- - '0.042199'
154
+ - '0.032844'
155
155
  Content-Length:
156
156
  - '176'
157
157
  body:
158
158
  encoding: UTF-8
159
- string: '{"_id":"55c9f4c187f6432a3b000000","created_at":"2015-08-11T13:12:34Z","updated_at":"2015-08-11T13:12:34Z","key":"hello","values":{"en":"Hello
159
+ string: '{"_id":"5650f0a287f6436cbc000002","created_at":"2015-11-21T22:30:58Z","updated_at":"2015-11-21T22:30:58Z","key":"hello","values":{"en":"Hello
160
160
  world!","fr":"Bonjour le monde!"}}'
161
161
  http_version:
162
- recorded_at: Tue, 11 Aug 2015 13:12:34 GMT
162
+ recorded_at: Sat, 21 Nov 2015 22:30:58 GMT
163
163
  - request:
164
164
  method: delete
165
- uri: http://localhost:3000/locomotive/sample/api/v3/translations/55c9f4c187f6432a3b000000.json?auth_token=xM_3r1zn2aQAinPFqSvd
165
+ uri: http://localhost:3000/locomotive/sample/api/v3/translations/5650f0a287f6436cbc000002.json?auth_token=E2aoXzMxkFsLnCcmCcc_
166
166
  body:
167
167
  encoding: US-ASCII
168
168
  string: ''
@@ -172,7 +172,7 @@ http_interactions:
172
172
  X-Locomotive-Account-Email:
173
173
  - admin@locomotivecms.com
174
174
  X-Locomotive-Account-Token:
175
- - xM_3r1zn2aQAinPFqSvd
175
+ - E2aoXzMxkFsLnCcmCcc_
176
176
  Accept-Encoding:
177
177
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
178
178
  User-Agent:
@@ -185,19 +185,19 @@ http_interactions:
185
185
  Content-Type:
186
186
  - application/json
187
187
  Etag:
188
- - W/"3ec5d15bb27e4864b1fa93c4a90a2569"
188
+ - W/"6d40d07a511948d32eb20b44dd228610"
189
189
  Cache-Control:
190
190
  - max-age=0, private, must-revalidate
191
191
  X-Request-Id:
192
- - bace67e0-fed1-4e63-9acb-b389774972aa
192
+ - 586cf345-c1ec-4ae6-8f02-249eea3a1e43
193
193
  X-Runtime:
194
- - '0.050361'
194
+ - '0.041395'
195
195
  Content-Length:
196
196
  - '176'
197
197
  body:
198
198
  encoding: UTF-8
199
- string: '{"_id":"55c9f4c187f6432a3b000000","created_at":"2015-08-11T13:12:34Z","updated_at":"2015-08-11T13:12:34Z","key":"hello","values":{"en":"Hello
199
+ string: '{"_id":"5650f0a287f6436cbc000002","created_at":"2015-11-21T22:30:58Z","updated_at":"2015-11-21T22:30:58Z","key":"hello","values":{"en":"Hello
200
200
  world!","fr":"Bonjour le monde!"}}'
201
201
  http_version:
202
- recorded_at: Tue, 11 Aug 2015 13:12:34 GMT
202
+ recorded_at: Sat, 21 Nov 2015 22:30:58 GMT
203
203
  recorded_with: VCR 2.9.3
@@ -23,23 +23,23 @@ http_interactions:
23
23
  Content-Type:
24
24
  - application/json
25
25
  Etag:
26
- - W/"3b6ceb0d2ba232a8d48dd0dc8f702ef4"
26
+ - W/"120917583ae3f64355d682b690f7cb40"
27
27
  Cache-Control:
28
28
  - max-age=0, private, must-revalidate
29
29
  X-Request-Id:
30
- - a60ada60-3b52-41c9-a701-9b59b1bf052e
30
+ - c9b0e179-e34b-4366-b5a4-5e1e29ca34be
31
31
  X-Runtime:
32
- - '0.019293'
32
+ - '0.020447'
33
33
  Content-Length:
34
34
  - '32'
35
35
  body:
36
36
  encoding: UTF-8
37
- string: '{"token":"xM_3r1zn2aQAinPFqSvd"}'
37
+ string: '{"token":"E2aoXzMxkFsLnCcmCcc_"}'
38
38
  http_version:
39
- recorded_at: Tue, 11 Aug 2015 13:12:39 GMT
39
+ recorded_at: Sat, 21 Nov 2015 22:31:00 GMT
40
40
  - request:
41
41
  method: get
42
- uri: http://localhost:3000/locomotive/sample/api/v3/version.json?auth_token=xM_3r1zn2aQAinPFqSvd&email=admin@locomotivecms.com&token=xM_3r1zn2aQAinPFqSvd
42
+ uri: http://localhost:3000/locomotive/sample/api/v3/version.json?auth_token=E2aoXzMxkFsLnCcmCcc_&email=admin@locomotivecms.com&token=E2aoXzMxkFsLnCcmCcc_
43
43
  body:
44
44
  encoding: US-ASCII
45
45
  string: ''
@@ -49,7 +49,7 @@ http_interactions:
49
49
  X-Locomotive-Account-Email:
50
50
  - admin@locomotivecms.com
51
51
  X-Locomotive-Account-Token:
52
- - xM_3r1zn2aQAinPFqSvd
52
+ - E2aoXzMxkFsLnCcmCcc_
53
53
  Accept-Encoding:
54
54
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
55
55
  User-Agent:
@@ -62,18 +62,18 @@ http_interactions:
62
62
  Content-Type:
63
63
  - application/json
64
64
  Etag:
65
- - W/"4f482497f0c1e5f67e0c6bc908159a8b"
65
+ - W/"a29b8ca75f03b52361cf5f1f8ebf001a"
66
66
  Cache-Control:
67
67
  - max-age=0, private, must-revalidate
68
68
  X-Request-Id:
69
- - 1f06c014-2e17-47ad-ad44-04c73c561178
69
+ - d760b628-240d-4c11-a211-10dcd5102028
70
70
  X-Runtime:
71
- - '0.013814'
71
+ - '0.018271'
72
72
  Content-Length:
73
- - '26'
73
+ - '22'
74
74
  body:
75
75
  encoding: UTF-8
76
- string: '{"engine":"3.0.0-alpha.3"}'
76
+ string: '{"engine":"3.0.0.rc3"}'
77
77
  http_version:
78
- recorded_at: Tue, 11 Aug 2015 13:12:39 GMT
78
+ recorded_at: Sat, 21 Nov 2015 22:31:00 GMT
79
79
  recorded_with: VCR 2.9.3
@@ -21,6 +21,14 @@ describe Locomotive::Coal::Error do
21
21
 
22
22
  end
23
23
 
24
+ context 'Request Entity Too Large (413)' do
25
+
26
+ let(:status) { 413 }
27
+
28
+ it { is_expected.to eq "File too big for the server" }
29
+
30
+ end
31
+
24
32
  end
25
33
 
26
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locomotivecms_coal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
4
+ version: 1.0.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didier Lafforgue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-03 00:00:00.000000000 Z
11
+ date: 2015-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  version: 1.3.1
182
182
  requirements: []
183
183
  rubyforge_project:
184
- rubygems_version: 2.4.5
184
+ rubygems_version: 2.5.0
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  summary: The LocomotiveCMS Coal is the API ruby client for the LocomotiveCMS platform