locomotivecms_wagon 2.0.1 → 2.1.0.rc3

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 +3 -3
  3. data/generators/blank/config/metafields_schema.yml +56 -0
  4. data/generators/blank/config/site.yml.tt +14 -0
  5. data/generators/bootstrap/config/metafields_schema.yml +56 -0
  6. data/generators/bootstrap/config/site.yml.tt +14 -0
  7. data/generators/foundation5/config/metafields_schema.yml +56 -0
  8. data/generators/foundation5/config/site.yml.tt +14 -0
  9. data/generators/site_metafields/schema.yml.tt +56 -0
  10. data/lib/locomotive/wagon/cli.rb +11 -1
  11. data/lib/locomotive/wagon/commands/concerns/steam_concern.rb +4 -3
  12. data/lib/locomotive/wagon/commands/pull_command.rb +1 -1
  13. data/lib/locomotive/wagon/commands/pull_sub_commands/concerns/assets_concern.rb +8 -0
  14. data/lib/locomotive/wagon/commands/pull_sub_commands/pull_site_command.rb +24 -1
  15. data/lib/locomotive/wagon/commands/push_sub_commands/push_site_command.rb +3 -1
  16. data/lib/locomotive/wagon/commands/serve_command.rb +15 -0
  17. data/lib/locomotive/wagon/commands/sync_command.rb +1 -1
  18. data/lib/locomotive/wagon/commands/sync_sub_commands/sync_site_command.rb +31 -0
  19. data/lib/locomotive/wagon/decorators/concerns/persist_assets_concern.rb +8 -0
  20. data/lib/locomotive/wagon/decorators/content_entry_decorator.rb +1 -0
  21. data/lib/locomotive/wagon/decorators/site_decorator.rb +13 -1
  22. data/lib/locomotive/wagon/generators/site_metafields.rb +54 -0
  23. data/lib/locomotive/wagon/tools/yaml_ext.rb +21 -0
  24. data/lib/locomotive/wagon/version.rb +1 -1
  25. data/locomotivecms_wagon.gemspec +4 -4
  26. data/spec/fixtures/cassettes/authenticate.yml +41 -82
  27. data/spec/fixtures/cassettes/delete.yml +159 -159
  28. data/spec/fixtures/cassettes/push.yml +1015 -1015
  29. data/spec/integration/cli_spec.rb +1 -1
  30. data/spec/unit/decorators/content_entry_decorator_spec.rb +10 -0
  31. data/spec/unit/tools/yaml_ext_spec.rb +46 -0
  32. metadata +21 -12
@@ -23,33 +23,33 @@ http_interactions:
23
23
  Content-Type:
24
24
  - application/json
25
25
  Etag:
26
- - W/"3cc699723ac44b6b16405f0c666c9bc3"
26
+ - W/"9f0203483ba848323bbda0b85ed7725e"
27
27
  Cache-Control:
28
28
  - max-age=0, private, must-revalidate
29
29
  X-Request-Id:
30
- - ba626c02-3684-4779-bd07-169db3fdfea6
30
+ - 91661840-0eee-42b0-a8b9-06ae34e11217
31
31
  X-Runtime:
32
- - '0.015737'
32
+ - '0.016238'
33
33
  Content-Length:
34
34
  - '32'
35
35
  body:
36
36
  encoding: UTF-8
37
- string: '{"token":"C2t1wxAuKy7YPAHVva29"}'
37
+ string: '{"token":"e1QSfNaw8zQM7rWX5CPf"}'
38
38
  http_version:
39
- recorded_at: Tue, 16 Feb 2016 00:46:21 GMT
39
+ recorded_at: Wed, 17 Feb 2016 20:59:45 GMT
40
40
  - request:
41
41
  method: post
42
42
  uri: http://www.example.com:3000/locomotive/api/v3/sites.json
43
43
  body:
44
44
  encoding: UTF-8
45
- string: auth_token=C2t1wxAuKy7YPAHVva29&site%5Bhandle%5D=short-lived&site%5Bname%5D=ShortLived
45
+ string: auth_token=e1QSfNaw8zQM7rWX5CPf&site%5Bhandle%5D=short-lived&site%5Bname%5D=ShortLived
46
46
  headers:
47
47
  Accept:
48
48
  - application/json
49
49
  X-Locomotive-Account-Email:
50
50
  - admin@locomotivecms.com
51
51
  X-Locomotive-Account-Token:
52
- - C2t1wxAuKy7YPAHVva29
52
+ - e1QSfNaw8zQM7rWX5CPf
53
53
  Content-Type:
54
54
  - application/x-www-form-urlencoded
55
55
  Accept-Encoding:
@@ -64,20 +64,20 @@ http_interactions:
64
64
  Content-Type:
65
65
  - application/json
66
66
  Etag:
67
- - W/"21e023c5c13ed0e2066996a079b0467f"
67
+ - W/"16820d932237a07f224ca87685fdfe1e"
68
68
  Cache-Control:
69
69
  - max-age=0, private, must-revalidate
70
70
  X-Request-Id:
71
- - 7feef3d8-9f59-498f-a156-ad34cac51b0a
71
+ - e325231e-6104-4451-97ab-6ac344695a67
72
72
  X-Runtime:
73
- - '0.736136'
73
+ - '0.712128'
74
74
  Content-Length:
75
- - '776'
75
+ - '821'
76
76
  body:
77
77
  encoding: UTF-8
78
- string: '{"_id":"56c2715dc3651143de000000","created_at":"2016-02-16T00:46:21Z","updated_at":"2016-02-16T00:46:21Z","name":"ShortLived","handle":"short-lived","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"cache_enabled":false,"private_access":false,"locales":["en"],"domains":[],"memberships":[{"_id":"56c2715dc3651143de000001","created_at":null,"updated_at":null,"role":"admin","account_id":"56c25ac5c36511433f000000","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"content_version":0,"template_version":1455583581,"picture_thumbnail_url":null,"preview_url":"http://www.example.com:3000/locomotive/short-lived/preview","sign_in_url":"http://www.example.com:3000/locomotive/sign_in"}'
78
+ string: '{"_id":"56c4df41c3651180309c60d4","created_at":"2016-02-17T20:59:45Z","updated_at":"2016-02-17T20:59:46Z","name":"ShortLived","handle":"short-lived","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"cache_enabled":false,"private_access":false,"locales":["en"],"domains":[],"memberships":[{"_id":"56c4df41c3651180309c60d5","created_at":null,"updated_at":null,"role":"admin","account_id":"56c4df17c36511800c8b9037","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"content_version":0,"template_version":1455742786,"picture_thumbnail_url":null,"preview_url":"http://www.example.com:3000/locomotive/short-lived/preview","sign_in_url":"http://www.example.com:3000/locomotive/sign_in","metafields":"{}","metafields_schema":"null"}'
79
79
  http_version:
80
- recorded_at: Tue, 16 Feb 2016 00:46:21 GMT
80
+ recorded_at: Wed, 17 Feb 2016 20:59:46 GMT
81
81
  - request:
82
82
  method: post
83
83
  uri: http://www.example.com:3000/locomotive/api/v3/tokens.json
@@ -101,23 +101,23 @@ http_interactions:
101
101
  Content-Type:
102
102
  - application/json
103
103
  Etag:
104
- - W/"3cc699723ac44b6b16405f0c666c9bc3"
104
+ - W/"9f0203483ba848323bbda0b85ed7725e"
105
105
  Cache-Control:
106
106
  - max-age=0, private, must-revalidate
107
107
  X-Request-Id:
108
- - c6f307db-4abd-403b-9799-8499494fbfbe
108
+ - a65db570-a359-49d0-9a33-53ec29faaf7d
109
109
  X-Runtime:
