locomotivecms_coal 1.6.0 → 1.8.0.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +3 -3
  4. data/lib/locomotive/coal/resources/concerns/request.rb +1 -1
  5. data/lib/locomotive/coal/version.rb +1 -1
  6. metadata +20 -123
  7. data/.gitignore +0 -4
  8. data/.rspec +0 -2
  9. data/.travis.yml +0 -8
  10. data/Gemfile +0 -21
  11. data/Gemfile.lock +0 -125
  12. data/Rakefile +0 -21
  13. data/locomotivecms_coal.gemspec +0 -27
  14. data/spec/fixtures/assets/locomotive.png +0 -0
  15. data/spec/fixtures/assets/rails.png +0 -0
  16. data/spec/fixtures/coal_cassettes/accounts.yml +0 -214
  17. data/spec/fixtures/coal_cassettes/client.yml +0 -479
  18. data/spec/fixtures/coal_cassettes/content_assets.yml +0 -270
  19. data/spec/fixtures/coal_cassettes/content_entries.yml +0 -2189
  20. data/spec/fixtures/coal_cassettes/content_types.yml +0 -726
  21. data/spec/fixtures/coal_cassettes/current_site.yml +0 -166
  22. data/spec/fixtures/coal_cassettes/memberships.yml +0 -270
  23. data/spec/fixtures/coal_cassettes/my_account.yml +0 -260
  24. data/spec/fixtures/coal_cassettes/pages.yml +0 -333
  25. data/spec/fixtures/coal_cassettes/sections.yml +0 -267
  26. data/spec/fixtures/coal_cassettes/sites.yml +0 -212
  27. data/spec/fixtures/coal_cassettes/snippets.yml +0 -269
  28. data/spec/fixtures/coal_cassettes/theme_assets.yml +0 -270
  29. data/spec/fixtures/coal_cassettes/token.yml +0 -103
  30. data/spec/fixtures/coal_cassettes/translations.yml +0 -267
  31. data/spec/fixtures/coal_cassettes/version.yml +0 -103
  32. data/spec/integration/client_spec.rb +0 -67
  33. data/spec/integration/resources/accounts_spec.rb +0 -38
  34. data/spec/integration/resources/content_assets_spec.rb +0 -42
  35. data/spec/integration/resources/content_entries_spec.rb +0 -97
  36. data/spec/integration/resources/content_types_spec.rb +0 -44
  37. data/spec/integration/resources/current_site_spec.rb +0 -22
  38. data/spec/integration/resources/engine_version_spec.rb +0 -17
  39. data/spec/integration/resources/memberships_spec.rb +0 -39
  40. data/spec/integration/resources/my_account_spec.rb +0 -34
  41. data/spec/integration/resources/pages_spec.rb +0 -43
  42. data/spec/integration/resources/sections_spec.rb +0 -46
  43. data/spec/integration/resources/sites_spec.rb +0 -43
  44. data/spec/integration/resources/snippets_spec.rb +0 -38
  45. data/spec/integration/resources/theme_assets_spec.rb +0 -43
  46. data/spec/integration/resources/token_spec.rb +0 -38
  47. data/spec/integration/resources/translations_spec.rb +0 -38
  48. data/spec/spec_helper.rb +0 -28
  49. data/spec/support/api_settings.rb +0 -10
  50. data/spec/support/assets.rb +0 -4
  51. data/spec/support/default_resources.rb +0 -7
  52. data/spec/support/pry.rb +0 -4
  53. data/spec/support/vcr.rb +0 -10
  54. data/spec/unit/client_spec.rb +0 -52
  55. data/spec/unit/client_v2_spec.rb +0 -22
  56. data/spec/unit/error_spec.rb +0 -36
  57. data/spec/unit/paginated_resources_spec.rb +0 -50
  58. data/spec/unit/resource_spec.rb +0 -29
