locomotivecms_wagon 1.2.2 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +4 -0
  3. data/README.md +1 -1
  4. data/Rakefile +1 -1
  5. data/generators/blank/app/views/pages/404.liquid.haml +11 -0
  6. data/generators/blank/app/views/pages/index.liquid.haml +12 -0
  7. data/generators/blank/config/site.yml.tt +3 -0
  8. data/generators/bootstrap/config/site.yml.tt +3 -0
  9. data/generators/content_type/data/%name%.yml.tt +2 -2
  10. data/generators/foundation/config/site.yml.tt +3 -0
  11. data/lib/locomotive/wagon.rb +10 -2
  12. data/lib/locomotive/wagon/cli.rb +1 -1
  13. data/lib/locomotive/wagon/exceptions.rb +27 -0
  14. data/lib/locomotive/wagon/generators/site/blank.rb +10 -1
  15. data/lib/locomotive/wagon/liquid.rb +1 -1
  16. data/lib/locomotive/wagon/liquid/drops/content_types.rb +5 -0
  17. data/lib/locomotive/wagon/liquid/drops/session_proxy.rb +18 -0
  18. data/lib/locomotive/wagon/liquid/drops/site.rb +4 -0
  19. data/lib/locomotive/wagon/liquid/errors.rb +10 -0
  20. data/lib/locomotive/wagon/liquid/filters/date.rb +62 -24
  21. data/lib/locomotive/wagon/liquid/filters/html.rb +7 -5
  22. data/lib/locomotive/wagon/liquid/filters/misc.rb +17 -0
  23. data/lib/locomotive/wagon/liquid/filters/text.rb +8 -2
  24. data/lib/locomotive/wagon/liquid/patches.rb +1 -1
  25. data/lib/locomotive/wagon/liquid/scopeable.rb +128 -11
  26. data/lib/locomotive/wagon/liquid/tags/consume.rb +60 -18
  27. data/lib/locomotive/wagon/liquid/tags/editable/base.rb +4 -4
  28. data/lib/locomotive/wagon/liquid/tags/extends.rb +2 -2
  29. data/lib/locomotive/wagon/liquid/tags/google_analytics.rb +2 -2
  30. data/lib/locomotive/wagon/liquid/tags/link_to.rb +20 -9
  31. data/lib/locomotive/wagon/liquid/tags/locale_switcher.rb +7 -7
  32. data/lib/locomotive/wagon/liquid/tags/nav.rb +22 -22
  33. data/lib/locomotive/wagon/liquid/tags/paginate.rb +2 -2
  34. data/lib/locomotive/wagon/liquid/tags/session_assign.rb +41 -0
  35. data/lib/locomotive/wagon/liquid/tags/snippet.rb +25 -6
  36. data/lib/locomotive/wagon/liquid/tags/with_scope.rb +9 -8
  37. data/lib/locomotive/wagon/misc.rb +5 -1
  38. data/lib/locomotive/wagon/misc/better_errors.rb +70 -0
  39. data/lib/locomotive/wagon/misc/core_ext.rb +8 -1
  40. data/lib/locomotive/wagon/misc/haml.rb +15 -0
  41. data/lib/locomotive/wagon/misc/markdown.rb +27 -0
  42. data/lib/locomotive/wagon/misc/mounter.rb +32 -0
  43. data/lib/locomotive/wagon/server.rb +6 -4
  44. data/lib/locomotive/wagon/server/dynamic_assets.rb +3 -8
  45. data/lib/locomotive/wagon/server/logging.rb +2 -2
  46. data/lib/locomotive/wagon/server/renderer.rb +17 -12
  47. data/lib/locomotive/wagon/server/timezone.rb +18 -0
  48. data/lib/locomotive/wagon/version.rb +1 -1
  49. data/locales/en.yml +11 -0
  50. data/locomotivecms_wagon.gemspec +6 -5
  51. data/spec/fixtures/default/app/content_types/events.yml +7 -1
  52. data/spec/fixtures/default/app/views/pages/contest.liquid.haml +18 -0
  53. data/spec/fixtures/default/app/views/pages/filtered.liquid.haml +10 -0
  54. data/spec/fixtures/default/app/views/pages/index.liquid.haml +2 -6
  55. data/spec/fixtures/default/app/views/pages/music.fr.liquid.haml +4 -0
  56. data/spec/fixtures/default/app/views/pages/songs/template.fr.liquid.haml +16 -0
  57. data/spec/fixtures/default/app/views/pages/songs/template/band.liquid.haml +16 -0
  58. data/spec/fixtures/default/app/views/snippets/footer.liquid.haml +6 -0
  59. data/spec/fixtures/default/app/views/snippets/song.fr.liquid.haml +1 -1
  60. data/spec/fixtures/default/data/events.yml +4 -0
  61. data/spec/integration/cassettes/pull.yml +308 -450
  62. data/spec/integration/cassettes/push.yml +446 -492
  63. data/spec/integration/cassettes/staging.yml +360 -500
  64. data/spec/integration/cli_spec.rb +2 -2
  65. data/spec/integration/server/basic_spec.rb +30 -0
  66. data/spec/integration/server/liquid_spec.rb +7 -0
  67. data/spec/integration/server/with_scope_spec.rb +20 -0
  68. data/spec/integration/sites_spec.rb +8 -7
  69. data/spec/support/helpers.rb +1 -1
  70. metadata +65 -78
@@ -2,16 +2,22 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://sample.example.com:3000/locomotive/api/tokens.json?auth_token=pyXsXJLmwyKRYzwypTzR
5
+ uri: http://sample.example.com:3000/locomotive/api/tokens.json?auth_token=iaWvtP5PhmnyKypXpLbM
6
6
  body:
7
- encoding: US-ASCII
7
+ encoding: UTF-8
8
8
  string: email=admin%40locomotivecms.com&password=locomotive
9
9
  headers: {}
10
10
  response:
11
11
  status:
12
12
  code: 200
13
- message: ! 'OK '
13
+ message: OK
14
14
  headers:
15
+ Date:
16
+ - Tue, 17 Sep 2013 15:12:29 GMT
17
+ Status:
18
+ - 200 OK
19
+ Connection:
20
+ - close
15
21
  Location:
16
22
  - http://sample.example.com:3000/locomotive/
17
23
  Content-Type:
@@ -19,32 +25,24 @@ http_interactions:
19
25
  X-Ua-Compatible:
20
26
  - IE=Edge
21
27
  Etag:
22
- - ! '"76484a9468c21a481d85ab96230ec0af"'
28
+ - '"d1a90b45e031fb4f87663184c2a67dbd"'
23
29
  Cache-Control:
24
30
  - max-age=0, private, must-revalidate
31
+ Set-Cookie:
32
+ - _locomotive_session=fs_OVk1gY-Z4gywI8nuSyzxqi9k; domain=.example.com; path=/;
33
+ HttpOnly
25
34
  X-Request-Id:
26
- - 04ca418ddce7ea3663ad1bbc0b2945cd
35
+ - d9aebd9735de14b3281c96755a8fbcdf
27
36
  X-Runtime:
28
- - '0.015508'
29
- Server:
30
- - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
31
- Date:
32
- - Tue, 04 Jun 2013 10:22:39 GMT
33
- Content-Length:
34
- - '32'
35
- Connection:
36
- - Keep-Alive
37
- Set-Cookie:
38
- - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTg1ZDg5Yjg2MzI2MjZhNGFjZGQzNjc1MDJmNzI5YWM5BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewA6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOgtub3RpY2VJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjSGFzaCB3YXMgc3VjY2Vzc2Z1bGx5IGNyZWF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--fa9874696ed021122b3f0b0f18a89217aa6f28fa;
39
- domain=.example.com; path=/; HttpOnly
37
+ - '0.033607'
40
38
  body:
41
- encoding: US-ASCII
42
- string: ! '{"token":"pyXsXJLmwyKRYzwypTzR"}'
39
+ encoding: UTF-8
40
+ string: '{"token":"iaWvtP5PhmnyKypXpLbM"}'
43
41
  http_version:
44
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
42
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
45
43
  - request:
46
44
  method: get
47
- uri: http://sample.example.com:3000/locomotive/api/current_site.json?auth_token=pyXsXJLmwyKRYzwypTzR
45
+ uri: http://sample.example.com:3000/locomotive/api/current_site.json?auth_token=iaWvtP5PhmnyKypXpLbM
48
46
  body:
49
47
  encoding: US-ASCII
50
48
  string: ''
@@ -52,127 +50,121 @@ http_interactions:
52
50
  response:
53
51
  status:
54
52
  code: 200
55
- message: ! 'OK '
53
+ message: OK
56
54
  headers:
55
+ Date:
56
+ - Tue, 17 Sep 2013 15:12:29 GMT
57
+ Status:
58
+ - 200 OK
59
+ Connection:
60
+ - close
57
61
  Content-Type:
58
62
  - application/json; charset=utf-8
59
63
  X-Ua-Compatible:
60
64
  - IE=Edge
61
65
  Etag:
62
- - ! '"61a593468e060f48c3feadff5d12f4ed"'
66
+ - '"44c3f51a8b65cd145a65bd507037a52f"'
63
67
  Cache-Control:
64
68
  - max-age=0, private, must-revalidate
69
+ Set-Cookie:
70
+ - _locomotive_session=c9X9XRkfZMxsJlLMKeKOikF9xiY; domain=.example.com; path=/;
71
+ HttpOnly
65
72
  X-Request-Id:
66
- - c599c47eba0f69c5f1c3a85b7e903c44
73
+ - 8bbd1c22fff0613611ab463c29bcf6e3
67
74
  X-Runtime:
68
- - '0.015406'
69
- Server:
70
- - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
71
- Date:
72
- - Tue, 04 Jun 2013 10:22:39 GMT
73
- Content-Length:
74
- - '546'
75
- Connection:
76
- - Keep-Alive
77
- Set-Cookie:
78
- - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTIyYTJkYjY2NWUxMDQ0NjNiYzgzNDU1ODFmNDRjZjgyBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--7d7fc165714605a13c2ed0b04ddaf2065059acce;
79
- domain=.example.com; path=/; HttpOnly
75
+ - '0.034084'
80
76
  body:
81
- encoding: US-ASCII
82
- 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"}]}'
77
+ encoding: UTF-8
78
+ 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"}]}'
83
79
  http_version:
84
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
80
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
85
81
  - request:
86
82
  method: put
87
- uri: http://sample.example.com:3000/locomotive/api/sites/51adbebf1e66cfabe5000006.json?auth_token=pyXsXJLmwyKRYzwypTzR
83
+ uri: http://sample.example.com:3000/locomotive/api/sites/5238710587f6431df7000006.json?auth_token=iaWvtP5PhmnyKypXpLbM
88
84
  body:
89
- encoding: US-ASCII
90
- string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=sample&site[domains][]=sample.example.com&locale=en
85
+ encoding: UTF-8
86
+ string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=sample&site[domains][]=sample.example.com&site[timezone]=UTC&locale=en
91
87
  headers: {}
92
88
  response:
93
89
  status:
94
90
  code: 200
95
- message: ! 'OK '
91
+ message: OK
96
92
  headers:
93
+ Date:
94
+ - Tue, 17 Sep 2013 15:12:29 GMT
95
+ Status:
96
+ - 200 OK
97
+ Connection:
98
+ - close
97
99
  X-Message:
98
- - ! '"Site%20was%20successfully%20updated."'
100
+ - '"Site%20was%20successfully%20updated."'
99
101
  X-Message-Type:
100
102
  - notice
101
103
  Location:
102
- - http://sample.example.com:3000/locomotive/sites/51adbebf1e66cfabe5000006
104
+ - http://sample.example.com:3000/locomotive/sites/5238710587f6431df7000006
103
105
  Content-Type:
104
106
  - application/json; charset=utf-8
105
107
  X-Ua-Compatible:
106
108
  - IE=Edge
107
109
  Etag:
108
- - ! '"61a593468e060f48c3feadff5d12f4ed"'
110
+ - '"44c3f51a8b65cd145a65bd507037a52f"'
109
111
  Cache-Control:
110
112
  - max-age=0, private, must-revalidate
113
+ Set-Cookie:
114
+ - _locomotive_session=Cx2V5L0kuHEkwGXt7I1SLqA97dg; domain=.example.com; path=/;
115
+ HttpOnly
111
116
  X-Request-Id:
112
- - 07678fa11e9ef11310daddcb3c5fa97e
117
+ - 83e85254e7ce985b1dc3ed4266b3fec2
113
118
  X-Runtime:
114
- - '0.019949'
115
- Server:
116
- - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
117
- Date:
118
- - Tue, 04 Jun 2013 10:22:39 GMT
119
- Content-Length:
120
- - '546'
121
- Connection:
122
- - Keep-Alive
123
- Set-Cookie:
124
- - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTgyODU4NTlhMDQyNjk1NjA3Mjg1YWU3ZjJhYThlNzRiBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjU2l0ZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--aec06b600f3820555943fb7eff9ac661db9db30d;
125
- domain=.example.com; path=/; HttpOnly
119
+ - '0.042342'
126
120
  body:
127
- encoding: US-ASCII
128
- 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"}]}'
121
+ encoding: UTF-8
122
+ 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"}]}'
129
123
  http_version:
130
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
124
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
131
125
  - request:
132
126
  method: put
133
- uri: http://sample.example.com:3000/locomotive/api/sites/51adbebf1e66cfabe5000006.json?auth_token=pyXsXJLmwyKRYzwypTzR
127
+ uri: http://sample.example.com:3000/locomotive/api/sites/5238710587f6431df7000006.json?auth_token=iaWvtP5PhmnyKypXpLbM
134
128
  body:
135
- encoding: US-ASCII
136
- string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=sample&site[domains][]=sample.example.com&locale=es
129
+ encoding: UTF-8
130
+ string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=sample&site[domains][]=sample.example.com&site[timezone]=UTC&locale=es
137
131
  headers: {}
138
132
  response:
139
133
  status:
140
134
  code: 200
141
- message: ! 'OK '
135
+ message: OK
142
136
  headers:
137
+ Date:
138
+ - Tue, 17 Sep 2013 15:12:29 GMT
139
+ Status:
140
+ - 200 OK
141
+ Connection:
142
+ - close
143
143
  Location:
144
- - http://sample.example.com:3000/locomotive/sites/51adbebf1e66cfabe5000006
144
+ - http://sample.example.com:3000/locomotive/sites/5238710587f6431df7000006
145
145
  Content-Type:
146
146
  - application/json; charset=utf-8
147
147
  X-Ua-Compatible:
148
148
  - IE=Edge
149
149
  Etag:
150
- - ! '"d9a13584b512412e95b8fe2f78cd0bae"'
150
+ - '"f3da36b3e0ddaffbc93f97aaae09ae52"'
151
151
  Cache-Control:
152
152
  - max-age=0, private, must-revalidate
153
+ Set-Cookie:
154
+ - _locomotive_session=DIIGKjnrz_Jb8mmsa1UA8K3q_7A; domain=.example.com; path=/;
155
+ HttpOnly
153
156
  X-Request-Id:
154
- - f7574d25ef37b7c4e644b45f94b5a69d
157
+ - e4f383a6a9619da9e675c7710be0e56f
155
158
  X-Runtime:
156
- - '0.018924'
157
- Server:
158
- - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
159
- Date:
160
- - Tue, 04 Jun 2013 10:22:39 GMT
161
- Content-Length:
162
- - '546'
163
- Connection:
164
- - Keep-Alive
165
- Set-Cookie:
166
- - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTkyYzcyNjhiMDlkYmNhYWI3ZTA5NDM4YTVmMTA0ZDEyBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--ebe334034abf965517fae26b6957a6b4b02d8a10;
167
- domain=.example.com; path=/; HttpOnly
159
+ - '0.033201'
168
160
  body:
169
- encoding: US-ASCII
170
- 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"}]}'
161
+ encoding: UTF-8
162
+ 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"}]}'
171
163
  http_version:
172
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
164
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
173
165
  - request:
174
166
  method: get
175
- uri: http://sample.example.com:3000/locomotive/api/snippets.json?auth_token=pyXsXJLmwyKRYzwypTzR
167
+ uri: http://sample.example.com:3000/locomotive/api/snippets.json?auth_token=iaWvtP5PhmnyKypXpLbM
176
168
  body:
177
169
  encoding: US-ASCII
178
170
  string: ''