110
- - '0.019514'
110
+ - '0.017416'
111
111
  Content-Length:
112
112
  - '32'
113
113
  body:
114
114
  encoding: UTF-8
115
- string: '{"token":"C2t1wxAuKy7YPAHVva29"}'
115
+ string: '{"token":"e1QSfNaw8zQM7rWX5CPf"}'
116
116
  http_version:
117
- recorded_at: Tue, 16 Feb 2016 00:46:21 GMT
117
+ recorded_at: Wed, 17 Feb 2016 20:59:46 GMT
118
118
  - request:
119
119
  method: delete
120
- uri: http://www.example.com:3000/locomotive/api/v3/current_site.json?auth_token=C2t1wxAuKy7YPAHVva29
120
+ uri: http://www.example.com:3000/locomotive/api/v3/current_site.json?auth_token=e1QSfNaw8zQM7rWX5CPf
121
121
  body:
122
122
  encoding: US-ASCII
123
123
  string: ''
@@ -127,7 +127,7 @@ http_interactions:
127
127
  X-Locomotive-Account-Email:
128
128
  - admin@locomotivecms.com
129
129
  X-Locomotive-Account-Token:
130
- - C2t1wxAuKy7YPAHVva29
130
+ - e1QSfNaw8zQM7rWX5CPf
131
131
  X-Locomotive-Site-Handle:
132
132
  - short-lived
133
133
  Accept-Encoding:
@@ -142,33 +142,33 @@ http_interactions:
142
142
  Content-Type:
143
143
  - application/json
144
144
  Etag:
145
- - W/"21e023c5c13ed0e2066996a079b0467f"
145
+ - W/"16820d932237a07f224ca87685fdfe1e"
146
146
  Cache-Control:
147
147
  - max-age=0, private, must-revalidate
148
148
  X-Request-Id:
149
- - 18c8d83b-0dc3-4daf-9b21-812131009d6b
149
+ - 3c2d7425-ad27-407b-944c-8d8550b69ff0
150
150
  X-Runtime:
151
- - '0.260019'
151
+ - '0.181599'
152
152
  Content-Length:
153
- - '776'
153
+ - '821'
154
154
  body:
155
155
  encoding: UTF-8
156
- string: '{"_id":"56c2715dc3651143de000000","created_at":"2016-02-16T00:46:21Z","updated_at":"2016-02-16T00:46:21Z","name":"ShortLived","handle":"short-lived","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"cache_enabled":false,"private_access":false,"locales":["en"],"domains":[],"memberships":[{"_id":"56c2715dc3651143de000001","created_at":null,"updated_at":null,"role":"admin","account_id":"56c25ac5c36511433f000000","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"content_version":0,"template_version":1455583581,"picture_thumbnail_url":null,"preview_url":"http://www.example.com:3000/locomotive/short-lived/preview","sign_in_url":"http://www.example.com:3000/locomotive/sign_in"}'
156
+ string: '{"_id":"56c4df41c3651180309c60d4","created_at":"2016-02-17T20:59:45Z","updated_at":"2016-02-17T20:59:46Z","name":"ShortLived","handle":"short-lived","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"cache_enabled":false,"private_access":false,"locales":["en"],"domains":[],"memberships":[{"_id":"56c4df41c3651180309c60d5","created_at":null,"updated_at":null,"role":"admin","account_id":"56c4df17c36511800c8b9037","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"content_version":0,"template_version":1455742786,"picture_thumbnail_url":null,"preview_url":"http://www.example.com:3000/locomotive/short-lived/preview","sign_in_url":"http://www.example.com:3000/locomotive/sign_in","metafields":"{}","metafields_schema":"null"}'
157
157
  http_version:
158
- recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
158
+ recorded_at: Wed, 17 Feb 2016 20:59:46 GMT
159
159
  - request:
160
160
  method: post
161
161
  uri: http://www.example.com:3000/locomotive/api/v3/pages.json
162
162
  body:
163
163
  encoding: UTF-8
164
- string: auth_token=C2t1wxAuKy7YPAHVva29&page%5Bparent%5D=index&page%5Bslug%5D=hello-world&page%5Btemplate%5D=Hello+world%21&page%5Btitle%5D=Hello+world
164
+ string: auth_token=e1QSfNaw8zQM7rWX5CPf&page%5Bparent%5D=index&page%5Bslug%5D=hello-world&page%5Btemplate%5D=Hello+world%21&page%5Btitle%5D=Hello+world
165
165
  headers:
166
166
  Accept:
167
167
  - application/json
168
168
  X-Locomotive-Account-Email:
169
169
  - admin@locomotivecms.com
170
170
  X-Locomotive-Account-Token:
171
- - C2t1wxAuKy7YPAHVva29
171
+ - e1QSfNaw8zQM7rWX5CPf
172
172
  X-Locomotive-Site-Handle:
173
173
  - www
174
174
  Content-Type:
@@ -185,25 +185,25 @@ http_interactions:
185
185
  Content-Type:
186
186
  - application/json
187
187
  Etag:
188
- - W/"fd177a64ad4879938dc12c8903c65f84"
188
+ - W/"66303f05748ecaa04e5348b1e3fd0c81"
189
189
  Cache-Control:
190
190
  - max-age=0, private, must-revalidate
191
191
  X-Request-Id:
192
- - c87c6cbe-cd58-4160-973d-4551574478ff
192
+ - 9597be72-8a5e-4429-80ce-faba4f48031b
193
193
  X-Runtime:
194
- - '0.076679'
194
+ - '0.049800'
195
195
  Content-Length:
196
196
  - '673'
197
197
  body:
198
198
  encoding: UTF-8
199
- string: '{"_id":"56c2715ec3651143de000005","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","title":"Hello
200
- world","parent_id":"56c25ac6c36511433f000003","position":0,"handle":null,"depth":1,"response_type":"text/html","listed":true,"published":false,"translated_in":["en"],"cache_enabled":true,"slug":"hello-world","fullpath":"hello-world","localized_fullpaths":{"en":"hello-world"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Hello
199
+ string: '{"_id":"56c4df42c3651180309c60d9","created_at":"2016-02-17T20:59:46Z","updated_at":"2016-02-17T20:59:46Z","title":"Hello
200
+ world","parent_id":"56c4df17c36511800c8b903a","position":0,"handle":null,"depth":1,"response_type":"text/html","listed":true,"published":false,"translated_in":["en"],"cache_enabled":true,"slug":"hello-world","fullpath":"hello-world","localized_fullpaths":{"en":"hello-world"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Hello
201
201
  world!","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null}'
202
202
  http_version:
203
- recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
203
+ recorded_at: Wed, 17 Feb 2016 20:59:46 GMT
204
204
  - request:
205
205
  method: delete
206
- uri: http://www.example.com:3000/locomotive/api/v3/pages/hello-world.json?auth_token=C2t1wxAuKy7YPAHVva29
206
+ uri: http://www.example.com:3000/locomotive/api/v3/pages/hello-world.json?auth_token=e1QSfNaw8zQM7rWX5CPf
207
207
  body:
208
208
  encoding: US-ASCII
209
209
  string: ''
@@ -213,7 +213,7 @@ http_interactions:
213
213
  X-Locomotive-Account-Email:
214
214
  - admin@locomotivecms.com
215
215
  X-Locomotive-Account-Token:
216
- - C2t1wxAuKy7YPAHVva29
216
+ - e1QSfNaw8zQM7rWX5CPf
217
217
  X-Locomotive-Site-Handle:
218
218
  - www
219
219
  Accept-Encoding:
@@ -228,35 +228,35 @@ http_interactions:
228
228
  Content-Type:
