locomotivecms_coal 1.7.0 → 1.8.0.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/lib/locomotive/coal/resources/concerns/request.rb +1 -1
  3. data/lib/locomotive/coal/version.rb +1 -1
  4. metadata +20 -123
  5. data/.gitignore +0 -4
  6. data/.rspec +0 -2
  7. data/.travis.yml +0 -7
  8. data/Gemfile +0 -20
  9. data/Gemfile.lock +0 -122
  10. data/Rakefile +0 -21
  11. data/locomotivecms_coal.gemspec +0 -27
  12. data/spec/fixtures/assets/locomotive.png +0 -0
  13. data/spec/fixtures/assets/rails.png +0 -0
  14. data/spec/fixtures/coal_cassettes/accounts.yml +0 -214
  15. data/spec/fixtures/coal_cassettes/client.yml +0 -479
  16. data/spec/fixtures/coal_cassettes/content_assets.yml +0 -270
  17. data/spec/fixtures/coal_cassettes/content_entries.yml +0 -2189
  18. data/spec/fixtures/coal_cassettes/content_types.yml +0 -726
  19. data/spec/fixtures/coal_cassettes/current_site.yml +0 -166
  20. data/spec/fixtures/coal_cassettes/memberships.yml +0 -270
  21. data/spec/fixtures/coal_cassettes/my_account.yml +0 -260
  22. data/spec/fixtures/coal_cassettes/pages.yml +0 -333
  23. data/spec/fixtures/coal_cassettes/sections.yml +0 -267
  24. data/spec/fixtures/coal_cassettes/sites.yml +0 -212
  25. data/spec/fixtures/coal_cassettes/snippets.yml +0 -269
  26. data/spec/fixtures/coal_cassettes/theme_assets.yml +0 -270
  27. data/spec/fixtures/coal_cassettes/token.yml +0 -103
  28. data/spec/fixtures/coal_cassettes/translations.yml +0 -267
  29. data/spec/fixtures/coal_cassettes/version.yml +0 -103
  30. data/spec/integration/client_spec.rb +0 -67
  31. data/spec/integration/resources/accounts_spec.rb +0 -38
  32. data/spec/integration/resources/content_assets_spec.rb +0 -42
  33. data/spec/integration/resources/content_entries_spec.rb +0 -97
  34. data/spec/integration/resources/content_types_spec.rb +0 -44
  35. data/spec/integration/resources/current_site_spec.rb +0 -22
  36. data/spec/integration/resources/engine_version_spec.rb +0 -17
  37. data/spec/integration/resources/memberships_spec.rb +0 -39
  38. data/spec/integration/resources/my_account_spec.rb +0 -34
  39. data/spec/integration/resources/pages_spec.rb +0 -43
  40. data/spec/integration/resources/sections_spec.rb +0 -46
  41. data/spec/integration/resources/sites_spec.rb +0 -43
  42. data/spec/integration/resources/snippets_spec.rb +0 -38
  43. data/spec/integration/resources/theme_assets_spec.rb +0 -43
  44. data/spec/integration/resources/token_spec.rb +0 -38
  45. data/spec/integration/resources/translations_spec.rb +0 -38
  46. data/spec/spec_helper.rb +0 -28
  47. data/spec/support/api_settings.rb +0 -10
  48. data/spec/support/assets.rb +0 -4
  49. data/spec/support/default_resources.rb +0 -7
  50. data/spec/support/pry.rb +0 -4
  51. data/spec/support/vcr.rb +0 -10
  52. data/spec/unit/client_spec.rb +0 -52
  53. data/spec/unit/client_v2_spec.rb +0 -22
  54. data/spec/unit/error_spec.rb +0 -36
  55. data/spec/unit/paginated_resources_spec.rb +0 -50
  56. data/spec/unit/resource_spec.rb +0 -29
