new version of the mounter (1.2.7) + make the tests pass
did
committed Sep 17, 2013
commit 05248a6def3b7ccbe050be495b072200b092e649
Showing 8
changed files with
1127 additions
and 1454 deletions
Rakefile
+1
-1
| @@ | @@ -39,7 +39,7 @@ namespace :development do |
| exit unless Locomotive::Wagon.clone('site', '.', { host: 'sample.example.com:3000', email: 'admin@locomotivecms.com', password: 'locomotive' }) | |
| end | |
| - | Locomotive::Wagon.push('site', {host: 'sample.example.com:3000', email: 'admin@locomotivecms.com', password: 'locomotive'}, force: true, force_translations: true, data: true) |
| + | Locomotive::Wagon.push('site', {host: 'sample.example.com:3000', email: 'admin@locomotivecms.com', password: 'locomotive'}, force: true, translations: false, data: true) |
| end | |
| end | |
locomotivecms_wagon.gemspec
+1
-1
| @@ | @@ -35,7 +35,7 @@ Gem::Specification.new do |gem| |
| gem.add_dependency 'httmultiparty', '0.3.10' | |
| gem.add_dependency 'will_paginate', '~> 3.0.3' | |
| - | gem.add_dependency 'locomotivecms_mounter', '~> 1.2.6' |
| + | gem.add_dependency 'locomotivecms_mounter', '~> 1.2.7' |
| gem.add_dependency 'faker', '~> 0.9.5' | |
spec/integration/cassettes/pull.yml
+308
-450
| @@ | @@ -4,14 +4,20 @@ http_interactions: |
| method: post | |
| uri: http://sample.example.com:3000/locomotive/api/tokens.json | |
| body: | |
| - | encoding: US-ASCII |
| + | encoding: UTF-8 |
| string: email=admin%40locomotivecms.com&password=locomotive | |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:16 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Location: | |
| - http://sample.example.com:3000/locomotive/ | |
| Content-Type: | |
| @@ | @@ -19,32 +25,24 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"76484a9468c21a481d85ab96230ec0af"' |
| + | - '"d1a90b45e031fb4f87663184c2a67dbd"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=7FsbH4bAKgxjSjBqRjSbfW0jGbc; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 570c5b3cf899417695f210d539c640ae |
| + | - c9a037d922e36ceab77b67fd60df3f1e |
| X-Runtime: | |
| - | - '0.011942' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:32 GMT |
| - | Content-Length: |
| - | - '32' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTIxOGVjNWU4NDBiYzI2Zjc4OWNmMjQzOGZlOTJiODQzBjsAVEkiCmZsYXNoBjsARm86JUFjdGlvbkRpc3BhdGNoOjpGbGFzaDo6Rmxhc2hIYXNoCToKQHVzZWRvOghTZXQGOgpAaGFzaHsAOgxAY2xvc2VkRjoNQGZsYXNoZXN7BjoLbm90aWNlSUM6HkFjdGl2ZVN1cHBvcnQ6OlNhZmVCdWZmZXIiI0hhc2ggd2FzIHN1Y2Nlc3NmdWxseSBjcmVhdGVkLgc7AFQ6D0BodG1sX3NhZmVUOglAbm93MA%3D%3D--9c3365c9b7112edacb0cb2613a5e637c2f4f8661; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.036712' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"token":"pyXsXJLmwyKRYzwypTzR"}' |
| + | encoding: UTF-8 |
| + | string: '{"token":"iaWvtP5PhmnyKypXpLbM"}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:32 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:16 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/current_site.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/current_site.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -52,39 +50,37 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:16 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"61a593468e060f48c3feadff5d12f4ed"' |
| + | - '"44c3f51a8b65cd145a65bd507037a52f"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=ee6akf6apTreFuVEtChqz_5Cr6o; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 2fa41296bef709bcc488e8247d4626e0 |
| + | - 863cd4b64f4bdd041d455e8a67e3baa9 |
| X-Runtime: | |
| - | - '0.015379' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:32 GMT |
| - | Content-Length: |
| - | - '546' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWJlZDRhYmEwZjg2OWVhNDA3MzI1MmQ3ZTU5OTgwYWFlBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--b7e95be9341a72062af52c36ac9115ca8c70ecf8; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.041135' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbebf1e66cfabe5000006","_id":"51adbebf1e66cfabe5000006","created_at":"2013-06-04T10:17:35Z","updated_at":"2013-06-04T10:21:39Z","name":"locomotive","locales":["en","es"],"subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"51adbebf1e66cfabe5000009","_id":"51adbebf1e66cfabe5000009","role":"admin","role_name":"Administrator","can_update":false,"grant_admin":true,"account_id":"51adbebf1e66cfabe5000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238710587f6431df7000006","_id":"5238710587f6431df7000006","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:33Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238710587f6431df7000009","_id":"5238710587f6431df7000009","role":"admin","role_name":"Administrator","can_update":false,"grant_admin":true,"account_id":"5238710587f6431df7000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:32 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:16 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/current_site.json?auth_token=pyXsXJLmwyKRYzwypTzR&locale=es |
| + | uri: http://sample.example.com:3000/locomotive/api/current_site.json?auth_token=iaWvtP5PhmnyKypXpLbM&locale=es |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -92,39 +88,37 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:16 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"d9a13584b512412e95b8fe2f78cd0bae"' |
| + | - '"f3da36b3e0ddaffbc93f97aaae09ae52"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=bCA-MmvjiiXKLvxdvI7uKOQ8ERM; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - edb7d5bf8f3523d209d7ee8695d87389 |
| + | - 704fee212896de6aab7877f80a1496b3 |
| X-Runtime: | |
| - | - '0.015357' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:32 GMT |
| - | Content-Length: |
| - | - '546' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWViYzgxMTZmNGMwNzYxZTEyZDVjY2Q3NmQ3ZDYxMDMyBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--5781043cab814cc7bddff5bc61471d8914d940ec; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.040516' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbebf1e66cfabe5000006","_id":"51adbebf1e66cfabe5000006","created_at":"2013-06-04T10:17:35Z","updated_at":"2013-06-04T10:21:39Z","name":"locomotive","locales":["en","es"],"subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"51adbebf1e66cfabe5000009","_id":"51adbebf1e66cfabe5000009","role":"admin","role_name":"Administrador","can_update":false,"grant_admin":true,"account_id":"51adbebf1e66cfabe5000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238710587f6431df7000006","_id":"5238710587f6431df7000006","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:33Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238710587f6431df7000009","_id":"5238710587f6431df7000009","role":"admin","role_name":"Administrador","can_update":false,"grant_admin":true,"account_id":"5238710587f6431df7000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:32 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:16 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/content_assets.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/content_assets.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -132,39 +126,37 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:16 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"d751713988987e9331980363e24189ce"' |
| + | - '"d751713988987e9331980363e24189ce"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=NoTrZItzrjWEx6zkOl12mE-Of74; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 897f8e713e8e9009185f86cd4b89245c |
| + | - fa80e875ffddf7535b6dcbf788e9d11f |
| X-Runtime: | |
| - | - '0.016693' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:32 GMT |
| - | Content-Length: |
| - | - '2' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTJhNDA0YjUzMjI4N2M2ZWUzZTJkNDU2MmU2ZmQwM2I4BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--8f5aa59e4106ef8c1ea74c1b3a81b8c9f889eaa7; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.097374' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '[]' |
| + | encoding: UTF-8 |
| + | string: '[]' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:32 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:16 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/snippets.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/snippets.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -172,39 +164,37 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:16 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"d751713988987e9331980363e24189ce"' |
| + | - '"d751713988987e9331980363e24189ce"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=YqoQOI94i6WImV7l8m3iBdbDvqY; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 00f55abb3ddf1bd9879a844205c2e8b1 |
| + | - c804f5386d84109abb4bdb7969088e53 |
| X-Runtime: | |
| - | - '0.017277' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:32 GMT |
| - | Content-Length: |
| - | - '2' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTI0MmYzYmIwMGFlNzIzOWExYjc4OTU5MmY2ZjMwYzBlBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--e57de280684e700dec80b9881483ea541d6818f6; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.038155' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '[]' |
| + | encoding: UTF-8 |
| + | string: '[]' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:32 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:16 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/content_types.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/content_types.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -212,40 +202,38 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:16 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"c5dfc55543eaa60dddd30842bf91c11e"' |
| + | - '"80558e8d8878e660f5cfd6b06152de50"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=sJHSyzsJRwo4YIHE6dCFRaFyJ1A; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 36b324d5225edbaa9f0f9173462ab625 |
| + | - c614511770e53088c96043ba149bd48f |
| X-Runtime: | |
| - | - '0.020905' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:32 GMT |
| - | Content-Length: |
| - | - '781' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTMzN2NlNDE0NmQwYmVkNjY4NDRjYTYyNThkYTMyZThjBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--7c1095b48695c4499b66e391daafc61a996c8793; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.043328' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '[{"id":"51adbfb31e66cf8d8a000021","_id":"51adbfb31e66cf8d8a000021","created_at":"2013-06-04T10:21:39Z","updated_at":"2013-06-04T10:21:39Z","name":"Products","slug":"products","entries_custom_fields":[{"id":"51adbfb31e66cf8d8a000022","_id":"51adbfb31e66cf8d8a000022","name":"name","label":"name","type":"string","required":true,"localized":true,"unique":false,"position":0},{"id":"51adbfb31e66cf8d8a000023","_id":"51adbfb31e66cf8d8a000023","name":"available","label":"available","type":"boolean","required":false,"localized":false,"unique":false,"position":1}],"description":"My |
| + | encoding: UTF-8 |
| + | string: '[{"id":"5238712587f643884e000001","_id":"5238712587f643884e000001","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","name":"Products","slug":"products","entries_custom_fields":[{"id":"5238712587f643884e000002","_id":"5238712587f643884e000002","name":"name","label":"name","type":"string","required":true,"localized":true,"unique":false,"position":0},{"id":"5238712587f643884e000003","_id":"5238712587f643884e000003","name":"available","label":"available","type":"boolean","required":false,"localized":false,"unique":false,"position":1}],"description":"My |
| products collection","label_field_name":"name","order_by":"created_at","order_direction":"asc","order_by_field_name":"created_at","public_submission_enabled":false,"public_submission_account_emails":[]}]' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:32 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:16 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/content_types/products/entries.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/content_types/products/entries.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -253,41 +241,39 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:16 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - | - text/html; charset=utf-8 |
| + | - application/json; charset=utf-8 |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"df057599ef0c8d31c18b50904d8c1cb3"' |
| + | - '"83dfd1167e0b94465530e648860cdcda"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=PtfyO6vYHRNr83z51nlhMvK23yQ; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 5911d7ba43f57e643c194afcadff19d6 |
| + | - 7e8f978f3c500588268395eac2c93659 |
| X-Runtime: | |
| - | - '0.021573' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:32 GMT |
| - | Content-Length: |
| - | - '313' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTYyMWFjMmNiODA5YTExZmNlMmI5NDhkZmE3ZmU1MThiBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--931a5c561badb8ce4f837b06058f73999ff3b000; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.050445' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '[{"id":"51adbfb31e66cf0b69000024","_id":"51adbfb31e66cf0b69000024","created_at":"2013-06-04T10:21:39Z","updated_at":"2013-06-04T10:22:20Z","_label":"Useless |
| + | encoding: UTF-8 |
| + | string: '[{"id":"5238712587f643884e000004","_id":"5238712587f643884e000004","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","_label":"Useless |
| stuff","_slug":"useless-stuff","_position":0,"_visible":true,"content_type_slug":"products","translated_in":["en"],"name":"Useless | |
| stuff","available":true}]' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:32 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:16 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/content_types/products/entries/51adbfb31e66cf0b69000024.json?auth_token=pyXsXJLmwyKRYzwypTzR&locale=en |
| + | uri: http://sample.example.com:3000/locomotive/api/content_types/products/entries/5238712587f643884e000004.json?auth_token=iaWvtP5PhmnyKypXpLbM&locale=en |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -295,41 +281,39 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:16 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - | - text/html; charset=utf-8 |
| + | - application/json; charset=utf-8 |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"d1fef1c5c5e47782c8395d7f5201f9cb"' |
| + | - '"30d49d7b032f30c6e560befd964e9d1b"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=ZZBH3XuOUost_vmm43JBys-KIhg; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 0d7d737b40a4b39be20b755376b6259b |
| + | - 3d61f6ee3d2663d4edb1edbe290dfb42 |
| X-Runtime: | |
| - | - '0.020541' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:32 GMT |
| - | Content-Length: |
| - | - '311' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTQ5MGI0Y2I5Y2Q1ODA4NmI5NGFiNDk3NzVmNTgzZjNjBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--a08d200f62f5a0177cb5d6bdd84852aad43c6cbd; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.034323' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbfb31e66cf0b69000024","_id":"51adbfb31e66cf0b69000024","created_at":"2013-06-04T10:21:39Z","updated_at":"2013-06-04T10:22:20Z","_label":"Useless |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238712587f643884e000004","_id":"5238712587f643884e000004","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","_label":"Useless |
| stuff","_slug":"useless-stuff","_position":0,"_visible":true,"content_type_slug":"products","translated_in":["en"],"name":"Useless | |
| stuff","available":true}' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:32 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:16 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/pages.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/pages.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -337,53 +321,51 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:16 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"6f9c2002c4936d44d8051654669cae00"' |
| + | - '"a19c8f4823366aaef7a28e95582c9b2d"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=USaWfTUtHpU3_9x1qPCNSXC49H0; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 3b95dde3aff31f49044b6b7d6110c751 |
| + | - 6c6467a58573a93b8e068c44ad2ddece |
| X-Runtime: | |
| - | - '0.084436' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:32 GMT |
| - | Content-Length: |
| - | - '3549' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWU2YjU5Mzc3ZjczN2FlYWRhZGJiOWJhZmYwNDJlYzVmBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--66c694db85d15c4c352e6af98ea01ecb6add539b; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.045967' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '[{"id":"51adbebf1e66cfabe5000007","_id":"51adbebf1e66cfabe5000007","created_at":"2013-06-04T10:17:35Z","updated_at":"2013-06-04T10:21:39Z","title":"Home |
| + | encoding: UTF-8 |
| + | string: '[{"id":"5238710587f6431df7000007","_id":"5238710587f6431df7000007","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Home |
| page","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"{% | |
| block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","escaped_raw_template":"{% | |
| - | block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","editable_elements":[]},{"id":"51adbfb31e66cf033d000025","_id":"51adbfb31e66cf033d000025","created_at":"2013-06-04T10:21:39Z","updated_at":"2013-06-04T10:21:39Z","title":"translated","slug":"translated","parent_id":"51adbebf1e66cfabe5000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"translated","localized_fullpaths":{"en":"translated","es":"es/translated"},"depth":1,"translated_in":["en"],"raw_template":"{{ |
| + | block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","editable_elements":[]},{"id":"5238712687f643884e000006","_id":"5238712687f643884e000006","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"translated","slug":"translated","parent_id":"5238710587f6431df7000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"translated","localized_fullpaths":{"en":"translated","es":"es/translated"},"depth":1,"translated_in":["en"],"raw_template":"{{ |
| ''hello_world'' | translate}}","escaped_raw_template":"{{ 'hello_world' | |
| - | | translate}}","editable_elements":[]},{"id":"51adbfb31e66cf095d000027","_id":"51adbfb31e66cf095d000027","created_at":"2013-06-04T10:21:39Z","updated_at":"2013-06-04T10:21:39Z","title":"Latest","slug":"latest","parent_id":"51adbfb31e66cfb3d3000026","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products/latest","localized_fullpaths":{"en":"products/latest","es":"es/products/latest"},"depth":2,"translated_in":["en"],"raw_template":"{% |
| + | | translate}}","editable_elements":[]},{"id":"5238712687f643884e000008","_id":"5238712687f643884e000008","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Latest","slug":"latest","parent_id":"5238712687f643884e000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products/latest","localized_fullpaths":{"en":"products/latest","es":"es/products/latest"},"depth":2,"translated_in":["en"],"raw_template":"{% |
| extends parent %}\r\n{% block content %}\r\n The name of the latest product | |
| is: {{ contents.products.last.name }}\r\n{% endblock %}","escaped_raw_template":"{% | |
| extends parent %}\r\n{% block content %}\r\n The name of the latest product | |
| - | is: {{ contents.products.last.name }}\r\n{% endblock %}","editable_elements":[]},{"id":"51adbebf1e66cfabe5000008","_id":"51adbebf1e66cfabe5000008","created_at":"2013-06-04T10:17:35Z","updated_at":"2013-06-04T10:21:39Z","title":"Page |
| + | is: {{ contents.products.last.name }}\r\n{% endblock %}","editable_elements":[]},{"id":"5238710587f6431df7000008","_id":"5238710587f6431df7000008","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Page |
| not found","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content | |
| - | of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]},{"id":"51adbfb31e66cfb3d3000026","_id":"51adbfb31e66cfb3d3000026","created_at":"2013-06-04T10:21:39Z","updated_at":"2013-06-04T10:21:39Z","title":"Products","slug":"products","parent_id":"51adbebf1e66cfabe5000007","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en","es"],"raw_template":"{% |
| + | of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]},{"id":"5238712687f643884e000007","_id":"5238712687f643884e000007","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Products","slug":"products","parent_id":"5238710587f6431df7000007","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en","es"],"raw_template":"{% |
| extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Search | |
| friendly products","meta_keywords":"fancy, products, keywords","meta_description":"Fancy | |
| products description"}]' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:32 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:16 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/pages/51adbebf1e66cfabe5000007.json?auth_token=pyXsXJLmwyKRYzwypTzR&locale=es |
| + | uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000007.json?auth_token=iaWvtP5PhmnyKypXpLbM&locale=es |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -391,71 +373,40 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: !binary |- |
| - | T0sg |
| + | message: OK |
| headers: | |
| - | !binary "Q29udGVudC1UeXBl": |
| - | - !binary |- |
| - | YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA== |
| - | !binary "WC1VYS1Db21wYXRpYmxl": |
| - | - !binary |- |
| - | SUU9RWRnZQ== |
| - | !binary "RXRhZw==": |
| - | - !binary |- |
| - | IjcyN2VhNDRjYWI0MWEwOTNjOTdhNTQzYThlYWVmYTkyIg== |
| - | !binary "Q2FjaGUtQ29udHJvbA==": |
| - | - !binary |- |
| - | bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU= |
| - | !binary "WC1SZXF1ZXN0LUlk": |
| - | - !binary |- |
| - | ODVjYmU3NmIxMTkwM2FjM2U2YTc2NTMyOGViZDA2MmI= |
| - | !binary "WC1SdW50aW1l": |
| - | - !binary |- |
| - | MC4wMTc4MzM= |
| - | !binary "U2VydmVy": |
| - | - !binary |- |
| - | V0VCcmljay8xLjMuMSAoUnVieS8xLjkuMy8yMDEzLTAyLTIyKQ== |
| - | !binary "RGF0ZQ==": |
| - | - !binary |- |
| - | VHVlLCAwNCBKdW4gMjAxMyAxMDoyMjozMiBHTVQ= |
| - | !binary "Q29udGVudC1MZW5ndGg=": |
| - | - !binary |- |
| - | NTk2 |
| - | !binary "Q29ubmVjdGlvbg==": |
| - | - !binary |- |
| - | S2VlcC1BbGl2ZQ== |
| - | !binary "U2V0LUNvb2tpZQ==": |
| - | - !binary |- |
| - | X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr |
| - | a2lKV1kyTTJWak1qRmpZell3TWpnd016ZGtORFpoTnpNME1HVmlaalExT0dJ |
| - | MkJqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q |
| - | YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ |
| - | bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0 |
| - | Y1dGV05WbGlZazVDZWpNR093QlUtLTQwNTgzODIxYTU5MmE2ODEzYzkyMTM5 |
| - | MGQ3ODYwZjAyYTk0MGE2ZjU7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9 |
| - | LzsgSHR0cE9ubHk= |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:16 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| + | Content-Type: |
| + | - application/json; charset=utf-8 |
| + | X-Ua-Compatible: |
| + | - IE=Edge |
| + | Etag: |
| + | - '"6499def2ece0125f6b4cebb93d09abc9"' |
| + | Cache-Control: |
| + | - max-age=0, private, must-revalidate |
| + | Set-Cookie: |
| + | - _locomotive_session=os1IdX2Qa7j3cjE7EBjxmPtdlks; domain=.example.com; path=/; |
| + | HttpOnly |
| + | X-Request-Id: |
| + | - d6b9a31f4195e92587826c5a5e7428d7 |
| + | X-Runtime: |
| + | - '0.063026' |
| body: | |
| - | encoding: ASCII-8BIT |
| - | string: !binary |- |
| - | eyJpZCI6IjUxYWRiZWJmMWU2NmNmYWJlNTAwMDAwNyIsIl9pZCI6IjUxYWRi |
| - | ZWJmMWU2NmNmYWJlNTAwMDAwNyIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0 |
| - | VDEwOjE3OjM1WiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIxOjM5 |
| - | WiIsInRpdGxlIjoiUMOhZ2luYSBkZSBpbmljaW8iLCJzbHVnIjoiaW5kZXgi |
| - | LCJwb3NpdGlvbiI6MCwicmVzcG9uc2VfdHlwZSI6InRleHQvaHRtbCIsImNh |
| - | Y2hlX3N0cmF0ZWd5Ijoibm9uZSIsInJlZGlyZWN0IjpmYWxzZSwicmVkaXJl |
| - | Y3RfdHlwZSI6MzAxLCJsaXN0ZWQiOnRydWUsInB1Ymxpc2hlZCI6dHJ1ZSwi |
| - | dGVtcGxhdGl6ZWQiOmZhbHNlLCJ0ZW1wbGF0aXplZF9mcm9tX3BhcmVudCI6 |
| - | ZmFsc2UsImZ1bGxwYXRoIjoiaW5kZXgiLCJsb2NhbGl6ZWRfZnVsbHBhdGhz |
| - | Ijp7ImVuIjoiIiwiZXMiOiJlcyJ9LCJkZXB0aCI6MCwidHJhbnNsYXRlZF9p |
| - | biI6WyJlbiIsImVzIl0sInJhd190ZW1wbGF0ZSI6Ik5ldyBjb250ZW50IG9m |
| - | IHRoZSBob21lIHBhZ2VcclxuIiwiZXNjYXBlZF9yYXdfdGVtcGxhdGUiOiJO |
| - | ZXcgY29udGVudCBvZiB0aGUgaG9tZSBwYWdlXHJcbiIsImVkaXRhYmxlX2Vs |
| - | ZW1lbnRzIjpbXX0= |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238710587f6431df7000007","_id":"5238710587f6431df7000007","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"P\u00e1gina |
| + | de inicio","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"New |
| + | content of the home page\r\n","escaped_raw_template":"New content of the home |
| + | page\r\n","editable_elements":[]}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:32 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:16 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/pages/51adbebf1e66cfabe5000008.json?auth_token=pyXsXJLmwyKRYzwypTzR&locale=es |
| + | uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000008.json?auth_token=iaWvtP5PhmnyKypXpLbM&locale=es |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -463,70 +414,39 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: !binary |- |
| - | T0sg |
| + | message: OK |
| headers: | |
| - | !binary "Q29udGVudC1UeXBl": |
| - | - !binary |- |
| - | YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA== |
| - | !binary "WC1VYS1Db21wYXRpYmxl": |
| - | - !binary |- |
| - | SUU9RWRnZQ== |
| - | !binary "RXRhZw==": |
| - | - !binary |- |
| - | Ijk2YTg4MzcwMWQ3N2UwMDU5OWQ1NjcwYTYzYmJkNjUzIg== |
| - | !binary "Q2FjaGUtQ29udHJvbA==": |
| - | - !binary |- |
| - | bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU= |
| - | !binary "WC1SZXF1ZXN0LUlk": |
| - | - !binary |- |
| - | YjQ5MTIzNGM3ZjA5M2NmNmI1N2YxMmNkZjMwMWQ2NDY= |
| - | !binary "WC1SdW50aW1l": |
| - | - !binary |- |
| - | MC4wMTgyMzQ= |
| - | !binary "U2VydmVy": |
| - | - !binary |- |
| - | V0VCcmljay8xLjMuMSAoUnVieS8xLjkuMy8yMDEzLTAyLTIyKQ== |
| - | !binary "RGF0ZQ==": |
| - | - !binary |- |
| - | VHVlLCAwNCBKdW4gMjAxMyAxMDoyMjozMiBHTVQ= |
| - | !binary "Q29udGVudC1MZW5ndGg=": |
| - | - !binary |- |
| - | NTg1 |
| - | !binary "Q29ubmVjdGlvbg==": |
| - | - !binary |- |
| - | S2VlcC1BbGl2ZQ== |
| - | !binary "U2V0LUNvb2tpZQ==": |
| - | - !binary |- |
| - | X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr |
| - | a2lKVGxsTldJM1pEazBZMk5oTldJMk9XTmpaVEJsWm1NMU56VmxOR1k0TkdR |
| - | eEJqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q |
| - | YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ |
| - | bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0 |
| - | Y1dGV05WbGlZazVDZWpNR093QlUtLWRmMjMwZDM1MDIyYzEzODdhYTQ2MWU4 |
| - | ZTkxZWMyZGIxZmViZTQwMDQ7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9 |
| - | LzsgSHR0cE9ubHk= |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:16 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| + | Content-Type: |
| + | - application/json; charset=utf-8 |
| + | X-Ua-Compatible: |
| + | - IE=Edge |
| + | Etag: |
| + | - '"d04724071150d907283a4aea3a16f368"' |
| + | Cache-Control: |
| + | - max-age=0, private, must-revalidate |
| + | Set-Cookie: |
| + | - _locomotive_session=6jSJJJ1yxeA2UbMdjX9DUHVV7PQ; domain=.example.com; path=/; |
| + | HttpOnly |
| + | X-Request-Id: |
| + | - 0f7ab05f0fdcdd19fa113ac048c3b2d2 |
| + | X-Runtime: |
| + | - '0.055709' |
| body: | |
| - | encoding: ASCII-8BIT |
| - | string: !binary |- |
| - | eyJpZCI6IjUxYWRiZWJmMWU2NmNmYWJlNTAwMDAwOCIsIl9pZCI6IjUxYWRi |
| - | ZWJmMWU2NmNmYWJlNTAwMDAwOCIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0 |
| - | VDEwOjE3OjM1WiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIxOjM5 |
| - | WiIsInRpdGxlIjoiUMOhZ2luYSBubyBlbmNvbnRyYWRhIiwic2x1ZyI6IjQw |
| - | NCIsInBvc2l0aW9uIjoxLCJyZXNwb25zZV90eXBlIjoidGV4dC9odG1sIiwi |
| - | Y2FjaGVfc3RyYXRlZ3kiOiJub25lIiwicmVkaXJlY3QiOmZhbHNlLCJyZWRp |
| - | cmVjdF90eXBlIjozMDEsImxpc3RlZCI6dHJ1ZSwicHVibGlzaGVkIjp0cnVl |
| - | LCJ0ZW1wbGF0aXplZCI6ZmFsc2UsInRlbXBsYXRpemVkX2Zyb21fcGFyZW50 |
| - | IjpmYWxzZSwiZnVsbHBhdGgiOiI0MDQiLCJsb2NhbGl6ZWRfZnVsbHBhdGhz |
| - | Ijp7ImVuIjoiNDA0IiwiZXMiOiJlcy80MDQifSwiZGVwdGgiOjAsInRyYW5z |
| - | bGF0ZWRfaW4iOlsiZW4iLCJlcyJdLCJyYXdfdGVtcGxhdGUiOiJDb250ZW50 |
| - | IG9mIHRoZSA0MDQgcGFnZSIsImVzY2FwZWRfcmF3X3RlbXBsYXRlIjoiQ29u |
| - | dGVudCBvZiB0aGUgNDA0IHBhZ2UiLCJlZGl0YWJsZV9lbGVtZW50cyI6W119 |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238710587f6431df7000008","_id":"5238710587f6431df7000008","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"P\u00e1gina |
| + | no encontrada","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content |
| + | of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:32 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:16 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/pages/51adbfb31e66cfb3d3000026.json?auth_token=pyXsXJLmwyKRYzwypTzR&locale=es |
| + | uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000007.json?auth_token=iaWvtP5PhmnyKypXpLbM&locale=es |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -534,74 +454,40 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: !binary |- |
| - | T0sg |
| + | message: OK |
| headers: | |
| - | !binary "Q29udGVudC1UeXBl": |
| - | - !binary |- |
| - | YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA== |
| - | !binary "WC1VYS1Db21wYXRpYmxl": |
| - | - !binary |- |
| - | SUU9RWRnZQ== |
| - | !binary "RXRhZw==": |
| - | - !binary |- |
| - | IjVmNmY4ODg4MDcyYmM2YjI2YTYxZGY5YjQyN2UxZWIxIg== |
| - | !binary "Q2FjaGUtQ29udHJvbA==": |
| - | - !binary |- |
| - | bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU= |
| - | !binary "WC1SZXF1ZXN0LUlk": |
| - | - !binary |- |
| - | MjRjOWU2OThjOGJiZTQ5MmNlZjg3YjEzYWY3ODM2ZjA= |
| - | !binary "WC1SdW50aW1l": |
| - | - !binary |- |
| - | MC4wMTg2NjU= |
| - | !binary "U2VydmVy": |
| - | - !binary |- |
| - | V0VCcmljay8xLjMuMSAoUnVieS8xLjkuMy8yMDEzLTAyLTIyKQ== |
| - | !binary "RGF0ZQ==": |
| - | - !binary |- |
| - | VHVlLCAwNCBKdW4gMjAxMyAxMDoyMjozMiBHTVQ= |
| - | !binary "Q29udGVudC1MZW5ndGg=": |
| - | - !binary |- |
| - | NzU2 |
| - | !binary "Q29ubmVjdGlvbg==": |
| - | - !binary |- |
| - | S2VlcC1BbGl2ZQ== |
| - | !binary "U2V0LUNvb2tpZQ==": |
| - | - !binary |- |
| - | X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr |
| - | a2lKV0psWkdVeE5EZzBNR0poTURjNVpESTBNREUwTkRWbE1ERTNObVZtTW1N |
| - | NUJqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q |
| - | YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ |
| - | bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0 |
| - | Y1dGV05WbGlZazVDZWpNR093QlUtLTQxNzA0MzMyYjYwOTEzNjNhMTk2NmYw |
| - | YzY3ZTAyYTgxNTZmZTdhYjQ7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9 |
| - | LzsgSHR0cE9ubHk= |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:17 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| + | Content-Type: |
| + | - application/json; charset=utf-8 |
| + | X-Ua-Compatible: |
| + | - IE=Edge |
| + | Etag: |
| + | - '"df564c6fd92a1e7b3d311fc1183d251b"' |
| + | Cache-Control: |
| + | - max-age=0, private, must-revalidate |
| + | Set-Cookie: |
| + | - _locomotive_session=p-z-i3E95clgJIglGSO9y66eiyw; domain=.example.com; path=/; |
| + | HttpOnly |
| + | X-Request-Id: |
| + | - e6ee7287990b9599c362b0fcfcd0437b |
| + | X-Runtime: |
| + | - '0.052470' |
| body: | |
| - | encoding: ASCII-8BIT |
| - | string: !binary |- |
| - | eyJpZCI6IjUxYWRiZmIzMWU2NmNmYjNkMzAwMDAyNiIsIl9pZCI6IjUxYWRi |
| - | ZmIzMWU2NmNmYjNkMzAwMDAyNiIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0 |
| - | VDEwOjIxOjM5WiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIxOjM5 |
| - | WiIsInRpdGxlIjoiUHJvZHVjdHMiLCJzbHVnIjoicHJvZHVjdHMiLCJwYXJl |
| - | bnRfaWQiOiI1MWFkYmViZjFlNjZjZmFiZTUwMDAwMDciLCJwb3NpdGlvbiI6 |
| - | MSwicmVzcG9uc2VfdHlwZSI6InRleHQvaHRtbCIsImNhY2hlX3N0cmF0ZWd5 |
| - | Ijoibm9uZSIsInJlZGlyZWN0IjpmYWxzZSwicmVkaXJlY3RfdHlwZSI6MzAx |
| - | LCJsaXN0ZWQiOnRydWUsInB1Ymxpc2hlZCI6dHJ1ZSwidGVtcGxhdGl6ZWQi |
| - | OmZhbHNlLCJ0ZW1wbGF0aXplZF9mcm9tX3BhcmVudCI6ZmFsc2UsImZ1bGxw |
| - | YXRoIjoicHJvZHVjdHMiLCJsb2NhbGl6ZWRfZnVsbHBhdGhzIjp7ImVuIjoi |
| - | cHJvZHVjdHMiLCJlcyI6ImVzL3Byb2R1Y3RzIn0sImRlcHRoIjoxLCJ0cmFu |
| - | c2xhdGVkX2luIjpbImVuIiwiZXMiXSwicmF3X3RlbXBsYXRlIjoieyUgZXh0 |
| - | ZW5kcyBwYXJlbnQgJX0iLCJlc2NhcGVkX3Jhd190ZW1wbGF0ZSI6InslIGV4 |
| - | dGVuZHMgcGFyZW50ICV9IiwiZWRpdGFibGVfZWxlbWVudHMiOltdLCJzZW9f |
| - | dGl0bGUiOiJQcm9kdWN0b3MgU0VPIiwibWV0YV9rZXl3b3JkcyI6InBhbGFi |
| - | cmFzLCBjbGF2ZSwgcHJvZHVjdG9zIiwibWV0YV9kZXNjcmlwdGlvbiI6IkRl |
| - | c2NyaXBjacOzbiBtb2xvbmEgZGUgbG9zIHByb2R1Y3RvcyJ9 |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238712687f643884e000007","_id":"5238712687f643884e000007","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Products","slug":"products","parent_id":"5238710587f6431df7000007","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en","es"],"raw_template":"{% |
| + | extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Productos |
| + | SEO","meta_keywords":"palabras, clave, productos","meta_description":"Descripci\u00f3n |
| + | molona de los productos"}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:32 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:17 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/theme_assets.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/theme_assets.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -609,39 +495,37 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:17 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"d751713988987e9331980363e24189ce"' |
| + | - '"d751713988987e9331980363e24189ce"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=XdqVrog3Rbgk2OmJFaRYw-DcVmA; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 9b9ee5e0f9d8f88b5d20f27407c73e18 |
| + | - c4ac141a9bc254e03bb98bf4eb4414ba |
| X-Runtime: | |
| - | - '0.016996' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:32 GMT |
| - | Content-Length: |
| - | - '2' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTI3Y2IyNjdlYmU1OTcyNjkyNzg5MTMyZGRmOWZmNGQ5BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--6aa16ad710aa9b1dad9bc12b727572b0db821368; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.047978' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '[]' |
| + | encoding: UTF-8 |
| + | string: '[]' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:32 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:17 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/translations.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/translations.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -649,71 +533,53 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: !binary |- |
| - | T0sg |
| + | message: OK |
| headers: | |
| - | !binary "Q29udGVudC1UeXBl": |
| - | - !binary |- |
| - | YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA== |
| - | !binary "WC1VYS1Db21wYXRpYmxl": |
| - | - !binary |- |
| - | SUU9RWRnZQ== |
| - | !binary "RXRhZw==": |
| - | - !binary |- |
| - | ImExOGFjMzI3OWJmNDg1MzcyNmNmYmM3ZGNjMjBmOWNlIg== |
| - | !binary "Q2FjaGUtQ29udHJvbA==": |
| - | - !binary |- |
| - | bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU= |
| - | !binary "WC1SZXF1ZXN0LUlk": |
| - | - !binary |- |
| - | MTZlZWZiMjUyMjgzMmNhOWVkN2U3ZDFiYWFhYjNkNjQ= |
| - | !binary "WC1SdW50aW1l": |
| - | - !binary |- |
| - | MC4wMTk0MDM= |
| - | !binary "U2VydmVy": |
| - | - !binary |- |
| - | V0VCcmljay8xLjMuMSAoUnVieS8xLjkuMy8yMDEzLTAyLTIyKQ== |
| - | !binary "RGF0ZQ==": |
| - | - !binary |- |
| - | VHVlLCAwNCBKdW4gMjAxMyAxMDoyMjozMiBHTVQ= |
| - | !binary "Q29udGVudC1MZW5ndGg=": |
| - | - !binary |- |
| - | MjEz |
| - | !binary "Q29ubmVjdGlvbg==": |
| - | - !binary |- |
| - | S2VlcC1BbGl2ZQ== |
| - | !binary "U2V0LUNvb2tpZQ==": |
| - | - !binary |- |
| - | X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr |
| - | a2lKVE0yTTJWaE5HSmtaVGMxWTJOak1EaGxPV1U1T0RnMk0ySmxPREJoTURG |
| - | bUJqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q |
| - | YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ |
| - | bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0 |
| - | Y1dGV05WbGlZazVDZWpNR093QlUtLTJkZTYzMjcyMjA5MzVlZjg5ZTM3YTBk |
| - | MWU2NzQ2NjA3YjNjNjhiNmI7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9 |
| - | LzsgSHR0cE9ubHk= |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:17 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| + | Content-Type: |
| + | - application/json; charset=utf-8 |
| + | X-Ua-Compatible: |
| + | - IE=Edge |
| + | Etag: |
| + | - '"5c1b51393d2233a4df57efd63547d153"' |
| + | Cache-Control: |
| + | - max-age=0, private, must-revalidate |
| + | Set-Cookie: |
| + | - _locomotive_session=hl2S9ykpEvEVXdsdeRZidiQnTww; domain=.example.com; path=/; |
| + | HttpOnly |
| + | X-Request-Id: |
| + | - bb32086f3b95d4bf31ff3d7f90e44867 |
| + | X-Runtime: |
| + | - '0.097767' |
| body: | |
| - | encoding: ASCII-8BIT |
| - | string: !binary |- |
| - | W3siaWQiOiI1MWFkYmZiMzFlNjZjZjJiNWEwMDAwMjgiLCJfaWQiOiI1MWFk |
| - | YmZiMzFlNjZjZjJiNWEwMDAwMjgiLCJjcmVhdGVkX2F0IjoiMjAxMy0wNi0w |
| - | NFQxMDoyMTozOVoiLCJ1cGRhdGVkX2F0IjoiMjAxMy0wNi0wNFQxMDoyMToz |
| - | OVoiLCJrZXkiOiJoZWxsb193b3JsZCIsInZhbHVlcyI6eyJlbiI6IkhlbGxv |
| - | IHdvcmxkISIsImVzIjoiwqFIb2xhLCBNdW5kbyEifX1d |
| + | encoding: UTF-8 |
| + | string: '[{"id":"5238712587f643884e000005","_id":"5238712587f643884e000005","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","key":"hello_world","values":{"en":"Hello |
| + | world!","es":"\u00a1Hola, Mundo!"}}]' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:32 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:17 GMT |
| - request: | |
| method: post | |
| - | uri: http://sample.example.com:3000/locomotive/api/tokens.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/tokens.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| + | encoding: UTF-8 |
| string: email=admin%40locomotivecms.com&password=locomotive | |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:28 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Location: | |
| - http://sample.example.com:3000/locomotive/ | |
| Content-Type: | |
| @@ | @@ -721,27 +587,19 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"76484a9468c21a481d85ab96230ec0af"' |
| + | - '"d1a90b45e031fb4f87663184c2a67dbd"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=bkPZH81b3iow644MLCcIS1qf5r0; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 69efc4c8976eb2334844b2763ad2707a |
| + | - 5d8899400ec6f3e4ebe69c8e264fb52b |
| X-Runtime: | |
| - | - '0.015712' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:38 GMT |
| - | Content-Length: |
| - | - '32' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWE2ODZiZDkzNDcwNDk3N2FmMTBjMjg3YmJiMzc4OTg0BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewA6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOgtub3RpY2VJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjSGFzaCB3YXMgc3VjY2Vzc2Z1bGx5IGNyZWF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--a955b305715412848db604ddab0c7a001c8e01e4; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.040288' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"token":"pyXsXJLmwyKRYzwypTzR"}' |
| + | encoding: UTF-8 |
| + | string: '{"token":"iaWvtP5PhmnyKypXpLbM"}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:38 GMT |
| - | recorded_with: VCR 2.4.0 |
| + | recorded_at: Tue, 17 Sep 2013 15:12:28 GMT |
| + | recorded_with: VCR 2.5.0 |
spec/integration/cassettes/push.yml
+446
-492
| @@ | @@ -2,16 +2,22 @@ |
| http_interactions: | |
| - request: | |
| method: post | |
| - | uri: http://sample.example.com:3000/locomotive/api/tokens.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/tokens.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| + | encoding: UTF-8 |
| string: email=admin%40locomotivecms.com&password=locomotive | |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Location: | |
| - http://sample.example.com:3000/locomotive/ | |
| Content-Type: | |
| @@ | @@ -19,32 +25,24 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"76484a9468c21a481d85ab96230ec0af"' |
| + | - '"d1a90b45e031fb4f87663184c2a67dbd"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=fs_OVk1gY-Z4gywI8nuSyzxqi9k; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 04ca418ddce7ea3663ad1bbc0b2945cd |
| + | - d9aebd9735de14b3281c96755a8fbcdf |
| X-Runtime: | |
| - | - '0.015508' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:39 GMT |
| - | Content-Length: |
| - | - '32' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTg1ZDg5Yjg2MzI2MjZhNGFjZGQzNjc1MDJmNzI5YWM5BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewA6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOgtub3RpY2VJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjSGFzaCB3YXMgc3VjY2Vzc2Z1bGx5IGNyZWF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--fa9874696ed021122b3f0b0f18a89217aa6f28fa; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.033607' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"token":"pyXsXJLmwyKRYzwypTzR"}' |
| + | encoding: UTF-8 |
| + | string: '{"token":"iaWvtP5PhmnyKypXpLbM"}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/current_site.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/current_site.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -52,127 +50,121 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"61a593468e060f48c3feadff5d12f4ed"' |
| + | - '"44c3f51a8b65cd145a65bd507037a52f"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=c9X9XRkfZMxsJlLMKeKOikF9xiY; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - c599c47eba0f69c5f1c3a85b7e903c44 |
| + | - 8bbd1c22fff0613611ab463c29bcf6e3 |
| X-Runtime: | |
| - | - '0.015406' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:39 GMT |
| - | Content-Length: |
| - | - '546' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTIyYTJkYjY2NWUxMDQ0NjNiYzgzNDU1ODFmNDRjZjgyBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--7d7fc165714605a13c2ed0b04ddaf2065059acce; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.034084' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbebf1e66cfabe5000006","_id":"51adbebf1e66cfabe5000006","created_at":"2013-06-04T10:17:35Z","updated_at":"2013-06-04T10:21:39Z","name":"locomotive","locales":["en","es"],"subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"51adbebf1e66cfabe5000009","_id":"51adbebf1e66cfabe5000009","role":"admin","role_name":"Administrator","can_update":false,"grant_admin":true,"account_id":"51adbebf1e66cfabe5000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238710587f6431df7000006","_id":"5238710587f6431df7000006","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:33Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238710587f6431df7000009","_id":"5238710587f6431df7000009","role":"admin","role_name":"Administrator","can_update":false,"grant_admin":true,"account_id":"5238710587f6431df7000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: put | |
| - | uri: http://sample.example.com:3000/locomotive/api/sites/51adbebf1e66cfabe5000006.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/sites/5238710587f6431df7000006.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| - | string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=sample&site[domains][]=sample.example.com&locale=en |
| + | encoding: UTF-8 |
| + | string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=sample&site[domains][]=sample.example.com&site[timezone]=UTC&locale=en |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| X-Message: | |
| - | - ! '"Site%20was%20successfully%20updated."' |
| + | - '"Site%20was%20successfully%20updated."' |
| X-Message-Type: | |
| - notice | |
| Location: | |
| - | - http://sample.example.com:3000/locomotive/sites/51adbebf1e66cfabe5000006 |
| + | - http://sample.example.com:3000/locomotive/sites/5238710587f6431df7000006 |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"61a593468e060f48c3feadff5d12f4ed"' |
| + | - '"44c3f51a8b65cd145a65bd507037a52f"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=Cx2V5L0kuHEkwGXt7I1SLqA97dg; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 07678fa11e9ef11310daddcb3c5fa97e |
| + | - 83e85254e7ce985b1dc3ed4266b3fec2 |
| X-Runtime: | |
| - | - '0.019949' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:39 GMT |
| - | Content-Length: |
| - | - '546' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTgyODU4NTlhMDQyNjk1NjA3Mjg1YWU3ZjJhYThlNzRiBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjU2l0ZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--aec06b600f3820555943fb7eff9ac661db9db30d; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.042342' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbebf1e66cfabe5000006","_id":"51adbebf1e66cfabe5000006","created_at":"2013-06-04T10:17:35Z","updated_at":"2013-06-04T10:21:39Z","name":"locomotive","locales":["en","es"],"subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"51adbebf1e66cfabe5000009","_id":"51adbebf1e66cfabe5000009","role":"admin","role_name":"Administrator","can_update":false,"grant_admin":true,"account_id":"51adbebf1e66cfabe5000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238710587f6431df7000006","_id":"5238710587f6431df7000006","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:33Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238710587f6431df7000009","_id":"5238710587f6431df7000009","role":"admin","role_name":"Administrator","can_update":false,"grant_admin":true,"account_id":"5238710587f6431df7000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: put | |
| - | uri: http://sample.example.com:3000/locomotive/api/sites/51adbebf1e66cfabe5000006.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/sites/5238710587f6431df7000006.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| - | string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=sample&site[domains][]=sample.example.com&locale=es |
| + | encoding: UTF-8 |
| + | string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=sample&site[domains][]=sample.example.com&site[timezone]=UTC&locale=es |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Location: | |
| - | - http://sample.example.com:3000/locomotive/sites/51adbebf1e66cfabe5000006 |
| + | - http://sample.example.com:3000/locomotive/sites/5238710587f6431df7000006 |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"d9a13584b512412e95b8fe2f78cd0bae"' |
| + | - '"f3da36b3e0ddaffbc93f97aaae09ae52"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=DIIGKjnrz_Jb8mmsa1UA8K3q_7A; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - f7574d25ef37b7c4e644b45f94b5a69d |
| + | - e4f383a6a9619da9e675c7710be0e56f |
| X-Runtime: | |
| - | - '0.018924' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:39 GMT |
| - | Content-Length: |
| - | - '546' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTkyYzcyNjhiMDlkYmNhYWI3ZTA5NDM4YTVmMTA0ZDEyBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--ebe334034abf965517fae26b6957a6b4b02d8a10; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.033201' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbebf1e66cfabe5000006","_id":"51adbebf1e66cfabe5000006","created_at":"2013-06-04T10:17:35Z","updated_at":"2013-06-04T10:21:39Z","name":"locomotive","locales":["en","es"],"subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"51adbebf1e66cfabe5000009","_id":"51adbebf1e66cfabe5000009","role":"admin","role_name":"Administrador","can_update":false,"grant_admin":true,"account_id":"51adbebf1e66cfabe5000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238710587f6431df7000006","_id":"5238710587f6431df7000006","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:33Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"sample","domains":["sample.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238710587f6431df7000009","_id":"5238710587f6431df7000009","role":"admin","role_name":"Administrador","can_update":false,"grant_admin":true,"account_id":"5238710587f6431df7000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/snippets.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/snippets.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -180,39 +172,37 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"d751713988987e9331980363e24189ce"' |
| + | - '"d751713988987e9331980363e24189ce"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=cUQPBrl6XSD8IUzwVq_YGmsukTs; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - c8ff81f453c90767ca2a06a92dd755f9 |
| + | - c84820f0370f21235a3cea8b6ebf859a |
| X-Runtime: | |
| - | - '0.016968' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:39 GMT |
| - | Content-Length: |
| - | - '2' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWJiNGRlMmMxNTcxMTkxZGM4YjdiNGJlMGZiZmZkZTg1BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--ce964fec3a5ea73e645794a9b025b9963300966f; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.043700' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '[]' |
| + | encoding: UTF-8 |
| + | string: '[]' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/content_types.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/content_types.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -220,51 +210,55 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"c5dfc55543eaa60dddd30842bf91c11e"' |
| + | - '"80558e8d8878e660f5cfd6b06152de50"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=hxdOku9hSqQUYilRG9-NkW9XEH0; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - fa06dba1236b0f8960322aea6d6478b0 |
| + | - 6364cbf710cadec38b6f26305b5adf83 |
| X-Runtime: | |
| - | - '0.021543' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:39 GMT |
| - | Content-Length: |
| - | - '781' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTM3NjY2YTBhY2IzMGUwMWIxMWY0NWEyMDg2NTkwMDA1BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--7a3bcaddfce35ad8674f7a723c4eb0f9f7c4bda1; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.044222' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '[{"id":"51adbfb31e66cf8d8a000021","_id":"51adbfb31e66cf8d8a000021","created_at":"2013-06-04T10:21:39Z","updated_at":"2013-06-04T10:21:39Z","name":"Products","slug":"products","entries_custom_fields":[{"id":"51adbfb31e66cf8d8a000022","_id":"51adbfb31e66cf8d8a000022","name":"name","label":"name","type":"string","required":true,"localized":true,"unique":false,"position":0},{"id":"51adbfb31e66cf8d8a000023","_id":"51adbfb31e66cf8d8a000023","name":"available","label":"available","type":"boolean","required":false,"localized":false,"unique":false,"position":1}],"description":"My |
| + | encoding: UTF-8 |
| + | string: '[{"id":"5238712587f643884e000001","_id":"5238712587f643884e000001","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","name":"Products","slug":"products","entries_custom_fields":[{"id":"5238712587f643884e000002","_id":"5238712587f643884e000002","name":"name","label":"name","type":"string","required":true,"localized":true,"unique":false,"position":0},{"id":"5238712587f643884e000003","_id":"5238712587f643884e000003","name":"available","label":"available","type":"boolean","required":false,"localized":false,"unique":false,"position":1}],"description":"My |
| products collection","label_field_name":"name","order_by":"created_at","order_direction":"asc","order_by_field_name":"created_at","public_submission_enabled":false,"public_submission_account_emails":[]}]' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: put | |
| - | uri: http://sample.example.com:3000/locomotive/api/content_types/51adbfb31e66cf8d8a000021.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/content_types/5238712587f643884e000001.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| - | string: content_type[name]=Products&content_type[description]=My%20products%20collection&content_type[slug]=products&content_type[label_field_name]=name&content_type[order_by]=created_at&content_type[entries_custom_fields][][label]=name&content_type[entries_custom_fields][][name]=name&content_type[entries_custom_fields][][type]=string&content_type[entries_custom_fields][][position]=0&content_type[entries_custom_fields][][required]=true&content_type[entries_custom_fields][][localized]=true&content_type[entries_custom_fields][][_id]=51adbfb31e66cf8d8a000022&content_type[entries_custom_fields][][label]=available&content_type[entries_custom_fields][][name]=available&content_type[entries_custom_fields][][type]=boolean&content_type[entries_custom_fields][][position]=1&content_type[entries_custom_fields][][required]=false&content_type[entries_custom_fields][][localized]=false&content_type[entries_custom_fields][][_id]=51adbfb31e66cf8d8a000023 |
| + | encoding: UTF-8 |
| + | string: content_type[name]=Products&content_type[description]=My%20products%20collection&content_type[slug]=products&content_type[label_field_name]=name&content_type[order_by]=created_at&content_type[order_direction]=asc&content_type[entries_custom_fields][][label]=name&content_type[entries_custom_fields][][name]=name&content_type[entries_custom_fields][][type]=string&content_type[entries_custom_fields][][position]=0&content_type[entries_custom_fields][][required]=true&content_type[entries_custom_fields][][unique]=false&content_type[entries_custom_fields][][localized]=true&content_type[entries_custom_fields][][_id]=5238712587f643884e000002&content_type[entries_custom_fields][][label]=available&content_type[entries_custom_fields][][name]=available&content_type[entries_custom_fields][][type]=boolean&content_type[entries_custom_fields][][position]=1&content_type[entries_custom_fields][][required]=false&content_type[entries_custom_fields][][unique]=false&content_type[entries_custom_fields][][localized]=false&content_type[entries_custom_fields][][_id]=5238712587f643884e000003 |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| X-Message: | |
| - | - ! '"Content%20type%20was%20successfully%20updated."' |
| + | - '"Content%20type%20was%20successfully%20updated."' |
| X-Message-Type: | |
| - notice | |
| Location: | |
| @@ | @@ -274,33 +268,25 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"89bdda4fe1626cd895b4982c0e3e430f"' |
| + | - '"f42f53cd9530a868386f8ccd7f24139f"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=EBdnidWHznKcsBlsV0UrN0tk18U; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 8e91d8616df4f9288f6778206b9f4764 |
| + | - a41721005f01fc520cf7f444c2168468 |
| X-Runtime: | |
| - | - '0.037344' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:39 GMT |
| - | Content-Length: |
| - | - '779' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTE2NWRlODg5MjU3MjVjZTgxODg5ODU1ODA3OGRiZDIyBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIrQ29udGVudCB0eXBlIHdhcyBzdWNjZXNzZnVsbHkgdXBkYXRlZC4HOwBUOg9AaHRtbF9zYWZlVDoJQG5vdzA%3D--cc6b23e81163bbf30f4ba578ab470cb930f957e4; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.061994' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbfb31e66cf8d8a000021","_id":"51adbfb31e66cf8d8a000021","created_at":"2013-06-04T10:21:39Z","updated_at":"2013-06-04T10:21:39Z","name":"Products","slug":"products","entries_custom_fields":[{"id":"51adbfb31e66cf8d8a000022","_id":"51adbfb31e66cf8d8a000022","name":"name","label":"name","type":"string","required":true,"localized":true,"unique":false,"position":0},{"id":"51adbfb31e66cf8d8a000023","_id":"51adbfb31e66cf8d8a000023","name":"available","label":"available","type":"boolean","required":false,"localized":false,"unique":false,"position":1}],"description":"My |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238712587f643884e000001","_id":"5238712587f643884e000001","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","name":"Products","slug":"products","entries_custom_fields":[{"id":"5238712587f643884e000002","_id":"5238712587f643884e000002","name":"name","label":"name","type":"string","required":true,"localized":true,"unique":false,"position":0},{"id":"5238712587f643884e000003","_id":"5238712587f643884e000003","name":"available","label":"available","type":"boolean","required":false,"localized":false,"unique":false,"position":1}],"description":"My |
| products collection","label_field_name":"name","order_by":"created_at","order_direction":"asc","order_by_field_name":"created_at","public_submission_enabled":false,"public_submission_account_emails":[]}' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/pages.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/translations.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -308,64 +294,152 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"6f9c2002c4936d44d8051654669cae00"' |
| + | - '"5c1b51393d2233a4df57efd63547d153"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=98w4xa3hxpDA5QJ1hqg8LpXhAxA; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 25150dc928415d0550a4adaabe4e0150 |
| + | - 4db2fadb99be65ba3a142ddf93a95247 |
| X-Runtime: | |
| - | - '0.024878' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| + | - '0.032204' |
| + | body: |
| + | encoding: UTF-8 |
| + | string: '[{"id":"5238712587f643884e000005","_id":"5238712587f643884e000005","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","key":"hello_world","values":{"en":"Hello |
| + | world!","es":"\u00a1Hola, Mundo!"}}]' |
| + | http_version: |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| + | - request: |
| + | method: put |
| + | uri: http://sample.example.com:3000/locomotive/api/translations/5238712587f643884e000005.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| + | body: |
| + | encoding: UTF-8 |
| + | string: translation[key]=hello_world&translation[values][en]=Hello%20world!&translation[values][es]=%C2%A1Hola%2C%20Mundo! |
| + | headers: {} |
| + | response: |
| + | status: |
| + | code: 200 |
| + | message: OK |
| + | headers: |
| Date: | |
| - | - Tue, 04 Jun 2013 10:22:39 GMT |
| - | Content-Length: |
| - | - '3549' |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| Connection: | |
| - | - Keep-Alive |
| + | - close |
| + | X-Message: |
| + | - '"Translation%20was%20successfully%20updated."' |
| + | X-Message-Type: |
| + | - notice |
| + | Location: |
| + | - /locomotive/api/translations/5238712587f643884e000005 |
| + | Content-Type: |
| + | - application/json; charset=utf-8 |
| + | X-Ua-Compatible: |
| + | - IE=Edge |
| + | Etag: |
| + | - '"6e258b019216e6110fa565858cd7caed"' |
| + | Cache-Control: |
| + | - max-age=0, private, must-revalidate |
| Set-Cookie: | |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWIzYTc4OTk2Njc2Y2ZiN2RjZDcxMjNlM2RlMmU5OWQyBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--5865468bc6b7a3b303b2dfdd0e47790d53a53881; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - _locomotive_session=cjpnyxUPBgDS74JFiVY3b1xspNU; domain=.example.com; path=/; |
| + | HttpOnly |
| + | X-Request-Id: |
| + | - 0a37b1f12e447e0215ef983e9443930f |
| + | X-Runtime: |
| + | - '0.045002' |
| + | body: |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238712587f643884e000005","_id":"5238712587f643884e000005","created_at":"2013-09-17T15:11:33Z","updated_at":"2013-09-17T15:11:33Z","key":"hello_world","values":{"en":"Hello |
| + | world!","es":"\u00a1Hola, Mundo!"}}' |
| + | http_version: |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| + | - request: |
| + | method: get |
| + | uri: http://sample.example.com:3000/locomotive/api/pages.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| - | string: ! '[{"id":"51adbebf1e66cfabe5000007","_id":"51adbebf1e66cfabe5000007","created_at":"2013-06-04T10:17:35Z","updated_at":"2013-06-04T10:21:39Z","title":"Home |
| + | string: '' |
| + | headers: {} |
| + | response: |
| + | status: |
| + | code: 200 |
| + | message: OK |
| + | headers: |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| + | Content-Type: |
| + | - application/json; charset=utf-8 |
| + | X-Ua-Compatible: |
| + | - IE=Edge |
| + | Etag: |
| + | - '"a19c8f4823366aaef7a28e95582c9b2d"' |
| + | Cache-Control: |
| + | - max-age=0, private, must-revalidate |
| + | Set-Cookie: |
| + | - _locomotive_session=PXfqBBIYd5_C0wvN1XiAFcJyJnA; domain=.example.com; path=/; |
| + | HttpOnly |
| + | X-Request-Id: |
| + | - 9b7d0d6fadd5361f5a9b1ca5a499e6b2 |
| + | X-Runtime: |
| + | - '0.043180' |
| + | body: |
| + | encoding: UTF-8 |
| + | string: '[{"id":"5238710587f6431df7000007","_id":"5238710587f6431df7000007","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Home |
| page","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"{% | |
| block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","escaped_raw_template":"{% | |
| - | block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","editable_elements":[]},{"id":"51adbfb31e66cf033d000025","_id":"51adbfb31e66cf033d000025","created_at":"2013-06-04T10:21:39Z","updated_at":"2013-06-04T10:21:39Z","title":"translated","slug":"translated","parent_id":"51adbebf1e66cfabe5000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"translated","localized_fullpaths":{"en":"translated","es":"es/translated"},"depth":1,"translated_in":["en"],"raw_template":"{{ |
| + | block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","editable_elements":[]},{"id":"5238712687f643884e000006","_id":"5238712687f643884e000006","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"translated","slug":"translated","parent_id":"5238710587f6431df7000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"translated","localized_fullpaths":{"en":"translated","es":"es/translated"},"depth":1,"translated_in":["en"],"raw_template":"{{ |
| ''hello_world'' | translate}}","escaped_raw_template":"{{ 'hello_world' | |
| - | | translate}}","editable_elements":[]},{"id":"51adbfb31e66cf095d000027","_id":"51adbfb31e66cf095d000027","created_at":"2013-06-04T10:21:39Z","updated_at":"2013-06-04T10:21:39Z","title":"Latest","slug":"latest","parent_id":"51adbfb31e66cfb3d3000026","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products/latest","localized_fullpaths":{"en":"products/latest","es":"es/products/latest"},"depth":2,"translated_in":["en"],"raw_template":"{% |
| + | | translate}}","editable_elements":[]},{"id":"5238712687f643884e000008","_id":"5238712687f643884e000008","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Latest","slug":"latest","parent_id":"5238712687f643884e000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products/latest","localized_fullpaths":{"en":"products/latest","es":"es/products/latest"},"depth":2,"translated_in":["en"],"raw_template":"{% |
| extends parent %}\r\n{% block content %}\r\n The name of the latest product | |
| is: {{ contents.products.last.name }}\r\n{% endblock %}","escaped_raw_template":"{% | |
| extends parent %}\r\n{% block content %}\r\n The name of the latest product | |
| - | is: {{ contents.products.last.name }}\r\n{% endblock %}","editable_elements":[]},{"id":"51adbebf1e66cfabe5000008","_id":"51adbebf1e66cfabe5000008","created_at":"2013-06-04T10:17:35Z","updated_at":"2013-06-04T10:21:39Z","title":"Page |
| + | is: {{ contents.products.last.name }}\r\n{% endblock %}","editable_elements":[]},{"id":"5238710587f6431df7000008","_id":"5238710587f6431df7000008","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Page |
| not found","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content | |
| - | of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]},{"id":"51adbfb31e66cfb3d3000026","_id":"51adbfb31e66cfb3d3000026","created_at":"2013-06-04T10:21:39Z","updated_at":"2013-06-04T10:21:39Z","title":"Products","slug":"products","parent_id":"51adbebf1e66cfabe5000007","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en","es"],"raw_template":"{% |
| + | of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]},{"id":"5238712687f643884e000007","_id":"5238712687f643884e000007","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Products","slug":"products","parent_id":"5238710587f6431df7000007","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en","es"],"raw_template":"{% |
| extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Search | |
| friendly products","meta_keywords":"fancy, products, keywords","meta_description":"Fancy | |
| products description"}]' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: put | |
| - | uri: http://sample.example.com:3000/locomotive/api/pages/51adbebf1e66cfabe5000007.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000007.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| + | encoding: UTF-8 |
| string: page[title]=Home%20page&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[raw_template]=%7B%25%20block%20content%20%25%7D%0D%0A%20%20New%20content%20of%20the%20home%20page%0D%0A%7B%25%20endblock%20%25%7D%0D%0A%0D%0A&locale=en | |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| X-Message: | |
| - | - ! '"Page%20was%20successfully%20updated."' |
| + | - '"Page%20was%20successfully%20updated."' |
| X-Message-Type: | |
| - notice | |
| Location: | |
| @@ | @@ -375,46 +449,44 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"8ec8d40c252a4cfc02ce7726e6a23e94"' |
| + | - '"6ffba3690379b6da746fd27d92f7248a"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=duU5dLDj_8QFxXTFIEQ14_NmjtM; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 91d5952fafb1e3fc2fa02636f02a1250 |
| + | - 4bf8bbc4161c73ff8cbb68fa7e839151 |
| X-Runtime: | |
| - | - '0.022852' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:39 GMT |
| - | Content-Length: |
| - | - '682' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTRlMWI1ZTA2Y2Q5MWViMjc1ODY1MGYxZGI3NGMzZmYzBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--f90af9bd97670a000f7b2d684272ef63d46c7faa; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.047836' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbebf1e66cfabe5000007","_id":"51adbebf1e66cfabe5000007","created_at":"2013-06-04T10:17:35Z","updated_at":"2013-06-04T10:21:39Z","title":"Home |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238710587f6431df7000007","_id":"5238710587f6431df7000007","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Home |
| page","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"{% | |
| block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","escaped_raw_template":"{% | |
| block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","editable_elements":[]}' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: put | |
| - | uri: http://sample.example.com:3000/locomotive/api/pages/51adbebf1e66cfabe5000008.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000008.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| + | encoding: UTF-8 |
| string: page[title]=Page%20not%20found&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[raw_template]=Content%20of%20the%20404%20page&locale=en | |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| X-Message: | |
| - | - ! '"Page%20was%20successfully%20updated."' |
| + | - '"Page%20was%20successfully%20updated."' |
| X-Message-Type: | |
| - notice | |
| Location: | |
| @@ | @@ -424,45 +496,43 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"75e82fa8700e82c1e79e7288b9212c55"' |
| + | - '"51be0ea69464ebbebabffdc75ca040e6"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=4McSFfrelnpxYjmqfxDPY9qgTww; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 4086e3f20933d43b645d3e5c9578de0a |
| + | - 8e53fa6a4871e216fcbb4638cf018d16 |
| X-Runtime: | |
| - | - '0.022753' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:39 GMT |
| - | Content-Length: |
| - | - '578' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTUzZmU3MDA4Mjg5MzE0MjI3NzhjNmIwNjFkY2FhMzI4BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--607ea1d0cdbc817c2215cfd676519a076a8d2639; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.047939' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbebf1e66cfabe5000008","_id":"51adbebf1e66cfabe5000008","created_at":"2013-06-04T10:17:35Z","updated_at":"2013-06-04T10:21:39Z","title":"Page |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238710587f6431df7000008","_id":"5238710587f6431df7000008","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Page |
| not found","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content | |
| of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: put | |
| - | uri: http://sample.example.com:3000/locomotive/api/pages/51adbfb31e66cf033d000025.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000006.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| - | string: page[title]=translated&page[slug]=translated&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[parent_id]=51adbebf1e66cfabe5000007&page[raw_template]=%7B%7B%20'hello_world'%20%7C%20translate%7D%7D&locale=en |
| + | encoding: UTF-8 |
| + | string: page[title]=translated&page[slug]=translated&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[parent_id]=5238710587f6431df7000007&page[raw_template]=%7B%7B%20'hello_world'%20%7C%20translate%7D%7D&locale=en |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| X-Message: | |
| - | - ! '"Page%20was%20successfully%20updated."' |
| + | - '"Page%20was%20successfully%20updated."' |
| X-Message-Type: | |
| - notice | |
| Location: | |
| @@ | @@ -472,45 +542,43 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"f40e2854078b73ef4fc10f8202792536"' |
| + | - '"a202b02adc5632297cf5e8f3bf2409ae"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=kit5yHtwhnibsHnc_gTKkA2t6yc; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 3861e1680ada5e636833be2a0e58be0e |
| + | - 0c1477d58c67745cf298b0cc8d620a78 |
| X-Runtime: | |
| - | - '0.025461' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:39 GMT |
| - | Content-Length: |
| - | - '660' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWZmY2QwMmFlYWMwYmNiODczZTc1M2U4NWUzZTE1MzBkBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--26cb555291d0d70d5daf361c516ba3e9e3a3320a; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.044674' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbfb31e66cf033d000025","_id":"51adbfb31e66cf033d000025","created_at":"2013-06-04T10:21:39Z","updated_at":"2013-06-04T10:21:39Z","title":"translated","slug":"translated","parent_id":"51adbebf1e66cfabe5000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"translated","localized_fullpaths":{"en":"translated","es":"es/translated"},"depth":1,"translated_in":["en"],"raw_template":"{{ |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238712687f643884e000006","_id":"5238712687f643884e000006","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"translated","slug":"translated","parent_id":"5238710587f6431df7000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"translated","localized_fullpaths":{"en":"translated","es":"es/translated"},"depth":1,"translated_in":["en"],"raw_template":"{{ |
| ''hello_world'' | translate}}","escaped_raw_template":"{{ 'hello_world' | |
| | translate}}","editable_elements":[]}' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: put | |
| - | uri: http://sample.example.com:3000/locomotive/api/pages/51adbfb31e66cfb3d3000026.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000007.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| - | string: page[title]=Products&page[slug]=products&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[seo_title]=Search%20friendly%20products&page[meta_keywords]=fancy%2C%20products%2C%20keywords&page[meta_description]=Fancy%20products%20description&page[parent_id]=51adbebf1e66cfabe5000007&page[raw_template]=%7B%25%20extends%20parent%20%25%7D&locale=en |
| + | encoding: UTF-8 |
| + | string: page[title]=Products&page[slug]=products&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[seo_title]=Search%20friendly%20products&page[meta_keywords]=fancy%2C%20products%2C%20keywords&page[meta_description]=Fancy%20products%20description&page[parent_id]=5238710587f6431df7000007&page[raw_template]=%7B%25%20extends%20parent%20%25%7D&locale=en |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| X-Message: | |
| - | - ! '"Page%20was%20successfully%20updated."' |
| + | - '"Page%20was%20successfully%20updated."' |
| X-Message-Type: | |
| - notice | |
| Location: | |
| @@ | @@ -520,46 +588,44 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"d15a81b0730f313397e38e645e8ad877"' |
| + | - '"8f39ff72128b0d2f1362df309b2a067c"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=ky2khm8wBrdzKCUesWW3xuerRn4; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 1c620ccf395060cc691f4352da4e8c7e |
| + | - 33d483adaf6bb546ba2c74c65948e216 |
| X-Runtime: | |
| - | - '0.257074' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:39 GMT |
| - | Content-Length: |
| - | - '756' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTI2NTliZDA1OGQxOGU3NmY2N2EwMjNkODQ5ZDllZWMyBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--bcb5ecc9bfe84d65e0caf42edde828d07923ac1d; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.050862' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbfb31e66cfb3d3000026","_id":"51adbfb31e66cfb3d3000026","created_at":"2013-06-04T10:21:39Z","updated_at":"2013-06-04T10:21:39Z","title":"Products","slug":"products","parent_id":"51adbebf1e66cfabe5000007","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en","es"],"raw_template":"{% |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238712687f643884e000007","_id":"5238712687f643884e000007","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Products","slug":"products","parent_id":"5238710587f6431df7000007","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en","es"],"raw_template":"{% |
| extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Search | |
| friendly products","meta_keywords":"fancy, products, keywords","meta_description":"Fancy | |
| products description"}' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: put | |
| - | uri: http://sample.example.com:3000/locomotive/api/pages/51adbfb31e66cf095d000027.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000008.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| - | string: page[title]=Latest&page[slug]=latest&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[parent_id]=51adbfb31e66cfb3d3000026&page[raw_template]=%7B%25%20extends%20parent%20%25%7D%0D%0A%7B%25%20block%20content%20%25%7D%0D%0A%20%20The%20name%20of%20the%20latest%20product%20is%3A%20%7B%7B%20contents.products.last.name%20%7D%7D%0D%0A%7B%25%20endblock%20%25%7D&locale=en |
| + | encoding: UTF-8 |
| + | string: page[title]=Latest&page[slug]=latest&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[parent_id]=5238712687f643884e000007&page[raw_template]=%7B%25%20extends%20parent%20%25%7D%0D%0A%7B%25%20block%20content%20%25%7D%0D%0A%20%20The%20name%20of%20the%20latest%20product%20is%3A%20%7B%7B%20contents.products.last.name%20%7D%7D%0D%0A%7B%25%20endblock%20%25%7D&locale=en |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| X-Message: | |
| - | - ! '"Page%20was%20successfully%20updated."' |
| + | - '"Page%20was%20successfully%20updated."' |
| X-Message-Type: | |
| - notice | |
| Location: | |
| @@ | @@ -569,266 +635,156 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"5cd5d114c52de310902902384eaf2b19"' |
| + | - '"915df796067c2230e0a66e120eb4b6d3"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=j1Bx5Qt4s30UKEBKQGxxowJJXjU; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - a5ffe31dee4ab74f5896ddefcc59542b |
| + | - 1573bafc95c15798ae2c1a5ea62da865 |
| X-Runtime: | |
| - | - '0.026529' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:39 GMT |
| - | Content-Length: |
| - | - '867' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTE1ZDVlMjhkMDM2MDRkODNmNjlkNDQ5OWFiYmZkNmQ3BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--d8e1528ff7ce3ccdc949bc2980a3af00880e9dd7; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.043120' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbfb31e66cf095d000027","_id":"51adbfb31e66cf095d000027","created_at":"2013-06-04T10:21:39Z","updated_at":"2013-06-04T10:21:39Z","title":"Latest","slug":"latest","parent_id":"51adbfb31e66cfb3d3000026","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products/latest","localized_fullpaths":{"en":"products/latest","es":"es/products/latest"},"depth":2,"translated_in":["en"],"raw_template":"{% |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238712687f643884e000008","_id":"5238712687f643884e000008","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Latest","slug":"latest","parent_id":"5238712687f643884e000007","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products/latest","localized_fullpaths":{"en":"products/latest","es":"es/products/latest"},"depth":2,"translated_in":["en"],"raw_template":"{% |
| extends parent %}\r\n{% block content %}\r\n The name of the latest product | |
| is: {{ contents.products.last.name }}\r\n{% endblock %}","escaped_raw_template":"{% | |
| extends parent %}\r\n{% block content %}\r\n The name of the latest product | |
| is: {{ contents.products.last.name }}\r\n{% endblock %}","editable_elements":[]}' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: put | |
| - | uri: http://sample.example.com:3000/locomotive/api/pages/51adbebf1e66cfabe5000007.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000007.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| + | encoding: UTF-8 |
| string: page[title]=P%C3%A1gina%20de%20inicio&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[raw_template]=New%20content%20of%20the%20home%20page%0D%0A&locale=es | |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: !binary |- |
| - | T0sg |
| + | message: OK |
| headers: | |
| - | !binary "TG9jYXRpb24=": |
| - | - !binary |- |
| - | aHR0cDovL3NhbXBsZS5leGFtcGxlLmNvbTozMDAwL2xvY29tb3RpdmUvYXBp |
| - | L3BhZ2Vz |
| - | !binary "Q29udGVudC1UeXBl": |
| - | - !binary |- |
| - | YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA== |
| - | !binary "WC1VYS1Db21wYXRpYmxl": |
| - | - !binary |- |
| - | SUU9RWRnZQ== |
| - | !binary "RXRhZw==": |
| - | - !binary |- |
| - | IjcyN2VhNDRjYWI0MWEwOTNjOTdhNTQzYThlYWVmYTkyIg== |
| - | !binary "Q2FjaGUtQ29udHJvbA==": |
| - | - !binary |- |
| - | bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU= |
| - | !binary "WC1SZXF1ZXN0LUlk": |
| - | - !binary |- |
| - | MDZiZGU1ZDU5NjJhMzY4ZTU0ZGYwZjM1MTQxN2MyNWI= |
| - | !binary "WC1SdW50aW1l": |
| - | - !binary |- |
| - | MC4wMjMwNzA= |
| - | !binary "U2VydmVy": |
| - | - !binary |- |
| - | V0VCcmljay8xLjMuMSAoUnVieS8xLjkuMy8yMDEzLTAyLTIyKQ== |
| - | !binary "RGF0ZQ==": |
| - | - !binary |- |
| - | VHVlLCAwNCBKdW4gMjAxMyAxMDoyMjozOSBHTVQ= |
| - | !binary "Q29udGVudC1MZW5ndGg=": |
| - | - !binary |- |
| - | NTk2 |
| - | !binary "Q29ubmVjdGlvbg==": |
| - | - !binary |- |
| - | S2VlcC1BbGl2ZQ== |
| - | !binary "U2V0LUNvb2tpZQ==": |
| - | - !binary |- |
| - | X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr |
| - | a2lKVFExTW1Vek1tTTVNVFpoTkdJM1pESTBNVGRqTkRZek1UTTVNVEF3TVRC |
| - | a0Jqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q |
| - | YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ |
| - | bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0 |
| - | Y1dGV05WbGlZazVDZWpNR093QlUtLWJhYjhmMWQ1YzkyZDM5N2Y5ZjFhMjE5 |
| - | MGYzZWI4ZGM0MDMzNWUxNGM7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9 |
| - | LzsgSHR0cE9ubHk= |
| - | body: |
| - | encoding: ASCII-8BIT |
| - | string: !binary |- |
| - | eyJpZCI6IjUxYWRiZWJmMWU2NmNmYWJlNTAwMDAwNyIsIl9pZCI6IjUxYWRi |
| - | ZWJmMWU2NmNmYWJlNTAwMDAwNyIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0 |
| - | VDEwOjE3OjM1WiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIxOjM5 |
| - | WiIsInRpdGxlIjoiUMOhZ2luYSBkZSBpbmljaW8iLCJzbHVnIjoiaW5kZXgi |
| - | LCJwb3NpdGlvbiI6MCwicmVzcG9uc2VfdHlwZSI6InRleHQvaHRtbCIsImNh |
| - | Y2hlX3N0cmF0ZWd5Ijoibm9uZSIsInJlZGlyZWN0IjpmYWxzZSwicmVkaXJl |
| - | Y3RfdHlwZSI6MzAxLCJsaXN0ZWQiOnRydWUsInB1Ymxpc2hlZCI6dHJ1ZSwi |
| - | dGVtcGxhdGl6ZWQiOmZhbHNlLCJ0ZW1wbGF0aXplZF9mcm9tX3BhcmVudCI6 |
| - | ZmFsc2UsImZ1bGxwYXRoIjoiaW5kZXgiLCJsb2NhbGl6ZWRfZnVsbHBhdGhz |
| - | Ijp7ImVuIjoiIiwiZXMiOiJlcyJ9LCJkZXB0aCI6MCwidHJhbnNsYXRlZF9p |
| - | biI6WyJlbiIsImVzIl0sInJhd190ZW1wbGF0ZSI6Ik5ldyBjb250ZW50IG9m |
| - | IHRoZSBob21lIHBhZ2VcclxuIiwiZXNjYXBlZF9yYXdfdGVtcGxhdGUiOiJO |
| - | ZXcgY29udGVudCBvZiB0aGUgaG9tZSBwYWdlXHJcbiIsImVkaXRhYmxlX2Vs |
| - | ZW1lbnRzIjpbXX0= |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| + | Location: |
| + | - http://sample.example.com:3000/locomotive/api/pages |
| + | Content-Type: |
| + | - application/json; charset=utf-8 |
| + | X-Ua-Compatible: |
| + | - IE=Edge |
| + | Etag: |
| + | - '"6499def2ece0125f6b4cebb93d09abc9"' |
| + | Cache-Control: |
| + | - max-age=0, private, must-revalidate |
| + | Set-Cookie: |
| + | - _locomotive_session=j2m44mhqVbbeQagbxBf28-iDnUQ; domain=.example.com; path=/; |
| + | HttpOnly |
| + | X-Request-Id: |
| + | - d51d42bbfe8dedee95f1d7b180e13bb0 |
| + | X-Runtime: |
| + | - '0.057261' |
| + | body: |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238710587f6431df7000007","_id":"5238710587f6431df7000007","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"P\u00e1gina |
| + | de inicio","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"New |
| + | content of the home page\r\n","escaped_raw_template":"New content of the home |
| + | page\r\n","editable_elements":[]}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: put | |
| - | uri: http://sample.example.com:3000/locomotive/api/pages/51adbebf1e66cfabe5000008.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000008.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| + | encoding: UTF-8 |
| string: page[title]=P%C3%A1gina%20no%20encontrada&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[raw_template]=Content%20of%20the%20404%20page&locale=es | |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: !binary |- |
| - | T0sg |
| + | message: OK |
| headers: | |
| - | !binary "TG9jYXRpb24=": |
| - | - !binary |- |
| - | aHR0cDovL3NhbXBsZS5leGFtcGxlLmNvbTozMDAwL2xvY29tb3RpdmUvYXBp |
| - | L3BhZ2Vz |
| - | !binary "Q29udGVudC1UeXBl": |
| - | - !binary |- |
| - | YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA== |
| - | !binary "WC1VYS1Db21wYXRpYmxl": |
| - | - !binary |- |
| - | SUU9RWRnZQ== |
| - | !binary "RXRhZw==": |
| - | - !binary |- |
| - | Ijk2YTg4MzcwMWQ3N2UwMDU5OWQ1NjcwYTYzYmJkNjUzIg== |
| - | !binary "Q2FjaGUtQ29udHJvbA==": |
| - | - !binary |- |
| - | bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU= |
| - | !binary "WC1SZXF1ZXN0LUlk": |
| - | - !binary |- |
| - | MzA5ODY3OTlkOTYzNWE4OTdlYWVmZWExNDUwNWYyYjg= |
| - | !binary "WC1SdW50aW1l": |
| - | - !binary |- |
| - | MC4wODI5MDQ= |
| - | !binary "U2VydmVy": |
| - | - !binary |- |
| - | V0VCcmljay8xLjMuMSAoUnVieS8xLjkuMy8yMDEzLTAyLTIyKQ== |
| - | !binary "RGF0ZQ==": |
| - | - !binary |- |
| - | VHVlLCAwNCBKdW4gMjAxMyAxMDoyMjozOSBHTVQ= |
| - | !binary "Q29udGVudC1MZW5ndGg=": |
| - | - !binary |- |
| - | NTg1 |
| - | !binary "Q29ubmVjdGlvbg==": |
| - | - !binary |- |
| - | S2VlcC1BbGl2ZQ== |
| - | !binary "U2V0LUNvb2tpZQ==": |
| - | - !binary |- |
| - | X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr |
| - | a2lKVE13TW1NM09XRm1ZelZtWkdRelltWmtOVE0xWVRjNVlXWm1abUZtTVdV |
| - | d0Jqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q |
| - | YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ |
| - | bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0 |
| - | Y1dGV05WbGlZazVDZWpNR093QlUtLWUzM2ZhMDM5NDA0NDlmMzA0OWVkZmI2 |
| - | YzEyZjI5YmU5MDU1Mjg5NTY7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9 |
| - | LzsgSHR0cE9ubHk= |
| - | body: |
| - | encoding: ASCII-8BIT |
| - | string: !binary |- |
| - | eyJpZCI6IjUxYWRiZWJmMWU2NmNmYWJlNTAwMDAwOCIsIl9pZCI6IjUxYWRi |
| - | ZWJmMWU2NmNmYWJlNTAwMDAwOCIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0 |
| - | VDEwOjE3OjM1WiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIxOjM5 |
| - | WiIsInRpdGxlIjoiUMOhZ2luYSBubyBlbmNvbnRyYWRhIiwic2x1ZyI6IjQw |
| - | NCIsInBvc2l0aW9uIjoxLCJyZXNwb25zZV90eXBlIjoidGV4dC9odG1sIiwi |
| - | Y2FjaGVfc3RyYXRlZ3kiOiJub25lIiwicmVkaXJlY3QiOmZhbHNlLCJyZWRp |
| - | cmVjdF90eXBlIjozMDEsImxpc3RlZCI6dHJ1ZSwicHVibGlzaGVkIjp0cnVl |
| - | LCJ0ZW1wbGF0aXplZCI6ZmFsc2UsInRlbXBsYXRpemVkX2Zyb21fcGFyZW50 |
| - | IjpmYWxzZSwiZnVsbHBhdGgiOiI0MDQiLCJsb2NhbGl6ZWRfZnVsbHBhdGhz |
| - | Ijp7ImVuIjoiNDA0IiwiZXMiOiJlcy80MDQifSwiZGVwdGgiOjAsInRyYW5z |
| - | bGF0ZWRfaW4iOlsiZW4iLCJlcyJdLCJyYXdfdGVtcGxhdGUiOiJDb250ZW50 |
| - | IG9mIHRoZSA0MDQgcGFnZSIsImVzY2FwZWRfcmF3X3RlbXBsYXRlIjoiQ29u |
| - | dGVudCBvZiB0aGUgNDA0IHBhZ2UiLCJlZGl0YWJsZV9lbGVtZW50cyI6W119 |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| + | Location: |
| + | - http://sample.example.com:3000/locomotive/api/pages |
| + | Content-Type: |
| + | - application/json; charset=utf-8 |
| + | X-Ua-Compatible: |
| + | - IE=Edge |
| + | Etag: |
| + | - '"d04724071150d907283a4aea3a16f368"' |
| + | Cache-Control: |
| + | - max-age=0, private, must-revalidate |
| + | Set-Cookie: |
| + | - _locomotive_session=140LzM_9gbzuZH4b73fpn3Hf9ls; domain=.example.com; path=/; |
| + | HttpOnly |
| + | X-Request-Id: |
| + | - 8efc1ee1426a05eb1c2af10d07ae87a9 |
| + | X-Runtime: |
| + | - '0.041373' |
| + | body: |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238710587f6431df7000008","_id":"5238710587f6431df7000008","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"P\u00e1gina |
| + | no encontrada","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content |
| + | of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: put | |
| - | uri: http://sample.example.com:3000/locomotive/api/pages/51adbfb31e66cfb3d3000026.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000007.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| - | string: page[title]=Products&page[slug]=products&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[seo_title]=Productos%20SEO&page[meta_keywords]=palabras%2C%20clave%2C%20productos&page[meta_description]=Descripci%C3%B3n%20molona%20de%20los%20productos&page[parent_id]=51adbebf1e66cfabe5000007&page[raw_template]=%7B%25%20extends%20parent%20%25%7D&locale=es |
| + | encoding: UTF-8 |
| + | string: page[title]=Products&page[slug]=products&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[seo_title]=Productos%20SEO&page[meta_keywords]=palabras%2C%20clave%2C%20productos&page[meta_description]=Descripci%C3%B3n%20molona%20de%20los%20productos&page[parent_id]=5238710587f6431df7000007&page[raw_template]=%7B%25%20extends%20parent%20%25%7D&locale=es |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: !binary |- |
| - | T0sg |
| + | message: OK |
| headers: | |
| - | !binary "TG9jYXRpb24=": |
| - | - !binary |- |
| - | aHR0cDovL3NhbXBsZS5leGFtcGxlLmNvbTozMDAwL2xvY29tb3RpdmUvYXBp |
| - | L3BhZ2Vz |
| - | !binary "Q29udGVudC1UeXBl": |
| - | - !binary |- |
| - | YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA== |
| - | !binary "WC1VYS1Db21wYXRpYmxl": |
| - | - !binary |- |
| - | SUU9RWRnZQ== |
| - | !binary "RXRhZw==": |
| - | - !binary |- |
| - | IjVmNmY4ODg4MDcyYmM2YjI2YTYxZGY5YjQyN2UxZWIxIg== |
| - | !binary "Q2FjaGUtQ29udHJvbA==": |
| - | - !binary |- |
| - | bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU= |
| - | !binary "WC1SZXF1ZXN0LUlk": |
| - | - !binary |- |
| - | MzIyYzgxY2ViMTI3ZjZjNjkxOWZjNjVkZjkwYTM2NjE= |
| - | !binary "WC1SdW50aW1l": |
| - | - !binary |- |
| - | MC4wMzYwOTk= |
| - | !binary "U2VydmVy": |
| - | - !binary |- |
| - | V0VCcmljay8xLjMuMSAoUnVieS8xLjkuMy8yMDEzLTAyLTIyKQ== |
| - | !binary "RGF0ZQ==": |
| - | - !binary |- |
| - | VHVlLCAwNCBKdW4gMjAxMyAxMDoyMjozOSBHTVQ= |
| - | !binary "Q29udGVudC1MZW5ndGg=": |
| - | - !binary |- |
| - | NzU2 |
| - | !binary "Q29ubmVjdGlvbg==": |
| - | - !binary |- |
| - | S2VlcC1BbGl2ZQ== |
| - | !binary "U2V0LUNvb2tpZQ==": |
| - | - !binary |- |
| - | X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr |
| - | a2lKVFZoTkRobE0yTXhabVUzWkdNM1lXRmlNREJpT0ROaFpHSmxOMk13TmpZ |
| - | NEJqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q |
| - | YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ |
| - | bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0 |
| - | Y1dGV05WbGlZazVDZWpNR093QlUtLWFlZmFlYzhhOWFlMDhmN2U0ZjkzNzJh |
| - | YTY1ZmQxOWFhNGRmZWYyNTc7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9 |
| - | LzsgSHR0cE9ubHk= |
| - | body: |
| - | encoding: ASCII-8BIT |
| - | string: !binary |- |
| - | eyJpZCI6IjUxYWRiZmIzMWU2NmNmYjNkMzAwMDAyNiIsIl9pZCI6IjUxYWRi |
| - | ZmIzMWU2NmNmYjNkMzAwMDAyNiIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0 |
| - | VDEwOjIxOjM5WiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIxOjM5 |
| - | WiIsInRpdGxlIjoiUHJvZHVjdHMiLCJzbHVnIjoicHJvZHVjdHMiLCJwYXJl |
| - | bnRfaWQiOiI1MWFkYmViZjFlNjZjZmFiZTUwMDAwMDciLCJwb3NpdGlvbiI6 |
| - | MSwicmVzcG9uc2VfdHlwZSI6InRleHQvaHRtbCIsImNhY2hlX3N0cmF0ZWd5 |
| - | Ijoibm9uZSIsInJlZGlyZWN0IjpmYWxzZSwicmVkaXJlY3RfdHlwZSI6MzAx |
| - | LCJsaXN0ZWQiOnRydWUsInB1Ymxpc2hlZCI6dHJ1ZSwidGVtcGxhdGl6ZWQi |
| - | OmZhbHNlLCJ0ZW1wbGF0aXplZF9mcm9tX3BhcmVudCI6ZmFsc2UsImZ1bGxw |
| - | YXRoIjoicHJvZHVjdHMiLCJsb2NhbGl6ZWRfZnVsbHBhdGhzIjp7ImVuIjoi |
| - | cHJvZHVjdHMiLCJlcyI6ImVzL3Byb2R1Y3RzIn0sImRlcHRoIjoxLCJ0cmFu |
| - | c2xhdGVkX2luIjpbImVuIiwiZXMiXSwicmF3X3RlbXBsYXRlIjoieyUgZXh0 |
| - | ZW5kcyBwYXJlbnQgJX0iLCJlc2NhcGVkX3Jhd190ZW1wbGF0ZSI6InslIGV4 |
| - | dGVuZHMgcGFyZW50ICV9IiwiZWRpdGFibGVfZWxlbWVudHMiOltdLCJzZW9f |
| - | dGl0bGUiOiJQcm9kdWN0b3MgU0VPIiwibWV0YV9rZXl3b3JkcyI6InBhbGFi |
| - | cmFzLCBjbGF2ZSwgcHJvZHVjdG9zIiwibWV0YV9kZXNjcmlwdGlvbiI6IkRl |
| - | c2NyaXBjacOzbiBtb2xvbmEgZGUgbG9zIHByb2R1Y3RvcyJ9 |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:29 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| + | Location: |
| + | - http://sample.example.com:3000/locomotive/api/pages |
| + | Content-Type: |
| + | - application/json; charset=utf-8 |
| + | X-Ua-Compatible: |
| + | - IE=Edge |
| + | Etag: |
| + | - '"df564c6fd92a1e7b3d311fc1183d251b"' |
| + | Cache-Control: |
| + | - max-age=0, private, must-revalidate |
| + | Set-Cookie: |
| + | - _locomotive_session=pygcjUdiyEBnb2E3Q6qnERw3UiM; domain=.example.com; path=/; |
| + | HttpOnly |
| + | X-Request-Id: |
| + | - 63e0126bcadfc18ff2b92cbb98a73b48 |
| + | X-Runtime: |
| + | - '0.052407' |
| + | body: |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238712687f643884e000007","_id":"5238712687f643884e000007","created_at":"2013-09-17T15:11:34Z","updated_at":"2013-09-17T15:11:34Z","title":"Products","slug":"products","parent_id":"5238710587f6431df7000007","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en","es"],"raw_template":"{% |
| + | extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Productos |
| + | SEO","meta_keywords":"palabras, clave, productos","meta_description":"Descripci\u00f3n |
| + | molona de los productos"}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:29 GMT |
| - request: | |
| method: get | |
| - | uri: http://sample.example.com:3000/locomotive/api/theme_assets.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://sample.example.com:3000/locomotive/api/theme_assets.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -836,34 +792,32 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:30 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"d751713988987e9331980363e24189ce"' |
| + | - '"d751713988987e9331980363e24189ce"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=AmdddP0LQNJk5CbNcw7PDZ27vVw; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - e2b4ce97304b76e1286f0239aae79a27 |
| + | - f1be1b0c567c52f2f3aa657721d33418 |
| X-Runtime: | |
| - | - '0.017187' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:39 GMT |
| - | Content-Length: |
| - | - '2' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTA2ZThmOWQ4OGVjOWJlNDk1YmVmOTFlYzRlMjQ5N2NlBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--5eb0a5bcb4fdaa947fc4a0f6c74febed18151338; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.037162' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '[]' |
| + | encoding: UTF-8 |
| + | string: '[]' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:39 GMT |
| - | recorded_with: VCR 2.4.0 |
| + | recorded_at: Tue, 17 Sep 2013 15:12:30 GMT |
| + | recorded_with: VCR 2.5.0 |
spec/integration/cassettes/staging.yml
+360
-500
| @@ | @@ -2,16 +2,22 @@ |
| http_interactions: | |
| - request: | |
| method: post | |
| - | uri: http://staging.example.com:3000/locomotive/api/tokens.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/tokens.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| + | encoding: UTF-8 |
| string: email=admin%40locomotivecms.com&password=locomotive | |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:17 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Location: | |
| - http://staging.example.com:3000/locomotive/ | |
| Content-Type: | |
| @@ | @@ -19,161 +25,140 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"76484a9468c21a481d85ab96230ec0af"' |
| + | - '"d1a90b45e031fb4f87663184c2a67dbd"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=Z-0l0Y8-g8TGAAe1oM1Peib5vLI; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 07dd819adc9f45d590c82f8c9ec77bb5 |
| + | - 9bfd90daafdb585129b8767665ae3baf |
| X-Runtime: | |
| - | - '0.015301' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:33 GMT |
| - | Content-Length: |
| - | - '32' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTQxY2M1MWE2NDQ4OTg3Y2ZmOWIwMmFhMGYyYTI4ODlhBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewA6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOgtub3RpY2VJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjSGFzaCB3YXMgc3VjY2Vzc2Z1bGx5IGNyZWF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--948d991fd6b6f53147f42a17e8cc4876db0e6d58; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.045476' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"token":"pyXsXJLmwyKRYzwypTzR"}' |
| + | encoding: UTF-8 |
| + | string: '{"token":"iaWvtP5PhmnyKypXpLbM"}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:17 GMT |
| - request: | |
| method: get | |
| - | uri: http://staging.example.com:3000/locomotive/api/current_site.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/current_site.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| headers: {} | |
| response: | |
| status: | |
| - | code: 200 |
| - | message: ! 'OK ' |
| + | code: 404 |
| + | message: Not Found |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:17 GMT |
| + | Status: |
| + | - 404 Not Found |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| - | Etag: |
| - | - ! '"d1d29a434e32c8344a5276fa114f561a"' |
| Cache-Control: | |
| - | - max-age=0, private, must-revalidate |
| + | - no-cache |
| + | Set-Cookie: |
| + | - _locomotive_session=Rp9eJOJH2fQswGRhc4CBMHxfbu0; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 779a73bdba4fe4db5c5d9c8540c5bc2d |
| + | - dd091f0b3577e5d46a711bae143998b7 |
| X-Runtime: | |
| - | - '0.014857' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:33 GMT |
| - | Content-Length: |
| - | - '544' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWZiZTc5NzU1ZTFjZGU2N2NmY2M4YTJkNmZmMjFlZWRmBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--5d962a10f7de4721fde52f787d5889e89c326c6a; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.043115' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbec61e66cf7e2800001d","_id":"51adbec61e66cf7e2800001d","created_at":"2013-06-04T10:17:42Z","updated_at":"2013-06-04T10:17:42Z","name":"Sample |
| - | site","locales":["en"],"subdomain":"staging","domains":["staging.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"51adbec61e66cf7e2800001e","_id":"51adbec61e66cf7e2800001e","role":"admin","role_name":"Administrator","can_update":false,"grant_admin":true,"account_id":"51adbebf1e66cfabe5000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| + | encoding: UTF-8 |
| + | string: '{"error":"No site found"}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:17 GMT |
| - request: | |
| - | method: put |
| - | uri: http://staging.example.com:3000/locomotive/api/sites/51adbec61e66cf7e2800001d.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | method: post |
| + | uri: http://staging.example.com:3000/locomotive/api/sites.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| - | string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=staging&site[domains][]=staging.example.com&locale=en |
| + | encoding: UTF-8 |
| + | string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=staging&site[domains][]=staging.example.com&site[timezone]=UTC&locale=en |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| - | X-Message: |
| - | - ! '"Site%20was%20successfully%20updated."' |
| - | X-Message-Type: |
| - | - notice |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:17 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Location: | |
| - | - http://staging.example.com:3000/locomotive/sites/51adbec61e66cf7e2800001d |
| + | - http://staging.example.com:3000/locomotive/sites/5238715187f643884e000009 |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"7a6685729d41f87649f1e7fb8e8eb24e"' |
| + | - '"6e842a0747f262a4d0a4822653b5ed6b"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=Gx_CGBcDBH6JtUqjNMwW7yzAJvI; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 401774541f2d85e76679903ff84ac779 |
| + | - c27e7b1289cb931ee423f2f41be31c41 |
| X-Runtime: | |
| - | - '0.022852' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:33 GMT |
| - | Content-Length: |
| - | - '548' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTRhMzVmMDRlM2IxZTVjYTY3ODAxNzQ4ZWEwYTAzMWFjBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjU2l0ZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--8134b5ea6c5029d72c0fe905bfa56047241aac14; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.112822' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbec61e66cf7e2800001d","_id":"51adbec61e66cf7e2800001d","created_at":"2013-06-04T10:17:42Z","updated_at":"2013-06-04T10:22:33Z","name":"locomotive","locales":["en","es"],"subdomain":"staging","domains":["staging.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"51adbec61e66cf7e2800001e","_id":"51adbec61e66cf7e2800001e","role":"admin","role_name":"Administrator","can_update":false,"grant_admin":true,"account_id":"51adbebf1e66cfabe5000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238715187f643884e000009","_id":"5238715187f643884e000009","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:17Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"staging","domains":["staging.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238715187f643884e00000a","_id":"5238715187f643884e00000a","role":"admin","role_name":"Administrator","can_update":false,"grant_admin":true,"account_id":"5238710587f6431df7000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:17 GMT |
| - request: | |
| method: put | |
| - | uri: http://staging.example.com:3000/locomotive/api/sites/51adbec61e66cf7e2800001d.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/sites/5238715187f643884e000009.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| - | string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=staging&site[domains][]=staging.example.com&locale=es |
| + | encoding: UTF-8 |
| + | string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=staging&site[domains][]=staging.example.com&site[timezone]=UTC&locale=es |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:17 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Location: | |
| - | - http://staging.example.com:3000/locomotive/sites/51adbec61e66cf7e2800001d |
| + | - http://staging.example.com:3000/locomotive/sites/5238715187f643884e000009 |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"c8fc798b865b8262f4cc2be1378d9313"' |
| + | - '"3eb7da00847216261731645a56548946"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=yg3-tVy93jxvaLadUomxmcAe92w; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 09c90fda35469c6458dac029dc44a099 |
| + | - c30fd870f8a85f1044735304e5cb7f20 |
| X-Runtime: | |
| - | - '0.018372' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:33 GMT |
| - | Content-Length: |
| - | - '548' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTEzZTc2ODI1Zjg3N2Y3OTkyZmQ5YzkxMGJhNjRkMTNhBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--fe5f578b8ba572501198665da5a9c0869b29a5cd; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.059894' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbec61e66cf7e2800001d","_id":"51adbec61e66cf7e2800001d","created_at":"2013-06-04T10:17:42Z","updated_at":"2013-06-04T10:22:33Z","name":"locomotive","locales":["en","es"],"subdomain":"staging","domains":["staging.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"51adbec61e66cf7e2800001e","_id":"51adbec61e66cf7e2800001e","role":"admin","role_name":"Administrador","can_update":false,"grant_admin":true,"account_id":"51adbebf1e66cfabe5000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238715187f643884e000009","_id":"5238715187f643884e000009","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:17Z","name":"locomotive","locales":["en","es"],"timezone":"UTC","subdomain":"staging","domains":["staging.example.com"],"domains_without_subdomain":[],"domain_name":"example.com","memberships":[{"id":"5238715187f643884e00000a","_id":"5238715187f643884e00000a","role":"admin","role_name":"Administrador","can_update":false,"grant_admin":true,"account_id":"5238710587f6431df7000001","name":"Admin","email":"admin@locomotivecms.com"}]}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:17 GMT |
| - request: | |
| method: get | |
| - | uri: http://staging.example.com:3000/locomotive/api/snippets.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/snippets.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -181,39 +166,37 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:17 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"d751713988987e9331980363e24189ce"' |
| + | - '"d751713988987e9331980363e24189ce"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=wAQkE4eOIgzOei0g94jrWerXqa0; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - d8003022a768b845e86d0f0a16f2f6e3 |
| + | - 754f7e964a75adc660be5322941548a6 |
| X-Runtime: | |
| - | - '0.017267' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:33 GMT |
| - | Content-Length: |
| - | - '2' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTkxNjdkZGFlYTBmZGNlY2UyN2UxMmQ1ZDI5MDRiMDRkBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--a5c778af1fe20b252a0bd005e75ab3dfd7cb82b4; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.049819' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '[]' |
| + | encoding: UTF-8 |
| + | string: '[]' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:17 GMT |
| - request: | |
| method: get | |
| - | uri: http://staging.example.com:3000/locomotive/api/content_types.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/content_types.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -221,48 +204,52 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:17 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"d751713988987e9331980363e24189ce"' |
| + | - '"d751713988987e9331980363e24189ce"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=G6KyKliXRWljgrWcsfJNwUqS53I; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 7989b81d2dec75678ec69c9710d243e5 |
| + | - ee4a1a0bfa53662f5df0cd1df98f7406 |
| X-Runtime: | |
| - | - '0.016239' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:33 GMT |
| - | Content-Length: |
| - | - '2' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTdiZDUxYjZiMzRkNTQ3ZTU2ZDY1N2I5NGUzMTJkY2M1BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--ace6d165fecd5a1c52f2ba94afd390dc6a8be7c0; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.147143' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '[]' |
| + | encoding: UTF-8 |
| + | string: '[]' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:17 GMT |
| - request: | |
| method: post | |
| - | uri: http://staging.example.com:3000/locomotive/api/content_types.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/content_types.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| - | string: content_type[name]=Products&content_type[description]=My%20products%20collection&content_type[slug]=products&content_type[label_field_name]=name&content_type[order_by]=created_at&content_type[entries_custom_fields][][label]=name&content_type[entries_custom_fields][][name]=name&content_type[entries_custom_fields][][type]=string&content_type[entries_custom_fields][][position]=0&content_type[entries_custom_fields][][required]=true&content_type[entries_custom_fields][][localized]=true&content_type[entries_custom_fields][][label]=available&content_type[entries_custom_fields][][name]=available&content_type[entries_custom_fields][][type]=boolean&content_type[entries_custom_fields][][position]=1&content_type[entries_custom_fields][][required]=false&content_type[entries_custom_fields][][localized]=false |
| + | encoding: UTF-8 |
| + | string: content_type[name]=Products&content_type[description]=My%20products%20collection&content_type[slug]=products&content_type[label_field_name]=name&content_type[order_by]=created_at&content_type[order_direction]=asc&content_type[entries_custom_fields][][label]=name&content_type[entries_custom_fields][][name]=name&content_type[entries_custom_fields][][type]=string&content_type[entries_custom_fields][][position]=0&content_type[entries_custom_fields][][required]=true&content_type[entries_custom_fields][][unique]=false&content_type[entries_custom_fields][][localized]=true&content_type[entries_custom_fields][][label]=available&content_type[entries_custom_fields][][name]=available&content_type[entries_custom_fields][][type]=boolean&content_type[entries_custom_fields][][position]=1&content_type[entries_custom_fields][][required]=false&content_type[entries_custom_fields][][unique]=false&content_type[entries_custom_fields][][localized]=false |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:17 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Location: | |
| - http://staging.example.com:3000/locomotive/api/content_types | |
| Content-Type: | |
| @@ | @@ -270,33 +257,25 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"d83b1778de0e156c812efb6bf9d366de"' |
| + | - '"9a10d6bde4c6dff5872887e673ba38b3"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=5IDxw38JgWhqxItM_MrQCWQR2UY; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 2d2f880643dab618684f8d7d347264f1 |
| + | - d392666c93ef648db15a29ce57bf2cec |
| X-Runtime: | |
| - | - '0.034298' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:33 GMT |
| - | Content-Length: |
| - | - '779' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWM5NzU2NWUyNzNlMTc1ZjY2N2M4YTY1YTE1ZGFlNjkwBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewA6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOgtub3RpY2VJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIrQ29udGVudCB0eXBlIHdhcyBzdWNjZXNzZnVsbHkgY3JlYXRlZC4HOwBUOg9AaHRtbF9zYWZlVDoJQG5vdzA%3D--394e769cd28ce8c33dd336108e46195a61eb674f; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.078165' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbfe91e66cf76b0000029","_id":"51adbfe91e66cf76b0000029","created_at":"2013-06-04T10:22:33Z","updated_at":"2013-06-04T10:22:33Z","name":"Products","slug":"products","entries_custom_fields":[{"id":"51adbfe91e66cf76b000002a","_id":"51adbfe91e66cf76b000002a","name":"name","label":"name","type":"string","required":true,"localized":true,"unique":false,"position":0},{"id":"51adbfe91e66cf76b000002b","_id":"51adbfe91e66cf76b000002b","name":"available","label":"available","type":"boolean","required":false,"localized":false,"unique":false,"position":1}],"description":"My |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238715187f643884e00000d","_id":"5238715187f643884e00000d","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:17Z","name":"Products","slug":"products","entries_custom_fields":[{"id":"5238715187f643884e00000e","_id":"5238715187f643884e00000e","name":"name","label":"name","type":"string","required":true,"localized":true,"unique":false,"position":0},{"id":"5238715187f643884e00000f","_id":"5238715187f643884e00000f","name":"available","label":"available","type":"boolean","required":false,"localized":false,"unique":false,"position":1}],"description":"My |
| products collection","label_field_name":"name","order_by":"created_at","order_direction":"asc","order_by_field_name":"created_at","public_submission_enabled":false,"public_submission_account_emails":[]}' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:17 GMT |
| - request: | |
| method: get | |
| - | uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -304,55 +283,58 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:17 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"26df4c9f3277bc1f3e50a86fe4522aab"' |
| + | - '"2bf034a4556fe3479a16e76573df955d"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=71tt9yea19R8HhQ0mshLgX28FkI; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 931becf84174e52370fe2b413cf1c723 |
| + | - a0018dd556aa887384361d1cc04c0cb9 |
| X-Runtime: | |
| - | - '0.020067' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:33 GMT |
| - | Content-Length: |
| - | - '1165' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTQ2ZjNiM2NmMjM4NGIwYmJjYjZmNTEwOTY0NTcwZjllBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--0632f715818904ca1584ba9de854d42dadebf568; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.048914' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '[{"id":"51adbec61e66cf7e2800001f","_id":"51adbec61e66cf7e2800001f","created_at":"2013-06-04T10:17:42Z","updated_at":"2013-06-04T10:20:49Z","title":"Home |
| - | page","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"New |
| - | content of the home page\n","escaped_raw_template":"New content of the home |
| - | page\n","editable_elements":[]},{"id":"51adbec61e66cf7e28000020","_id":"51adbec61e66cf7e28000020","created_at":"2013-06-04T10:17:42Z","updated_at":"2013-06-04T10:17:42Z","title":"Page |
| + | encoding: UTF-8 |
| + | string: '[{"id":"5238715187f643884e00000b","_id":"5238715187f643884e00000b","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:17Z","title":"Home |
| + | page","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"Content |
| + | of the home page","escaped_raw_template":"Content of the home page","editable_elements":[]},{"id":"5238715187f643884e00000c","_id":"5238715187f643884e00000c","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:17Z","title":"Page |
| not found","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content | |
| of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}]' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:17 GMT |
| - request: | |
| method: put | |
| - | uri: http://staging.example.com:3000/locomotive/api/pages/51adbec61e66cf7e2800001f.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/pages/5238715187f643884e00000b.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| + | encoding: UTF-8 |
| string: page[title]=Home%20page&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[raw_template]=%7B%25%20block%20content%20%25%7D%0D%0A%20%20New%20content%20of%20the%20home%20page%0D%0A%7B%25%20endblock%20%25%7D%0D%0A%0D%0A&locale=en | |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:18 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| X-Message: | |
| - | - ! '"Page%20was%20successfully%20updated."' |
| + | - '"Page%20was%20successfully%20updated."' |
| X-Message-Type: | |
| - notice | |
| Location: | |
| @@ | @@ -362,46 +344,44 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"0be57afd4d74acdff85c9459055f497e"' |
| + | - '"7526fea703475e13c5673d3b3dc74174"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=YZ0YkOmt0avCCj2MAzcSd2chOfg; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 87da754d62f6e895394e24400c6e14e7 |
| + | - 3206f59d583d6efc01637f9dcbc9cc43 |
| X-Runtime: | |
| - | - '0.083393' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:33 GMT |
| - | Content-Length: |
| - | - '706' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWNhOGI5MGM1OTU3ZjRjYjkxNjljMWJhZTc1MWYyYzUzBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--cd5dccdab0e118738bec651ed2bf66ffdda9aa22; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.072984' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbec61e66cf7e2800001f","_id":"51adbec61e66cf7e2800001f","created_at":"2013-06-04T10:17:42Z","updated_at":"2013-06-04T10:22:33Z","title":"Home |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238715187f643884e00000b","_id":"5238715187f643884e00000b","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:18Z","title":"Home |
| page","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"template_changed":true,"translated_in":["en","es"],"raw_template":"{% | |
| block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","escaped_raw_template":"{% | |
| block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","editable_elements":[]}' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:18 GMT |
| - request: | |
| method: put | |
| - | uri: http://staging.example.com:3000/locomotive/api/pages/51adbec61e66cf7e28000020.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/pages/5238715187f643884e00000c.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| + | encoding: UTF-8 |
| string: page[title]=Page%20not%20found&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[raw_template]=Content%20of%20the%20404%20page&locale=en | |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:18 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| X-Message: | |
| - | - ! '"Page%20was%20successfully%20updated."' |
| + | - '"Page%20was%20successfully%20updated."' |
| X-Message-Type: | |
| - notice | |
| Location: | |
| @@ | @@ -411,43 +391,41 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"bea288faa69caff12f7355177926d4cd"' |
| + | - '"eb0485fd501236dec0f261e70555721f"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=oUJqosgKMmzIMweOoAkLOEyRZGg; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - a0d7d40bf4d723db9cea264170183114 |
| + | - 23024c6f75ac4b4db106e1b277f7e90b |
| X-Runtime: | |
| - | - '0.024117' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:33 GMT |
| - | Content-Length: |
| - | - '578' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWI5OTM2NTY5MGFiOWM3ZGViMzlmODI3ZGYyMDY1MDkwBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--cf805c05dce53d61425e76cb8876a8422cba8bf6; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.053845' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbec61e66cf7e28000020","_id":"51adbec61e66cf7e28000020","created_at":"2013-06-04T10:17:42Z","updated_at":"2013-06-04T10:22:33Z","title":"Page |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238715187f643884e00000c","_id":"5238715187f643884e00000c","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:17Z","title":"Page |
| not found","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content | |
| of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:18 GMT |
| - request: | |
| method: post | |
| - | uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| - | string: page[title]=translated&page[slug]=translated&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[parent_id]=51adbec61e66cf7e2800001f&page[raw_template]=%7B%7B%20'hello_world'%20%7C%20translate%7D%7D |
| + | encoding: UTF-8 |
| + | string: page[title]=translated&page[slug]=translated&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[parent_id]=5238715187f643884e00000b&page[raw_template]=%7B%7B%20'hello_world'%20%7C%20translate%7D%7D |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:18 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Location: | |
| - http://staging.example.com:3000/locomotive/api/pages | |
| Content-Type: | |
| @@ | @@ -455,43 +433,41 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"9a050c87901562c4217122b1a94d1447"' |
| + | - '"d613d3737207cda34c54e60662bc4eb8"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=TO2vsghCeuN0qN5J9TeGn-hZPhY; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 6884c95cb07e330c22e677342a89dcff |
| + | - 21538f3846598a0746027c05379040a6 |
| X-Runtime: | |
| - | - '0.028340' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:33 GMT |
| - | Content-Length: |
| - | - '684' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTk4ZjliZDdjYWQ3ODZhZjUyNmZlMTJhZDdkOTczYmQ0BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewA6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOgtub3RpY2VJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IGNyZWF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--c8bfcfe9729688602d7e4f0a4235452a39668ec1; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.068711' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbfe91e66cfd6c900002c","_id":"51adbfe91e66cfd6c900002c","created_at":"2013-06-04T10:22:33Z","updated_at":"2013-06-04T10:22:33Z","title":"translated","slug":"translated","parent_id":"51adbec61e66cf7e2800001f","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"translated","localized_fullpaths":{"en":"translated","es":"es/translated"},"depth":1,"template_changed":true,"translated_in":["en"],"raw_template":"{{ |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238715287f643884e000010","_id":"5238715287f643884e000010","created_at":"2013-09-17T15:12:18Z","updated_at":"2013-09-17T15:12:18Z","title":"translated","slug":"translated","parent_id":"5238715187f643884e00000b","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"translated","localized_fullpaths":{"en":"translated","es":"es/translated"},"depth":1,"template_changed":true,"translated_in":["en"],"raw_template":"{{ |
| ''hello_world'' | translate}}","escaped_raw_template":"{{ 'hello_world' | |
| | translate}}","editable_elements":[]}' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:18 GMT |
| - request: | |
| method: post | |
| - | uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| - | string: page[title]=Products&page[slug]=products&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[seo_title]=Search%20friendly%20products&page[meta_keywords]=fancy%2C%20products%2C%20keywords&page[meta_description]=Fancy%20products%20description&page[parent_id]=51adbec61e66cf7e2800001f&page[raw_template]=%7B%25%20extends%20parent%20%25%7D |
| + | encoding: UTF-8 |
| + | string: page[title]=Products&page[slug]=products&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[seo_title]=Search%20friendly%20products&page[meta_keywords]=fancy%2C%20products%2C%20keywords&page[meta_description]=Fancy%20products%20description&page[parent_id]=5238715187f643884e00000b&page[raw_template]=%7B%25%20extends%20parent%20%25%7D |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:18 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Location: | |
| - http://staging.example.com:3000/locomotive/api/pages | |
| Content-Type: | |
| @@ | @@ -499,44 +475,42 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"14ea1695dbb9eab03115453457460c94"' |
| + | - '"507502849fe4cc6de4a4c3b2869c3fa0"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=77kG6mysN41mNG60lcZWlKhzpD0; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 10ac2250199634a55e82bb807f9779fb |
| + | - 58d6d16ff658cea0ab4d90293d5fa2d5 |
| X-Runtime: | |
| - | - '0.029646' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:33 GMT |
| - | Content-Length: |
| - | - '775' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWE0ZDg1NThmMjUyY2VjZjRkMmEyZGZhYzhlODZlM2NjBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewA6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOgtub3RpY2VJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IGNyZWF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--c6554f638d289200e2a622279ee46547d7f3cbfd; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.069076' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbfe91e66cf232700002d","_id":"51adbfe91e66cf232700002d","created_at":"2013-06-04T10:22:33Z","updated_at":"2013-06-04T10:22:33Z","title":"Products","slug":"products","parent_id":"51adbec61e66cf7e2800001f","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"template_changed":true,"translated_in":["en"],"raw_template":"{% |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238715287f643884e000011","_id":"5238715287f643884e000011","created_at":"2013-09-17T15:12:18Z","updated_at":"2013-09-17T15:12:18Z","title":"Products","slug":"products","parent_id":"5238715187f643884e00000b","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"template_changed":true,"translated_in":["en"],"raw_template":"{% |
| extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Search | |
| friendly products","meta_keywords":"fancy, products, keywords","meta_description":"Fancy | |
| products description"}' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:18 GMT |
| - request: | |
| method: post | |
| - | uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| - | string: page[title]=Latest&page[slug]=latest&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[parent_id]=51adbfe91e66cf232700002d&page[raw_template]=%7B%25%20extends%20parent%20%25%7D%0D%0A%7B%25%20block%20content%20%25%7D%0D%0A%20%20The%20name%20of%20the%20latest%20product%20is%3A%20%7B%7B%20contents.products.last.name%20%7D%7D%0D%0A%7B%25%20endblock%20%25%7D |
| + | encoding: UTF-8 |
| + | string: page[title]=Latest&page[slug]=latest&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[parent_id]=5238715287f643884e000011&page[raw_template]=%7B%25%20extends%20parent%20%25%7D%0D%0A%7B%25%20block%20content%20%25%7D%0D%0A%20%20The%20name%20of%20the%20latest%20product%20is%3A%20%7B%7B%20contents.products.last.name%20%7D%7D%0D%0A%7B%25%20endblock%20%25%7D |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:18 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Location: | |
| - http://staging.example.com:3000/locomotive/api/pages | |
| Content-Type: | |
| @@ | @@ -544,268 +518,156 @@ http_interactions: |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"fc4bf7a404701eb00bfc4252d1d58ddc"' |
| + | - '"8c34a4badd6911f6574462b6b1c305ae"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=hnwRvwirurzAcWZbZrsRGCXjqHw; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - e3f6c338eb9767043427fb0942c38982 |
| + | - 257eb9dbe9a49b96344cdd66e0727a73 |
| X-Runtime: | |
| - | - '0.030378' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:33 GMT |
| - | Content-Length: |
| - | - '891' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWFkNThjYWJlY2FiNTNkZDY3ZDJmYzBiNzE3MDRlMDIwBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewA6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOgtub3RpY2VJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IGNyZWF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--f45231025ce3c5e530197e2f265cf1b4c7d75932; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.069259' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '{"id":"51adbfe91e66cf808600002e","_id":"51adbfe91e66cf808600002e","created_at":"2013-06-04T10:22:33Z","updated_at":"2013-06-04T10:22:33Z","title":"Latest","slug":"latest","parent_id":"51adbfe91e66cf232700002d","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products/latest","localized_fullpaths":{"en":"products/latest","es":"es/products/latest"},"depth":2,"template_changed":true,"translated_in":["en"],"raw_template":"{% |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238715287f643884e000012","_id":"5238715287f643884e000012","created_at":"2013-09-17T15:12:18Z","updated_at":"2013-09-17T15:12:18Z","title":"Latest","slug":"latest","parent_id":"5238715287f643884e000011","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products/latest","localized_fullpaths":{"en":"products/latest","es":"es/products/latest"},"depth":2,"template_changed":true,"translated_in":["en"],"raw_template":"{% |
| extends parent %}\r\n{% block content %}\r\n The name of the latest product | |
| is: {{ contents.products.last.name }}\r\n{% endblock %}","escaped_raw_template":"{% | |
| extends parent %}\r\n{% block content %}\r\n The name of the latest product | |
| is: {{ contents.products.last.name }}\r\n{% endblock %}","editable_elements":[]}' | |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:18 GMT |
| - request: | |
| method: put | |
| - | uri: http://staging.example.com:3000/locomotive/api/pages/51adbec61e66cf7e2800001f.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/pages/5238715187f643884e00000b.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| + | encoding: UTF-8 |
| string: page[title]=P%C3%A1gina%20de%20inicio&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=0&page[raw_template]=New%20content%20of%20the%20home%20page%0D%0A&locale=es | |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: !binary |- |
| - | T0sg |
| + | message: OK |
| headers: | |
| - | !binary "TG9jYXRpb24=": |
| - | - !binary |- |
| - | aHR0cDovL3N0YWdpbmcuZXhhbXBsZS5jb206MzAwMC9sb2NvbW90aXZlL2Fw |
| - | aS9wYWdlcw== |
| - | !binary "Q29udGVudC1UeXBl": |
| - | - !binary |- |
| - | YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA== |
| - | !binary "WC1VYS1Db21wYXRpYmxl": |
| - | - !binary |- |
| - | SUU9RWRnZQ== |
| - | !binary "RXRhZw==": |
| - | - !binary |- |
| - | ImI5ZmI4YmM2MWYwM2RjZTRhOGFlMTAxYzczMWMyMTRhIg== |
| - | !binary "Q2FjaGUtQ29udHJvbA==": |
| - | - !binary |- |
| - | bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU= |
| - | !binary "WC1SZXF1ZXN0LUlk": |
| - | - !binary |- |
| - | MGQ0ZTIwYzUwMzY0MmM0ODA2ZTYyMWZjZTE3NDVmZTY= |
| - | !binary "WC1SdW50aW1l": |
| - | - !binary |- |
| - | MC4wMjY1Njk= |
| - | !binary "U2VydmVy": |
| - | - !binary |- |
| - | V0VCcmljay8xLjMuMSAoUnVieS8xLjkuMy8yMDEzLTAyLTIyKQ== |
| - | !binary "RGF0ZQ==": |
| - | - !binary |- |
| - | VHVlLCAwNCBKdW4gMjAxMyAxMDoyMjozMyBHTVQ= |
| - | !binary "Q29udGVudC1MZW5ndGg=": |
| - | - !binary |- |
| - | NjIw |
| - | !binary "Q29ubmVjdGlvbg==": |
| - | - !binary |- |
| - | S2VlcC1BbGl2ZQ== |
| - | !binary "U2V0LUNvb2tpZQ==": |
| - | - !binary |- |
| - | X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr |
| - | a2lKV1E0WkRVMFpUQTBNVEZsWldJMlpHWmlOVEUxWVRnM1pESmhNRFl4WW1N |
| - | eUJqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q |
| - | YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ |
| - | bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0 |
| - | Y1dGV05WbGlZazVDZWpNR093QlUtLWEyOGQ5MDRmMzAxMWIwZmY3ZWQ3OTI1 |
| - | ZGExNjM5NTM1Y2Q0OWU1ZmI7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9 |
| - | LzsgSHR0cE9ubHk= |
| - | body: |
| - | encoding: ASCII-8BIT |
| - | string: !binary |- |
| - | eyJpZCI6IjUxYWRiZWM2MWU2NmNmN2UyODAwMDAxZiIsIl9pZCI6IjUxYWRi |
| - | ZWM2MWU2NmNmN2UyODAwMDAxZiIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0 |
| - | VDEwOjE3OjQyWiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIyOjMz |
| - | WiIsInRpdGxlIjoiUMOhZ2luYSBkZSBpbmljaW8iLCJzbHVnIjoiaW5kZXgi |
| - | LCJwb3NpdGlvbiI6MCwicmVzcG9uc2VfdHlwZSI6InRleHQvaHRtbCIsImNh |
| - | Y2hlX3N0cmF0ZWd5Ijoibm9uZSIsInJlZGlyZWN0IjpmYWxzZSwicmVkaXJl |
| - | Y3RfdHlwZSI6MzAxLCJsaXN0ZWQiOnRydWUsInB1Ymxpc2hlZCI6dHJ1ZSwi |
| - | dGVtcGxhdGl6ZWQiOmZhbHNlLCJ0ZW1wbGF0aXplZF9mcm9tX3BhcmVudCI6 |
| - | ZmFsc2UsImZ1bGxwYXRoIjoiaW5kZXgiLCJsb2NhbGl6ZWRfZnVsbHBhdGhz |
| - | Ijp7ImVuIjoiIiwiZXMiOiJlcyJ9LCJkZXB0aCI6MCwidGVtcGxhdGVfY2hh |
| - | bmdlZCI6dHJ1ZSwidHJhbnNsYXRlZF9pbiI6WyJlbiIsImVzIl0sInJhd190 |
| - | ZW1wbGF0ZSI6Ik5ldyBjb250ZW50IG9mIHRoZSBob21lIHBhZ2VcclxuIiwi |
| - | ZXNjYXBlZF9yYXdfdGVtcGxhdGUiOiJOZXcgY29udGVudCBvZiB0aGUgaG9t |
| - | ZSBwYWdlXHJcbiIsImVkaXRhYmxlX2VsZW1lbnRzIjpbXX0= |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:18 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| + | Location: |
| + | - http://staging.example.com:3000/locomotive/api/pages |
| + | Content-Type: |
| + | - application/json; charset=utf-8 |
| + | X-Ua-Compatible: |
| + | - IE=Edge |
| + | Etag: |
| + | - '"6fadabcb1299382b31a7a76b19c3bdec"' |
| + | Cache-Control: |
| + | - max-age=0, private, must-revalidate |
| + | Set-Cookie: |
| + | - _locomotive_session=xMkk4AIEl8Y92IYN6WraIpDQ1-4; domain=.example.com; path=/; |
| + | HttpOnly |
| + | X-Request-Id: |
| + | - 408a7e2b3c9ffca5242184458aafd900 |
| + | X-Runtime: |
| + | - '0.112108' |
| + | body: |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238715187f643884e00000b","_id":"5238715187f643884e00000b","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:18Z","title":"P\u00e1gina |
| + | de inicio","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"template_changed":true,"translated_in":["en","es"],"raw_template":"New |
| + | content of the home page\r\n","escaped_raw_template":"New content of the home |
| + | page\r\n","editable_elements":[]}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:18 GMT |
| - request: | |
| method: put | |
| - | uri: http://staging.example.com:3000/locomotive/api/pages/51adbec61e66cf7e28000020.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/pages/5238715187f643884e00000c.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| + | encoding: UTF-8 |
| string: page[title]=P%C3%A1gina%20no%20encontrada&page[redirect_type]=301&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[raw_template]=Content%20of%20the%20404%20page&locale=es | |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: !binary |- |
| - | T0sg |
| + | message: OK |
| headers: | |
| - | !binary "TG9jYXRpb24=": |
| - | - !binary |- |
| - | aHR0cDovL3N0YWdpbmcuZXhhbXBsZS5jb206MzAwMC9sb2NvbW90aXZlL2Fw |
| - | aS9wYWdlcw== |
| - | !binary "Q29udGVudC1UeXBl": |
| - | - !binary |- |
| - | YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA== |
| - | !binary "WC1VYS1Db21wYXRpYmxl": |
| - | - !binary |- |
| - | SUU9RWRnZQ== |
| - | !binary "RXRhZw==": |
| - | - !binary |- |
| - | ImE3MzdhYmVlODFmYWE0ZmY0MDEyOGY2Zjc0MDdkYTE0Ig== |
| - | !binary "Q2FjaGUtQ29udHJvbA==": |
| - | - !binary |- |
| - | bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU= |
| - | !binary "WC1SZXF1ZXN0LUlk": |
| - | - !binary |- |
| - | MmRkNzYwZjk5NGQ1ZWE4OWE4MzMwMWUxNzkwYjg3NWU= |
| - | !binary "WC1SdW50aW1l": |
| - | - !binary |- |
| - | MC4wMjU5NTM= |
| - | !binary "U2VydmVy": |
| - | - !binary |- |
| - | V0VCcmljay8xLjMuMSAoUnVieS8xLjkuMy8yMDEzLTAyLTIyKQ== |
| - | !binary "RGF0ZQ==": |
| - | - !binary |- |
| - | VHVlLCAwNCBKdW4gMjAxMyAxMDoyMjozMyBHTVQ= |
| - | !binary "Q29udGVudC1MZW5ndGg=": |
| - | - !binary |- |
| - | NjA5 |
| - | !binary "Q29ubmVjdGlvbg==": |
| - | - !binary |- |
| - | S2VlcC1BbGl2ZQ== |
| - | !binary "U2V0LUNvb2tpZQ==": |
| - | - !binary |- |
| - | X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr |
| - | a2lKVEppTURCaE9UTXhNVFkxWkRVeE1qQXlNR1JsWmpCaFpqVmlZMlZpWkdN |
| - | eEJqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q |
| - | YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ |
| - | bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0 |
| - | Y1dGV05WbGlZazVDZWpNR093QlUtLWQ2ODA3NTE2OWFjNjI3NTc1OTIxMjFl |
| - | ZWEyNGYzY2Y2NDY3MTdjYmM7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9 |
| - | LzsgSHR0cE9ubHk= |
| - | body: |
| - | encoding: ASCII-8BIT |
| - | string: !binary |- |
| - | eyJpZCI6IjUxYWRiZWM2MWU2NmNmN2UyODAwMDAyMCIsIl9pZCI6IjUxYWRi |
| - | ZWM2MWU2NmNmN2UyODAwMDAyMCIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0 |
| - | VDEwOjE3OjQyWiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIyOjMz |
| - | WiIsInRpdGxlIjoiUMOhZ2luYSBubyBlbmNvbnRyYWRhIiwic2x1ZyI6IjQw |
| - | NCIsInBvc2l0aW9uIjoxLCJyZXNwb25zZV90eXBlIjoidGV4dC9odG1sIiwi |
| - | Y2FjaGVfc3RyYXRlZ3kiOiJub25lIiwicmVkaXJlY3QiOmZhbHNlLCJyZWRp |
| - | cmVjdF90eXBlIjozMDEsImxpc3RlZCI6dHJ1ZSwicHVibGlzaGVkIjp0cnVl |
| - | LCJ0ZW1wbGF0aXplZCI6ZmFsc2UsInRlbXBsYXRpemVkX2Zyb21fcGFyZW50 |
| - | IjpmYWxzZSwiZnVsbHBhdGgiOiI0MDQiLCJsb2NhbGl6ZWRfZnVsbHBhdGhz |
| - | Ijp7ImVuIjoiNDA0IiwiZXMiOiJlcy80MDQifSwiZGVwdGgiOjAsInRlbXBs |
| - | YXRlX2NoYW5nZWQiOnRydWUsInRyYW5zbGF0ZWRfaW4iOlsiZW4iLCJlcyJd |
| - | LCJyYXdfdGVtcGxhdGUiOiJDb250ZW50IG9mIHRoZSA0MDQgcGFnZSIsImVz |
| - | Y2FwZWRfcmF3X3RlbXBsYXRlIjoiQ29udGVudCBvZiB0aGUgNDA0IHBhZ2Ui |
| - | LCJlZGl0YWJsZV9lbGVtZW50cyI6W119 |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:18 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| + | Location: |
| + | - http://staging.example.com:3000/locomotive/api/pages |
| + | Content-Type: |
| + | - application/json; charset=utf-8 |
| + | X-Ua-Compatible: |
| + | - IE=Edge |
| + | Etag: |
| + | - '"951c07cfeb3a3b0b3a5962b7bf5684b8"' |
| + | Cache-Control: |
| + | - max-age=0, private, must-revalidate |
| + | Set-Cookie: |
| + | - _locomotive_session=LLgP_cxmWw_vR6lgaKBcJMCUFQM; domain=.example.com; path=/; |
| + | HttpOnly |
| + | X-Request-Id: |
| + | - d826f8392060b1dbd39e13d918f83547 |
| + | X-Runtime: |
| + | - '0.048381' |
| + | body: |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238715187f643884e00000c","_id":"5238715187f643884e00000c","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:18Z","title":"P\u00e1gina |
| + | no encontrada","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"template_changed":true,"translated_in":["en","es"],"raw_template":"Content |
| + | of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:18 GMT |
| - request: | |
| method: put | |
| - | uri: http://staging.example.com:3000/locomotive/api/pages/51adbfe91e66cf232700002d.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/pages/5238715287f643884e000011.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| - | encoding: US-ASCII |
| + | encoding: UTF-8 |
| string: page[title]=Products&page[slug]=products&page[listed]=true&page[templatized]=false&page[published]=true&page[cache_strategy]=none&page[response_type]=text%2Fhtml&page[position]=1&page[seo_title]=Productos%20SEO&page[meta_keywords]=palabras%2C%20clave%2C%20productos&page[meta_description]=Descripci%C3%B3n%20molona%20de%20los%20productos&page[raw_template]=%7B%25%20extends%20parent%20%25%7D&locale=es | |
| headers: {} | |
| response: | |
| status: | |
| code: 200 | |
| - | message: !binary |- |
| - | T0sg |
| + | message: OK |
| headers: | |
| - | !binary "TG9jYXRpb24=": |
| - | - !binary |- |
| - | aHR0cDovL3N0YWdpbmcuZXhhbXBsZS5jb206MzAwMC9sb2NvbW90aXZlL2Fw |
| - | aS9wYWdlcw== |
| - | !binary "Q29udGVudC1UeXBl": |
| - | - !binary |- |
| - | YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA== |
| - | !binary "WC1VYS1Db21wYXRpYmxl": |
| - | - !binary |- |
| - | SUU9RWRnZQ== |
| - | !binary "RXRhZw==": |
| - | - !binary |- |
| - | ImRhOTRkYmFiYjVjOWRlMzUxNTlhMjA0MDBmMGExMmFkIg== |
| - | !binary "Q2FjaGUtQ29udHJvbA==": |
| - | - !binary |- |
| - | bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU= |
| - | !binary "WC1SZXF1ZXN0LUlk": |
| - | - !binary |- |
| - | YTE5ODllNGVlYWJiMjYyNWUwYmI3NjU1MzZlYTBjOTk= |
| - | !binary "WC1SdW50aW1l": |
| - | - !binary |- |
| - | MC4wMzg0NTY= |
| - | !binary "U2VydmVy": |
| - | - !binary |- |
| - | V0VCcmljay8xLjMuMSAoUnVieS8xLjkuMy8yMDEzLTAyLTIyKQ== |
| - | !binary "RGF0ZQ==": |
| - | - !binary |- |
| - | VHVlLCAwNCBKdW4gMjAxMyAxMDoyMjozMyBHTVQ= |
| - | !binary "Q29udGVudC1MZW5ndGg=": |
| - | - !binary |- |
| - | Nzgw |
| - | !binary "Q29ubmVjdGlvbg==": |
| - | - !binary |- |
| - | S2VlcC1BbGl2ZQ== |
| - | !binary "U2V0LUNvb2tpZQ==": |
| - | - !binary |- |
| - | X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr |
| - | a2lKVFJrWWpBMU9HVmxPVEF5Tm1ZMll6VTNOemMwTlRNNVl6SXpOMlF6TURr |
| - | eUJqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q |
| - | YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ |
| - | bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0 |
| - | Y1dGV05WbGlZazVDZWpNR093QlUtLTc3YWQwOWVmZGI0NWE1ZGQ3NmM1OGQz |
| - | YTBiMTU5YzgwZmRmNTQ2ZjY7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9 |
| - | LzsgSHR0cE9ubHk= |
| - | body: |
| - | encoding: ASCII-8BIT |
| - | string: !binary |- |
| - | eyJpZCI6IjUxYWRiZmU5MWU2NmNmMjMyNzAwMDAyZCIsIl9pZCI6IjUxYWRi |
| - | ZmU5MWU2NmNmMjMyNzAwMDAyZCIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0 |
| - | VDEwOjIyOjMzWiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIyOjMz |
| - | WiIsInRpdGxlIjoiUHJvZHVjdHMiLCJzbHVnIjoicHJvZHVjdHMiLCJwYXJl |
| - | bnRfaWQiOiI1MWFkYmVjNjFlNjZjZjdlMjgwMDAwMWYiLCJwb3NpdGlvbiI6 |
| - | MSwicmVzcG9uc2VfdHlwZSI6InRleHQvaHRtbCIsImNhY2hlX3N0cmF0ZWd5 |
| - | Ijoibm9uZSIsInJlZGlyZWN0IjpmYWxzZSwicmVkaXJlY3RfdHlwZSI6MzAx |
| - | LCJsaXN0ZWQiOnRydWUsInB1Ymxpc2hlZCI6dHJ1ZSwidGVtcGxhdGl6ZWQi |
| - | OmZhbHNlLCJ0ZW1wbGF0aXplZF9mcm9tX3BhcmVudCI6ZmFsc2UsImZ1bGxw |
| - | YXRoIjoicHJvZHVjdHMiLCJsb2NhbGl6ZWRfZnVsbHBhdGhzIjp7ImVuIjoi |
| - | cHJvZHVjdHMiLCJlcyI6ImVzL3Byb2R1Y3RzIn0sImRlcHRoIjoxLCJ0ZW1w |
| - | bGF0ZV9jaGFuZ2VkIjp0cnVlLCJ0cmFuc2xhdGVkX2luIjpbImVuIiwiZXMi |
| - | XSwicmF3X3RlbXBsYXRlIjoieyUgZXh0ZW5kcyBwYXJlbnQgJX0iLCJlc2Nh |
| - | cGVkX3Jhd190ZW1wbGF0ZSI6InslIGV4dGVuZHMgcGFyZW50ICV9IiwiZWRp |
| - | dGFibGVfZWxlbWVudHMiOltdLCJzZW9fdGl0bGUiOiJQcm9kdWN0b3MgU0VP |
| - | IiwibWV0YV9rZXl3b3JkcyI6InBhbGFicmFzLCBjbGF2ZSwgcHJvZHVjdG9z |
| - | IiwibWV0YV9kZXNjcmlwdGlvbiI6IkRlc2NyaXBjacOzbiBtb2xvbmEgZGUg |
| - | bG9zIHByb2R1Y3RvcyJ9 |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:18 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| + | Location: |
| + | - http://staging.example.com:3000/locomotive/api/pages |
| + | Content-Type: |
| + | - application/json; charset=utf-8 |
| + | X-Ua-Compatible: |
| + | - IE=Edge |
| + | Etag: |
| + | - '"adbbc177679aebab4f5442b46c975ab7"' |
| + | Cache-Control: |
| + | - max-age=0, private, must-revalidate |
| + | Set-Cookie: |
| + | - _locomotive_session=iVFImXwU4LRxxvm21taLtcQDkzE; domain=.example.com; path=/; |
| + | HttpOnly |
| + | X-Request-Id: |
| + | - 08b1dd7febf52138996b81a0e8d162ed |
| + | X-Runtime: |
| + | - '0.068407' |
| + | body: |
| + | encoding: UTF-8 |
| + | string: '{"id":"5238715287f643884e000011","_id":"5238715287f643884e000011","created_at":"2013-09-17T15:12:18Z","updated_at":"2013-09-17T15:12:18Z","title":"Products","slug":"products","parent_id":"5238715187f643884e00000b","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"template_changed":true,"translated_in":["en","es"],"raw_template":"{% |
| + | extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Productos |
| + | SEO","meta_keywords":"palabras, clave, productos","meta_description":"Descripci\u00f3n |
| + | molona de los productos"}' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| + | recorded_at: Tue, 17 Sep 2013 15:12:18 GMT |
| - request: | |
| method: get | |
| - | uri: http://staging.example.com:3000/locomotive/api/theme_assets.json?auth_token=pyXsXJLmwyKRYzwypTzR |
| + | uri: http://staging.example.com:3000/locomotive/api/theme_assets.json?auth_token=iaWvtP5PhmnyKypXpLbM |
| body: | |
| encoding: US-ASCII | |
| string: '' | |
| @@ | @@ -813,34 +675,32 @@ http_interactions: |
| response: | |
| status: | |
| code: 200 | |
| - | message: ! 'OK ' |
| + | message: OK |
| headers: | |
| + | Date: |
| + | - Tue, 17 Sep 2013 15:12:18 GMT |
| + | Status: |
| + | - 200 OK |
| + | Connection: |
| + | - close |
| Content-Type: | |
| - application/json; charset=utf-8 | |
| X-Ua-Compatible: | |
| - IE=Edge | |
| Etag: | |
| - | - ! '"d751713988987e9331980363e24189ce"' |
| + | - '"d751713988987e9331980363e24189ce"' |
| Cache-Control: | |
| - max-age=0, private, must-revalidate | |
| + | Set-Cookie: |
| + | - _locomotive_session=-t4DtKkjHS5nXFQ1qzDVjuudB50; domain=.example.com; path=/; |
| + | HttpOnly |
| X-Request-Id: | |
| - | - 5fecfabaec7a82e05b8e1bcee26f4907 |
| + | - 7e14bbedcd12063d6114acef640780d6 |
| X-Runtime: | |
| - | - '0.016978' |
| - | Server: |
| - | - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) |
| - | Date: |
| - | - Tue, 04 Jun 2013 10:22:33 GMT |
| - | Content-Length: |
| - | - '2' |
| - | Connection: |
| - | - Keep-Alive |
| - | Set-Cookie: |
| - | - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWVmZDQzMDA2YzhiYmRmY2VmMTJlYTRhYjY5MmU1NTEyBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--872bef25908bb96f17b6b1a41ede5c849ab4470e; |
| - | domain=.example.com; path=/; HttpOnly |
| + | - '0.035893' |
| body: | |
| - | encoding: US-ASCII |
| - | string: ! '[]' |
| + | encoding: UTF-8 |
| + | string: '[]' |
| http_version: | |
| - | recorded_at: Tue, 04 Jun 2013 10:22:33 GMT |
| - | recorded_with: VCR 2.4.0 |
| + | recorded_at: Tue, 17 Sep 2013 15:12:18 GMT |
| + | recorded_with: VCR 2.5.0 |
spec/integration/cli_spec.rb
+2
-2
| @@ | @@ -12,8 +12,8 @@ describe Locomotive::Wagon::CLI do |
| VCR.use_cassette("staging") do | |
| Locomotive::Wagon::CLI::Main.start(['push', 'staging', 'site', '-f']) | |
| end | |
| - | |
| + | |
| WebMock.should_not have_requested(:put, /sites\/.+.json\?auth_token=.+/).with(body: /site\[subdomain\]=sample/) | |
| - | WebMock.should have_requested(:put, /sites\/.+.json\?auth_token=.+/).with(body: /site\[subdomain\]=staging&site\[domains\]\[\]=staging.example.com/).twice |
| + | WebMock.should have_requested(:put, /sites\/.+.json\?auth_token=.+/).with(body: /site\[subdomain\]=staging&site\[domains\]\[\]=staging.example.com/).once |
| end | |
| end | |
| \ No newline at end of file | |
spec/integration/sites_spec.rb
+8
-7
| @@ | @@ -7,13 +7,14 @@ describe Locomotive::Wagon do |
| File.exists?('site/config/site.yml').should be_false | |
| clone_site | |
| YAML.load_file('site/config/site.yml').should == { | |
| - | 'name' =>'locomotive', |
| - | 'locales' =>['en', 'es'], |
| - | 'subdomain' =>'sample', |
| - | 'domains' =>['sample.example.com'] |
| + | 'name' => 'locomotive', |
| + | 'locales' => ['en', 'es'], |
| + | 'subdomain' => 'sample', |
| + | 'domains' => ['sample.example.com'], |
| + | 'timezone' => 'UTC' |
| } | |
| end | |
| - | |
| + | |
| it "pulls the expected data" do | |
| clone_site | |
| es = YAML.load_file('site/app/views/pages/products.es.liquid') | |
| @@ | @@ -37,7 +38,7 @@ describe Locomotive::Wagon do |
| end | |
| WebMock.should have_requested(:put, /pages\/.+.json\?auth_token=.+/).with(body: /page\[raw_template\]=New%20content%20of%20the%20home%20page/).once | |
| end | |
| - | |
| + | |
| describe "push with unrecognized resources" do | |
| subject do | |
| lambda do | |
| @@ | @@ -47,7 +48,7 @@ describe Locomotive::Wagon do |
| end | |
| end | |
| end | |
| - | |
| + | |
| it { should raise_exception(ArgumentError, /'all' resource not recognized/) } | |
| end | |
| end | |
| \ No newline at end of file | |
spec/support/helpers.rb
+1
-1
| @@ | @@ -22,7 +22,7 @@ module Spec |
| reader.run!(path: path) | |
| Locomotive::Wagon::Server.new(reader, disable_listen: true) | |
| end | |
| - | |
| + | |
| def open_in_browser | |
| path = File.join(File.dirname(__FILE__), '..', 'tmp', "wagon-#{Time.new.strftime("%Y%m%d%H%M%S")}#{rand(10**10)}.html") | |
| FileUtils.mkdir_p(File.dirname(path)) | |