@@ -1,270 +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.007373'
39
- X-Request-Id:
40
- - 73541990-4387-4340-b0c9-6eef9f2907a1
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/theme_assets.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
- 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.022248'
90
- X-Request-Id:
91
- - 70862d22-507d-486f-ac94-9ce5a4399d00
92
- Date:
93
- - Sun, 17 Nov 2019 16:39:30 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:30 GMT
103
- - request:
104
- method: post
105
- uri: http://localhost:3000/locomotive/sample/api/v3/theme_assets.json
106
- body:
107
- encoding: ASCII-8BIT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ept-Encoding:
116
- - gzip,deflate
117
- Date:
118
- - Sun, 17 Nov 2019 16:39:30 GMT
119
- X-Locomotive-Account-Email:
120
- - admin@locomotivecms.com
121
- X-Locomotive-Account-Token:
122
- - bzwAyFQzcchf_hgDQhz3
123
- Content-Type:
124
- - multipart/form-data; boundary=-----------RubyMultipartPost-34d245ddc7ae1dbf4798a4f3b1eeae04
125
- Content-Length:
126
- - '8060'
127
- response:
128
- status:
129
- code: 201
130
- message: Created
131
- headers:
132
- Content-Type:
133
- - application/json
134
- Content-Length:
135
- - '365'
136
- Connection:
137
- - keep-alive
138
- Status:
139
- - 201 Created
140
- Cache-Control:
141
- - max-age=0, private, must-revalidate
142
- Etag:
143
- - W/"fcecd6cea6a407ab13853b4489702a79"
144
- X-Runtime:
145
- - '0.191078'
146
- X-Request-Id:
147
- - f5a18b7c-29a8-4f48-9058-5c7453526bd3
148
- Date:
149
- - Sun, 17 Nov 2019 16:39:30 GMT
150
- X-Powered-By:
151
- - Phusion Passenger 6.0.4
152
- Server:
153
- - nginx/1.17.3 + Phusion Passenger 6.0.4
154
- body:
155
- encoding: UTF-8
156
- string: '{"_id":"5dd177c2a95330aa17f8f8de","created_at":"2019-11-17T16:39:30Z","updated_at":"2019-11-17T16:39:30Z","content_type":"image","local_path":"images/footer/rails.png","folder":"images/footer","checksum":"933d32a3720db54b73003ba10a876eec","filename":"rails.png","url":"/sites/5dd1779ca95330a94bf72542/theme/images/footer/rails.png","size":"7.31
157
- KB","raw_size":7485}'
158
- http_version:
159
- recorded_at: Sun, 17 Nov 2019 16:39:30 GMT
160
- - request:
161
- method: put
162
- uri: http://localhost:3000/locomotive/sample/api/v3/theme_assets/5dd177c2a95330aa17f8f8de.json
163
- body:
164
- encoding: UTF-8
165
- string: auth_token=bzwAyFQzcchf_hgDQhz3&theme_asset%5Bfolder%5D=header
166
- headers:
167
- User-Agent:
168
- - Faraday v0.15.4
169
- Accept:
170
- - application/json
171
- Accept-Encoding:
172
- - gzip,deflate
173
- Date:
174
- - Sun, 17 Nov 2019 16:39:30 GMT
175
- X-Locomotive-Account-Email:
176
- - admin@locomotivecms.com
177
- X-Locomotive-Account-Token:
178
- - bzwAyFQzcchf_hgDQhz3
179
- Content-Type:
180
- - application/x-www-form-urlencoded
181
- response:
182
- status:
183
- code: 200
184
- message: OK
185
- headers:
186
- Content-Type:
187
- - application/json
188
- Transfer-Encoding:
189
- - chunked
190
- Connection:
191
- - keep-alive
192
- Status:
193
- - 200 OK
194
- Cache-Control:
195
- - max-age=0, private, must-revalidate
196
- Etag:
197
- - W/"5a6f2d10ff28aba112e27681eb8edb0c"
198
- X-Runtime:
199
- - '0.051733'
200
- X-Request-Id:
201
- - 99725cd9-e075-4140-abab-ef8ffa404a2f
202
- Date:
203
- - Sun, 17 Nov 2019 16:39:30 GMT
204
- X-Powered-By:
205
- - Phusion Passenger 6.0.4
206
- Server:
207
- - nginx/1.17.3 + Phusion Passenger 6.0.4
208
- Content-Encoding:
209
- - gzip
210
- body:
211
- encoding: UTF-8
212
- string: '{"_id":"5dd177c2a95330aa17f8f8de","created_at":"2019-11-17T16:39:30Z","updated_at":"2019-11-17T16:39:30Z","content_type":"image","local_path":"images/header/rails.png","folder":"images/header","checksum":"933d32a3720db54b73003ba10a876eec","filename":"rails.png","url":"/sites/5dd1779ca95330a94bf72542/theme/images/header/rails.png","size":"7.31
213
- KB","raw_size":7485}'
214
- http_version:
215
- recorded_at: Sun, 17 Nov 2019 16:39:30 GMT
216
- - request:
217
- method: delete
218
- uri: http://localhost:3000/locomotive/sample/api/v3/theme_assets/5dd177c2a95330aa17f8f8de.json?auth_token=bzwAyFQzcchf_hgDQhz3
219
- body:
220
- encoding: UTF-8
221
- string: ''
222
- headers:
223
- User-Agent:
224
- - Faraday v0.15.4
225
- Accept:
226
- - application/json
227
- Accept-Encoding:
228
- - gzip,deflate
229
- Date:
230
- - Sun, 17 Nov 2019 16:39:30 GMT
231
- X-Locomotive-Account-Email:
232
- - admin@locomotivecms.com
233
- X-Locomotive-Account-Token:
234
- - bzwAyFQzcchf_hgDQhz3
235
- response:
236
- status:
237
- code: 200
238
- message: OK
239
- headers:
240
- Content-Type:
241
- - application/json
242
- Transfer-Encoding:
243
- - chunked
244
- Connection:
245
- - keep-alive
246
- Status:
247
- - 200 OK
248
- Cache-Control:
249
- - max-age=0, private, must-revalidate
250
- Etag:
251
- - W/"5a6f2d10ff28aba112e27681eb8edb0c"
252
- X-Runtime:
253
- - '0.025086'
254
- X-Request-Id:
255
- - 18efa8d5-c3b9-4eee-8abd-2c87d9e41dfc
256
- Date:
257
- - Sun, 17 Nov 2019 16:39:30 GMT
258
- X-Powered-By:
259
- - Phusion Passenger 6.0.4
260
- Server:
261
- - nginx/1.17.3 + Phusion Passenger 6.0.4
262
- Content-Encoding:
263
- - gzip
264
- body:
265
- encoding: UTF-8
266
- string: '{"_id":"5dd177c2a95330aa17f8f8de","created_at":"2019-11-17T16:39:30Z","updated_at":"2019-11-17T16:39:30Z","content_type":"image","local_path":"images/header/rails.png","folder":"images/header","checksum":"933d32a3720db54b73003ba10a876eec","filename":"rails.png","url":"/sites/5dd1779ca95330a94bf72542/theme/images/header/rails.png","size":"7.31
267
- KB","raw_size":7485}'
268
- http_version:
269
- recorded_at: Sun, 17 Nov 2019 16:39:30 GMT
270
- recorded_with: VCR 4.0.0
@@ -1,103 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://acme.example.local:3000/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:25 GMT
18
- Content-Type:
19
- - application/x-www-form-urlencoded
20
- response:
21
- status:
22
- code: 404
23
- message: Not Found
24
- headers:
25
- Content-Type:
26
- - text/html
27
- Transfer-Encoding:
28
- - chunked
29
- Connection:
30
- - keep-alive
31
- Status:
32
- - 404 Not Found
33
- Cache-Control:
34
- - max-age=0, private, must-revalidate
35
- X-Runtime:
36
- - '0.018269'
37
- X-Request-Id:
38
- - '084896b4-63cc-4ceb-bc66-5c9923a9c346'
39
- Date:
40
- - Sun, 17 Nov 2019 16:39:30 GMT
41
- Set-Cookie:
42
- - steam-locale=en; path=/; max-age=31556952
43
- X-Powered-By:
44
- - Phusion Passenger 6.0.4
45
- Server:
46
- - nginx/1.17.3 + Phusion Passenger 6.0.4
47
- Content-Encoding:
48
- - gzip
49
- body:
50
- encoding: UTF-8
51
- string: Content of the 404 page
52
- http_version:
53
- recorded_at: Sun, 17 Nov 2019 16:39:30 GMT
54
- - request:
55
- method: post
56
- uri: http://localhost:3000/locomotive/api/v3/tokens.json
57
- body:
58
- encoding: UTF-8
59
- string: api_key=d49cd50f6f0d2b163f48fc73cb249f0244c37074&email=admin%40locomotivecms.com
60
- headers:
61
- User-Agent:
62
- - Faraday v0.15.4
63
- Accept:
64
- - application/json
65
- Accept-Encoding:
66
- - gzip,deflate
67
- Date:
68
- - Sun, 17 Nov 2019 16:39:30 GMT
69
- Content-Type:
70
- - application/x-www-form-urlencoded
71
- response:
72
- status:
73
- code: 201
74
- message: Created
75
- headers:
76
- Content-Type:
77
- - application/json
78
- Content-Length:
79
- - '32'
80
- Connection:
81
- - keep-alive
82
- Status:
83
- - 201 Created
84
- Cache-Control:
85
- - max-age=0, private, must-revalidate
86
- Etag:
87
- - W/"410e3d6fde24f39257a7cc619b61baa7"
88
- X-Runtime:
89
- - '0.006916'
90
- X-Request-Id:
91
- - 1a38e024-0f9e-4efc-8344-9d4440248367
92
- Date:
93
- - Sun, 17 Nov 2019 16:39:30 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: '{"token":"bzwAyFQzcchf_hgDQhz3"}'
101
- http_version:
102
- recorded_at: Sun, 17 Nov 2019 16:39:30 GMT
103
- 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.046028'
39
- X-Request-Id:
40
- - b43b120f-7852-4a87-9255-14c10c40a187
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/translations.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.020489'
90
- X-Request-Id:
91
- - 71718111-0b80-49a5-992a-720d90628b05
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/translations.json
106
- body:
107
- encoding: UTF-8
108
- string: auth_token=bzwAyFQzcchf_hgDQhz3&translation%5Bkey%5D=hello&translation%5Bvalues%5D%5Ben%5D=Hello+world&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde
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
- - '174'
133
- Connection:
134
- - keep-alive
135
- Status:
136
- - 201 Created
137
- Cache-Control:
138
- - max-age=0, private, must-revalidate
139
- Etag:
140
- - W/"5bfd76a49f28515ffbd139c7830379b5"
141
- X-Runtime:
142
- - '0.025324'
143
- X-Request-Id:
144
- - 03d43a3f-161d-47ab-a40c-d12bae3a944a
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":"5dd177bca95330aa17f8f8dc","created_at":"2019-11-17T16:39:24Z","updated_at":"2019-11-17T16:39:24Z","key":"hello","values":{"en":"Hello
154
- world","fr":"Bonjour le monde"}}'
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/translations/5dd177bca95330aa17f8f8dc.json
160
- body:
161
- encoding: UTF-8
162
- string: auth_token=bzwAyFQzcchf_hgDQhz3&translation%5Bvalues%5D%5Ben%5D=Hello+world%21&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde%21
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/"a9dd42b07c0ce97f7ab2c0db135a913b"
195
- X-Runtime:
196
- - '0.022567'
197
- X-Request-Id:
198
- - 01b1fcbd-6883-4426-8bfd-01a1061e6bcf
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":"5dd177bca95330aa17f8f8dc","created_at":"2019-11-17T16:39:24Z","updated_at":"2019-11-17T16:39:24Z","key":"hello","values":{"en":"Hello
210
- world!","fr":"Bonjour le monde!"}}'
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/translations/5dd177bca95330aa17f8f8dc.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:25 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/"a9dd42b07c0ce97f7ab2c0db135a913b"
249
- X-Runtime:
250
- - '0.021255'
251
- X-Request-Id:
252
- - be0d0c2b-b57c-4577-bd7e-2ebcdca4bbbd
253
- Date:
254
- - Sun, 17 Nov 2019 16:39:25 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":"5dd177bca95330aa17f8f8dc","created_at":"2019-11-17T16:39:24Z","updated_at":"2019-11-17T16:39:24Z","key":"hello","values":{"en":"Hello
264
- world!","fr":"Bonjour le monde!"}}'
265
- http_version:
266
- recorded_at: Sun, 17 Nov 2019 16:39:25 GMT
267
- recorded_with: VCR 4.0.0