229
229
  - application/json
230
230
  Etag:
231
- - W/"fd177a64ad4879938dc12c8903c65f84"
231
+ - W/"66303f05748ecaa04e5348b1e3fd0c81"
232
232
  Cache-Control:
233
233
  - max-age=0, private, must-revalidate
234
234
  X-Request-Id:
235
- - 0e25d0da-131c-4e0e-a094-355c6d2c5899
235
+ - e8936881-bbd4-4baa-a123-ff185af24353
236
236
  X-Runtime:
237
- - '0.047920'
237
+ - '0.031932'
238
238
  Content-Length:
239
239
  - '673'
240
240
  body:
241
241
  encoding: UTF-8
242
- string: '{"_id":"56c2715ec3651143de000005","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","title":"Hello
243
- world","parent_id":"56c25ac6c36511433f000003","position":0,"handle":null,"depth":1,"response_type":"text/html","listed":true,"published":false,"translated_in":["en"],"cache_enabled":true,"slug":"hello-world","fullpath":"hello-world","localized_fullpaths":{"en":"hello-world"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Hello
242
+ string: '{"_id":"56c4df42c3651180309c60d9","created_at":"2016-02-17T20:59:46Z","updated_at":"2016-02-17T20:59:46Z","title":"Hello
243
+ world","parent_id":"56c4df17c36511800c8b903a","position":0,"handle":null,"depth":1,"response_type":"text/html","listed":true,"published":false,"translated_in":["en"],"cache_enabled":true,"slug":"hello-world","fullpath":"hello-world","localized_fullpaths":{"en":"hello-world"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Hello
244
244
  world!","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null}'
245
245
  http_version:
246
- recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
246
+ recorded_at: Wed, 17 Feb 2016 20:59:46 GMT
247
247
  - request:
248
248
  method: post
249
249
  uri: http://www.example.com:3000/locomotive/api/v3/content_types.json
250
250
  body:
251
251
  encoding: UTF-8
252
- string: auth_token=C2t1wxAuKy7YPAHVva29&content_type%5Bfields%5D%5B0%5D%5Blabel%5D=E-mail&content_type%5Bfields%5D%5B0%5D%5Bname%5D=email&content_type%5Bfields%5D%5B0%5D%5Btype%5D=string&content_type%5Bname%5D=FakeMessages&content_type%5Bslug%5D=fake-messages
252
+ string: auth_token=e1QSfNaw8zQM7rWX5CPf&content_type%5Bfields%5D%5B0%5D%5Blabel%5D=E-mail&content_type%5Bfields%5D%5B0%5D%5Bname%5D=email&content_type%5Bfields%5D%5B0%5D%5Btype%5D=string&content_type%5Bname%5D=FakeMessages&content_type%5Bslug%5D=fake-messages
253
253
  headers:
254
254
  Accept:
255
255
  - application/json
256
256
  X-Locomotive-Account-Email:
257
257
  - admin@locomotivecms.com
258
258
  X-Locomotive-Account-Token:
259
- - C2t1wxAuKy7YPAHVva29
259
+ - e1QSfNaw8zQM7rWX5CPf
260
260
  X-Locomotive-Site-Handle:
261
261
  - www
262
262
  Content-Type:
@@ -273,23 +273,23 @@ http_interactions:
273
273
  Content-Type:
274
274
  - application/json
275
275
  Etag:
276
- - W/"127d0c3121840ddc19039f994e1fad2c"
276
+ - W/"44ebdc1342091e459dade6f8faff7081"
277
277
  Cache-Control:
278
278
  - max-age=0, private, must-revalidate
279
279
  X-Request-Id:
280
- - 20b05ccc-5894-4491-8276-0e4105f7abb6
280
+ - e2c46e1f-a48f-4bac-a894-e5bfcd86cb1e
281
281
  X-Runtime:
282
- - '0.069240'
282
+ - '0.107850'
283
283
  Content-Length:
284
284
  - '670'
285
285
  body:
286
286
  encoding: UTF-8
287
- string: '{"_id":"56c2715ec3651143de000006","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","name":"FakeMessages","slug":"fake_messages","description":null,"label_field_name":"email","order_direction":"asc","public_submission_enabled":false,"public_submission_accounts":[],"public_submission_title_template":null,"entry_template":null,"display_settings":null,"fields":[{"_id":"56c2715ec3651143de000007","created_at":null,"updated_at":null,"name":"email","type":"string","label":"E-mail","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
287
+ string: '{"_id":"56c4df42c3651180309c60da","created_at":"2016-02-17T20:59:46Z","updated_at":"2016-02-17T20:59:46Z","name":"FakeMessages","slug":"fake_messages","description":null,"label_field_name":"email","order_direction":"asc","public_submission_enabled":false,"public_submission_accounts":[],"public_submission_title_template":null,"entry_template":null,"display_settings":null,"fields":[{"_id":"56c4df42c3651180309c60db","created_at":null,"updated_at":null,"name":"email","type":"string","label":"E-mail","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
288
288
  http_version:
289
- recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
289
+ recorded_at: Wed, 17 Feb 2016 20:59:46 GMT
290
290
  - request:
291
291
  method: delete
292
- uri: http://www.example.com:3000/locomotive/api/v3/content_types/fake_messages.json?auth_token=C2t1wxAuKy7YPAHVva29
292
+ uri: http://www.example.com:3000/locomotive/api/v3/content_types/fake_messages.json?auth_token=e1QSfNaw8zQM7rWX5CPf
293
293
  body:
294
294
  encoding: US-ASCII
295
295
  string: ''
@@ -299,7 +299,7 @@ http_interactions:
299
299
  X-Locomotive-Account-Email:
300
300
  - admin@locomotivecms.com
301
301
  X-Locomotive-Account-Token:
302
- - C2t1wxAuKy7YPAHVva29
302
+ - e1QSfNaw8zQM7rWX5CPf
303
303
  X-Locomotive-Site-Handle:
304
304
  - www
305
305
  Accept-Encoding:
@@ -314,33 +314,33 @@ http_interactions:
314
314
  Content-Type:
315
315
  - application/json
316
316
  Etag:
317
- - W/"127d0c3121840ddc19039f994e1fad2c"
317
+ - W/"44ebdc1342091e459dade6f8faff7081"
318
318
  Cache-Control:
319
319
  - max-age=0, private, must-revalidate
320
320
  X-Request-Id:
321
- - d8ee7e82-aed3-47cd-96c1-03d0c5cda293
321
+ - 4ae886fe-7a83-4308-9b39-7490720ee7eb
322
322
  X-Runtime:
323
- - '0.035505'
323
+ - '0.032936'
324
324
  Content-Length:
325
325
  - '670'
326
326
  body:
327
327
  encoding: UTF-8
328
- string: '{"_id":"56c2715ec3651143de000006","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","name":"FakeMessages","slug":"fake_messages","description":null,"label_field_name":"email","order_direction":"asc","public_submission_enabled":false,"public_submission_accounts":[],"public_submission_title_template":null,"entry_template":null,"display_settings":null,"fields":[{"_id":"56c2715ec3651143de000007","created_at":null,"updated_at":null,"name":"email","type":"string","label":"E-mail","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
328
+ string: '{"_id":"56c4df42c3651180309c60da","created_at":"2016-02-17T20:59:46Z","updated_at":"2016-02-17T20:59:46Z","name":"FakeMessages","slug":"fake_messages","description":null,"label_field_name":"email","order_direction":"asc","public_submission_enabled":false,"public_submission_accounts":[],"public_submission_title_template":null,"entry_template":null,"display_settings":null,"fields":[{"_id":"56c4df42c3651180309c60db","created_at":null,"updated_at":null,"name":"email","type":"string","label":"E-mail","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
329
329
  http_version:
330
- recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
330
+ recorded_at: Wed, 17 Feb 2016 20:59:46 GMT
331
331
  - request:
332
332
  method: post
333
333
  uri: http://www.example.com:3000/locomotive/api/v3/content_types.json
334
334
  body:
335
335
  encoding: UTF-8
336
- string: auth_token=C2t1wxAuKy7YPAHVva29&content_type%5Bfields%5D%5B0%5D%5Blabel%5D=E-mail&content_type%5Bfields%5D%5B0%5D%5Bname%5D=email&content_type%5Bfields%5D%5B0%5D%5Btype%5D=string&content_type%5Bname%5D=FakeMessages&content_type%5Bslug%5D=fake-messages-2
336
+ string: auth_token=e1QSfNaw8zQM7rWX5CPf&content_type%5Bfields%5D%5B0%5D%5Blabel%5D=E-mail&content_type%5Bfields%5D%5B0%5D%5Bname%5D=email&content_type%5Bfields%5D%5B0%5D%5Btype%5D=string&content_type%5Bname%5D=FakeMessages&content_type%5Bslug%5D=fake-messages-2
337
337
  headers:
338
338
  Accept:
339
339
  - application/json
340
340
  X-Locomotive-Account-Email:
341
341
  - admin@locomotivecms.com
342
342
  X-Locomotive-Account-Token:
343
- - C2t1wxAuKy7YPAHVva29
343
+ - e1QSfNaw8zQM7rWX5CPf
344
344
  X-Locomotive-Site-Handle:
345
345
  - www
346
346
  Content-Type:
@@ -357,23 +357,23 @@ http_interactions:
357
357
  Content-Type:
358
358
  - application/json
359
359
  Etag:
360
- - W/"84eb8aa5952f5ad1b3256d2ec9425fdd"
360
+ - W/"ddb958b2673f4fbb5de6de413bee3d81"
361
361
  Cache-Control:
362
362
  - max-age=0, private, must-revalidate
363
363
  X-Request-Id:
364
- - 56969b92-53c5-4098-bc6e-6f2d616e32c8
364
+ - 136d20cc-833a-4a80-b198-b8a06daa45bc
365
365
  X-Runtime:
366
- - '0.046854'
366
+ - '0.043730'
367
367
  Content-Length:
368
368
  - '672'
369
369
  body:
370
370
  encoding: UTF-8
371
- string: '{"_id":"56c2715ec3651143de000008","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","name":"FakeMessages","slug":"fake_messages_2","description":null,"label_field_name":"email","order_direction":"asc","public_submission_enabled":false,"public_submission_accounts":[],"public_submission_title_template":null,"entry_template":null,"display_settings":null,"fields":[{"_id":"56c2715ec3651143de000009","created_at":null,"updated_at":null,"name":"email","type":"string","label":"E-mail","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
371
+ string: '{"_id":"56c4df42c3651180309c60dc","created_at":"2016-02-17T20:59:46Z","updated_at":"2016-02-17T20:59:46Z","name":"FakeMessages","slug":"fake_messages_2","description":null,"label_field_name":"email","order_direction":"asc","public_submission_enabled":false,"public_submission_accounts":[],"public_submission_title_template":null,"entry_template":null,"display_settings":null,"fields":[{"_id":"56c4df42c3651180309c60dd","created_at":null,"updated_at":null,"name":"email","type":"string","label":"E-mail","hint":null,"required":true,"localized":false,"unique":false,"default":null,"position":0}],"order_by":"created_at","group_by":null,"public_submission_account_emails":[]}'
372
372
  http_version:
373
- recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
373
+ recorded_at: Wed, 17 Feb 2016 20:59:46 GMT
374
374
  - request:
375
375
  method: delete
376
- uri: http://www.example.com:3000/locomotive/api/v3/content_types.json?auth_token=C2t1wxAuKy7YPAHVva29
376
+ uri: http://www.example.com:3000/locomotive/api/v3/content_types.json?auth_token=e1QSfNaw8zQM7rWX5CPf
377
377
  body:
378
378
  encoding: US-ASCII
379
379
  string: ''
@@ -383,7 +383,7 @@ http_interactions:
383
383
  X-Locomotive-Account-Email:
384
384
  - admin@locomotivecms.com
385
385
  X-Locomotive-Account-Token:
386
- - C2t1wxAuKy7YPAHVva29
386
+ - e1QSfNaw8zQM7rWX5CPf
387
387
  X-Locomotive-Site-Handle:
388
388
  - www
389
389
  Accept-Encoding:
@@ -402,29 +402,29 @@ http_interactions:
402
402
  Cache-Control:
403
403
  - max-age=0, private, must-revalidate
404
404
  X-Request-Id:
405
- - 420a4ef8-0f7d-412b-9ec6-d7adc737ecba
405
+ - eb967158-f315-4f14-9e4e-0b115b098643
406
406
  X-Runtime:
407
- - '0.040613'
407
+ - '0.030353'
408
408
  Content-Length:
409
409
  - '15'
410
410
  body:
411
411
  encoding: UTF-8
412
412
  string: '{"deletions":1}'
413
413
  http_version:
414
- recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
414
+ recorded_at: Wed, 17 Feb 2016 20:59:46 GMT
415
415
  - request:
416
416
  method: post
417
417
  uri: http://www.example.com:3000/locomotive/api/v3/snippets.json
418
418
  body:
419
419
  encoding: UTF-8
420
- string: auth_token=C2t1wxAuKy7YPAHVva29&snippet%5Bname%5D=Analytics&snippet%5Bslug%5D=analytics&snippet%5Btemplate%5D=Analytics
420
+ string: auth_token=e1QSfNaw8zQM7rWX5CPf&snippet%5Bname%5D=Analytics&snippet%5Bslug%5D=analytics&snippet%5Btemplate%5D=Analytics
421
421
  headers:
422
422
  Accept:
423
423
  - application/json
424
424
  X-Locomotive-Account-Email:
425
425
  - admin@locomotivecms.com
426
426
  X-Locomotive-Account-Token:
427
- - C2t1wxAuKy7YPAHVva29
427
+ - e1QSfNaw8zQM7rWX5CPf
428
428
  X-Locomotive-Site-Handle:
429
429
  - www
430
430
  Content-Type:
@@ -441,23 +441,23 @@ http_interactions:
441
441
  Content-Type:
442
442
  - application/json
443
443
  Etag:
444
- - W/"94c08b2c876157b56d665370764e177d"
444
+ - W/"e4b1b92bfe5e883f1c4af04a484c5dcb"
445
445
  Cache-Control:
446
446
  - max-age=0, private, must-revalidate
447
447
  X-Request-Id:
448
- - 5914713a-8036-4cb9-a42d-39dec5a8d3dd
448
+ - ed142fd0-5c86-410d-b8ee-bdbb1dedb375
449
449
  X-Runtime:
450
- - '0.050394'
450
+ - '0.092652'
451
451
  Content-Length:
452
452
  - '167'
453
453
  body:
454
454
  encoding: UTF-8
455
- string: '{"_id":"56c2715ec3651143de00000a","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","name":"Analytics","slug":"analytics","template":"Analytics"}'
455
+ string: '{"_id":"56c4df42c3651180309c60de","created_at":"2016-02-17T20:59:46Z","updated_at":"2016-02-17T20:59:46Z","name":"Analytics","slug":"analytics","template":"Analytics"}'
456
456
  http_version:
457
- recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
457
+ recorded_at: Wed, 17 Feb 2016 20:59:47 GMT
458
458
  - request:
459
459
  method: delete
460
- uri: http://www.example.com:3000/locomotive/api/v3/snippets/analytics.json?auth_token=C2t1wxAuKy7YPAHVva29
460
+ uri: http://www.example.com:3000/locomotive/api/v3/snippets/analytics.json?auth_token=e1QSfNaw8zQM7rWX5CPf
461
461
  body:
462
462
  encoding: US-ASCII
463
463
  string: ''
@@ -467,7 +467,7 @@ http_interactions:
467
467
  X-Locomotive-Account-Email:
468
468
  - admin@locomotivecms.com
469
469
  X-Locomotive-Account-Token:
470
- - C2t1wxAuKy7YPAHVva29
470
+ - e1QSfNaw8zQM7rWX5CPf
471
471
  X-Locomotive-Site-Handle:
472
472
  - www
473
473
  Accept-Encoding:
@@ -482,33 +482,33 @@ http_interactions:
482
482
  Content-Type:
483
483
  - application/json
484
484
  Etag:
485
- - W/"94c08b2c876157b56d665370764e177d"
485
+ - W/"e4b1b92bfe5e883f1c4af04a484c5dcb"
486
486
  Cache-Control:
487
487
  - max-age=0, private, must-revalidate
488
488
  X-Request-Id:
489
- - 8674799f-ee53-4696-ac29-788a683cfc77
489
+ - 42eb1013-6775-4236-8acf-c8e11fe22c91
490
490
  X-Runtime:
491
- - '0.034014'
491
+ - '0.026069'
492
492
  Content-Length:
493
493
  - '167'
494
494
  body:
495
495
  encoding: UTF-8
496
- string: '{"_id":"56c2715ec3651143de00000a","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","name":"Analytics","slug":"analytics","template":"Analytics"}'
496
+ string: '{"_id":"56c4df42c3651180309c60de","created_at":"2016-02-17T20:59:46Z","updated_at":"2016-02-17T20:59:46Z","name":"Analytics","slug":"analytics","template":"Analytics"}'
497
497
  http_version:
498
- recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
498
+ recorded_at: Wed, 17 Feb 2016 20:59:47 GMT
499
499
  - request:
500
500
  method: post
501
501
  uri: http://www.example.com:3000/locomotive/api/v3/snippets.json
502
502
  body:
503
503
  encoding: UTF-8
504
- string: auth_token=C2t1wxAuKy7YPAHVva29&snippet%5Bname%5D=Analytics&snippet%5Bslug%5D=analytics_2&snippet%5Btemplate%5D=Analytics
504
+ string: auth_token=e1QSfNaw8zQM7rWX5CPf&snippet%5Bname%5D=Analytics&snippet%5Bslug%5D=analytics_2&snippet%5Btemplate%5D=Analytics
505
505
  headers:
506
506
  Accept:
507
507
  - application/json
508
508
  X-Locomotive-Account-Email:
509
509
  - admin@locomotivecms.com
510
510
  X-Locomotive-Account-Token:
511
- - C2t1wxAuKy7YPAHVva29
511
+ - e1QSfNaw8zQM7rWX5CPf
512
512
  X-Locomotive-Site-Handle:
513
513
  - www
514
514
  Content-Type:
@@ -525,23 +525,23 @@ http_interactions:
525
525
  Content-Type:
526
526
  - application/json
527
527
  Etag:
528
- - W/"36ecdd3aaf261010706e403109935e0c"
528
+ - W/"01d19c06e2c71e3b343740fab329debb"
529
529
  Cache-Control:
530
530
  - max-age=0, private, must-revalidate
531
531
  X-Request-Id:
532
- - 399b6ef4-855b-4495-a69a-cf3337b1054b
532
+ - fb924701-6d07-4b78-83de-3021e65bd09e
533
533
  X-Runtime:
534
- - '0.032704'
534
+ - '0.050306'
535
535
  Content-Length:
536
536
  - '169'
537
537
  body:
538
538
  encoding: UTF-8
539
- string: '{"_id":"56c2715ec3651143de00000b","created_at":"2016-02-16T00:46:22Z","updated_at":"2016-02-16T00:46:22Z","name":"Analytics","slug":"analytics_2","template":"Analytics"}'
539
+ string: '{"_id":"56c4df43c3651180309c60df","created_at":"2016-02-17T20:59:47Z","updated_at":"2016-02-17T20:59:47Z","name":"Analytics","slug":"analytics_2","template":"Analytics"}'
540
540
  http_version:
541
- recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
541
+ recorded_at: Wed, 17 Feb 2016 20:59:47 GMT
542
542
  - request:
543
543
  method: delete
544
- uri: http://www.example.com:3000/locomotive/api/v3/snippets.json?auth_token=C2t1wxAuKy7YPAHVva29
544
+ uri: http://www.example.com:3000/locomotive/api/v3/snippets.json?auth_token=e1QSfNaw8zQM7rWX5CPf
545
545
  body:
546
546
  encoding: US-ASCII
547
547
  string: ''
@@ -551,7 +551,7 @@ http_interactions:
551
551
  X-Locomotive-Account-Email:
552
552
  - admin@locomotivecms.com
553
553
  X-Locomotive-Account-Token:
554
- - C2t1wxAuKy7YPAHVva29
554
+ - e1QSfNaw8zQM7rWX5CPf
555
555
  X-Locomotive-Site-Handle:
556
556
  - www
557
557
  Accept-Encoding:
@@ -570,16 +570,16 @@ http_interactions:
570
570
  Cache-Control:
571
571
  - max-age=0, private, must-revalidate
572
572
  X-Request-Id:
573
- - 1e009506-be9c-4768-8dc9-5fb8fbd1989d
573
+ - 95cd873b-25a8-4e3d-822d-069e2be69ef0
574
574
  X-Runtime:
575
- - '0.030030'
575
+ - '0.050937'
576
576
  Content-Length:
577
577
  - '15'
578
578
  body:
579
579
  encoding: UTF-8
580
580
  string: '{"deletions":1}'
581
581
  http_version:
582
- recorded_at: Tue, 16 Feb 2016 00:46:22 GMT
582
+ recorded_at: Wed, 17 Feb 2016 20:59:47 GMT
583
583
  - request:
584
584
  method: post
585
585
  uri: http://www.example.com:3000/locomotive/api/v3/theme_assets.json
@@ -654,7 +654,7 @@ http_interactions:
654
654
  0NtJvy6mWF/OpLQstGgVzsab3sXmi3+2zzQDcJjnAyEPROMHiFLOL3h0hr9D
655
655
  onww/wNwYOCiTn4FhQAAAABJRU5ErkJggg0KLS0tLS0tLS0tLS0tLVJ1YnlN
656
656
  dWx0aXBhcnRQb3N0DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7
657
- IG5hbWU9ImF1dGhfdG9rZW4iDQoNCkMydDF3eEF1S3k3WVBBSFZ2YTI5DQot
657
+ IG5hbWU9ImF1dGhfdG9rZW4iDQoNCmUxUVNmTmF3OHpRTTdyV1g1Q1BmDQot
658
658
  LS0tLS0tLS0tLS0tUnVieU11bHRpcGFydFBvc3QtLQ0KDQo=
659
659
  headers:
660
660
  Accept:
@@ -662,7 +662,7 @@ http_interactions:
662
662
  X-Locomotive-Account-Email:
663
663
  - admin@locomotivecms.com
664
664
  X-Locomotive-Account-Token:
665
- - C2t1wxAuKy7YPAHVva29
665
+ - e1QSfNaw8zQM7rWX5CPf
666
666
  X-Locomotive-Site-Handle:
667
667
  - www