@@ -1,333 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
6
- body:
7
- encoding: UTF-8
8
- string: email=admin%40locomotivecms.com&password=locomotive
9
- headers:
10
- User-Agent:
11
- - Faraday v0.15.4
12
- Accept:
13
- - application/json
14
- Accept-Encoding:
15
- - gzip,deflate
16
- Date:
17
- - Sun, 17 Nov 2019 16:39:30 GMT
18
- Content-Type:
19
- - application/x-www-form-urlencoded
20
- response:
21
- status:
22
- code: 201
23
- message: Created
24
- headers:
25
- Content-Type:
26
- - application/json
27
- Content-Length:
28
- - '32'
29
- Connection:
30
- - keep-alive
31
- Status:
32
- - 201 Created
33
- Cache-Control:
34
- - max-age=0, private, must-revalidate
35
- Etag:
36
- - W/"410e3d6fde24f39257a7cc619b61baa7"
37
- X-Runtime:
38
- - '0.008515'
39
- X-Request-Id:
40
- - abceaaf0-2c63-4d63-8cb2-755376ade183
41
- Date:
42
- - Sun, 17 Nov 2019 16:39:30 GMT
43
- X-Powered-By:
44
- - Phusion Passenger 6.0.4
45
- Server:
46
- - nginx/1.17.3 + Phusion Passenger 6.0.4
47
- body:
48
- encoding: UTF-8
49
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
50
- http_version:
51
- recorded_at: Sun, 17 Nov 2019 16:39:30 GMT
52
- - request:
53
- method: get
54
- uri: http://localhost:3000/locomotive/sample/api/v3/pages.json?auth_token=bzwAyFQzcchf_hgDQhz3
55
- body:
56
- encoding: UTF-8
57
- string: ''
58
- headers:
59
- User-Agent:
60
- - Faraday v0.15.4
61
- Accept:
62
- - application/json
63
- Accept-Encoding:
64
- - gzip,deflate
65
- Date:
66
- - Sun, 17 Nov 2019 16:39:30 GMT
67
- X-Locomotive-Account-Email:
68
- - admin@locomotivecms.com
69
- X-Locomotive-Account-Token:
70
- - bzwAyFQzcchf_hgDQhz3
71
- X-Locomotive-Locale:
72
- - en
73
- response:
74
- status:
75
- code: 200
76
- message: OK
77
- headers:
78
- Content-Type:
79
- - application/json
80
- Transfer-Encoding:
81
- - chunked
82
- Connection:
83
- - keep-alive
84
- Status:
85
- - 200 OK
86
- Cache-Control:
87
- - max-age=0, private, must-revalidate
88
- Etag:
89
- - W/"1b00f374830ea6182c6d0304124d3b56"
90
- X-Runtime:
91
- - '0.021310'
92
- X-Request-Id:
93
- - be014f45-8790-4975-b98b-cb4a963b00a1
94
- Date:
95
- - Sun, 17 Nov 2019 16:39:30 GMT
96
- X-Powered-By:
97
- - Phusion Passenger 6.0.4
98
- Server:
99
- - nginx/1.17.3 + Phusion Passenger 6.0.4
100
- Content-Encoding:
101
- - gzip
102
- body:
103
- encoding: UTF-8
104
- string: '[{"_id":"5dd1779ca95330a94bf72543","created_at":"2019-11-17T16:38:52Z","updated_at":"2019-11-17T16:38:52Z","title":"Home
105
- page","parent_id":null,"position":0,"handle":null,"depth":0,"response_type":"text/html","listed":true,"published":true,"translated_in":["en"],"cache_enabled":true,"slug":"index","fullpath":"index","sections_dropzone_content":"[]","sections_content":"{}","localized_fullpaths":{"en":"/"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Content
106
- of the home page","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null},{"_id":"5dd1779ca95330a94bf72544","created_at":"2019-11-17T16:38:52Z","updated_at":"2019-11-17T16:38:52Z","title":"Page
107
- not found","parent_id":null,"position":1,"handle":null,"depth":0,"response_type":"text/html","listed":true,"published":true,"translated_in":["en"],"cache_enabled":true,"slug":"404","fullpath":"404","sections_dropzone_content":"[]","sections_content":"{}","localized_fullpaths":{"en":"/404"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Content
108
- of the 404 page","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null}]'
109
- http_version:
110
- recorded_at: Sun, 17 Nov 2019 16:39:30 GMT
111
- - request:
112
- method: get
113
- uri: http://localhost:3000/locomotive/sample/api/v3/pages/fullpaths.json?auth_token=bzwAyFQzcchf_hgDQhz3
114
- body:
115
- encoding: UTF-8
116
- string: ''
117
- headers:
118
- User-Agent:
119
- - Faraday v0.15.4
120
- Accept:
121
- - application/json
122
- Accept-Encoding:
123
- - gzip,deflate
124
- Date:
125
- - Sun, 17 Nov 2019 16:39:30 GMT
126
- X-Locomotive-Account-Email:
127
- - admin@locomotivecms.com
128
- X-Locomotive-Account-Token:
129
- - bzwAyFQzcchf_hgDQhz3
130
- X-Locomotive-Locale:
131
- - en
132
- response:
133
- status:
134
- code: 200
135
- message: OK
136
- headers:
137
- Content-Type:
138
- - application/json
139
- Content-Length:
140
- - '135'
141
- Connection:
142
- - keep-alive
143
- Status:
144
- - 200 OK
145
- Cache-Control:
146
- - max-age=0, private, must-revalidate
147
- Etag:
148
- - W/"09a5c21a0428a453af63546ad46ca082"
149
- X-Runtime:
150
- - '0.015544'
151
- X-Request-Id:
152
- - 27d8ef26-0883-44ee-bf6a-5162ad9c10ac
153
- Date:
154
- - Sun, 17 Nov 2019 16:39:30 GMT
155
- X-Powered-By:
156
- - Phusion Passenger 6.0.4
157
- Server:
158
- - nginx/1.17.3 + Phusion Passenger 6.0.4
159
- body:
160
- encoding: UTF-8
161
- string: '[{"_id":"5dd1779ca95330a94bf72543","fullpath":"index","handle":null},{"_id":"5dd1779ca95330a94bf72544","fullpath":"404","handle":null}]'
162
- http_version:
163
- recorded_at: Sun, 17 Nov 2019 16:39:30 GMT
164
- - request:
165
- method: post
166
- uri: http://localhost:3000/locomotive/sample/api/v3/pages.json
167
- body:
168
- encoding: UTF-8
169
- string: auth_token=bzwAyFQzcchf_hgDQhz3&page%5Bparent%5D=index&page%5Bslug%5D=about-us&page%5Btemplate%5D=Locomotive+rocks%21&page%5Btitle%5D=About+us
170
- headers:
171
- User-Agent:
172
- - Faraday v0.15.4
173
- Accept:
174
- - application/json
175
- Accept-Encoding:
176
- - gzip,deflate
177
- Date:
178
- - Sun, 17 Nov 2019 16:39:30 GMT
179
- X-Locomotive-Account-Email:
180
- - admin@locomotivecms.com
181
- X-Locomotive-Account-Token:
182
- - bzwAyFQzcchf_hgDQhz3
183
- Content-Type:
184
- - application/x-www-form-urlencoded
185
- response:
186
- status:
187
- code: 201
188
- message: Created
189
- headers:
190
- Content-Type:
191
- - application/json
192
- Content-Length:
193
- - '724'
194
- Connection:
195
- - keep-alive
196
- Status:
197
- - 201 Created
198
- Cache-Control:
199
- - max-age=0, private, must-revalidate
200
- Etag:
201
- - W/"734da27ece892ec53e1f757b78723b82"
202
- X-Runtime:
203
- - '0.035574'
204
- X-Request-Id:
205
- - 8b94d2b9-6028-41f5-b27a-108955dd7820
206
- Date:
207
- - Sun, 17 Nov 2019 16:39:30 GMT
208
- X-Powered-By:
209
- - Phusion Passenger 6.0.4
210
- Server:
211
- - nginx/1.17.3 + Phusion Passenger 6.0.4
212
- body:
213
- encoding: UTF-8
214
- string: '{"_id":"5dd177c2a95330aa17f8f8dd","created_at":"2019-11-17T16:39:30Z","updated_at":"2019-11-17T16:39:30Z","title":"About
215
- us","parent_id":"5dd1779ca95330a94bf72543","position":0,"handle":null,"depth":1,"response_type":"text/html","listed":true,"published":false,"translated_in":["en"],"cache_enabled":true,"slug":"about-us","fullpath":"about-us","sections_dropzone_content":"[]","sections_content":"{}","localized_fullpaths":{"en":"/about-us"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Locomotive
216
- rocks!","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null}'
217
- http_version:
218
- recorded_at: Sun, 17 Nov 2019 16:39:30 GMT
219
- - request:
220
- method: put
221
- uri: http://localhost:3000/locomotive/sample/api/v3/pages/5dd177c2a95330aa17f8f8dd.json
222
- body:
223
- encoding: UTF-8
224
- string: auth_token=bzwAyFQzcchf_hgDQhz3&page%5Btemplate%5D=Locomotive+rocks.+period
225
- headers:
226
- User-Agent:
227
- - Faraday v0.15.4
228
- Accept:
229
- - application/json
230
- Accept-Encoding:
231
- - gzip,deflate
232
- Date:
233
- - Sun, 17 Nov 2019 16:39:30 GMT
234
- X-Locomotive-Account-Email:
235
- - admin@locomotivecms.com
236
- X-Locomotive-Account-Token:
237
- - bzwAyFQzcchf_hgDQhz3
238
- X-Locomotive-Locale:
239
- - en
240
- Content-Type:
241
- - application/x-www-form-urlencoded
242
- response:
243
- status:
244
- code: 200
245
- message: OK
246
- headers:
247
- Content-Type:
248
- - application/json
249
- Transfer-Encoding:
250
- - chunked
251
- Connection:
252
- - keep-alive
253
- Status:
254
- - 200 OK
255
- Cache-Control:
256
- - max-age=0, private, must-revalidate
257
- Etag:
258
- - W/"668b21155cea7d89ea8c9be9b96f0829"
259
- X-Runtime:
260
- - '0.027743'
261
- X-Request-Id:
262
- - 2a7b6a61-77f7-4ca4-98d8-c3f501153f29
263
- Date:
264
- - Sun, 17 Nov 2019 16:39:30 GMT
265
- X-Powered-By:
266
- - Phusion Passenger 6.0.4
267
- Server:
268
- - nginx/1.17.3 + Phusion Passenger 6.0.4
269
- Content-Encoding:
270
- - gzip
271
- body:
272
- encoding: UTF-8
273
- string: '{"_id":"5dd177c2a95330aa17f8f8dd","created_at":"2019-11-17T16:39:30Z","updated_at":"2019-11-17T16:39:30Z","title":"About
274
- us","parent_id":"5dd1779ca95330a94bf72543","position":0,"handle":null,"depth":1,"response_type":"text/html","listed":true,"published":false,"translated_in":["en"],"cache_enabled":true,"slug":"about-us","fullpath":"about-us","sections_dropzone_content":"[]","sections_content":"{}","localized_fullpaths":{"en":"/about-us"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Locomotive
275
- rocks. period","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null}'
276
- http_version:
277
- recorded_at: Sun, 17 Nov 2019 16:39:30 GMT
278
- - request:
279
- method: delete
280
- uri: http://localhost:3000/locomotive/sample/api/v3/pages/5dd177c2a95330aa17f8f8dd.json?auth_token=bzwAyFQzcchf_hgDQhz3
281
- body:
282
- encoding: UTF-8
283
- string: ''
284
- headers:
285
- User-Agent:
286
- - Faraday v0.15.4
287
- Accept:
288
- - application/json
289
- Accept-Encoding:
290
- - gzip,deflate
291
- Date:
292
- - Sun, 17 Nov 2019 16:39:30 GMT
293
- X-Locomotive-Account-Email:
294
- - admin@locomotivecms.com
295
- X-Locomotive-Account-Token:
296
- - bzwAyFQzcchf_hgDQhz3
297
- response:
298
- status:
299
- code: 200
300
- message: OK
301
- headers:
302
- Content-Type:
303
- - application/json
304
- Transfer-Encoding:
305
- - chunked
306
- Connection:
307
- - keep-alive
308
- Status:
309
- - 200 OK
310
- Cache-Control:
311
- - max-age=0, private, must-revalidate
312
- Etag:
313
- - W/"668b21155cea7d89ea8c9be9b96f0829"
314
- X-Runtime:
315
- - '0.050051'
316
- X-Request-Id:
317
- - 0c09b481-d654-4a52-97db-ea28825fbed8
318
- Date:
319
- - Sun, 17 Nov 2019 16:39:30 GMT
320
- X-Powered-By:
321
- - Phusion Passenger 6.0.4
322
- Server:
323
- - nginx/1.17.3 + Phusion Passenger 6.0.4
324
- Content-Encoding:
325
- - gzip
326
- body:
327
- encoding: UTF-8
328
- string: '{"_id":"5dd177c2a95330aa17f8f8dd","created_at":"2019-11-17T16:39:30Z","updated_at":"2019-11-17T16:39:30Z","title":"About
329
- us","parent_id":"5dd1779ca95330a94bf72543","position":0,"handle":null,"depth":1,"response_type":"text/html","listed":true,"published":false,"translated_in":["en"],"cache_enabled":true,"slug":"about-us","fullpath":"about-us","sections_dropzone_content":"[]","sections_content":"{}","localized_fullpaths":{"en":"/about-us"},"redirect":false,"redirect_url":"","redirect_type":301,"templatized":false,"templatized_from_parent":false,"content_type":null,"is_layout":false,"allow_layout":true,"template":"Locomotive
330
- rocks. period","editable_elements":[],"seo_title":null,"meta_keywords":null,"meta_description":null}'
331
- http_version:
332
- recorded_at: Sun, 17 Nov 2019 16:39:30 GMT
333
- recorded_with: VCR 4.0.0
@@ -1,267 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
6
- body:
7
- encoding: UTF-8
8
- string: email=admin%40locomotivecms.com&password=locomotive
9
- headers:
10
- User-Agent:
11
- - Faraday v0.15.4
12
- Accept:
13
- - application/json
14
- Accept-Encoding:
15
- - gzip,deflate
16
- Date:
17
- - Sun, 17 Nov 2019 16:39:24 GMT
18
- Content-Type:
19
- - application/x-www-form-urlencoded
20
- response:
21
- status:
22
- code: 201
23
- message: Created
24
- headers:
25
- Content-Type:
26
- - application/json
27
- Content-Length:
28
- - '32'
29
- Connection:
30
- - keep-alive
31
- Status:
32
- - 201 Created
33
- Cache-Control:
34
- - max-age=0, private, must-revalidate
35
- Etag:
36
- - W/"410e3d6fde24f39257a7cc619b61baa7"
37
- X-Runtime:
38
- - '0.004174'
39
- X-Request-Id:
40
- - 0fc70152-9692-4b43-b256-bdb668723f0c
41
- Date:
42
- - Sun, 17 Nov 2019 16:39:24 GMT
43
- X-Powered-By:
44
- - Phusion Passenger 6.0.4
45
- Server:
46
- - nginx/1.17.3 + Phusion Passenger 6.0.4
47
- body:
48
- encoding: UTF-8
49
- string: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
50
- http_version:
51
- recorded_at: Sun, 17 Nov 2019 16:39:24 GMT
52
- - request:
53
- method: get
54
- uri: http://localhost:3000/locomotive/sample/api/v3/sections.json?auth_token=bzwAyFQzcchf_hgDQhz3
55
- body:
56
- encoding: UTF-8
57
- string: ''
58
- headers:
59
- User-Agent:
60
- - Faraday v0.15.4
61
- Accept:
62
- - application/json
63
- Accept-Encoding:
64
- - gzip,deflate
65
- Date:
66
- - Sun, 17 Nov 2019 16:39:24 GMT
67
- X-Locomotive-Account-Email:
68
- - admin@locomotivecms.com
69
- X-Locomotive-Account-Token:
70
- - bzwAyFQzcchf_hgDQhz3
71
- response:
72
- status:
73
- code: 200
74
- message: OK
75
- headers:
76
- Content-Type:
77
- - application/json
78
- Content-Length:
79
- - '2'
80
- Connection:
81
- - keep-alive
82
- Status:
83
- - 200 OK
84
- Cache-Control:
85
- - max-age=0, private, must-revalidate
86
- Etag:
87
- - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5"
88
- X-Runtime:
89
- - '0.014604'
90
- X-Request-Id:
91
- - b5d2a046-2543-46b6-a9cb-ae7c3c0e70d0
92
- Date:
93
- - Sun, 17 Nov 2019 16:39:24 GMT
94
- X-Powered-By:
95
- - Phusion Passenger 6.0.4
96
- Server:
97
- - nginx/1.17.3 + Phusion Passenger 6.0.4
98
- body:
99
- encoding: UTF-8
100
- string: "[]"
101
- http_version:
102
- recorded_at: Sun, 17 Nov 2019 16:39:24 GMT
103
- - request:
104
- method: post
105
- uri: http://localhost:3000/locomotive/sample/api/v3/sections.json
106
- body:
107
- encoding: UTF-8
108
- string: auth_token=bzwAyFQzcchf_hgDQhz3&section%5Bdefinition%5D%5Bname%5D=sidebar&section%5Bdefinition%5D%5Bsettings%5D%5B0%5D%5Bid%5D=title&section%5Bdefinition%5D%5Bsettings%5D%5B0%5D%5Btype%5D=text&section%5Bname%5D=Sidebar&section%5Bslug%5D=sidebar&section%5Btemplate%5D=Locomotive+rocks%21
109
- headers:
110
- User-Agent:
111
- - Faraday v0.15.4
112
- Accept:
113
- - application/json
114
- Accept-Encoding:
115
- - gzip,deflate
116
- Date:
117
- - Sun, 17 Nov 2019 16:39:24 GMT
118
- X-Locomotive-Account-Email:
119
- - admin@locomotivecms.com
120
- X-Locomotive-Account-Token:
121
- - bzwAyFQzcchf_hgDQhz3
122
- Content-Type:
123
- - application/x-www-form-urlencoded
124
- response:
125
- status:
126
- code: 201
127
- message: Created
128
- headers:
129
- Content-Type:
130
- - application/json
131
- Content-Length:
132
- - '245'
133
- Connection:
134
- - keep-alive
135
- Status:
136
- - 201 Created
137
- Cache-Control:
138
- - max-age=0, private, must-revalidate
139
- Etag:
140
- - W/"6efbc3c10345f9b5208f5c1f11e7436a"
141
- X-Runtime:
142
- - '0.028602'
143
- X-Request-Id:
144
- - 5042faa5-c0fd-4fb8-a3cc-14d01b4586f0
145
- Date:
146
- - Sun, 17 Nov 2019 16:39:24 GMT
147
- X-Powered-By:
148
- - Phusion Passenger 6.0.4
149
- Server:
150
- - nginx/1.17.3 + Phusion Passenger 6.0.4
151
- body:
152
- encoding: UTF-8
153
- string: '{"_id":"5dd177bca95330aa17f8f8db","created_at":"2019-11-17T16:39:24Z","updated_at":"2019-11-17T16:39:24Z","name":"Sidebar","slug":"sidebar","template":"Locomotive
154
- rocks!","definition":{"name":"sidebar","settings":[{"id":"title","type":"text"}]}}'
155
- http_version:
156
- recorded_at: Sun, 17 Nov 2019 16:39:24 GMT
157
- - request:
158
- method: put
159
- uri: http://localhost:3000/locomotive/sample/api/v3/sections/5dd177bca95330aa17f8f8db.json
160
- body:
161
- encoding: UTF-8
162
- string: auth_token=bzwAyFQzcchf_hgDQhz3&section%5Btemplate%5D=Locomotive+rocks.+period
163
- headers:
164
- User-Agent:
165
- - Faraday v0.15.4
166
- Accept:
167
- - application/json
168
- Accept-Encoding:
169
- - gzip,deflate
170
- Date:
171
- - Sun, 17 Nov 2019 16:39:24 GMT
172
- X-Locomotive-Account-Email:
173
- - admin@locomotivecms.com
174
- X-Locomotive-Account-Token:
175
- - bzwAyFQzcchf_hgDQhz3
176
- Content-Type:
177
- - application/x-www-form-urlencoded
178
- response:
179
- status:
180
- code: 200
181
- message: OK
182
- headers:
183
- Content-Type:
184
- - application/json
185
- Transfer-Encoding:
186
- - chunked
187
- Connection:
188
- - keep-alive
189
- Status:
190
- - 200 OK
191
- Cache-Control:
192
- - max-age=0, private, must-revalidate
193
- Etag:
194
- - W/"302257f3323e37c9a7c957bde91fce31"
195
- X-Runtime:
196
- - '0.024131'
197
- X-Request-Id:
198
- - bdbea9ba-14aa-42c3-8351-5b8f3d377afa
199
- Date:
200
- - Sun, 17 Nov 2019 16:39:24 GMT
201
- X-Powered-By:
202
- - Phusion Passenger 6.0.4
203
- Server:
204
- - nginx/1.17.3 + Phusion Passenger 6.0.4
205
- Content-Encoding:
206
- - gzip
207
- body:
208
- encoding: UTF-8
209
- string: '{"_id":"5dd177bca95330aa17f8f8db","created_at":"2019-11-17T16:39:24Z","updated_at":"2019-11-17T16:39:24Z","name":"Sidebar","slug":"sidebar","template":"Locomotive
210
- rocks. period","definition":{"name":"sidebar","settings":[{"id":"title","type":"text"}]}}'
211
- http_version:
212
- recorded_at: Sun, 17 Nov 2019 16:39:24 GMT
213
- - request:
214
- method: delete
215
- uri: http://localhost:3000/locomotive/sample/api/v3/sections/5dd177bca95330aa17f8f8db.json?auth_token=bzwAyFQzcchf_hgDQhz3
216
- body:
217
- encoding: UTF-8
218
- string: ''
219
- headers:
220
- User-Agent:
221
- - Faraday v0.15.4
222
- Accept:
223
- - application/json
224
- Accept-Encoding:
225
- - gzip,deflate
226
- Date:
227
- - Sun, 17 Nov 2019 16:39:24 GMT
228
- X-Locomotive-Account-Email:
229
- - admin@locomotivecms.com
230
- X-Locomotive-Account-Token:
231
- - bzwAyFQzcchf_hgDQhz3
232
- response:
233
- status:
234
- code: 200
235
- message: OK
236
- headers:
237
- Content-Type:
238
- - application/json
239
- Transfer-Encoding:
240
- - chunked
241
- Connection:
242
- - keep-alive
243
- Status:
244
- - 200 OK
245
- Cache-Control:
246
- - max-age=0, private, must-revalidate
247
- Etag:
248
- - W/"302257f3323e37c9a7c957bde91fce31"
249
- X-Runtime:
250
- - '0.019364'
251
- X-Request-Id:
252
- - e45c8cef-5450-43db-a351-4d22f6bc1a80
253
- Date:
254
- - Sun, 17 Nov 2019 16:39:24 GMT
255
- X-Powered-By:
256
- - Phusion Passenger 6.0.4
257
- Server:
258
- - nginx/1.17.3 + Phusion Passenger 6.0.4
259
- Content-Encoding:
260
- - gzip
261
- body:
262
- encoding: UTF-8
263
- string: '{"_id":"5dd177bca95330aa17f8f8db","created_at":"2019-11-17T16:39:24Z","updated_at":"2019-11-17T16:39:24Z","name":"Sidebar","slug":"sidebar","template":"Locomotive
264
- rocks. period","definition":{"name":"sidebar","settings":[{"id":"title","type":"text"}]}}'
265
- http_version:
266
- recorded_at: Sun, 17 Nov 2019 16:39:24 GMT
267
- recorded_with: VCR 4.0.0