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.
- checksums.yaml +7 -0
- data/Gemfile +4 -0
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/generators/blank/app/views/pages/404.liquid.haml +11 -0
- data/generators/blank/app/views/pages/index.liquid.haml +12 -0
- data/generators/blank/config/site.yml.tt +3 -0
- data/generators/bootstrap/config/site.yml.tt +3 -0
- data/generators/content_type/data/%name%.yml.tt +2 -2
- data/generators/foundation/config/site.yml.tt +3 -0
- data/lib/locomotive/wagon.rb +10 -2
- data/lib/locomotive/wagon/cli.rb +1 -1
- data/lib/locomotive/wagon/exceptions.rb +27 -0
- data/lib/locomotive/wagon/generators/site/blank.rb +10 -1
- data/lib/locomotive/wagon/liquid.rb +1 -1
- data/lib/locomotive/wagon/liquid/drops/content_types.rb +5 -0
- data/lib/locomotive/wagon/liquid/drops/session_proxy.rb +18 -0
- data/lib/locomotive/wagon/liquid/drops/site.rb +4 -0
- data/lib/locomotive/wagon/liquid/errors.rb +10 -0
- data/lib/locomotive/wagon/liquid/filters/date.rb +62 -24
- data/lib/locomotive/wagon/liquid/filters/html.rb +7 -5
- data/lib/locomotive/wagon/liquid/filters/misc.rb +17 -0
- data/lib/locomotive/wagon/liquid/filters/text.rb +8 -2
- data/lib/locomotive/wagon/liquid/patches.rb +1 -1
- data/lib/locomotive/wagon/liquid/scopeable.rb +128 -11
- data/lib/locomotive/wagon/liquid/tags/consume.rb +60 -18
- data/lib/locomotive/wagon/liquid/tags/editable/base.rb +4 -4
- data/lib/locomotive/wagon/liquid/tags/extends.rb +2 -2
- data/lib/locomotive/wagon/liquid/tags/google_analytics.rb +2 -2
- data/lib/locomotive/wagon/liquid/tags/link_to.rb +20 -9
- data/lib/locomotive/wagon/liquid/tags/locale_switcher.rb +7 -7
- data/lib/locomotive/wagon/liquid/tags/nav.rb +22 -22
- data/lib/locomotive/wagon/liquid/tags/paginate.rb +2 -2
- data/lib/locomotive/wagon/liquid/tags/session_assign.rb +41 -0
- data/lib/locomotive/wagon/liquid/tags/snippet.rb +25 -6
- data/lib/locomotive/wagon/liquid/tags/with_scope.rb +9 -8
- data/lib/locomotive/wagon/misc.rb +5 -1
- data/lib/locomotive/wagon/misc/better_errors.rb +70 -0
- data/lib/locomotive/wagon/misc/core_ext.rb +8 -1
- data/lib/locomotive/wagon/misc/haml.rb +15 -0
- data/lib/locomotive/wagon/misc/markdown.rb +27 -0
- data/lib/locomotive/wagon/misc/mounter.rb +32 -0
- data/lib/locomotive/wagon/server.rb +6 -4
- data/lib/locomotive/wagon/server/dynamic_assets.rb +3 -8
- data/lib/locomotive/wagon/server/logging.rb +2 -2
- data/lib/locomotive/wagon/server/renderer.rb +17 -12
- data/lib/locomotive/wagon/server/timezone.rb +18 -0
- data/lib/locomotive/wagon/version.rb +1 -1
- data/locales/en.yml +11 -0
- data/locomotivecms_wagon.gemspec +6 -5
- data/spec/fixtures/default/app/content_types/events.yml +7 -1
- data/spec/fixtures/default/app/views/pages/contest.liquid.haml +18 -0
- data/spec/fixtures/default/app/views/pages/filtered.liquid.haml +10 -0
- data/spec/fixtures/default/app/views/pages/index.liquid.haml +2 -6
- data/spec/fixtures/default/app/views/pages/music.fr.liquid.haml +4 -0
- data/spec/fixtures/default/app/views/pages/songs/template.fr.liquid.haml +16 -0
- data/spec/fixtures/default/app/views/pages/songs/template/band.liquid.haml +16 -0
- data/spec/fixtures/default/app/views/snippets/footer.liquid.haml +6 -0
- data/spec/fixtures/default/app/views/snippets/song.fr.liquid.haml +1 -1
- data/spec/fixtures/default/data/events.yml +4 -0
- data/spec/integration/cassettes/pull.yml +308 -450
- data/spec/integration/cassettes/push.yml +446 -492
- data/spec/integration/cassettes/staging.yml +360 -500
- data/spec/integration/cli_spec.rb +2 -2
- data/spec/integration/server/basic_spec.rb +30 -0
- data/spec/integration/server/liquid_spec.rb +7 -0
- data/spec/integration/server/with_scope_spec.rb +20 -0
- data/spec/integration/sites_spec.rb +8 -7
- data/spec/support/helpers.rb +1 -1
- metadata +65 -78
@@ -2,16 +2,22 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://staging.example.com:3000/locomotive/api/tokens.json?auth_token=
|
5
|
+
uri: http://staging.example.com:3000/locomotive/api/tokens.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
6
6
|
body:
|
7
|
-
encoding:
|
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:
|
13
|
+
message: OK
|
14
14
|
headers:
|
15
|
+
Date:
|
16
|
+
- Tue, 17 Sep 2013 15:12:17 GMT
|
17
|
+
Status:
|
18
|
+
- 200 OK
|
19
|
+
Connection:
|
20
|
+
- close
|
15
21
|
Location:
|
16
22
|
- http://staging.example.com:3000/locomotive/
|
17
23
|
Content-Type:
|
@@ -19,161 +25,140 @@ http_interactions:
|
|
19
25
|
X-Ua-Compatible:
|
20
26
|
- IE=Edge
|
21
27
|
Etag:
|
22
|
-
-
|
28
|
+
- '"d1a90b45e031fb4f87663184c2a67dbd"'
|
23
29
|
Cache-Control:
|
24
30
|
- max-age=0, private, must-revalidate
|
31
|
+
Set-Cookie:
|
32
|
+
- _locomotive_session=Z-0l0Y8-g8TGAAe1oM1Peib5vLI; domain=.example.com; path=/;
|
33
|
+
HttpOnly
|
25
34
|
X-Request-Id:
|
26
|
-
-
|
35
|
+
- 9bfd90daafdb585129b8767665ae3baf
|
27
36
|
X-Runtime:
|
28
|
-
- '0.
|
29
|
-
Server:
|
30
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
|
31
|
-
Date:
|
32
|
-
- Tue, 04 Jun 2013 10:22:33 GMT
|
33
|
-
Content-Length:
|
34
|
-
- '32'
|
35
|
-
Connection:
|
36
|
-
- Keep-Alive
|
37
|
-
Set-Cookie:
|
38
|
-
- _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTQxY2M1MWE2NDQ4OTg3Y2ZmOWIwMmFhMGYyYTI4ODlhBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewA6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOgtub3RpY2VJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjSGFzaCB3YXMgc3VjY2Vzc2Z1bGx5IGNyZWF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--948d991fd6b6f53147f42a17e8cc4876db0e6d58;
|
39
|
-
domain=.example.com; path=/; HttpOnly
|
37
|
+
- '0.045476'
|
40
38
|
body:
|
41
|
-
encoding:
|
42
|
-
string:
|
39
|
+
encoding: UTF-8
|
40
|
+
string: '{"token":"iaWvtP5PhmnyKypXpLbM"}'
|
43
41
|
http_version:
|
44
|
-
recorded_at: Tue,
|
42
|
+
recorded_at: Tue, 17 Sep 2013 15:12:17 GMT
|
45
43
|
- request:
|
46
44
|
method: get
|
47
|
-
uri: http://staging.example.com:3000/locomotive/api/current_site.json?auth_token=
|
45
|
+
uri: http://staging.example.com:3000/locomotive/api/current_site.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
48
46
|
body:
|
49
47
|
encoding: US-ASCII
|
50
48
|
string: ''
|
51
49
|
headers: {}
|
52
50
|
response:
|
53
51
|
status:
|
54
|
-
code:
|
55
|
-
message:
|
52
|
+
code: 404
|
53
|
+
message: Not Found
|
56
54
|
headers:
|
55
|
+
Date:
|
56
|
+
- Tue, 17 Sep 2013 15:12:17 GMT
|
57
|
+
Status:
|
58
|
+
- 404 Not Found
|
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
|
-
Etag:
|
62
|
-
- ! '"d1d29a434e32c8344a5276fa114f561a"'
|
63
65
|
Cache-Control:
|
64
|
-
-
|
66
|
+
- no-cache
|
67
|
+
Set-Cookie:
|
68
|
+
- _locomotive_session=Rp9eJOJH2fQswGRhc4CBMHxfbu0; domain=.example.com; path=/;
|
69
|
+
HttpOnly
|
65
70
|
X-Request-Id:
|
66
|
-
-
|
71
|
+
- dd091f0b3577e5d46a711bae143998b7
|
67
72
|
X-Runtime:
|
68
|
-
- '0.
|
69
|
-
Server:
|
70
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
|
71
|
-
Date:
|
72
|
-
- Tue, 04 Jun 2013 10:22:33 GMT
|
73
|
-
Content-Length:
|
74
|
-
- '544'
|
75
|
-
Connection:
|
76
|
-
- Keep-Alive
|
77
|
-
Set-Cookie:
|
78
|
-
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWZiZTc5NzU1ZTFjZGU2N2NmY2M4YTJkNmZmMjFlZWRmBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--5d962a10f7de4721fde52f787d5889e89c326c6a;
|
79
|
-
domain=.example.com; path=/; HttpOnly
|
73
|
+
- '0.043115'
|
80
74
|
body:
|
81
|
-
encoding:
|
82
|
-
string:
|
83
|
-
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"}]}'
|
75
|
+
encoding: UTF-8
|
76
|
+
string: '{"error":"No site found"}'
|
84
77
|
http_version:
|
85
|
-
recorded_at: Tue,
|
78
|
+
recorded_at: Tue, 17 Sep 2013 15:12:17 GMT
|
86
79
|
- request:
|
87
|
-
method:
|
88
|
-
uri: http://staging.example.com:3000/locomotive/api/sites
|
80
|
+
method: post
|
81
|
+
uri: http://staging.example.com:3000/locomotive/api/sites.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
89
82
|
body:
|
90
|
-
encoding:
|
91
|
-
string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=staging&site[domains][]=staging.example.com&locale=en
|
83
|
+
encoding: UTF-8
|
84
|
+
string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=staging&site[domains][]=staging.example.com&site[timezone]=UTC&locale=en
|
92
85
|
headers: {}
|
93
86
|
response:
|
94
87
|
status:
|
95
88
|
code: 200
|
96
|
-
message:
|
89
|
+
message: OK
|
97
90
|
headers:
|
98
|
-
|
99
|
-
-
|
100
|
-
|
101
|
-
-
|
91
|
+
Date:
|
92
|
+
- Tue, 17 Sep 2013 15:12:17 GMT
|
93
|
+
Status:
|
94
|
+
- 200 OK
|
95
|
+
Connection:
|
96
|
+
- close
|
102
97
|
Location:
|
103
|
-
- http://staging.example.com:3000/locomotive/sites/
|
98
|
+
- http://staging.example.com:3000/locomotive/sites/5238715187f643884e000009
|
104
99
|
Content-Type:
|
105
100
|
- application/json; charset=utf-8
|
106
101
|
X-Ua-Compatible:
|
107
102
|
- IE=Edge
|
108
103
|
Etag:
|
109
|
-
-
|
104
|
+
- '"6e842a0747f262a4d0a4822653b5ed6b"'
|
110
105
|
Cache-Control:
|
111
106
|
- max-age=0, private, must-revalidate
|
107
|
+
Set-Cookie:
|
108
|
+
- _locomotive_session=Gx_CGBcDBH6JtUqjNMwW7yzAJvI; domain=.example.com; path=/;
|
109
|
+
HttpOnly
|
112
110
|
X-Request-Id:
|
113
|
-
-
|
111
|
+
- c27e7b1289cb931ee423f2f41be31c41
|
114
112
|
X-Runtime:
|
115
|
-
- '0.
|
116
|
-
Server:
|
117
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
|
118
|
-
Date:
|
119
|
-
- Tue, 04 Jun 2013 10:22:33 GMT
|
120
|
-
Content-Length:
|
121
|
-
- '548'
|
122
|
-
Connection:
|
123
|
-
- Keep-Alive
|
124
|
-
Set-Cookie:
|
125
|
-
- _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTRhMzVmMDRlM2IxZTVjYTY3ODAxNzQ4ZWEwYTAzMWFjBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjU2l0ZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--8134b5ea6c5029d72c0fe905bfa56047241aac14;
|
126
|
-
domain=.example.com; path=/; HttpOnly
|
113
|
+
- '0.112822'
|
127
114
|
body:
|
128
|
-
encoding:
|
129
|
-
string:
|
115
|
+
encoding: UTF-8
|
116
|
+
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"}]}'
|
130
117
|
http_version:
|
131
|
-
recorded_at: Tue,
|
118
|
+
recorded_at: Tue, 17 Sep 2013 15:12:17 GMT
|
132
119
|
- request:
|
133
120
|
method: put
|
134
|
-
uri: http://staging.example.com:3000/locomotive/api/sites/
|
121
|
+
uri: http://staging.example.com:3000/locomotive/api/sites/5238715187f643884e000009.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
135
122
|
body:
|
136
|
-
encoding:
|
137
|
-
string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=staging&site[domains][]=staging.example.com&locale=es
|
123
|
+
encoding: UTF-8
|
124
|
+
string: site[name]=locomotive&site[locales][]=en&site[locales][]=es&site[subdomain]=staging&site[domains][]=staging.example.com&site[timezone]=UTC&locale=es
|
138
125
|
headers: {}
|
139
126
|
response:
|
140
127
|
status:
|
141
128
|
code: 200
|
142
|
-
message:
|
129
|
+
message: OK
|
143
130
|
headers:
|
131
|
+
Date:
|
132
|
+
- Tue, 17 Sep 2013 15:12:17 GMT
|
133
|
+
Status:
|
134
|
+
- 200 OK
|
135
|
+
Connection:
|
136
|
+
- close
|
144
137
|
Location:
|
145
|
-
- http://staging.example.com:3000/locomotive/sites/
|
138
|
+
- http://staging.example.com:3000/locomotive/sites/5238715187f643884e000009
|
146
139
|
Content-Type:
|
147
140
|
- application/json; charset=utf-8
|
148
141
|
X-Ua-Compatible:
|
149
142
|
- IE=Edge
|
150
143
|
Etag:
|
151
|
-
-
|
144
|
+
- '"3eb7da00847216261731645a56548946"'
|
152
145
|
Cache-Control:
|
153
146
|
- max-age=0, private, must-revalidate
|
147
|
+
Set-Cookie:
|
148
|
+
- _locomotive_session=yg3-tVy93jxvaLadUomxmcAe92w; domain=.example.com; path=/;
|
149
|
+
HttpOnly
|
154
150
|
X-Request-Id:
|
155
|
-
-
|
151
|
+
- c30fd870f8a85f1044735304e5cb7f20
|
156
152
|
X-Runtime:
|
157
|
-
- '0.
|
158
|
-
Server:
|
159
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
|
160
|
-
Date:
|
161
|
-
- Tue, 04 Jun 2013 10:22:33 GMT
|
162
|
-
Content-Length:
|
163
|
-
- '548'
|
164
|
-
Connection:
|
165
|
-
- Keep-Alive
|
166
|
-
Set-Cookie:
|
167
|
-
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTEzZTc2ODI1Zjg3N2Y3OTkyZmQ5YzkxMGJhNjRkMTNhBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--fe5f578b8ba572501198665da5a9c0869b29a5cd;
|
168
|
-
domain=.example.com; path=/; HttpOnly
|
153
|
+
- '0.059894'
|
169
154
|
body:
|
170
|
-
encoding:
|
171
|
-
string:
|
155
|
+
encoding: UTF-8
|
156
|
+
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"}]}'
|
172
157
|
http_version:
|
173
|
-
recorded_at: Tue,
|
158
|
+
recorded_at: Tue, 17 Sep 2013 15:12:17 GMT
|
174
159
|
- request:
|
175
160
|
method: get
|
176
|
-
uri: http://staging.example.com:3000/locomotive/api/snippets.json?auth_token=
|
161
|
+
uri: http://staging.example.com:3000/locomotive/api/snippets.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
177
162
|
body:
|
178
163
|
encoding: US-ASCII
|
179
164
|
string: ''
|
@@ -181,39 +166,37 @@ http_interactions:
|
|
181
166
|
response:
|
182
167
|
status:
|
183
168
|
code: 200
|
184
|
-
message:
|
169
|
+
message: OK
|
185
170
|
headers:
|
171
|
+
Date:
|
172
|
+
- Tue, 17 Sep 2013 15:12:17 GMT
|
173
|
+
Status:
|
174
|
+
- 200 OK
|
175
|
+
Connection:
|
176
|
+
- close
|
186
177
|
Content-Type:
|
187
178
|
- application/json; charset=utf-8
|
188
179
|
X-Ua-Compatible:
|
189
180
|
- IE=Edge
|
190
181
|
Etag:
|
191
|
-
-
|
182
|
+
- '"d751713988987e9331980363e24189ce"'
|
192
183
|
Cache-Control:
|
193
184
|
- max-age=0, private, must-revalidate
|
185
|
+
Set-Cookie:
|
186
|
+
- _locomotive_session=wAQkE4eOIgzOei0g94jrWerXqa0; domain=.example.com; path=/;
|
187
|
+
HttpOnly
|
194
188
|
X-Request-Id:
|
195
|
-
-
|
189
|
+
- 754f7e964a75adc660be5322941548a6
|
196
190
|
X-Runtime:
|
197
|
-
- '0.
|
198
|
-
Server:
|
199
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
|
200
|
-
Date:
|
201
|
-
- Tue, 04 Jun 2013 10:22:33 GMT
|
202
|
-
Content-Length:
|
203
|
-
- '2'
|
204
|
-
Connection:
|
205
|
-
- Keep-Alive
|
206
|
-
Set-Cookie:
|
207
|
-
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTkxNjdkZGFlYTBmZGNlY2UyN2UxMmQ1ZDI5MDRiMDRkBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--a5c778af1fe20b252a0bd005e75ab3dfd7cb82b4;
|
208
|
-
domain=.example.com; path=/; HttpOnly
|
191
|
+
- '0.049819'
|
209
192
|
body:
|
210
|
-
encoding:
|
211
|
-
string:
|
193
|
+
encoding: UTF-8
|
194
|
+
string: '[]'
|
212
195
|
http_version:
|
213
|
-
recorded_at: Tue,
|
196
|
+
recorded_at: Tue, 17 Sep 2013 15:12:17 GMT
|
214
197
|
- request:
|
215
198
|
method: get
|
216
|
-
uri: http://staging.example.com:3000/locomotive/api/content_types.json?auth_token=
|
199
|
+
uri: http://staging.example.com:3000/locomotive/api/content_types.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
217
200
|
body:
|
218
201
|
encoding: US-ASCII
|
219
202
|
string: ''
|
@@ -221,48 +204,52 @@ http_interactions:
|
|
221
204
|
response:
|
222
205
|
status:
|
223
206
|
code: 200
|
224
|
-
message:
|
207
|
+
message: OK
|
225
208
|
headers:
|
209
|
+
Date:
|
210
|
+
- Tue, 17 Sep 2013 15:12:17 GMT
|
211
|
+
Status:
|
212
|
+
- 200 OK
|
213
|
+
Connection:
|
214
|
+
- close
|
226
215
|
Content-Type:
|
227
216
|
- application/json; charset=utf-8
|
228
217
|
X-Ua-Compatible:
|
229
218
|
- IE=Edge
|
230
219
|
Etag:
|
231
|
-
-
|
220
|
+
- '"d751713988987e9331980363e24189ce"'
|
232
221
|
Cache-Control:
|
233
222
|
- max-age=0, private, must-revalidate
|
223
|
+
Set-Cookie:
|
224
|
+
- _locomotive_session=G6KyKliXRWljgrWcsfJNwUqS53I; domain=.example.com; path=/;
|
225
|
+
HttpOnly
|
234
226
|
X-Request-Id:
|
235
|
-
-
|
227
|
+
- ee4a1a0bfa53662f5df0cd1df98f7406
|
236
228
|
X-Runtime:
|
237
|
-
- '0.
|
238
|
-
Server:
|
239
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
|
240
|
-
Date:
|
241
|
-
- Tue, 04 Jun 2013 10:22:33 GMT
|
242
|
-
Content-Length:
|
243
|
-
- '2'
|
244
|
-
Connection:
|
245
|
-
- Keep-Alive
|
246
|
-
Set-Cookie:
|
247
|
-
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTdiZDUxYjZiMzRkNTQ3ZTU2ZDY1N2I5NGUzMTJkY2M1BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--ace6d165fecd5a1c52f2ba94afd390dc6a8be7c0;
|
248
|
-
domain=.example.com; path=/; HttpOnly
|
229
|
+
- '0.147143'
|
249
230
|
body:
|
250
|
-
encoding:
|
251
|
-
string:
|
231
|
+
encoding: UTF-8
|
232
|
+
string: '[]'
|
252
233
|
http_version:
|
253
|
-
recorded_at: Tue,
|
234
|
+
recorded_at: Tue, 17 Sep 2013 15:12:17 GMT
|
254
235
|
- request:
|
255
236
|
method: post
|
256
|
-
uri: http://staging.example.com:3000/locomotive/api/content_types.json?auth_token=
|
237
|
+
uri: http://staging.example.com:3000/locomotive/api/content_types.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
257
238
|
body:
|
258
|
-
encoding:
|
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][][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
|
239
|
+
encoding: UTF-8
|
240
|
+
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
|
260
241
|
headers: {}
|
261
242
|
response:
|
262
243
|
status:
|
263
244
|
code: 200
|
264
|
-
message:
|
245
|
+
message: OK
|
265
246
|
headers:
|
247
|
+
Date:
|
248
|
+
- Tue, 17 Sep 2013 15:12:17 GMT
|
249
|
+
Status:
|
250
|
+
- 200 OK
|
251
|
+
Connection:
|
252
|
+
- close
|
266
253
|
Location:
|
267
254
|
- http://staging.example.com:3000/locomotive/api/content_types
|
268
255
|
Content-Type:
|
@@ -270,33 +257,25 @@ http_interactions:
|
|
270
257
|
X-Ua-Compatible:
|
271
258
|
- IE=Edge
|
272
259
|
Etag:
|
273
|
-
-
|
260
|
+
- '"9a10d6bde4c6dff5872887e673ba38b3"'
|
274
261
|
Cache-Control:
|
275
262
|
- max-age=0, private, must-revalidate
|
263
|
+
Set-Cookie:
|
264
|
+
- _locomotive_session=5IDxw38JgWhqxItM_MrQCWQR2UY; domain=.example.com; path=/;
|
265
|
+
HttpOnly
|
276
266
|
X-Request-Id:
|
277
|
-
-
|
267
|
+
- d392666c93ef648db15a29ce57bf2cec
|
278
268
|
X-Runtime:
|
279
|
-
- '0.
|
280
|
-
Server:
|
281
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
|
282
|
-
Date:
|
283
|
-
- Tue, 04 Jun 2013 10:22:33 GMT
|
284
|
-
Content-Length:
|
285
|
-
- '779'
|
286
|
-
Connection:
|
287
|
-
- Keep-Alive
|
288
|
-
Set-Cookie:
|
289
|
-
- _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWM5NzU2NWUyNzNlMTc1ZjY2N2M4YTY1YTE1ZGFlNjkwBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewA6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOgtub3RpY2VJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIrQ29udGVudCB0eXBlIHdhcyBzdWNjZXNzZnVsbHkgY3JlYXRlZC4HOwBUOg9AaHRtbF9zYWZlVDoJQG5vdzA%3D--394e769cd28ce8c33dd336108e46195a61eb674f;
|
290
|
-
domain=.example.com; path=/; HttpOnly
|
269
|
+
- '0.078165'
|
291
270
|
body:
|
292
|
-
encoding:
|
293
|
-
string:
|
271
|
+
encoding: UTF-8
|
272
|
+
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
|
294
273
|
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":[]}'
|
295
274
|
http_version:
|
296
|
-
recorded_at: Tue,
|
275
|
+
recorded_at: Tue, 17 Sep 2013 15:12:17 GMT
|
297
276
|
- request:
|
298
277
|
method: get
|
299
|
-
uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=
|
278
|
+
uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
300
279
|
body:
|
301
280
|
encoding: US-ASCII
|
302
281
|
string: ''
|
@@ -304,55 +283,58 @@ http_interactions:
|
|
304
283
|
response:
|
305
284
|
status:
|
306
285
|
code: 200
|
307
|
-
message:
|
286
|
+
message: OK
|
308
287
|
headers:
|
288
|
+
Date:
|
289
|
+
- Tue, 17 Sep 2013 15:12:17 GMT
|
290
|
+
Status:
|
291
|
+
- 200 OK
|
292
|
+
Connection:
|
293
|
+
- close
|
309
294
|
Content-Type:
|
310
295
|
- application/json; charset=utf-8
|
311
296
|
X-Ua-Compatible:
|
312
297
|
- IE=Edge
|
313
298
|
Etag:
|
314
|
-
-
|
299
|
+
- '"2bf034a4556fe3479a16e76573df955d"'
|
315
300
|
Cache-Control:
|
316
301
|
- max-age=0, private, must-revalidate
|
302
|
+
Set-Cookie:
|
303
|
+
- _locomotive_session=71tt9yea19R8HhQ0mshLgX28FkI; domain=.example.com; path=/;
|
304
|
+
HttpOnly
|
317
305
|
X-Request-Id:
|
318
|
-
-
|
306
|
+
- a0018dd556aa887384361d1cc04c0cb9
|
319
307
|
X-Runtime:
|
320
|
-
- '0.
|
321
|
-
Server:
|
322
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
|
323
|
-
Date:
|
324
|
-
- Tue, 04 Jun 2013 10:22:33 GMT
|
325
|
-
Content-Length:
|
326
|
-
- '1165'
|
327
|
-
Connection:
|
328
|
-
- Keep-Alive
|
329
|
-
Set-Cookie:
|
330
|
-
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTQ2ZjNiM2NmMjM4NGIwYmJjYjZmNTEwOTY0NTcwZjllBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--0632f715818904ca1584ba9de854d42dadebf568;
|
331
|
-
domain=.example.com; path=/; HttpOnly
|
308
|
+
- '0.048914'
|
332
309
|
body:
|
333
|
-
encoding:
|
334
|
-
string:
|
335
|
-
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":"
|
336
|
-
|
337
|
-
page\n","editable_elements":[]},{"id":"51adbec61e66cf7e28000020","_id":"51adbec61e66cf7e28000020","created_at":"2013-06-04T10:17:42Z","updated_at":"2013-06-04T10:17:42Z","title":"Page
|
310
|
+
encoding: UTF-8
|
311
|
+
string: '[{"id":"5238715187f643884e00000b","_id":"5238715187f643884e00000b","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:17Z","title":"Home
|
312
|
+
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
|
313
|
+
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
|
338
314
|
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
|
339
315
|
of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}]'
|
340
316
|
http_version:
|
341
|
-
recorded_at: Tue,
|
317
|
+
recorded_at: Tue, 17 Sep 2013 15:12:17 GMT
|
342
318
|
- request:
|
343
319
|
method: put
|
344
|
-
uri: http://staging.example.com:3000/locomotive/api/pages/
|
320
|
+
uri: http://staging.example.com:3000/locomotive/api/pages/5238715187f643884e00000b.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
345
321
|
body:
|
346
|
-
encoding:
|
322
|
+
encoding: UTF-8
|
347
323
|
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
|
348
324
|
headers: {}
|
349
325
|
response:
|
350
326
|
status:
|
351
327
|
code: 200
|
352
|
-
message:
|
328
|
+
message: OK
|
353
329
|
headers:
|
330
|
+
Date:
|
331
|
+
- Tue, 17 Sep 2013 15:12:18 GMT
|
332
|
+
Status:
|
333
|
+
- 200 OK
|
334
|
+
Connection:
|
335
|
+
- close
|
354
336
|
X-Message:
|
355
|
-
-
|
337
|
+
- '"Page%20was%20successfully%20updated."'
|
356
338
|
X-Message-Type:
|
357
339
|
- notice
|
358
340
|
Location:
|
@@ -362,46 +344,44 @@ http_interactions:
|
|
362
344
|
X-Ua-Compatible:
|
363
345
|
- IE=Edge
|
364
346
|
Etag:
|
365
|
-
-
|
347
|
+
- '"7526fea703475e13c5673d3b3dc74174"'
|
366
348
|
Cache-Control:
|
367
349
|
- max-age=0, private, must-revalidate
|
350
|
+
Set-Cookie:
|
351
|
+
- _locomotive_session=YZ0YkOmt0avCCj2MAzcSd2chOfg; domain=.example.com; path=/;
|
352
|
+
HttpOnly
|
368
353
|
X-Request-Id:
|
369
|
-
-
|
354
|
+
- 3206f59d583d6efc01637f9dcbc9cc43
|
370
355
|
X-Runtime:
|
371
|
-
- '0.
|
372
|
-
Server:
|
373
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
|
374
|
-
Date:
|
375
|
-
- Tue, 04 Jun 2013 10:22:33 GMT
|
376
|
-
Content-Length:
|
377
|
-
- '706'
|
378
|
-
Connection:
|
379
|
-
- Keep-Alive
|
380
|
-
Set-Cookie:
|
381
|
-
- _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWNhOGI5MGM1OTU3ZjRjYjkxNjljMWJhZTc1MWYyYzUzBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--cd5dccdab0e118738bec651ed2bf66ffdda9aa22;
|
382
|
-
domain=.example.com; path=/; HttpOnly
|
356
|
+
- '0.072984'
|
383
357
|
body:
|
384
|
-
encoding:
|
385
|
-
string:
|
358
|
+
encoding: UTF-8
|
359
|
+
string: '{"id":"5238715187f643884e00000b","_id":"5238715187f643884e00000b","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:18Z","title":"Home
|
386
360
|
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":"{%
|
387
361
|
block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","escaped_raw_template":"{%
|
388
362
|
block content %}\r\n New content of the home page\r\n{% endblock %}\r\n\r\n","editable_elements":[]}'
|
389
363
|
http_version:
|
390
|
-
recorded_at: Tue,
|
364
|
+
recorded_at: Tue, 17 Sep 2013 15:12:18 GMT
|
391
365
|
- request:
|
392
366
|
method: put
|
393
|
-
uri: http://staging.example.com:3000/locomotive/api/pages/
|
367
|
+
uri: http://staging.example.com:3000/locomotive/api/pages/5238715187f643884e00000c.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
394
368
|
body:
|
395
|
-
encoding:
|
369
|
+
encoding: UTF-8
|
396
370
|
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
|
397
371
|
headers: {}
|
398
372
|
response:
|
399
373
|
status:
|
400
374
|
code: 200
|
401
|
-
message:
|
375
|
+
message: OK
|
402
376
|
headers:
|
377
|
+
Date:
|
378
|
+
- Tue, 17 Sep 2013 15:12:18 GMT
|
379
|
+
Status:
|
380
|
+
- 200 OK
|
381
|
+
Connection:
|
382
|
+
- close
|
403
383
|
X-Message:
|
404
|
-
-
|
384
|
+
- '"Page%20was%20successfully%20updated."'
|
405
385
|
X-Message-Type:
|
406
386
|
- notice
|
407
387
|
Location:
|
@@ -411,43 +391,41 @@ http_interactions:
|
|
411
391
|
X-Ua-Compatible:
|
412
392
|
- IE=Edge
|
413
393
|
Etag:
|
414
|
-
-
|
394
|
+
- '"eb0485fd501236dec0f261e70555721f"'
|
415
395
|
Cache-Control:
|
416
396
|
- max-age=0, private, must-revalidate
|
397
|
+
Set-Cookie:
|
398
|
+
- _locomotive_session=oUJqosgKMmzIMweOoAkLOEyRZGg; domain=.example.com; path=/;
|
399
|
+
HttpOnly
|
417
400
|
X-Request-Id:
|
418
|
-
-
|
401
|
+
- 23024c6f75ac4b4db106e1b277f7e90b
|
419
402
|
X-Runtime:
|
420
|
-
- '0.
|
421
|
-
Server:
|
422
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
|
423
|
-
Date:
|
424
|
-
- Tue, 04 Jun 2013 10:22:33 GMT
|
425
|
-
Content-Length:
|
426
|
-
- '578'
|
427
|
-
Connection:
|
428
|
-
- Keep-Alive
|
429
|
-
Set-Cookie:
|
430
|
-
- _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWI5OTM2NTY5MGFiOWM3ZGViMzlmODI3ZGYyMDY1MDkwBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewY6C25vdGljZVQ6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOwtJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IHVwZGF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--cf805c05dce53d61425e76cb8876a8422cba8bf6;
|
431
|
-
domain=.example.com; path=/; HttpOnly
|
403
|
+
- '0.053845'
|
432
404
|
body:
|
433
|
-
encoding:
|
434
|
-
string:
|
405
|
+
encoding: UTF-8
|
406
|
+
string: '{"id":"5238715187f643884e00000c","_id":"5238715187f643884e00000c","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:17Z","title":"Page
|
435
407
|
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
|
436
408
|
of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}'
|
437
409
|
http_version:
|
438
|
-
recorded_at: Tue,
|
410
|
+
recorded_at: Tue, 17 Sep 2013 15:12:18 GMT
|
439
411
|
- request:
|
440
412
|
method: post
|
441
|
-
uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=
|
413
|
+
uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
442
414
|
body:
|
443
|
-
encoding:
|
444
|
-
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]=
|
415
|
+
encoding: UTF-8
|
416
|
+
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
|
445
417
|
headers: {}
|
446
418
|
response:
|
447
419
|
status:
|
448
420
|
code: 200
|
449
|
-
message:
|
421
|
+
message: OK
|
450
422
|
headers:
|
423
|
+
Date:
|
424
|
+
- Tue, 17 Sep 2013 15:12:18 GMT
|
425
|
+
Status:
|
426
|
+
- 200 OK
|
427
|
+
Connection:
|
428
|
+
- close
|
451
429
|
Location:
|
452
430
|
- http://staging.example.com:3000/locomotive/api/pages
|
453
431
|
Content-Type:
|
@@ -455,43 +433,41 @@ http_interactions:
|
|
455
433
|
X-Ua-Compatible:
|
456
434
|
- IE=Edge
|
457
435
|
Etag:
|
458
|
-
-
|
436
|
+
- '"d613d3737207cda34c54e60662bc4eb8"'
|
459
437
|
Cache-Control:
|
460
438
|
- max-age=0, private, must-revalidate
|
439
|
+
Set-Cookie:
|
440
|
+
- _locomotive_session=TO2vsghCeuN0qN5J9TeGn-hZPhY; domain=.example.com; path=/;
|
441
|
+
HttpOnly
|
461
442
|
X-Request-Id:
|
462
|
-
-
|
443
|
+
- 21538f3846598a0746027c05379040a6
|
463
444
|
X-Runtime:
|
464
|
-
- '0.
|
465
|
-
Server:
|
466
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
|
467
|
-
Date:
|
468
|
-
- Tue, 04 Jun 2013 10:22:33 GMT
|
469
|
-
Content-Length:
|
470
|
-
- '684'
|
471
|
-
Connection:
|
472
|
-
- Keep-Alive
|
473
|
-
Set-Cookie:
|
474
|
-
- _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTk4ZjliZDdjYWQ3ODZhZjUyNmZlMTJhZDdkOTczYmQ0BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewA6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOgtub3RpY2VJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IGNyZWF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--c8bfcfe9729688602d7e4f0a4235452a39668ec1;
|
475
|
-
domain=.example.com; path=/; HttpOnly
|
445
|
+
- '0.068711'
|
476
446
|
body:
|
477
|
-
encoding:
|
478
|
-
string:
|
447
|
+
encoding: UTF-8
|
448
|
+
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":"{{
|
479
449
|
''hello_world'' | translate}}","escaped_raw_template":"{{ 'hello_world'
|
480
450
|
| translate}}","editable_elements":[]}'
|
481
451
|
http_version:
|
482
|
-
recorded_at: Tue,
|
452
|
+
recorded_at: Tue, 17 Sep 2013 15:12:18 GMT
|
483
453
|
- request:
|
484
454
|
method: post
|
485
|
-
uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=
|
455
|
+
uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
486
456
|
body:
|
487
|
-
encoding:
|
488
|
-
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]=
|
457
|
+
encoding: UTF-8
|
458
|
+
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
|
489
459
|
headers: {}
|
490
460
|
response:
|
491
461
|
status:
|
492
462
|
code: 200
|
493
|
-
message:
|
463
|
+
message: OK
|
494
464
|
headers:
|
465
|
+
Date:
|
466
|
+
- Tue, 17 Sep 2013 15:12:18 GMT
|
467
|
+
Status:
|
468
|
+
- 200 OK
|
469
|
+
Connection:
|
470
|
+
- close
|
495
471
|
Location:
|
496
472
|
- http://staging.example.com:3000/locomotive/api/pages
|
497
473
|
Content-Type:
|
@@ -499,44 +475,42 @@ http_interactions:
|
|
499
475
|
X-Ua-Compatible:
|
500
476
|
- IE=Edge
|
501
477
|
Etag:
|
502
|
-
-
|
478
|
+
- '"507502849fe4cc6de4a4c3b2869c3fa0"'
|
503
479
|
Cache-Control:
|
504
480
|
- max-age=0, private, must-revalidate
|
481
|
+
Set-Cookie:
|
482
|
+
- _locomotive_session=77kG6mysN41mNG60lcZWlKhzpD0; domain=.example.com; path=/;
|
483
|
+
HttpOnly
|
505
484
|
X-Request-Id:
|
506
|
-
-
|
485
|
+
- 58d6d16ff658cea0ab4d90293d5fa2d5
|
507
486
|
X-Runtime:
|
508
|
-
- '0.
|
509
|
-
Server:
|
510
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
|
511
|
-
Date:
|
512
|
-
- Tue, 04 Jun 2013 10:22:33 GMT
|
513
|
-
Content-Length:
|
514
|
-
- '775'
|
515
|
-
Connection:
|
516
|
-
- Keep-Alive
|
517
|
-
Set-Cookie:
|
518
|
-
- _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWE0ZDg1NThmMjUyY2VjZjRkMmEyZGZhYzhlODZlM2NjBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewA6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOgtub3RpY2VJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IGNyZWF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--c6554f638d289200e2a622279ee46547d7f3cbfd;
|
519
|
-
domain=.example.com; path=/; HttpOnly
|
487
|
+
- '0.069076'
|
520
488
|
body:
|
521
|
-
encoding:
|
522
|
-
string:
|
489
|
+
encoding: UTF-8
|
490
|
+
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":"{%
|
523
491
|
extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Search
|
524
492
|
friendly products","meta_keywords":"fancy, products, keywords","meta_description":"Fancy
|
525
493
|
products description"}'
|
526
494
|
http_version:
|
527
|
-
recorded_at: Tue,
|
495
|
+
recorded_at: Tue, 17 Sep 2013 15:12:18 GMT
|
528
496
|
- request:
|
529
497
|
method: post
|
530
|
-
uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=
|
498
|
+
uri: http://staging.example.com:3000/locomotive/api/pages.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
531
499
|
body:
|
532
|
-
encoding:
|
533
|
-
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]=
|
500
|
+
encoding: UTF-8
|
501
|
+
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
|
534
502
|
headers: {}
|
535
503
|
response:
|
536
504
|
status:
|
537
505
|
code: 200
|
538
|
-
message:
|
506
|
+
message: OK
|
539
507
|
headers:
|
508
|
+
Date:
|
509
|
+
- Tue, 17 Sep 2013 15:12:18 GMT
|
510
|
+
Status:
|
511
|
+
- 200 OK
|
512
|
+
Connection:
|
513
|
+
- close
|
540
514
|
Location:
|
541
515
|
- http://staging.example.com:3000/locomotive/api/pages
|
542
516
|
Content-Type:
|
@@ -544,268 +518,156 @@ http_interactions:
|
|
544
518
|
X-Ua-Compatible:
|
545
519
|
- IE=Edge
|
546
520
|
Etag:
|
547
|
-
-
|
521
|
+
- '"8c34a4badd6911f6574462b6b1c305ae"'
|
548
522
|
Cache-Control:
|
549
523
|
- max-age=0, private, must-revalidate
|
524
|
+
Set-Cookie:
|
525
|
+
- _locomotive_session=hnwRvwirurzAcWZbZrsRGCXjqHw; domain=.example.com; path=/;
|
526
|
+
HttpOnly
|
550
527
|
X-Request-Id:
|
551
|
-
-
|
528
|
+
- 257eb9dbe9a49b96344cdd66e0727a73
|
552
529
|
X-Runtime:
|
553
|
-
- '0.
|
554
|
-
Server:
|
555
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
|
556
|
-
Date:
|
557
|
-
- Tue, 04 Jun 2013 10:22:33 GMT
|
558
|
-
Content-Length:
|
559
|
-
- '891'
|
560
|
-
Connection:
|
561
|
-
- Keep-Alive
|
562
|
-
Set-Cookie:
|
563
|
-
- _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJWFkNThjYWJlY2FiNTNkZDY3ZDJmYzBiNzE3MDRlMDIwBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewA6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOgtub3RpY2VJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjUGFnZSB3YXMgc3VjY2Vzc2Z1bGx5IGNyZWF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--f45231025ce3c5e530197e2f265cf1b4c7d75932;
|
564
|
-
domain=.example.com; path=/; HttpOnly
|
530
|
+
- '0.069259'
|
565
531
|
body:
|
566
|
-
encoding:
|
567
|
-
string:
|
532
|
+
encoding: UTF-8
|
533
|
+
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":"{%
|
568
534
|
extends parent %}\r\n{% block content %}\r\n The name of the latest product
|
569
535
|
is: {{ contents.products.last.name }}\r\n{% endblock %}","escaped_raw_template":"{%
|
570
536
|
extends parent %}\r\n{% block content %}\r\n The name of the latest product
|
571
537
|
is: {{ contents.products.last.name }}\r\n{% endblock %}","editable_elements":[]}'
|
572
538
|
http_version:
|
573
|
-
recorded_at: Tue,
|
539
|
+
recorded_at: Tue, 17 Sep 2013 15:12:18 GMT
|
574
540
|
- request:
|
575
541
|
method: put
|
576
|
-
uri: http://staging.example.com:3000/locomotive/api/pages/
|
542
|
+
uri: http://staging.example.com:3000/locomotive/api/pages/5238715187f643884e00000b.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
577
543
|
body:
|
578
|
-
encoding:
|
544
|
+
encoding: UTF-8
|
579
545
|
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
|
580
546
|
headers: {}
|
581
547
|
response:
|
582
548
|
status:
|
583
549
|
code: 200
|
584
|
-
message:
|
585
|
-
T0sg
|
550
|
+
message: OK
|
586
551
|
headers:
|
587
|
-
|
588
|
-
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
-
|
593
|
-
|
594
|
-
|
595
|
-
-
|
596
|
-
|
597
|
-
|
598
|
-
-
|
599
|
-
|
600
|
-
|
601
|
-
-
|
602
|
-
|
603
|
-
|
604
|
-
-
|
605
|
-
|
606
|
-
|
607
|
-
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
- !binary |-
|
617
|
-
NjIw
|
618
|
-
!binary "Q29ubmVjdGlvbg==":
|
619
|
-
- !binary |-
|
620
|
-
S2VlcC1BbGl2ZQ==
|
621
|
-
!binary "U2V0LUNvb2tpZQ==":
|
622
|
-
- !binary |-
|
623
|
-
X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr
|
624
|
-
a2lKV1E0WkRVMFpUQTBNVEZsWldJMlpHWmlOVEUxWVRnM1pESmhNRFl4WW1N
|
625
|
-
eUJqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q
|
626
|
-
YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ
|
627
|
-
bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0
|
628
|
-
Y1dGV05WbGlZazVDZWpNR093QlUtLWEyOGQ5MDRmMzAxMWIwZmY3ZWQ3OTI1
|
629
|
-
ZGExNjM5NTM1Y2Q0OWU1ZmI7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9
|
630
|
-
LzsgSHR0cE9ubHk=
|
631
|
-
body:
|
632
|
-
encoding: ASCII-8BIT
|
633
|
-
string: !binary |-
|
634
|
-
eyJpZCI6IjUxYWRiZWM2MWU2NmNmN2UyODAwMDAxZiIsIl9pZCI6IjUxYWRi
|
635
|
-
ZWM2MWU2NmNmN2UyODAwMDAxZiIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0
|
636
|
-
VDEwOjE3OjQyWiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIyOjMz
|
637
|
-
WiIsInRpdGxlIjoiUMOhZ2luYSBkZSBpbmljaW8iLCJzbHVnIjoiaW5kZXgi
|
638
|
-
LCJwb3NpdGlvbiI6MCwicmVzcG9uc2VfdHlwZSI6InRleHQvaHRtbCIsImNh
|
639
|
-
Y2hlX3N0cmF0ZWd5Ijoibm9uZSIsInJlZGlyZWN0IjpmYWxzZSwicmVkaXJl
|
640
|
-
Y3RfdHlwZSI6MzAxLCJsaXN0ZWQiOnRydWUsInB1Ymxpc2hlZCI6dHJ1ZSwi
|
641
|
-
dGVtcGxhdGl6ZWQiOmZhbHNlLCJ0ZW1wbGF0aXplZF9mcm9tX3BhcmVudCI6
|
642
|
-
ZmFsc2UsImZ1bGxwYXRoIjoiaW5kZXgiLCJsb2NhbGl6ZWRfZnVsbHBhdGhz
|
643
|
-
Ijp7ImVuIjoiIiwiZXMiOiJlcyJ9LCJkZXB0aCI6MCwidGVtcGxhdGVfY2hh
|
644
|
-
bmdlZCI6dHJ1ZSwidHJhbnNsYXRlZF9pbiI6WyJlbiIsImVzIl0sInJhd190
|
645
|
-
ZW1wbGF0ZSI6Ik5ldyBjb250ZW50IG9mIHRoZSBob21lIHBhZ2VcclxuIiwi
|
646
|
-
ZXNjYXBlZF9yYXdfdGVtcGxhdGUiOiJOZXcgY29udGVudCBvZiB0aGUgaG9t
|
647
|
-
ZSBwYWdlXHJcbiIsImVkaXRhYmxlX2VsZW1lbnRzIjpbXX0=
|
552
|
+
Date:
|
553
|
+
- Tue, 17 Sep 2013 15:12:18 GMT
|
554
|
+
Status:
|
555
|
+
- 200 OK
|
556
|
+
Connection:
|
557
|
+
- close
|
558
|
+
Location:
|
559
|
+
- http://staging.example.com:3000/locomotive/api/pages
|
560
|
+
Content-Type:
|
561
|
+
- application/json; charset=utf-8
|
562
|
+
X-Ua-Compatible:
|
563
|
+
- IE=Edge
|
564
|
+
Etag:
|
565
|
+
- '"6fadabcb1299382b31a7a76b19c3bdec"'
|
566
|
+
Cache-Control:
|
567
|
+
- max-age=0, private, must-revalidate
|
568
|
+
Set-Cookie:
|
569
|
+
- _locomotive_session=xMkk4AIEl8Y92IYN6WraIpDQ1-4; domain=.example.com; path=/;
|
570
|
+
HttpOnly
|
571
|
+
X-Request-Id:
|
572
|
+
- 408a7e2b3c9ffca5242184458aafd900
|
573
|
+
X-Runtime:
|
574
|
+
- '0.112108'
|
575
|
+
body:
|
576
|
+
encoding: UTF-8
|
577
|
+
string: '{"id":"5238715187f643884e00000b","_id":"5238715187f643884e00000b","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:18Z","title":"P\u00e1gina
|
578
|
+
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
|
579
|
+
content of the home page\r\n","escaped_raw_template":"New content of the home
|
580
|
+
page\r\n","editable_elements":[]}'
|
648
581
|
http_version:
|
649
|
-
recorded_at: Tue,
|
582
|
+
recorded_at: Tue, 17 Sep 2013 15:12:18 GMT
|
650
583
|
- request:
|
651
584
|
method: put
|
652
|
-
uri: http://staging.example.com:3000/locomotive/api/pages/
|
585
|
+
uri: http://staging.example.com:3000/locomotive/api/pages/5238715187f643884e00000c.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
653
586
|
body:
|
654
|
-
encoding:
|
587
|
+
encoding: UTF-8
|
655
588
|
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
|
656
589
|
headers: {}
|
657
590
|
response:
|
658
591
|
status:
|
659
592
|
code: 200
|
660
|
-
message:
|
661
|
-
T0sg
|
593
|
+
message: OK
|
662
594
|
headers:
|
663
|
-
|
664
|
-
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
-
|
669
|
-
|
670
|
-
|
671
|
-
-
|
672
|
-
|
673
|
-
|
674
|
-
-
|
675
|
-
|
676
|
-
|
677
|
-
-
|
678
|
-
|
679
|
-
|
680
|
-
-
|
681
|
-
|
682
|
-
|
683
|
-
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
!binary "Q29udGVudC1MZW5ndGg=":
|
692
|
-
- !binary |-
|
693
|
-
NjA5
|
694
|
-
!binary "Q29ubmVjdGlvbg==":
|
695
|
-
- !binary |-
|
696
|
-
S2VlcC1BbGl2ZQ==
|
697
|
-
!binary "U2V0LUNvb2tpZQ==":
|
698
|
-
- !binary |-
|
699
|
-
X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr
|
700
|
-
a2lKVEppTURCaE9UTXhNVFkxWkRVeE1qQXlNR1JsWmpCaFpqVmlZMlZpWkdN
|
701
|
-
eEJqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q
|
702
|
-
YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ
|
703
|
-
bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0
|
704
|
-
Y1dGV05WbGlZazVDZWpNR093QlUtLWQ2ODA3NTE2OWFjNjI3NTc1OTIxMjFl
|
705
|
-
ZWEyNGYzY2Y2NDY3MTdjYmM7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9
|
706
|
-
LzsgSHR0cE9ubHk=
|
707
|
-
body:
|
708
|
-
encoding: ASCII-8BIT
|
709
|
-
string: !binary |-
|
710
|
-
eyJpZCI6IjUxYWRiZWM2MWU2NmNmN2UyODAwMDAyMCIsIl9pZCI6IjUxYWRi
|
711
|
-
ZWM2MWU2NmNmN2UyODAwMDAyMCIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0
|
712
|
-
VDEwOjE3OjQyWiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIyOjMz
|
713
|
-
WiIsInRpdGxlIjoiUMOhZ2luYSBubyBlbmNvbnRyYWRhIiwic2x1ZyI6IjQw
|
714
|
-
NCIsInBvc2l0aW9uIjoxLCJyZXNwb25zZV90eXBlIjoidGV4dC9odG1sIiwi
|
715
|
-
Y2FjaGVfc3RyYXRlZ3kiOiJub25lIiwicmVkaXJlY3QiOmZhbHNlLCJyZWRp
|
716
|
-
cmVjdF90eXBlIjozMDEsImxpc3RlZCI6dHJ1ZSwicHVibGlzaGVkIjp0cnVl
|
717
|
-
LCJ0ZW1wbGF0aXplZCI6ZmFsc2UsInRlbXBsYXRpemVkX2Zyb21fcGFyZW50
|
718
|
-
IjpmYWxzZSwiZnVsbHBhdGgiOiI0MDQiLCJsb2NhbGl6ZWRfZnVsbHBhdGhz
|
719
|
-
Ijp7ImVuIjoiNDA0IiwiZXMiOiJlcy80MDQifSwiZGVwdGgiOjAsInRlbXBs
|
720
|
-
YXRlX2NoYW5nZWQiOnRydWUsInRyYW5zbGF0ZWRfaW4iOlsiZW4iLCJlcyJd
|
721
|
-
LCJyYXdfdGVtcGxhdGUiOiJDb250ZW50IG9mIHRoZSA0MDQgcGFnZSIsImVz
|
722
|
-
Y2FwZWRfcmF3X3RlbXBsYXRlIjoiQ29udGVudCBvZiB0aGUgNDA0IHBhZ2Ui
|
723
|
-
LCJlZGl0YWJsZV9lbGVtZW50cyI6W119
|
595
|
+
Date:
|
596
|
+
- Tue, 17 Sep 2013 15:12:18 GMT
|
597
|
+
Status:
|
598
|
+
- 200 OK
|
599
|
+
Connection:
|
600
|
+
- close
|
601
|
+
Location:
|
602
|
+
- http://staging.example.com:3000/locomotive/api/pages
|
603
|
+
Content-Type:
|
604
|
+
- application/json; charset=utf-8
|
605
|
+
X-Ua-Compatible:
|
606
|
+
- IE=Edge
|
607
|
+
Etag:
|
608
|
+
- '"951c07cfeb3a3b0b3a5962b7bf5684b8"'
|
609
|
+
Cache-Control:
|
610
|
+
- max-age=0, private, must-revalidate
|
611
|
+
Set-Cookie:
|
612
|
+
- _locomotive_session=LLgP_cxmWw_vR6lgaKBcJMCUFQM; domain=.example.com; path=/;
|
613
|
+
HttpOnly
|
614
|
+
X-Request-Id:
|
615
|
+
- d826f8392060b1dbd39e13d918f83547
|
616
|
+
X-Runtime:
|
617
|
+
- '0.048381'
|
618
|
+
body:
|
619
|
+
encoding: UTF-8
|
620
|
+
string: '{"id":"5238715187f643884e00000c","_id":"5238715187f643884e00000c","created_at":"2013-09-17T15:12:17Z","updated_at":"2013-09-17T15:12:18Z","title":"P\u00e1gina
|
621
|
+
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
|
622
|
+
of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}'
|
724
623
|
http_version:
|
725
|
-
recorded_at: Tue,
|
624
|
+
recorded_at: Tue, 17 Sep 2013 15:12:18 GMT
|
726
625
|
- request:
|
727
626
|
method: put
|
728
|
-
uri: http://staging.example.com:3000/locomotive/api/pages/
|
627
|
+
uri: http://staging.example.com:3000/locomotive/api/pages/5238715287f643884e000011.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
729
628
|
body:
|
730
|
-
encoding:
|
629
|
+
encoding: UTF-8
|
731
630
|
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
|
732
631
|
headers: {}
|
733
632
|
response:
|
734
633
|
status:
|
735
634
|
code: 200
|
736
|
-
message:
|
737
|
-
T0sg
|
635
|
+
message: OK
|
738
636
|
headers:
|
739
|
-
|
740
|
-
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
-
|
745
|
-
|
746
|
-
|
747
|
-
-
|
748
|
-
|
749
|
-
|
750
|
-
-
|
751
|
-
|
752
|
-
|
753
|
-
-
|
754
|
-
|
755
|
-
|
756
|
-
-
|
757
|
-
|
758
|
-
|
759
|
-
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
- !binary |-
|
769
|
-
Nzgw
|
770
|
-
!binary "Q29ubmVjdGlvbg==":
|
771
|
-
- !binary |-
|
772
|
-
S2VlcC1BbGl2ZQ==
|
773
|
-
!binary "U2V0LUNvb2tpZQ==":
|
774
|
-
- !binary |-
|
775
|
-
X2R1bW15X3Nlc3Npb249QkFoN0Iwa2lEM05sYzNOcGIyNWZhV1FHT2daRlJr
|
776
|
-
a2lKVFJrWWpBMU9HVmxPVEF5Tm1ZMll6VTNOemMwTlRNNVl6SXpOMlF6TURr
|
777
|
-
eUJqc0FWRWtpSjNkaGNtUmxiaTUxYzJWeUxteHZZMjl0YjNScGRtVmZZV05q
|
778
|
-
YjNWdWRDNXJaWGtHT3dCVVd3ZGJCbFU2R2sxdmNHVmtPanBDVTA5T09qcFBZ
|
779
|
-
bXBsWTNSSlpDSVJVYTIlMkJ2eDVtejZ2bEFBQUJTU0laZERaU2FtVldhSGw0
|
780
|
-
Y1dGV05WbGlZazVDZWpNR093QlUtLTc3YWQwOWVmZGI0NWE1ZGQ3NmM1OGQz
|
781
|
-
YTBiMTU5YzgwZmRmNTQ2ZjY7IGRvbWFpbj0uZXhhbXBsZS5jb207IHBhdGg9
|
782
|
-
LzsgSHR0cE9ubHk=
|
783
|
-
body:
|
784
|
-
encoding: ASCII-8BIT
|
785
|
-
string: !binary |-
|
786
|
-
eyJpZCI6IjUxYWRiZmU5MWU2NmNmMjMyNzAwMDAyZCIsIl9pZCI6IjUxYWRi
|
787
|
-
ZmU5MWU2NmNmMjMyNzAwMDAyZCIsImNyZWF0ZWRfYXQiOiIyMDEzLTA2LTA0
|
788
|
-
VDEwOjIyOjMzWiIsInVwZGF0ZWRfYXQiOiIyMDEzLTA2LTA0VDEwOjIyOjMz
|
789
|
-
WiIsInRpdGxlIjoiUHJvZHVjdHMiLCJzbHVnIjoicHJvZHVjdHMiLCJwYXJl
|
790
|
-
bnRfaWQiOiI1MWFkYmVjNjFlNjZjZjdlMjgwMDAwMWYiLCJwb3NpdGlvbiI6
|
791
|
-
MSwicmVzcG9uc2VfdHlwZSI6InRleHQvaHRtbCIsImNhY2hlX3N0cmF0ZWd5
|
792
|
-
Ijoibm9uZSIsInJlZGlyZWN0IjpmYWxzZSwicmVkaXJlY3RfdHlwZSI6MzAx
|
793
|
-
LCJsaXN0ZWQiOnRydWUsInB1Ymxpc2hlZCI6dHJ1ZSwidGVtcGxhdGl6ZWQi
|
794
|
-
OmZhbHNlLCJ0ZW1wbGF0aXplZF9mcm9tX3BhcmVudCI6ZmFsc2UsImZ1bGxw
|
795
|
-
YXRoIjoicHJvZHVjdHMiLCJsb2NhbGl6ZWRfZnVsbHBhdGhzIjp7ImVuIjoi
|
796
|
-
cHJvZHVjdHMiLCJlcyI6ImVzL3Byb2R1Y3RzIn0sImRlcHRoIjoxLCJ0ZW1w
|
797
|
-
bGF0ZV9jaGFuZ2VkIjp0cnVlLCJ0cmFuc2xhdGVkX2luIjpbImVuIiwiZXMi
|
798
|
-
XSwicmF3X3RlbXBsYXRlIjoieyUgZXh0ZW5kcyBwYXJlbnQgJX0iLCJlc2Nh
|
799
|
-
cGVkX3Jhd190ZW1wbGF0ZSI6InslIGV4dGVuZHMgcGFyZW50ICV9IiwiZWRp
|
800
|
-
dGFibGVfZWxlbWVudHMiOltdLCJzZW9fdGl0bGUiOiJQcm9kdWN0b3MgU0VP
|
801
|
-
IiwibWV0YV9rZXl3b3JkcyI6InBhbGFicmFzLCBjbGF2ZSwgcHJvZHVjdG9z
|
802
|
-
IiwibWV0YV9kZXNjcmlwdGlvbiI6IkRlc2NyaXBjacOzbiBtb2xvbmEgZGUg
|
803
|
-
bG9zIHByb2R1Y3RvcyJ9
|
637
|
+
Date:
|
638
|
+
- Tue, 17 Sep 2013 15:12:18 GMT
|
639
|
+
Status:
|
640
|
+
- 200 OK
|
641
|
+
Connection:
|
642
|
+
- close
|
643
|
+
Location:
|
644
|
+
- http://staging.example.com:3000/locomotive/api/pages
|
645
|
+
Content-Type:
|
646
|
+
- application/json; charset=utf-8
|
647
|
+
X-Ua-Compatible:
|
648
|
+
- IE=Edge
|
649
|
+
Etag:
|
650
|
+
- '"adbbc177679aebab4f5442b46c975ab7"'
|
651
|
+
Cache-Control:
|
652
|
+
- max-age=0, private, must-revalidate
|
653
|
+
Set-Cookie:
|
654
|
+
- _locomotive_session=iVFImXwU4LRxxvm21taLtcQDkzE; domain=.example.com; path=/;
|
655
|
+
HttpOnly
|
656
|
+
X-Request-Id:
|
657
|
+
- 08b1dd7febf52138996b81a0e8d162ed
|
658
|
+
X-Runtime:
|
659
|
+
- '0.068407'
|
660
|
+
body:
|
661
|
+
encoding: UTF-8
|
662
|
+
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":"{%
|
663
|
+
extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[],"seo_title":"Productos
|
664
|
+
SEO","meta_keywords":"palabras, clave, productos","meta_description":"Descripci\u00f3n
|
665
|
+
molona de los productos"}'
|
804
666
|
http_version:
|
805
|
-
recorded_at: Tue,
|
667
|
+
recorded_at: Tue, 17 Sep 2013 15:12:18 GMT
|
806
668
|
- request:
|
807
669
|
method: get
|
808
|
-
uri: http://staging.example.com:3000/locomotive/api/theme_assets.json?auth_token=
|
670
|
+
uri: http://staging.example.com:3000/locomotive/api/theme_assets.json?auth_token=iaWvtP5PhmnyKypXpLbM
|
809
671
|
body:
|
810
672
|
encoding: US-ASCII
|
811
673
|
string: ''
|
@@ -813,34 +675,32 @@ http_interactions:
|
|
813
675
|
response:
|
814
676
|
status:
|
815
677
|
code: 200
|
816
|
-
message:
|
678
|
+
message: OK
|
817
679
|
headers:
|
680
|
+
Date:
|
681
|
+
- Tue, 17 Sep 2013 15:12:18 GMT
|
682
|
+
Status:
|
683
|
+
- 200 OK
|
684
|
+
Connection:
|
685
|
+
- close
|
818
686
|
Content-Type:
|
819
687
|
- application/json; charset=utf-8
|
820
688
|
X-Ua-Compatible:
|
821
689
|
- IE=Edge
|
822
690
|
Etag:
|
823
|
-
-
|
691
|
+
- '"d751713988987e9331980363e24189ce"'
|
824
692
|
Cache-Control:
|
825
693
|
- max-age=0, private, must-revalidate
|
694
|
+
Set-Cookie:
|
695
|
+
- _locomotive_session=-t4DtKkjHS5nXFQ1qzDVjuudB50; domain=.example.com; path=/;
|
696
|
+
HttpOnly
|
826
697
|
X-Request-Id:
|
827
|
-
-
|
698
|
+
- 7e14bbedcd12063d6114acef640780d6
|
828
699
|
X-Runtime:
|
829
|
-
- '0.
|
830
|
-
Server:
|
831
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
|
832
|
-
Date:
|
833
|
-
- Tue, 04 Jun 2013 10:22:33 GMT
|
834
|
-
Content-Length:
|
835
|
-
- '2'
|
836
|
-
Connection:
|
837
|
-
- Keep-Alive
|
838
|
-
Set-Cookie:
|
839
|
-
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWVmZDQzMDA2YzhiYmRmY2VmMTJlYTRhYjY5MmU1NTEyBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwdbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUa2%2Bvx5mz6vlAAABSSIZdDZSamVWaHl4cWFWNVliYk5CejMGOwBU--872bef25908bb96f17b6b1a41ede5c849ab4470e;
|
840
|
-
domain=.example.com; path=/; HttpOnly
|
700
|
+
- '0.035893'
|
841
701
|
body:
|
842
|
-
encoding:
|
843
|
-
string:
|
702
|
+
encoding: UTF-8
|
703
|
+
string: '[]'
|
844
704
|
http_version:
|
845
|
-
recorded_at: Tue,
|
846
|
-
recorded_with: VCR 2.
|
705
|
+
recorded_at: Tue, 17 Sep 2013 15:12:18 GMT
|
706
|
+
recorded_with: VCR 2.5.0
|