668
668
  Content-Type:
@@ -681,21 +681,21 @@ http_interactions:
681
681
  Content-Type:
682
682
  - application/json
683
683
  Etag:
684
- - W/"f756453684b0fc8171c5ad8d1da454b5"
684
+ - W/"0e437d6607043c3e99ba18c0acfac1d1"
685
685
  Cache-Control:
686
686
  - max-age=0, private, must-revalidate
687
687
  X-Request-Id:
688
- - 142eacdf-a0aa-4b90-9f4f-94007199cd75
688
+ - efff52ae-29a0-418c-93bf-f0c9950e8be6
689
689
  X-Runtime:
690
- - '0.254818'
690
+ - '0.380379'
691
691
  Content-Length:
692
692
  - '341'
693
693
  body:
694
694
  encoding: UTF-8
695
- string: '{"_id":"56c2715fc3651143de00000c","created_at":"2016-02-16T00:46:23Z","updated_at":"2016-02-16T00:46:23Z","content_type":"image","local_path":"images/icon.png","folder":"images","checksum":"3176de8c86ae69c06d4f0ed37e26cee4","filename":"icon.png","url":"/sites/56c25ac5c36511433f000002/theme/images/icon.png","size":"2.72
695
+ string: '{"_id":"56c4df43c3651180309c60e0","created_at":"2016-02-17T20:59:47Z","updated_at":"2016-02-17T20:59:47Z","content_type":"image","local_path":"images/icon.png","folder":"images","checksum":"3176de8c86ae69c06d4f0ed37e26cee4","filename":"icon.png","url":"/sites/56c4df17c36511800c8b9039/theme/images/icon.png","size":"2.72
696
696
  KB","raw_size":2783}'
697
697
  http_version:
698
- recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
698
+ recorded_at: Wed, 17 Feb 2016 20:59:47 GMT
699
699
  - request:
700
700
  method: post
701
701
  uri: http://www.example.com:3000/locomotive/api/v3/theme_assets.json
@@ -4341,7 +4341,7 @@ http_interactions:
4341
4341
  nTZLWAn75+Cpv212Dv47zCzY/KTGgbiqWWzt8uMma7Z1/2bHBIaHmNbSlxEx
4342
4342
  sfX/CzAAkCOO6w6jXtcAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS1SdWJ5
4343
4343
  TXVsdGlwYXJ0UG9zdA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRh
4344
- OyBuYW1lPSJhdXRoX3Rva2VuIg0KDQpDMnQxd3hBdUt5N1lQQUhWdmEyOQ0K
4344
+ OyBuYW1lPSJhdXRoX3Rva2VuIg0KDQplMVFTZk5hdzh6UU03cldYNUNQZg0K
4345
4345
  LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LS0NCg0K
4346
4346
  headers:
4347
4347
  Accept:
@@ -4349,7 +4349,7 @@ http_interactions:
4349
4349
  X-Locomotive-Account-Email:
4350
4350
  - admin@locomotivecms.com
4351
4351
  X-Locomotive-Account-Token:
4352
- - C2t1wxAuKy7YPAHVva29
4352
+ - e1QSfNaw8zQM7rWX5CPf
4353
4353
  X-Locomotive-Site-Handle:
4354
4354
  - www
4355
4355
  Content-Type:
@@ -4368,24 +4368,24 @@ http_interactions:
4368
4368
  Content-Type:
4369
4369
  - application/json
4370
4370
  Etag:
4371
- - W/"7ff2f161824ded374cfc5b9b37072d18"
4371
+ - W/"d501ea79cf08d8dfe67296101d4eb57c"
4372
4372
  Cache-Control:
4373
4373
  - max-age=0, private, must-revalidate
4374
4374
  X-Request-Id:
4375
- - 0afaadb8-f9a4-403d-af86-7e2684d7e15b
4375
+ - 6a20eb5f-1208-4918-93a4-a65afcf11c16
4376
4376
  X-Runtime:
4377
- - '0.060647'
4377
+ - '0.059846'
4378
4378
  Content-Length:
4379
4379
  - '345'
4380
4380
  body:
4381
4381
  encoding: UTF-8
4382
- string: '{"_id":"56c2715fc3651143de00000d","created_at":"2016-02-16T00:46:23Z","updated_at":"2016-02-16T00:46:23Z","content_type":"image","local_path":"images/photo.jpg","folder":"images","checksum":"e1aff5628ca068751b333cf1b69dd978","filename":"photo.jpg","url":"/sites/56c25ac5c36511433f000002/theme/images/photo.jpg","size":"160
4382
+ string: '{"_id":"56c4df43c3651180309c60e1","created_at":"2016-02-17T20:59:47Z","updated_at":"2016-02-17T20:59:47Z","content_type":"image","local_path":"images/photo.jpg","folder":"images","checksum":"e1aff5628ca068751b333cf1b69dd978","filename":"photo.jpg","url":"/sites/56c4df17c36511800c8b9039/theme/images/photo.jpg","size":"160
4383
4383
  KB","raw_size":163476}'
4384
4384
  http_version:
4385
- recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
4385
+ recorded_at: Wed, 17 Feb 2016 20:59:47 GMT
4386
4386
  - request:
4387
4387
  method: delete
4388
- uri: http://www.example.com:3000/locomotive/api/v3/theme_assets.json?auth_token=C2t1wxAuKy7YPAHVva29
4388
+ uri: http://www.example.com:3000/locomotive/api/v3/theme_assets.json?auth_token=e1QSfNaw8zQM7rWX5CPf
4389
4389
  body:
4390
4390
  encoding: US-ASCII
4391
4391
  string: ''
@@ -4395,7 +4395,7 @@ http_interactions:
4395
4395
  X-Locomotive-Account-Email:
4396
4396
  - admin@locomotivecms.com
4397
4397
  X-Locomotive-Account-Token:
4398
- - C2t1wxAuKy7YPAHVva29
4398
+ - e1QSfNaw8zQM7rWX5CPf
4399
4399
  X-Locomotive-Site-Handle:
4400
4400
  - www
4401
4401
  Accept-Encoding:
@@ -4414,29 +4414,29 @@ http_interactions:
4414
4414
  Cache-Control:
4415
4415
  - max-age=0, private, must-revalidate
4416
4416
  X-Request-Id:
4417
- - 32030b98-128c-490c-83ab-b6e1bb8402b6
4417
+ - 668aafcd-c0fb-498c-8348-e016e3a168b7
4418
4418
  X-Runtime:
4419
- - '0.039413'
4419
+ - '0.041166'
4420
4420
  Content-Length:
4421
4421
  - '15'
4422
4422
  body:
4423
4423
  encoding: UTF-8
4424
4424
  string: '{"deletions":2}'
4425
4425
  http_version:
4426
- recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
4426
+ recorded_at: Wed, 17 Feb 2016 20:59:47 GMT
4427
4427
  - request:
4428
4428
  method: post
4429
4429
  uri: http://www.example.com:3000/locomotive/api/v3/translations.json
4430
4430
  body:
4431
4431
  encoding: UTF-8
4432
- string: auth_token=C2t1wxAuKy7YPAHVva29&translation%5Bkey%5D=hello_world&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde
4432
+ string: auth_token=e1QSfNaw8zQM7rWX5CPf&translation%5Bkey%5D=hello_world&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde
4433
4433
  headers:
4434
4434
  Accept:
4435
4435
  - application/json
4436
4436
  X-Locomotive-Account-Email:
4437
4437
  - admin@locomotivecms.com
4438
4438
  X-Locomotive-Account-Token:
4439
- - C2t1wxAuKy7YPAHVva29
4439
+ - e1QSfNaw8zQM7rWX5CPf
4440
4440
  X-Locomotive-Site-Handle:
4441
4441
  - www
4442
4442
  Content-Type:
@@ -4453,24 +4453,24 @@ http_interactions:
4453
4453
  Content-Type:
4454
4454
  - application/json
4455
4455
  Etag:
4456
- - W/"2377051d91991f509f17fa906582eb38"
4456
+ - W/"c5816cf118df211dd088c3ed2440ae81"
4457
4457
  Cache-Control:
4458
4458
  - max-age=0, private, must-revalidate
4459
4459
  X-Request-Id:
4460
- - c59ed0eb-13a4-4ff9-8ffa-ffa6b7d7d4b6
4460
+ - 8ee3d86f-2f90-40ac-9c30-df8695e46bbb
4461
4461
  X-Runtime:
4462
- - '0.041707'
4462
+ - '0.079346'
4463
4463
  Content-Length:
4464
4464
  - '161'
4465
4465
  body:
4466
4466
  encoding: UTF-8
4467
- string: '{"_id":"56c2715fc3651143de00000e","created_at":"2016-02-16T00:46:23Z","updated_at":"2016-02-16T00:46:23Z","key":"hello_world","values":{"fr":"Bonjour
4467
+ string: '{"_id":"56c4df43c3651180309c60e2","created_at":"2016-02-17T20:59:47Z","updated_at":"2016-02-17T20:59:47Z","key":"hello_world","values":{"fr":"Bonjour
4468
4468
  le monde"}}'
4469
4469
  http_version:
4470
- recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
4470
+ recorded_at: Wed, 17 Feb 2016 20:59:47 GMT
4471
4471
  - request:
4472
4472
  method: delete
4473
- uri: http://www.example.com:3000/locomotive/api/v3/translations/hello_world.json?auth_token=C2t1wxAuKy7YPAHVva29
4473
+ uri: http://www.example.com:3000/locomotive/api/v3/translations/hello_world.json?auth_token=e1QSfNaw8zQM7rWX5CPf
4474
4474
  body:
4475
4475
  encoding: US-ASCII
4476
4476
  string: ''
@@ -4480,7 +4480,7 @@ http_interactions:
4480
4480
  X-Locomotive-Account-Email:
4481
4481
  - admin@locomotivecms.com
4482
4482
  X-Locomotive-Account-Token:
4483
- - C2t1wxAuKy7YPAHVva29
4483
+ - e1QSfNaw8zQM7rWX5CPf
4484
4484
  X-Locomotive-Site-Handle:
4485
4485
  - www
4486
4486
  Accept-Encoding:
@@ -4495,34 +4495,34 @@ http_interactions:
4495
4495
  Content-Type:
4496
4496
  - application/json
4497
4497
  Etag:
4498
- - W/"2377051d91991f509f17fa906582eb38"
4498
+ - W/"c5816cf118df211dd088c3ed2440ae81"
4499
4499
  Cache-Control:
4500
4500
  - max-age=0, private, must-revalidate
4501
4501
  X-Request-Id:
4502
- - 97a31fcd-6334-4a63-9a03-58d97b6e4303
4502
+ - 2ced3679-a509-4265-89fd-3217c7ba49a5
4503
4503
  X-Runtime:
4504
- - '0.033943'
4504
+ - '0.027591'
4505
4505
  Content-Length:
4506
4506
  - '161'
4507
4507
  body:
4508
4508
  encoding: UTF-8
4509
- string: '{"_id":"56c2715fc3651143de00000e","created_at":"2016-02-16T00:46:23Z","updated_at":"2016-02-16T00:46:23Z","key":"hello_world","values":{"fr":"Bonjour
4509
+ string: '{"_id":"56c4df43c3651180309c60e2","created_at":"2016-02-17T20:59:47Z","updated_at":"2016-02-17T20:59:47Z","key":"hello_world","values":{"fr":"Bonjour
4510
4510
  le monde"}}'
4511
4511
  http_version:
4512
- recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
4512
+ recorded_at: Wed, 17 Feb 2016 20:59:48 GMT
4513
4513
  - request:
4514
4514
  method: post
4515
4515
  uri: http://www.example.com:3000/locomotive/api/v3/translations.json
4516
4516
  body:
4517
4517
  encoding: UTF-8
4518
- string: auth_token=C2t1wxAuKy7YPAHVva29&translation%5Bkey%5D=hello_world_2&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde
4518
+ string: auth_token=e1QSfNaw8zQM7rWX5CPf&translation%5Bkey%5D=hello_world_2&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde
4519
4519
  headers:
4520
4520
  Accept:
4521
4521
  - application/json
4522
4522
  X-Locomotive-Account-Email:
4523
4523
  - admin@locomotivecms.com
4524
4524
  X-Locomotive-Account-Token:
4525
- - C2t1wxAuKy7YPAHVva29
4525
+ - e1QSfNaw8zQM7rWX5CPf
4526
4526
  X-Locomotive-Site-Handle:
4527
4527
  - www
4528
4528
  Content-Type:
@@ -4539,24 +4539,24 @@ http_interactions:
4539
4539
  Content-Type:
4540
4540
  - application/json
4541
4541
  Etag:
4542
- - W/"1b431cddc6d793cb9ca8d79b53009e70"
4542
+ - W/"08d852718db92fec011bf51045086de2"
4543
4543
  Cache-Control:
4544
4544
  - max-age=0, private, must-revalidate
4545
4545
  X-Request-Id:
4546
- - c65f86f3-b2f5-43e1-8a84-eab7e70fea6e
4546
+ - 4d59da67-b942-48a3-a1c0-79000a199e76
4547
4547
  X-Runtime:
4548
- - '0.029894'
4548
+ - '0.026836'
4549
4549
  Content-Length:
4550
4550
  - '163'
4551
4551
  body:
4552
4552
  encoding: UTF-8
4553
- string: '{"_id":"56c2715fc3651143de00000f","created_at":"2016-02-16T00:46:23Z","updated_at":"2016-02-16T00:46:23Z","key":"hello_world_2","values":{"fr":"Bonjour
4553
+ string: '{"_id":"56c4df44c3651180309c60e3","created_at":"2016-02-17T20:59:48Z","updated_at":"2016-02-17T20:59:48Z","key":"hello_world_2","values":{"fr":"Bonjour
4554
4554
  le monde"}}'
4555
4555
  http_version:
4556
- recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
4556
+ recorded_at: Wed, 17 Feb 2016 20:59:48 GMT
4557
4557
  - request:
4558
4558
  method: delete
4559
- uri: http://www.example.com:3000/locomotive/api/v3/translations.json?auth_token=C2t1wxAuKy7YPAHVva29
4559
+ uri: http://www.example.com:3000/locomotive/api/v3/translations.json?auth_token=e1QSfNaw8zQM7rWX5CPf
4560
4560
  body:
4561
4561
  encoding: US-ASCII
4562
4562
  string: ''
@@ -4566,7 +4566,7 @@ http_interactions:
4566
4566
  X-Locomotive-Account-Email:
4567
4567
  - admin@locomotivecms.com
4568
4568
  X-Locomotive-Account-Token:
4569
- - C2t1wxAuKy7YPAHVva29
4569
+ - e1QSfNaw8zQM7rWX5CPf
4570
4570
  X-Locomotive-Site-Handle:
4571
4571
  - www
4572
4572
  Accept-Encoding:
@@ -4585,19 +4585,19 @@ http_interactions:
4585
4585
  Cache-Control:
4586
4586
  - max-age=0, private, must-revalidate
4587
4587
  X-Request-Id:
4588
- - c661234c-1ea6-4601-a1c7-6b9e2aa6372f
4588
+ - 14735fe2-5001-4fe5-bd9b-d9b638be5b1a
4589
4589
  X-Runtime:
4590
- - '0.041021'
4590
+ - '0.083762'
4591
4591
  Content-Length:
4592
4592
  - '15'
4593
4593
  body:
4594
4594
  encoding: UTF-8
4595
4595
  string: '{"deletions":1}'
4596
4596
  http_version:
4597
- recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
4597
+ recorded_at: Wed, 17 Feb 2016 20:59:48 GMT
4598
4598
  - request:
4599
4599
  method: delete
4600
- uri: http://www.example.com:3000/locomotive/api/v3/pages/bogus_id.json?auth_token=C2t1wxAuKy7YPAHVva29
4600
+ uri: http://www.example.com:3000/locomotive/api/v3/pages/bogus_id.json?auth_token=e1QSfNaw8zQM7rWX5CPf
4601
4601
  body:
4602
4602
  encoding: US-ASCII
4603
4603
  string: ''
@@ -4607,7 +4607,7 @@ http_interactions:
4607
4607
  X-Locomotive-Account-Email:
4608
4608
  - admin@locomotivecms.com
4609
4609
  X-Locomotive-Account-Token:
4610
- - C2t1wxAuKy7YPAHVva29
4610
+ - e1QSfNaw8zQM7rWX5CPf
4611
4611
  X-Locomotive-Site-Handle:
4612
4612
  - www
4613
4613
  Accept-Encoding:
@@ -4624,19 +4624,19 @@ http_interactions:
4624
4624
  Cache-Control:
4625
4625
  - no-cache
4626
4626
  X-Request-Id:
4627
- - 30f80d54-3ada-4b22-8896-218f0903d00d
4627
+ - cc5ce310-0e32-4134-b4e9-03cb2f2f9174
4628
4628
  X-Runtime:
4629
- - '0.024783'
4629
+ - '0.025524'
4630
4630
  Content-Length:
4631
4631
  - '30'
4632
4632
  body:
4633
4633
  encoding: UTF-8
4634
4634
  string: '{"error":"Resource not found"}'
4635
4635
  http_version:
4636
- recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
4636
+ recorded_at: Wed, 17 Feb 2016 20:59:48 GMT
4637
4637
  - request:
4638
4638
  method: delete
4639
- uri: http://www.example.com:3000/locomotive/api/v3/content_types/bogus_id.json?auth_token=C2t1wxAuKy7YPAHVva29
4639
+ uri: http://www.example.com:3000/locomotive/api/v3/content_types/bogus_id.json?auth_token=e1QSfNaw8zQM7rWX5CPf
4640
4640
  body:
4641
4641
  encoding: US-ASCII
4642
4642
  string: ''
@@ -4646,7 +4646,7 @@ http_interactions:
4646
4646
  X-Locomotive-Account-Email:
4647
4647
  - admin@locomotivecms.com
4648
4648
  X-Locomotive-Account-Token:
4649
- - C2t1wxAuKy7YPAHVva29
4649
+ - e1QSfNaw8zQM7rWX5CPf
4650
4650
  X-Locomotive-Site-Handle:
4651
4651
  - www
4652
4652
  Accept-Encoding:
@@ -4663,19 +4663,19 @@ http_interactions:
4663
4663
  Cache-Control:
4664
4664
  - no-cache
4665
4665
  X-Request-Id:
4666
- - 18cee92e-03ea-4e63-8c32-ec0e0b604c01
4666
+ - d8524ae4-ed3b-46b0-8742-9cff7cd5a363
4667
4667
  X-Runtime:
4668
- - '0.022163'
4668
+ - '0.024198'
4669
4669
  Content-Length:
4670
4670
  - '30'
4671
4671
  body:
4672
4672
  encoding: UTF-8
4673
4673
  string: '{"error":"Resource not found"}'
4674
4674
  http_version:
4675
- recorded_at: Tue, 16 Feb 2016 00:46:23 GMT
4675
+ recorded_at: Wed, 17 Feb 2016 20:59:48 GMT
4676
4676
  - request:
4677
4677
  method: delete
4678
- uri: http://www.example.com:3000/locomotive/api/v3/snippets/bogus_id.json?auth_token=C2t1wxAuKy7YPAHVva29
4678
+ uri: http://www.example.com:3000/locomotive/api/v3/snippets/bogus_id.json?auth_token=e1QSfNaw8zQM7rWX5CPf
4679
4679
  body:
4680
4680
  encoding: US-ASCII
4681
4681
  string: ''
@@ -4685,7 +4685,7 @@ http_interactions:
4685
4685
  X-Locomotive-Account-Email:
4686
4686
  - admin@locomotivecms.com
4687
4687
  X-Locomotive-Account-Token:
4688
- - C2t1wxAuKy7YPAHVva29
4688
+ - e1QSfNaw8zQM7rWX5CPf
4689
4689
  X-Locomotive-Site-Handle:
4690
4690
  - www
4691
4691
  Accept-Encoding:
@@ -4702,19 +4702,19 @@ http_interactions:
4702
4702
  Cache-Control:
4703
4703
  - no-cache
4704
4704
  X-Request-Id:
4705
- - 54fea5e4-4885-4202-a0d1-08d3181ab717
4705
+ - db4eb3d9-10ba-4e45-b2b8-99f609426abf
4706
4706
  X-Runtime:
4707
- - '0.023401'
4707
+ - '0.023256'
4708
4708
  Content-Length:
4709
4709
  - '30'
4710
4710
  body:
4711
4711
  encoding: UTF-8
4712
4712
  string: '{"error":"Resource not found"}'
4713
4713
  http_version:
4714
- recorded_at: Tue, 16 Feb 2016 00:46:24 GMT
4714
+ recorded_at: Wed, 17 Feb 2016 20:59:48 GMT
4715
4715
  - request:
4716
4716
  method: delete
4717
- uri: http://www.example.com:3000/locomotive/api/v3/translations/bogus_id.json?auth_token=C2t1wxAuKy7YPAHVva29
4717
+ uri: http://www.example.com:3000/locomotive/api/v3/translations/bogus_id.json?auth_token=e1QSfNaw8zQM7rWX5CPf
4718
4718
  body:
4719
4719
  encoding: US-ASCII
4720
4720
  string: ''
@@ -4724,7 +4724,7 @@ http_interactions:
4724
4724
  X-Locomotive-Account-Email:
4725
4725
  - admin@locomotivecms.com
4726
4726
  X-Locomotive-Account-Token:
4727
- - C2t1wxAuKy7YPAHVva29
4727
+ - e1QSfNaw8zQM7rWX5CPf
4728
4728
  X-Locomotive-Site-Handle:
4729
4729
  - www
4730
4730
  Accept-Encoding:
@@ -4741,14 +4741,14 @@ http_interactions:
4741
4741
  Cache-Control:
4742
4742
  - no-cache
4743
4743
  X-Request-Id:
4744
- - 442ffc68-0cea-4355-a740-72afc4445dcf
4744
+ - 68715d08-46ba-45fa-aaa0-50cab56bea5f
4745
4745
  X-Runtime:
4746
- - '0.024773'
4746
+ - '0.023121'
4747
4747
  Content-Length:
4748
4748
  - '30'
4749
4749
  body:
4750
4750
  encoding: UTF-8
4751
4751
  string: '{"error":"Resource not found"}'
4752
4752
  http_version:
4753
- recorded_at: Tue, 16 Feb 2016 00:46:24 GMT
4753
+ recorded_at: Wed, 17 Feb 2016 20:59:48 GMT
4754
4754
  recorded_with: VCR 3.0.0