@@ -180,39 +172,37 @@ http_interactions:
180
172
  response:
181
173
  status:
182
174
  code: 200
183
- message: ! 'OK '
175
+ message: OK
184
176
  headers:
177
+ Date:
178
+ - Tue, 17 Sep 2013 15:12:29 GMT
179
+ Status:
180
+ - 200 OK
181
+ Connection:
182
+ - close
185
183
  Content-Type:
186
184
  - application/json; charset=utf-8
187
185
  X-Ua-Compatible:
188
186
  - IE=Edge
189
187
  Etag:
190
- - ! '"d751713988987e9331980363e24189ce"'
188
+ - '"d751713988987e9331980363e24189ce"'
191
189
  Cache-Control:
192
190
  - max-age=0, private, must-revalidate
191
+ Set-Cookie:
192
+ - _locomotive_session=cUQPBrl6XSD8IUzwVq_YGmsukTs; domain=.example.com; path=/;
193
+ HttpOnly
193
194
  X-Request-Id:
194
- - c8ff81f453c90767ca2a06a92dd755f9
195
+ - c84820f0370f21235a3cea8b6ebf859a
195
196
  X-Runtime:
196
- - '0.016968'
197
- Server:
198
- - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
199
- Date:
200
- - Tue, 04 Jun 2013 10:22:39 GMT
201
- Content-Length:
202
- - '2'
203
- Connection:
204
- - Keep-Alive
205
- Set-Cookie:
206
- - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWJiNGRlMmMxNTcxMTkxZGM4YjdiNGJlMGZiZmZkZTg1BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--ce964fec3a5ea73e645794a9b025b9963300966f;
207
- domain=.example.com; path=/; HttpOnly
197
+ - '0.043700'
208
198
  body:
209
- encoding: US-ASCII
210
- string: ! '[]'
199
+ encoding: UTF-8
200
+ string: '[]'
211
201
  http_version:
212
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
202
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
213
203
  - request:
214
204
  method: get
215
- uri: http://sample.example.com:3000/locomotive/api/content_types.json?auth_token=pyXsXJLmwyKRYzwypTzR
205
+ uri: http://sample.example.com:3000/locomotive/api/content_types.json?auth_token=iaWvtP5PhmnyKypXpLbM
216
206
  body:
217
207
  encoding: US-ASCII
218
208
  string: ''
@@ -220,51 +210,55 @@ http_interactions:
220
210
  response:
221
211
  status:
222
212
  code: 200
223
- message: ! 'OK '
213
+ message: OK
224
214
  headers:
215
+ Date:
216
+ - Tue, 17 Sep 2013 15:12:29 GMT
217
+ Status:
218
+ - 200 OK
219
+ Connection:
220
+ - close
225
221
  Content-Type:
226
222
  - application/json; charset=utf-8
227
223
  X-Ua-Compatible:
228
224
  - IE=Edge
229
225
  Etag:
230
- - ! '"c5dfc55543eaa60dddd30842bf91c11e"'
226
+ - '"80558e8d8878e660f5cfd6b06152de50"'
231
227
  Cache-Control:
232
228
  - max-age=0, private, must-revalidate
229
+ Set-Cookie:
230
+ - _locomotive_session=hxdOku9hSqQUYilRG9-NkW9XEH0; domain=.example.com; path=/;
231
+ HttpOnly
233
232
  X-Request-Id:
234
- - fa06dba1236b0f8960322aea6d6478b0
233
+ - 6364cbf710cadec38b6f26305b5adf83
235
234
  X-Runtime:
236
- - '0.021543'
237
- Server:
238
- - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
239
- Date:
240
- - Tue, 04 Jun 2013 10:22:39 GMT
241
- Content-Length:
242
- - '781'
243
- Connection:
244
- - Keep-Alive
245
- Set-Cookie:
246
- - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTM3NjY2YTBhY2IzMGUwMWIxMWY0NWEyMDg2NTkwMDA1BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--7a3bcaddfce35ad8674f7a723c4eb0f9f7c4bda1;
247
- domain=.example.com; path=/; HttpOnly
235
+ - '0.044222'
248
236
  body:
249
- encoding: US-ASCII
250
- 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
237
+ encoding: UTF-8
238
+ 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
251
239
  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":[]}]'
252
240
  http_version:
253
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
241
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
254
242
  - request:
255
243
  method: put
256
- uri: http://sample.example.com:3000/locomotive/api/content_types/51adbfb31e66cf8d8a000021.json?auth_token=pyXsXJLmwyKRYzwypTzR
244
+ uri: http://sample.example.com:3000/locomotive/api/content_types/5238712587f643884e000001.json?auth_token=iaWvtP5PhmnyKypXpLbM
257
245
  body:
258
- encoding: US-ASCII
259
- 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
246
+ encoding: UTF-8
247
+ 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
260
248
  headers: {}
261
249
  response:
262
250
  status:
263
251
  code: 200
264
- message: ! 'OK '
252
+ message: OK
265
253
  headers:
254
+ Date:
255
+ - Tue, 17 Sep 2013 15:12:29 GMT
256
+ Status:
257
+ - 200 OK
258
+ Connection:
259
+ - close
266
260
  X-Message:
267
- - ! '"Content%20type%20was%20successfully%20updated."'
261
+ - '"Content%20type%20was%20successfully%20updated."'
268
262
  X-Message-Type:
269
263
  - notice
270
264
  Location:
@@ -274,33 +268,25 @@ http_interactions:
274
268
  X-Ua-Compatible:
275
269
  - IE=Edge
276
270
  Etag:
277
- - ! '"89bdda4fe1626cd895b4982c0e3e430f"'
271
+ - '"f42f53cd9530a868386f8ccd7f24139f"'
278
272
  Cache-Control:
279
273
  - max-age=0, private, must-revalidate
274
+ Set-Cookie:
275
+ - _locomotive_session=EBdnidWHznKcsBlsV0UrN0tk18U; domain=.example.com; path=/;
276
+ HttpOnly
280
277
  X-Request-Id:
281
- - 8e91d8616df4f9288f6778206b9f4764
278
+ - a41721005f01fc520cf7f444c2168468
282
279
  X-Runtime:
283
- - '0.037344'
284
- Server:
285
- - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
286
- Date:
287
- - Tue, 04 Jun 2013 10:22:39 GMT
288
- Content-Length:
289
- - '779'
290
- Connection:
291
- - Keep-Alive
292
- Set-Cookie:
293
- - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTE2NWRlODg5MjU3MjVjZTgxODg5ODU1ODA3OGRiZDIyBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIrQ29udGVudCB0eXBlIHdhcyBzdWNjZXNzZnVsbHkgdXBkYXRlZC4HOwBUOg9AaHRtbF9zYWZlVDoJQG5vdzA%3D--cc6b23e81163bbf30f4ba578ab470cb930f957e4;
294
- domain=.example.com; path=/; HttpOnly
280
+ - '0.061994'
295
281
  body:
296
- encoding: US-ASCII
297
- 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
282
+ encoding: UTF-8
283
+ 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
298
284
  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":[]}'
299
285
  http_version:
300
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
286
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
301
287
  - request:
302
288
  method: get
303
- uri: http://sample.example.com:3000/locomotive/api/pages.json?auth_token=pyXsXJLmwyKRYzwypTzR
289
+ uri: http://sample.example.com:3000/locomotive/api/translations.json?auth_token=iaWvtP5PhmnyKypXpLbM
304
290
  body:
305
291
  encoding: US-ASCII
306
292
  string: ''
@@ -308,64 +294,152 @@ http_interactions:
308
294
  response:
309
295
  status:
310
296
  code: 200
311
- message: ! 'OK '
297
+ message: OK
312
298
  headers:
299
+ Date:
300
+ - Tue, 17 Sep 2013 15:12:29 GMT
301
+ Status:
302
+ - 200 OK
303
+ Connection:
304
+ - close
313
305
  Content-Type:
314
306
  - application/json; charset=utf-8
315
307
  X-Ua-Compatible:
316
308
  - IE=Edge
317
309
  Etag:
318
- - ! '"6f9c2002c4936d44d8051654669cae00"'
310
+ - '"5c1b51393d2233a4df57efd63547d153"'
319
311
  Cache-Control:
320
312
  - max-age=0, private, must-revalidate
313
+ Set-Cookie:
314
+ - _locomotive_session=98w4xa3hxpDA5QJ1hqg8LpXhAxA; domain=.example.com; path=/;
315
+ HttpOnly
321
316
  X-Request-Id:
322
- - 25150dc928415d0550a4adaabe4e0150
317
+ - 4db2fadb99be65ba3a142ddf93a95247
323
318
  X-Runtime:
324
- - '0.024878'
325
- Server:
326
- - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
319
+ - '0.032204'
320
+ body:
321
+ encoding: UTF-8
322
+ 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
323
+ world!","es":"\u00a1Hola, Mundo!"}}]'
324
+ http_version:
325
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
326
+ - request:
327
+ method: put
328
+ uri: http://sample.example.com:3000/locomotive/api/translations/5238712587f643884e000005.json?auth_token=iaWvtP5PhmnyKypXpLbM
329
+ body:
330
+ encoding: UTF-8
331
+ string: translation[key]=hello_world&translation[values][en]=Hello%20world!&translation[values][es]=%C2%A1Hola%2C%20Mundo!
332
+ headers: {}
333
+ response:
334
+ status:
335
+ code: 200
336
+ message: OK
337
+ headers:
327
338
  Date:
328
- - Tue, 04 Jun 2013 10:22:39 GMT
329
- Content-Length:
330
- - '3549'
339
+ - Tue, 17 Sep 2013 15:12:29 GMT
340
+ Status:
341
+ - 200 OK
331
342
  Connection:
332
- - Keep-Alive
343
+ - close
344
+ X-Message:
345
+ - '"Translation%20was%20successfully%20updated."'
346
+ X-Message-Type:
347
+ - notice
348
+ Location:
349
+ - /locomotive/api/translations/5238712587f643884e000005
350
+ Content-Type:
351
+ - application/json; charset=utf-8
352
+ X-Ua-Compatible:
353
+ - IE=Edge
354
+ Etag:
355
+ - '"6e258b019216e6110fa565858cd7caed"'
356
+ Cache-Control:
357
+ - max-age=0, private, must-revalidate
333
358
  Set-Cookie:
334
- - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWIzYTc4OTk2Njc2Y2ZiN2RjZDcxMjNlM2RlMmU5OWQyBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--5865468bc6b7a3b303b2dfdd0e47790d53a53881;
335
- domain=.example.com; path=/; HttpOnly
359
+ - _locomotive_session=cjpnyxUPBgDS74JFiVY3b1xspNU; domain=.example.com; path=/;
360
+ HttpOnly
361
+ X-Request-Id:
362
+ - 0a37b1f12e447e0215ef983e9443930f
363
+ X-Runtime:
364
+ - '0.045002'
365
+ body:
366
+ encoding: UTF-8
367
+ 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
368
+ world!","es":"\u00a1Hola, Mundo!"}}'
369
+ http_version:
370
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
371
+ - request:
372
+ method: get
373
+ uri: http://sample.example.com:3000/locomotive/api/pages.json?auth_token=iaWvtP5PhmnyKypXpLbM
336
374
  body:
337
375
  encoding: US-ASCII
338
- string: ! '[{"id":"51adbebf1e66cfabe5000007","_id":"51adbebf1e66cfabe5000007","created_at":"2013-06-04T10:17:35Z","updated_at":"2013-06-04T10:21:39Z","title":"Home
376
+ string: ''
377
+ headers: {}
378
+ response:
379
+ status:
380
+ code: 200
381
+ message: OK
382
+ headers:
383
+ Date:
384
+ - Tue, 17 Sep 2013 15:12:29 GMT
385
+ Status:
386
+ - 200 OK
387
+ Connection:
388
+ - close
389
+ Content-Type:
390
+ - application/json; charset=utf-8
391
+ X-Ua-Compatible:
392
+ - IE=Edge
393
+ Etag:
394
+ - '"a19c8f4823366aaef7a28e95582c9b2d"'
395
+ Cache-Control:
396
+ - max-age=0, private, must-revalidate
397
+ Set-Cookie:
398
+ - _locomotive_session=PXfqBBIYd5_C0wvN1XiAFcJyJnA; domain=.example.com; path=/;
399
+ HttpOnly
400
+ X-Request-Id:
401
+ - 9b7d0d6fadd5361f5a9b1ca5a499e6b2
402
+ X-Runtime:
403
+ - '0.043180'
404
+ body:
405
+ encoding: UTF-8
406
+ string: '[{"id":"5238710587f6431df7000007","_id":"5238710587f6431df7000007","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Home
339
407
  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":"{%
340
408
  block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","escaped_raw_template":"{%
341
- 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":"{{
409
+ 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":"{{
342
410
  ''hello_world'' | translate}}","escaped_raw_template":"{{ 'hello_world'
343
- | 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":"{%
411
+ | 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":"{%
344
412
  extends parent %}\r\n{% block content %}\r\n The name of the latest product
345
413
  is: {{ contents.products.last.name }}\r\n{% endblock %}","escaped_raw_template":"{%
346
414
  extends parent %}\r\n{% block content %}\r\n The name of the latest product
347
- 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
415
+ 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
348
416
  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
349
- 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":"{%
417
+ 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":"{%
350
418
  extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Search
351
419
  friendly products","meta_keywords":"fancy, products, keywords","meta_description":"Fancy
352
420
  products description"}]'
353
421
  http_version:
354
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
422
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
355
423
  - request:
356
424
  method: put
357
- uri: http://sample.example.com:3000/locomotive/api/pages/51adbebf1e66cfabe5000007.json?auth_token=pyXsXJLmwyKRYzwypTzR
425
+ uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000007.json?auth_token=iaWvtP5PhmnyKypXpLbM
358
426
  body:
359
- encoding: US-ASCII
427
+ encoding: UTF-8
360
428
  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
361
429
  headers: {}
362
430
  response:
363
431
  status:
364
432
  code: 200
365
- message: ! 'OK '
433
+ message: OK
366
434
  headers:
435
+ Date:
436
+ - Tue, 17 Sep 2013 15:12:29 GMT
437
+ Status:
438
+ - 200 OK
439
+ Connection:
440
+ - close
367
441
  X-Message:
368
- - ! '"Page%20was%20successfully%20updated."'
442
+ - '"Page%20was%20successfully%20updated."'
369
443
  X-Message-Type:
370
444
  - notice
371
445
  Location:
@@ -375,46 +449,44 @@ http_interactions:
375
449
  X-Ua-Compatible:
376
450
  - IE=Edge
377
451
  Etag:
378
- - ! '"8ec8d40c252a4cfc02ce7726e6a23e94"'
452
+ - '"6ffba3690379b6da746fd27d92f7248a"'
379
453
  Cache-Control:
380
454
  - max-age=0, private, must-revalidate
455
+ Set-Cookie:
456
+ - _locomotive_session=duU5dLDj_8QFxXTFIEQ14_NmjtM; domain=.example.com; path=/;
457
+ HttpOnly
381
458
  X-Request-Id:
382
- - 91d5952fafb1e3fc2fa02636f02a1250
459
+ - 4bf8bbc4161c73ff8cbb68fa7e839151
383
460
  X-Runtime:
384
- - '0.022852'
385
- Server:
386
- - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
387
- Date:
388
- - Tue, 04 Jun 2013 10:22:39 GMT
389
- Content-Length:
390
- - '682'
391
- Connection:
392
- - Keep-Alive
393
- Set-Cookie:
394
- - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTRlMWI1ZTA2Y2Q5MWViMjc1ODY1MGYxZGI3NGMzZmYzBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--f90af9bd97670a000f7b2d684272ef63d46c7faa;
395
- domain=.example.com; path=/; HttpOnly
461
+ - '0.047836'
396
462
  body:
397
- encoding: US-ASCII
398
- string: ! '{"id":"51adbebf1e66cfabe5000007","_id":"51adbebf1e66cfabe5000007","created_at":"2013-06-04T10:17:35Z","updated_at":"2013-06-04T10:21:39Z","title":"Home
463
+ encoding: UTF-8
464
+ string: '{"id":"5238710587f6431df7000007","_id":"5238710587f6431df7000007","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Home
399
465
  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":"{%
400
466
  block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","escaped_raw_template":"{%
401
467
  block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","editable_elements":[]}'
402
468
  http_version:
403
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
469
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
404
470
  - request:
405
471
  method: put
406
- uri: http://sample.example.com:3000/locomotive/api/pages/51adbebf1e66cfabe5000008.json?auth_token=pyXsXJLmwyKRYzwypTzR
472
+ uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000008.json?auth_token=iaWvtP5PhmnyKypXpLbM
407
473
  body:
408
- encoding: US-ASCII
474
+ encoding: UTF-8
409
475
  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
410
476
  headers: {}
411
477
  response:
412
478
  status:
413
479
  code: 200
414
- message: ! 'OK '
480
+ message: OK
415
481
  headers:
482
+ Date:
483
+ - Tue, 17 Sep 2013 15:12:29 GMT
484
+ Status:
485
+ - 200 OK
486
+ Connection:
487
+ - close
416
488
  X-Message:
417
- - ! '"Page%20was%20successfully%20updated."'
489
+ - '"Page%20was%20successfully%20updated."'
418
490
  X-Message-Type:
419
491
  - notice
420
492
  Location:
@@ -424,45 +496,43 @@ http_interactions:
424
496
  X-Ua-Compatible:
425
497
  - IE=Edge
426
498
  Etag:
427
- - ! '"75e82fa8700e82c1e79e7288b9212c55"'
499
+ - '"51be0ea69464ebbebabffdc75ca040e6"'
428
500
  Cache-Control:
429
501
  - max-age=0, private, must-revalidate
502
+ Set-Cookie:
503
+ - _locomotive_session=4McSFfrelnpxYjmqfxDPY9qgTww; domain=.example.com; path=/;
504
+ HttpOnly
430
505
  X-Request-Id:
431
- - 4086e3f20933d43b645d3e5c9578de0a
506
+ - 8e53fa6a4871e216fcbb4638cf018d16
432
507
  X-Runtime:
433
- - '0.022753'
434
- Server:
435
- - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
436
- Date:
437
- - Tue, 04 Jun 2013 10:22:39 GMT
438
- Content-Length:
439
- - '578'
440
- Connection:
441
- - Keep-Alive
442
- Set-Cookie:
443
- - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTUzZmU3MDA4Mjg5MzE0MjI3NzhjNmIwNjFkY2FhMzI4BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--607ea1d0cdbc817c2215cfd676519a076a8d2639;
444
- domain=.example.com; path=/; HttpOnly
508
+ - '0.047939'
445
509
  body:
446
- encoding: US-ASCII
447
- string: ! '{"id":"51adbebf1e66cfabe5000008","_id":"51adbebf1e66cfabe5000008","created_at":"2013-06-04T10:17:35Z","updated_at":"2013-06-04T10:21:39Z","title":"Page
510
+ encoding: UTF-8
511
+ string: '{"id":"5238710587f6431df7000008","_id":"5238710587f6431df7000008","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"Page
448
512
  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
449
513
  of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}'
450
514
  http_version:
451
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
515
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
452
516
  - request:
453
517
  method: put
454
- uri: http://sample.example.com:3000/locomotive/api/pages/51adbfb31e66cf033d000025.json?auth_token=pyXsXJLmwyKRYzwypTzR
518
+ uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000006.json?auth_token=iaWvtP5PhmnyKypXpLbM
455
519
  body:
456
- encoding: US-ASCII
457
- 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
520
+ encoding: UTF-8
521
+ 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
458
522
  headers: {}
459
523
  response:
460
524
  status:
461
525
  code: 200
462
- message: ! 'OK '
526
+ message: OK
463
527
  headers:
528
+ Date:
529
+ - Tue, 17 Sep 2013 15:12:29 GMT
530
+ Status:
531
+ - 200 OK
532
+ Connection:
533
+ - close
464
534
  X-Message:
465
- - ! '"Page%20was%20successfully%20updated."'
535
+ - '"Page%20was%20successfully%20updated."'
466
536
  X-Message-Type:
467
537
  - notice
468
538
  Location:
@@ -472,45 +542,43 @@ http_interactions:
472
542
  X-Ua-Compatible:
473
543
  - IE=Edge
474
544
  Etag:
475
- - ! '"f40e2854078b73ef4fc10f8202792536"'
545
+ - '"a202b02adc5632297cf5e8f3bf2409ae"'
476
546
  Cache-Control:
477
547
  - max-age=0, private, must-revalidate
548
+ Set-Cookie:
549
+ - _locomotive_session=kit5yHtwhnibsHnc_gTKkA2t6yc; domain=.example.com; path=/;
550
+ HttpOnly
478
551
  X-Request-Id:
479
- - 3861e1680ada5e636833be2a0e58be0e
552
+ - 0c1477d58c67745cf298b0cc8d620a78
480
553
  X-Runtime:
481
- - '0.025461'
482
- Server:
483
- - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
484
- Date:
485
- - Tue, 04 Jun 2013 10:22:39 GMT
486
- Content-Length:
487
- - '660'
488
- Connection:
489
- - Keep-Alive
490
- Set-Cookie:
491
- - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWZmY2QwMmFlYWMwYmNiODczZTc1M2U4NWUzZTE1MzBkBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--26cb555291d0d70d5daf361c516ba3e9e3a3320a;
492
- domain=.example.com; path=/; HttpOnly
554
+ - '0.044674'
493
555
  body:
494
- encoding: US-ASCII
495
- 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":"{{
556
+ encoding: UTF-8
557
+ 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":"{{
496
558
  ''hello_world'' | translate}}","escaped_raw_template":"{{ 'hello_world'
497
559
  | translate}}","editable_elements":[]}'
498
560
  http_version:
499
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
561
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
500
562
  - request:
501
563
  method: put
502
- uri: http://sample.example.com:3000/locomotive/api/pages/51adbfb31e66cfb3d3000026.json?auth_token=pyXsXJLmwyKRYzwypTzR
564
+ uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000007.json?auth_token=iaWvtP5PhmnyKypXpLbM
503
565
  body:
504
- encoding: US-ASCII
505
- 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
566
+ encoding: UTF-8
567
+ 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
506
568
  headers: {}
507
569
  response:
508
570
  status:
509
571
  code: 200
510
- message: ! 'OK '
572
+ message: OK
511
573
  headers:
574
+ Date:
575
+ - Tue, 17 Sep 2013 15:12:29 GMT
576
+ Status:
577
+ - 200 OK
578
+ Connection:
579
+ - close
512
580
  X-Message:
513
- - ! '"Page%20was%20successfully%20updated."'
581
+ - '"Page%20was%20successfully%20updated."'
514
582
  X-Message-Type:
515
583
  - notice
516
584
  Location:
@@ -520,46 +588,44 @@ http_interactions:
520
588
  X-Ua-Compatible:
521
589
  - IE=Edge
522
590
  Etag:
523
- - ! '"d15a81b0730f313397e38e645e8ad877"'
591
+ - '"8f39ff72128b0d2f1362df309b2a067c"'
524
592
  Cache-Control:
525
593
  - max-age=0, private, must-revalidate
594
+ Set-Cookie:
595
+ - _locomotive_session=ky2khm8wBrdzKCUesWW3xuerRn4; domain=.example.com; path=/;
596
+ HttpOnly
526
597
  X-Request-Id:
527
- - 1c620ccf395060cc691f4352da4e8c7e
598
+ - 33d483adaf6bb546ba2c74c65948e216
528
599
  X-Runtime:
529
- - '0.257074'
530
- Server:
531
- - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
532
- Date:
533
- - Tue, 04 Jun 2013 10:22:39 GMT
534
- Content-Length:
535
- - '756'
536
- Connection:
537
- - Keep-Alive
538
- Set-Cookie:
539
- - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTI2NTliZDA1OGQxOGU3NmY2N2EwMjNkODQ5ZDllZWMyBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--bcb5ecc9bfe84d65e0caf42edde828d07923ac1d;
540
- domain=.example.com; path=/; HttpOnly
600
+ - '0.050862'
541
601
  body:
542
- encoding: US-ASCII
543
- 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":"{%
602
+ encoding: UTF-8
603
+ 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":"{%
544
604
  extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Search
545
605
  friendly products","meta_keywords":"fancy, products, keywords","meta_description":"Fancy
546
606
  products description"}'
547
607
  http_version:
548
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
608
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
549
609
  - request:
550
610
  method: put
551
- uri: http://sample.example.com:3000/locomotive/api/pages/51adbfb31e66cf095d000027.json?auth_token=pyXsXJLmwyKRYzwypTzR
611
+ uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000008.json?auth_token=iaWvtP5PhmnyKypXpLbM
552
612
  body:
553
- encoding: US-ASCII
554
- 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
613
+ encoding: UTF-8
614
+ 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
555
615
  headers: {}
556
616
  response:
557
617
  status:
558
618
  code: 200
559
- message: ! 'OK '
619
+ message: OK
560
620
  headers:
621
+ Date:
622
+ - Tue, 17 Sep 2013 15:12:29 GMT
623
+ Status:
624
+ - 200 OK
625
+ Connection:
626
+ - close
561
627
  X-Message:
562
- - ! '"Page%20was%20successfully%20updated."'
628
+ - '"Page%20was%20successfully%20updated."'
563
629
  X-Message-Type:
564
630
  - notice
565
631
  Location:
@@ -569,266 +635,156 @@ http_interactions:
569
635
  X-Ua-Compatible:
570
636
  - IE=Edge
571
637
  Etag:
572
- - ! '"5cd5d114c52de310902902384eaf2b19"'
638
+ - '"915df796067c2230e0a66e120eb4b6d3"'
573
639
  Cache-Control:
574
640
  - max-age=0, private, must-revalidate
641
+ Set-Cookie:
642
+ - _locomotive_session=j1Bx5Qt4s30UKEBKQGxxowJJXjU; domain=.example.com; path=/;
643
+ HttpOnly
575
644
  X-Request-Id:
576
- - a5ffe31dee4ab74f5896ddefcc59542b
645
+ - 1573bafc95c15798ae2c1a5ea62da865
577
646
  X-Runtime:
578
- - '0.026529'
579
- Server:
580
- - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
581
- Date:
582
- - Tue, 04 Jun 2013 10:22:39 GMT
583
- Content-Length:
584
- - '867'
585
- Connection:
586
- - Keep-Alive
587
- Set-Cookie:
588
- - _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTE1ZDVlMjhkMDM2MDRkODNmNjlkNDQ5OWFiYmZkNmQ3BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--d8e1528ff7ce3ccdc949bc2980a3af00880e9dd7;
589
- domain=.example.com; path=/; HttpOnly
647
+ - '0.043120'
590
648
  body:
591
- encoding: US-ASCII
592
- 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":"{%
649
+ encoding: UTF-8
650
+ 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":"{%
593
651
  extends parent %}\r\n{% block content %}\r\n The name of the latest product
594
652
  is: {{ contents.products.last.name }}\r\n{% endblock %}","escaped_raw_template":"{%
595
653
  extends parent %}\r\n{% block content %}\r\n The name of the latest product
596
654
  is: {{ contents.products.last.name }}\r\n{% endblock %}","editable_elements":[]}'
597
655
  http_version:
598
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
656
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
599
657
  - request:
600
658
  method: put
601
- uri: http://sample.example.com:3000/locomotive/api/pages/51adbebf1e66cfabe5000007.json?auth_token=pyXsXJLmwyKRYzwypTzR
659
+ uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000007.json?auth_token=iaWvtP5PhmnyKypXpLbM
602
660
  body:
603
- encoding: US-ASCII
661
+ encoding: UTF-8
604
662
  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
605
663
  headers: {}
606
664
  response:
607
665
  status:
608
666
  code: 200
609
- message: !binary |-
610
- T0sg
667
+ message: OK
611
668
  headers:
612
- !binary "TG9jYXRpb24=":
613
- - !binary |-
614
- aHR0cDovL3NhbXBsZS5leGFtcGxlLmNvbTozMDAwL2xvY29tb3RpdmUvYXBp
615
- L3BhZ2Vz
616
- !binary "Q29udGVudC1UeXBl":
617
- - !binary |-
618
- YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
619
- !binary "WC1VYS1Db21wYXRpYmxl":
620
- - !binary |-
621
- SUU9RWRnZQ==
622
- !binary "RXRhZw==":
623
- - !binary |-
624
- IjcyN2VhNDRjYWI0MWEwOTNjOTdhNTQzYThlYWVmYTkyIg==
625
- !binary "Q2FjaGUtQ29udHJvbA==":
626
- - !binary |-
627
- bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
628
- !binary "WC1SZXF1ZXN0LUlk":
629
- - !binary |-
630
- MDZiZGU1ZDU5NjJhMzY4ZTU0ZGYwZjM1MTQxN2MyNWI=
631
- !binary "WC1SdW50aW1l":
632
- - !binary |-
633
- MC4wMjMwNzA=
634
- !binary "U2VydmVy":
635
- - !binary |-
636
- V0VCcmljay8xLjMuMSAoUnVieS8xLjkuMy8yMDEzLTAyLTIyKQ==
637
- !binary "RGF0ZQ==":
638
- - !binary |-
639
- VHVlLCAwNCBKdW4gMjAxMyAxMDoyMjozOSBHTVQ=
640
- !binary "Q29udGVudC1MZW5ndGg=":
641
- - !binary |-
642
- NTk2
643
- !binary "Q29ubmVjdGlvbg==":
644
- - !binary |-
645
- S2VlcC1BbGl2ZQ==
646
- !binary "U2V0LUNvb2tpZQ==":
647
- - !binary |-
648
- X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr
649
- a2lKVFExTW1Vek1tTTVNVFpoTkdJM1pESTBNVGRqTkRZek1UTTVNVEF3TVRC
650
- a0Jqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q
651
- YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ
652
- bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0
653
- Y1dGV05WbGlZazVDZWpNR093QlUtLWJhYjhmMWQ1YzkyZDM5N2Y5ZjFhMjE5
654
- MGYzZWI4ZGM0MDMzNWUxNGM7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9
655
- LzsgSHR0cE9ubHk=
656
- body:
657
- encoding: ASCII-8BIT
658
- string: !binary |-
659
- eyJpZCI6IjUxYWRiZWJmMWU2NmNmYWJlNTAwMDAwNyIsIl9pZCI6IjUxYWRi
660
- ZWJmMWU2NmNmYWJlNTAwMDAwNyIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0
661
- VDEwOjE3OjM1WiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIxOjM5
662
- WiIsInRpdGxlIjoiUMOhZ2luYSBkZSBpbmljaW8iLCJzbHVnIjoiaW5kZXgi
663
- LCJwb3NpdGlvbiI6MCwicmVzcG9uc2VfdHlwZSI6InRleHQvaHRtbCIsImNh
664
- Y2hlX3N0cmF0ZWd5Ijoibm9uZSIsInJlZGlyZWN0IjpmYWxzZSwicmVkaXJl
665
- Y3RfdHlwZSI6MzAxLCJsaXN0ZWQiOnRydWUsInB1Ymxpc2hlZCI6dHJ1ZSwi
666
- dGVtcGxhdGl6ZWQiOmZhbHNlLCJ0ZW1wbGF0aXplZF9mcm9tX3BhcmVudCI6
667
- ZmFsc2UsImZ1bGxwYXRoIjoiaW5kZXgiLCJsb2NhbGl6ZWRfZnVsbHBhdGhz
668
- Ijp7ImVuIjoiIiwiZXMiOiJlcyJ9LCJkZXB0aCI6MCwidHJhbnNsYXRlZF9p
669
- biI6WyJlbiIsImVzIl0sInJhd190ZW1wbGF0ZSI6Ik5ldyBjb250ZW50IG9m
670
- IHRoZSBob21lIHBhZ2VcclxuIiwiZXNjYXBlZF9yYXdfdGVtcGxhdGUiOiJO
671
- ZXcgY29udGVudCBvZiB0aGUgaG9tZSBwYWdlXHJcbiIsImVkaXRhYmxlX2Vs
672
- ZW1lbnRzIjpbXX0=
669
+ Date:
670
+ - Tue, 17 Sep 2013 15:12:29 GMT
671
+ Status:
672
+ - 200 OK
673
+ Connection:
674
+ - close
675
+ Location:
676
+ - http://sample.example.com:3000/locomotive/api/pages
677
+ Content-Type:
678
+ - application/json; charset=utf-8
679
+ X-Ua-Compatible:
680
+ - IE=Edge
681
+ Etag:
682
+ - '"6499def2ece0125f6b4cebb93d09abc9"'
683
+ Cache-Control:
684
+ - max-age=0, private, must-revalidate
685
+ Set-Cookie:
686
+ - _locomotive_session=j2m44mhqVbbeQagbxBf28-iDnUQ; domain=.example.com; path=/;
687
+ HttpOnly
688
+ X-Request-Id:
689
+ - d51d42bbfe8dedee95f1d7b180e13bb0
690
+ X-Runtime:
691
+ - '0.057261'
692
+ body:
693
+ encoding: UTF-8
694
+ string: '{"id":"5238710587f6431df7000007","_id":"5238710587f6431df7000007","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"P\u00e1gina
695
+ 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
696
+ content of the home page\r\n","escaped_raw_template":"New content of the home
697
+ page\r\n","editable_elements":[]}'
673
698
  http_version:
674
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
699
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
675
700
  - request:
676
701
  method: put
677
- uri: http://sample.example.com:3000/locomotive/api/pages/51adbebf1e66cfabe5000008.json?auth_token=pyXsXJLmwyKRYzwypTzR
702
+ uri: http://sample.example.com:3000/locomotive/api/pages/5238710587f6431df7000008.json?auth_token=iaWvtP5PhmnyKypXpLbM
678
703
  body:
679
- encoding: US-ASCII
704
+ encoding: UTF-8
680
705
  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
681
706
  headers: {}
682
707
  response:
683
708
  status:
684
709
  code: 200
685
- message: !binary |-
686
- T0sg
710
+ message: OK
687
711
  headers:
688
- !binary "TG9jYXRpb24=":
689
- - !binary |-
690
- aHR0cDovL3NhbXBsZS5leGFtcGxlLmNvbTozMDAwL2xvY29tb3RpdmUvYXBp
691
- L3BhZ2Vz
692
- !binary "Q29udGVudC1UeXBl":
693
- - !binary |-
694
- YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
695
- !binary "WC1VYS1Db21wYXRpYmxl":
696
- - !binary |-
697
- SUU9RWRnZQ==
698
- !binary "RXRhZw==":
699
- - !binary |-
700
- Ijk2YTg4MzcwMWQ3N2UwMDU5OWQ1NjcwYTYzYmJkNjUzIg==
701
- !binary "Q2FjaGUtQ29udHJvbA==":
702
- - !binary |-
703
- bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
704
- !binary "WC1SZXF1ZXN0LUlk":
705
- - !binary |-
706
- MzA5ODY3OTlkOTYzNWE4OTdlYWVmZWExNDUwNWYyYjg=
707
- !binary "WC1SdW50aW1l":
708
- - !binary |-
709
- MC4wODI5MDQ=
710
- !binary "U2VydmVy":
711
- - !binary |-
712
- V0VCcmljay8xLjMuMSAoUnVieS8xLjkuMy8yMDEzLTAyLTIyKQ==
713
- !binary "RGF0ZQ==":
714
- - !binary |-
715
- VHVlLCAwNCBKdW4gMjAxMyAxMDoyMjozOSBHTVQ=
716
- !binary "Q29udGVudC1MZW5ndGg=":
717
- - !binary |-
718
- NTg1
719
- !binary "Q29ubmVjdGlvbg==":
720
- - !binary |-
721
- S2VlcC1BbGl2ZQ==
722
- !binary "U2V0LUNvb2tpZQ==":
723
- - !binary |-
724
- X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr
725
- a2lKVE13TW1NM09XRm1ZelZtWkdRelltWmtOVE0xWVRjNVlXWm1abUZtTVdV
726
- d0Jqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q
727
- YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ
728
- bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0
729
- Y1dGV05WbGlZazVDZWpNR093QlUtLWUzM2ZhMDM5NDA0NDlmMzA0OWVkZmI2
730
- YzEyZjI5YmU5MDU1Mjg5NTY7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9
731
- LzsgSHR0cE9ubHk=
732
- body:
733
- encoding: ASCII-8BIT
734
- string: !binary |-
735
- eyJpZCI6IjUxYWRiZWJmMWU2NmNmYWJlNTAwMDAwOCIsIl9pZCI6IjUxYWRi
736
- ZWJmMWU2NmNmYWJlNTAwMDAwOCIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0
737
- VDEwOjE3OjM1WiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIxOjM5
738
- WiIsInRpdGxlIjoiUMOhZ2luYSBubyBlbmNvbnRyYWRhIiwic2x1ZyI6IjQw
739
- NCIsInBvc2l0aW9uIjoxLCJyZXNwb25zZV90eXBlIjoidGV4dC9odG1sIiwi
740
- Y2FjaGVfc3RyYXRlZ3kiOiJub25lIiwicmVkaXJlY3QiOmZhbHNlLCJyZWRp
741
- cmVjdF90eXBlIjozMDEsImxpc3RlZCI6dHJ1ZSwicHVibGlzaGVkIjp0cnVl
742
- LCJ0ZW1wbGF0aXplZCI6ZmFsc2UsInRlbXBsYXRpemVkX2Zyb21fcGFyZW50
743
- IjpmYWxzZSwiZnVsbHBhdGgiOiI0MDQiLCJsb2NhbGl6ZWRfZnVsbHBhdGhz
744
- Ijp7ImVuIjoiNDA0IiwiZXMiOiJlcy80MDQifSwiZGVwdGgiOjAsInRyYW5z
745
- bGF0ZWRfaW4iOlsiZW4iLCJlcyJdLCJyYXdfdGVtcGxhdGUiOiJDb250ZW50
746
- IG9mIHRoZSA0MDQgcGFnZSIsImVzY2FwZWRfcmF3X3RlbXBsYXRlIjoiQ29u
747
- dGVudCBvZiB0aGUgNDA0IHBhZ2UiLCJlZGl0YWJsZV9lbGVtZW50cyI6W119
712
+ Date:
713
+ - Tue, 17 Sep 2013 15:12:29 GMT
714
+ Status:
715
+ - 200 OK
716
+ Connection:
717
+ - close
718
+ Location:
719
+ - http://sample.example.com:3000/locomotive/api/pages
720
+ Content-Type:
721
+ - application/json; charset=utf-8
722
+ X-Ua-Compatible:
723
+ - IE=Edge
724
+ Etag:
725
+ - '"d04724071150d907283a4aea3a16f368"'
726
+ Cache-Control:
727
+ - max-age=0, private, must-revalidate
728
+ Set-Cookie:
729
+ - _locomotive_session=140LzM_9gbzuZH4b73fpn3Hf9ls; domain=.example.com; path=/;
730
+ HttpOnly
731
+ X-Request-Id:
732
+ - 8efc1ee1426a05eb1c2af10d07ae87a9
733
+ X-Runtime:
734
+ - '0.041373'
735
+ body:
736
+ encoding: UTF-8
737
+ string: '{"id":"5238710587f6431df7000008","_id":"5238710587f6431df7000008","created_at":"2013-09-17T15:11:01Z","updated_at":"2013-09-17T15:11:34Z","title":"P\u00e1gina
738
+ 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
739
+ of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}'
748
740
  http_version:
749
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
741
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
750
742
  - request:
751
743
  method: put
752
- uri: http://sample.example.com:3000/locomotive/api/pages/51adbfb31e66cfb3d3000026.json?auth_token=pyXsXJLmwyKRYzwypTzR
744
+ uri: http://sample.example.com:3000/locomotive/api/pages/5238712687f643884e000007.json?auth_token=iaWvtP5PhmnyKypXpLbM
753
745
  body:
754
- encoding: US-ASCII
755
- 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
746
+ encoding: UTF-8
747
+ 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
756
748
  headers: {}
757
749
  response:
758
750
  status:
759
751
  code: 200
760
- message: !binary |-
761
- T0sg
752
+ message: OK
762
753
  headers:
763
- !binary "TG9jYXRpb24=":
764
- - !binary |-
765
- aHR0cDovL3NhbXBsZS5leGFtcGxlLmNvbTozMDAwL2xvY29tb3RpdmUvYXBp
766
- L3BhZ2Vz
767
- !binary "Q29udGVudC1UeXBl":
768
- - !binary |-
769
- YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
770
- !binary "WC1VYS1Db21wYXRpYmxl":
771
- - !binary |-
772
- SUU9RWRnZQ==
773
- !binary "RXRhZw==":
774
- - !binary |-
775
- IjVmNmY4ODg4MDcyYmM2YjI2YTYxZGY5YjQyN2UxZWIxIg==
776
- !binary "Q2FjaGUtQ29udHJvbA==":
777
- - !binary |-
778
- bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
779
- !binary "WC1SZXF1ZXN0LUlk":
780
- - !binary |-
781
- MzIyYzgxY2ViMTI3ZjZjNjkxOWZjNjVkZjkwYTM2NjE=
782
- !binary "WC1SdW50aW1l":
783
- - !binary |-
784
- MC4wMzYwOTk=
785
- !binary "U2VydmVy":
786
- - !binary |-
787
- V0VCcmljay8xLjMuMSAoUnVieS8xLjkuMy8yMDEzLTAyLTIyKQ==
788
- !binary "RGF0ZQ==":
789
- - !binary |-
790
- VHVlLCAwNCBKdW4gMjAxMyAxMDoyMjozOSBHTVQ=
791
- !binary "Q29udGVudC1MZW5ndGg=":
792
- - !binary |-
793
- NzU2
794
- !binary "Q29ubmVjdGlvbg==":
795
- - !binary |-
796
- S2VlcC1BbGl2ZQ==
797
- !binary "U2V0LUNvb2tpZQ==":
798
- - !binary |-
799
- X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr
800
- a2lKVFZoTkRobE0yTXhabVUzWkdNM1lXRmlNREJpT0ROaFpHSmxOMk13TmpZ
801
- NEJqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q
802
- YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ
803
- bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0
804
- Y1dGV05WbGlZazVDZWpNR093QlUtLWFlZmFlYzhhOWFlMDhmN2U0ZjkzNzJh
805
- YTY1ZmQxOWFhNGRmZWYyNTc7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9
806
- LzsgSHR0cE9ubHk=
807
- body:
808
- encoding: ASCII-8BIT
809
- string: !binary |-
810
- eyJpZCI6IjUxYWRiZmIzMWU2NmNmYjNkMzAwMDAyNiIsIl9pZCI6IjUxYWRi
811
- ZmIzMWU2NmNmYjNkMzAwMDAyNiIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0
812
- VDEwOjIxOjM5WiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIxOjM5
813
- WiIsInRpdGxlIjoiUHJvZHVjdHMiLCJzbHVnIjoicHJvZHVjdHMiLCJwYXJl
814
- bnRfaWQiOiI1MWFkYmViZjFlNjZjZmFiZTUwMDAwMDciLCJwb3NpdGlvbiI6
815
- MSwicmVzcG9uc2VfdHlwZSI6InRleHQvaHRtbCIsImNhY2hlX3N0cmF0ZWd5
816
- Ijoibm9uZSIsInJlZGlyZWN0IjpmYWxzZSwicmVkaXJlY3RfdHlwZSI6MzAx
817
- LCJsaXN0ZWQiOnRydWUsInB1Ymxpc2hlZCI6dHJ1ZSwidGVtcGxhdGl6ZWQi
818
- OmZhbHNlLCJ0ZW1wbGF0aXplZF9mcm9tX3BhcmVudCI6ZmFsc2UsImZ1bGxw
819
- YXRoIjoicHJvZHVjdHMiLCJsb2NhbGl6ZWRfZnVsbHBhdGhzIjp7ImVuIjoi
820
- cHJvZHVjdHMiLCJlcyI6ImVzL3Byb2R1Y3RzIn0sImRlcHRoIjoxLCJ0cmFu
821
- c2xhdGVkX2luIjpbImVuIiwiZXMiXSwicmF3X3RlbXBsYXRlIjoieyUgZXh0
822
- ZW5kcyBwYXJlbnQgJX0iLCJlc2NhcGVkX3Jhd190ZW1wbGF0ZSI6InslIGV4
823
- dGVuZHMgcGFyZW50ICV9IiwiZWRpdGFibGVfZWxlbWVudHMiOltdLCJzZW9f
824
- dGl0bGUiOiJQcm9kdWN0b3MgU0VPIiwibWV0YV9rZXl3b3JkcyI6InBhbGFi
825
- cmFzLCBjbGF2ZSwgcHJvZHVjdG9zIiwibWV0YV9kZXNjcmlwdGlvbiI6IkRl
826
- c2NyaXBjacOzbiBtb2xvbmEgZGUgbG9zIHByb2R1Y3RvcyJ9
754
+ Date:
755
+ - Tue, 17 Sep 2013 15:12:29 GMT
756
+ Status:
757
+ - 200 OK
758
+ Connection:
759
+ - close
760
+ Location:
761
+ - http://sample.example.com:3000/locomotive/api/pages
762
+ Content-Type:
763
+ - application/json; charset=utf-8
764
+ X-Ua-Compatible:
765
+ - IE=Edge
766
+ Etag:
767
+ - '"df564c6fd92a1e7b3d311fc1183d251b"'
768
+ Cache-Control:
769
+ - max-age=0, private, must-revalidate
770
+ Set-Cookie:
771
+ - _locomotive_session=pygcjUdiyEBnb2E3Q6qnERw3UiM; domain=.example.com; path=/;
772
+ HttpOnly
773
+ X-Request-Id:
774
+ - 63e0126bcadfc18ff2b92cbb98a73b48
775
+ X-Runtime:
776
+ - '0.052407'
777
+ body:
778
+ encoding: UTF-8
779
+ 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":"{%
780
+ extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Productos
781
+ SEO","meta_keywords":"palabras, clave, productos","meta_description":"Descripci\u00f3n
782
+ molona de los productos"}'
827
783
  http_version:
828
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
784
+ recorded_at: Tue, 17 Sep 2013 15:12:29 GMT
829
785
  - request:
830
786
  method: get
831
- uri: http://sample.example.com:3000/locomotive/api/theme_assets.json?auth_token=pyXsXJLmwyKRYzwypTzR
787
+ uri: http://sample.example.com:3000/locomotive/api/theme_assets.json?auth_token=iaWvtP5PhmnyKypXpLbM
832
788
  body:
833
789
  encoding: US-ASCII
834
790
  string: ''
@@ -836,34 +792,32 @@ http_interactions:
836
792
  response:
837
793
  status:
838
794
  code: 200
839
- message: ! 'OK '
795
+ message: OK
840
796
  headers:
797
+ Date:
798
+ - Tue, 17 Sep 2013 15:12:30 GMT
799
+ Status:
800
+ - 200 OK
801
+ Connection:
802
+ - close
841
803
  Content-Type:
842
804
  - application/json; charset=utf-8
843
805
  X-Ua-Compatible:
844
806
  - IE=Edge
845
807
  Etag:
846
- - ! '"d751713988987e9331980363e24189ce"'
808
+ - '"d751713988987e9331980363e24189ce"'
847
809
  Cache-Control:
848
810
  - max-age=0, private, must-revalidate
811
+ Set-Cookie:
812
+ - _locomotive_session=AmdddP0LQNJk5CbNcw7PDZ27vVw; domain=.example.com; path=/;
813
+ HttpOnly
849
814
  X-Request-Id:
850
- - e2b4ce97304b76e1286f0239aae79a27
815
+ - f1be1b0c567c52f2f3aa657721d33418
851
816
  X-Runtime:
852
- - '0.017187'
853
- Server:
854
- - WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
855
- Date:
856
- - Tue, 04 Jun 2013 10:22:39 GMT
857
- Content-Length:
858
- - '2'
859
- Connection:
860
- - Keep-Alive
861
- Set-Cookie:
862
- - _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTA2ZThmOWQ4OGVjOWJlNDk1YmVmOTFlYzRlMjQ5N2NlBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--5eb0a5bcb4fdaa947fc4a0f6c74febed18151338;
863
- domain=.example.com; path=/; HttpOnly
817
+ - '0.037162'
864
818
  body:
865
- encoding: US-ASCII
866
- string: ! '[]'
819
+ encoding: UTF-8
820
+ string: '[]'
867
821
  http_version:
868
- recorded_at: Tue, 04 Jun 2013 10:22:39 GMT
869
- recorded_with: VCR 2.4.0
822
+ recorded_at: Tue, 17 Sep 2013 15:12:30 GMT
823
+ recorded_with: VCR 2.5.0