parse_resource 1.7.3 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.DS_Store +0 -0
- data/.travis.yml +1 -1
- data/Gemfile +4 -8
- data/Gemfile.lock +27 -23
- data/README.md +81 -2
- data/Rakefile +9 -8
- data/VERSION +1 -1
- data/fixtures/.DS_Store +0 -0
- data/fixtures/vcr_cassettes/.DS_Store +0 -0
- data/fixtures/vcr_cassettes/test_all.yml +319 -34
- data/fixtures/vcr_cassettes/test_attribute_getters.yml +256 -12
- data/fixtures/vcr_cassettes/test_attribute_setters.yml +256 -12
- data/fixtures/vcr_cassettes/test_authenticate.yml +260 -32
- data/fixtures/vcr_cassettes/test_chained_wheres.yml +320 -35
- data/fixtures/vcr_cassettes/test_chunk.yml +1359 -0
- data/fixtures/vcr_cassettes/test_count.yml +495 -84
- data/fixtures/vcr_cassettes/test_create.yml +154 -12
- data/fixtures/vcr_cassettes/test_created_at.yml +256 -12
- data/fixtures/vcr_cassettes/test_destroy.yml +364 -32
- data/fixtures/vcr_cassettes/test_destroy_all.yml +236 -48
- data/fixtures/vcr_cassettes/test_each.yml +488 -56
- data/fixtures/vcr_cassettes/test_fetching_closest_10.yml +1509 -0
- data/fixtures/vcr_cassettes/test_fetching_closest_by_kilometers.yml +1509 -0
- data/fixtures/vcr_cassettes/test_fetching_closest_by_miles.yml +1509 -0
- data/fixtures/vcr_cassettes/test_fetching_closest_by_radians.yml +1509 -0
- data/fixtures/vcr_cassettes/test_fetching_closest_within_box.yml +489 -0
- data/fixtures/vcr_cassettes/test_fetching_geopoint_field.yml +489 -0
- data/fixtures/vcr_cassettes/test_find.yml +312 -24
- data/fixtures/vcr_cassettes/test_find_all_by.yml +170 -34
- data/fixtures/vcr_cassettes/test_find_by.yml +174 -38
- data/fixtures/vcr_cassettes/test_first.yml +260 -23
- data/fixtures/vcr_cassettes/test_id.yml +256 -12
- data/fixtures/vcr_cassettes/test_installation_creation.yml +199 -0
- data/fixtures/vcr_cassettes/test_installation_creation_validation_check.yml +297 -0
- data/fixtures/vcr_cassettes/test_limit.yml +1138 -179
- data/fixtures/vcr_cassettes/test_map.yml +488 -56
- data/fixtures/vcr_cassettes/test_order_ascending.yml +395 -0
- data/fixtures/vcr_cassettes/test_order_descending.yml +446 -0
- data/fixtures/vcr_cassettes/test_save.yml +316 -24
- data/fixtures/vcr_cassettes/test_save_all_and_destroy_all.yml +869 -0
- data/fixtures/vcr_cassettes/test_saving_geo_point_with_quick_init.yml +395 -0
- data/fixtures/vcr_cassettes/test_saving_geopoint_with_coords.yml +395 -0
- data/fixtures/vcr_cassettes/test_skip.yml +120 -525
- data/fixtures/vcr_cassettes/test_update.yml +316 -24
- data/fixtures/vcr_cassettes/test_updated_at.yml +316 -24
- data/fixtures/vcr_cassettes/test_username_should_be_unique.yml +311 -21
- data/fixtures/vcr_cassettes/test_where.yml +117 -25
- data/lib/kaminari_extension.rb +60 -0
- data/lib/parse_resource.rb +4 -2
- data/lib/parse_resource/base.rb +262 -163
- data/lib/parse_resource/client.rb +8 -0
- data/lib/parse_resource/parse_error.rb +36 -22
- data/lib/parse_resource/query.rb +99 -7
- data/lib/parse_resource/query_methods.rb +64 -0
- data/lib/parse_resource/types/parse_geopoint.rb +19 -0
- data/parse_resource.gemspec +29 -9
- data/parse_resource.yml +2 -2
- data/test/active_model_lint_test.rb +0 -2
- data/test/helper.rb +13 -3
- data/test/test_parse_installation.rb +41 -0
- data/test/test_parse_resource.rb +108 -20
- data/test/test_parse_user.rb +4 -7
- data/test/test_query_options.rb +0 -38
- data/test/test_types.rb +186 -0
- metadata +38 -31
|
@@ -1,5 +1,346 @@
|
|
|
1
1
|
---
|
|
2
2
|
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post?where=%7B%7D
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Accept:
|
|
11
|
+
- ! '*/*; q=0.5, application/xml'
|
|
12
|
+
Accept-Encoding:
|
|
13
|
+
- gzip, deflate
|
|
14
|
+
User-Agent:
|
|
15
|
+
- Ruby
|
|
16
|
+
response:
|
|
17
|
+
status:
|
|
18
|
+
code: 200
|
|
19
|
+
message: OK
|
|
20
|
+
headers:
|
|
21
|
+
Cache-Control:
|
|
22
|
+
- max-age=0, private, must-revalidate
|
|
23
|
+
Content-Type:
|
|
24
|
+
- application/json; charset=utf-8
|
|
25
|
+
Date:
|
|
26
|
+
- Wed, 17 Apr 2013 06:26:21 GMT
|
|
27
|
+
Etag:
|
|
28
|
+
- ! '"a30baae9dbe56fafaac3358880f86b7d"'
|
|
29
|
+
Server:
|
|
30
|
+
- nginx/1.2.2
|
|
31
|
+
Set-Cookie:
|
|
32
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlY2E0Mzc4MDcyNzcyODAyYTgxMjg2YmQ3NGU4OTJmOGE%3D--c140ebbc1f3585125f1389f6e6c7abe0261d6e56;
|
|
33
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:26:21 GMT; secure;
|
|
34
|
+
HttpOnly
|
|
35
|
+
Status:
|
|
36
|
+
- 200 OK
|
|
37
|
+
X-Runtime:
|
|
38
|
+
- '0.030741'
|
|
39
|
+
X-Ua-Compatible:
|
|
40
|
+
- IE=Edge,chrome=1
|
|
41
|
+
Content-Length:
|
|
42
|
+
- '146'
|
|
43
|
+
Connection:
|
|
44
|
+
- keep-alive
|
|
45
|
+
body:
|
|
46
|
+
encoding: US-ASCII
|
|
47
|
+
string: ! '{"results":[{"title":"testing created_at","createdAt":"2013-04-17T06:26:21.158Z","updatedAt":"2013-04-17T06:26:21.158Z","objectId":"RTXtLTST3l"}]}'
|
|
48
|
+
http_version:
|
|
49
|
+
recorded_at: Wed, 17 Apr 2013 06:26:21 GMT
|
|
50
|
+
- request:
|
|
51
|
+
method: post
|
|
52
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/batch
|
|
53
|
+
body:
|
|
54
|
+
encoding: UTF-8
|
|
55
|
+
string: ! '{"requests":[{"method":"DELETE","path":"/1/classes/Post/RTXtLTST3l"}]}'
|
|
56
|
+
headers:
|
|
57
|
+
Accept:
|
|
58
|
+
- ! '*/*; q=0.5, application/xml'
|
|
59
|
+
Accept-Encoding:
|
|
60
|
+
- gzip, deflate
|
|
61
|
+
Content-Type:
|
|
62
|
+
- application/json
|
|
63
|
+
Content-Length:
|
|
64
|
+
- '70'
|
|
65
|
+
User-Agent:
|
|
66
|
+
- Ruby
|
|
67
|
+
response:
|
|
68
|
+
status:
|
|
69
|
+
code: 200
|
|
70
|
+
message: OK
|
|
71
|
+
headers:
|
|
72
|
+
Cache-Control:
|
|
73
|
+
- max-age=0, private, must-revalidate
|
|
74
|
+
Content-Type:
|
|
75
|
+
- application/json; charset=utf-8
|
|
76
|
+
Date:
|
|
77
|
+
- Wed, 17 Apr 2013 06:26:22 GMT
|
|
78
|
+
Etag:
|
|
79
|
+
- ! '"6abe125b20486fefa07552105cea58f3"'
|
|
80
|
+
Server:
|
|
81
|
+
- nginx/1.2.2
|
|
82
|
+
Set-Cookie:
|
|
83
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYmJiZmUwZDE4MzNmOTczYzk5ZDViZjg4MDI5NTZlMzU%3D--00559735c4ee052fa02baee844096ca6f2113511;
|
|
84
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:26:22 GMT; secure;
|
|
85
|
+
HttpOnly
|
|
86
|
+
Status:
|
|
87
|
+
- 200 OK
|
|
88
|
+
X-Runtime:
|
|
89
|
+
- '0.034130'
|
|
90
|
+
X-Ua-Compatible:
|
|
91
|
+
- IE=Edge,chrome=1
|
|
92
|
+
Content-Length:
|
|
93
|
+
- '18'
|
|
94
|
+
Connection:
|
|
95
|
+
- keep-alive
|
|
96
|
+
body:
|
|
97
|
+
encoding: US-ASCII
|
|
98
|
+
string: ! '[{"success":true}]'
|
|
99
|
+
http_version:
|
|
100
|
+
recorded_at: Wed, 17 Apr 2013 06:26:22 GMT
|
|
101
|
+
- request:
|
|
102
|
+
method: post
|
|
103
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post
|
|
104
|
+
body:
|
|
105
|
+
encoding: UTF-8
|
|
106
|
+
string: ! '{"title":"hello1234567890abc!"}'
|
|
107
|
+
headers:
|
|
108
|
+
Accept:
|
|
109
|
+
- ! '*/*; q=0.5, application/xml'
|
|
110
|
+
Accept-Encoding:
|
|
111
|
+
- gzip, deflate
|
|
112
|
+
Content-Type:
|
|
113
|
+
- application/json
|
|
114
|
+
Content-Length:
|
|
115
|
+
- '31'
|
|
116
|
+
User-Agent:
|
|
117
|
+
- Ruby
|
|
118
|
+
response:
|
|
119
|
+
status:
|
|
120
|
+
code: 201
|
|
121
|
+
message: Created
|
|
122
|
+
headers:
|
|
123
|
+
Cache-Control:
|
|
124
|
+
- no-cache
|
|
125
|
+
Content-Type:
|
|
126
|
+
- application/json; charset=utf-8
|
|
127
|
+
Date:
|
|
128
|
+
- Wed, 17 Apr 2013 06:26:22 GMT
|
|
129
|
+
Location:
|
|
130
|
+
- https://api.parse.com/1/classes/Post/5dyQkcFFWl
|
|
131
|
+
Server:
|
|
132
|
+
- nginx/1.2.2
|
|
133
|
+
Set-Cookie:
|
|
134
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlODkzMDFjMWNiNTI5NmJlNzVhZDY1MDljZjkzM2VmMWM%3D--283aebbdc879e0d7055b1101be7592b3289fd256;
|
|
135
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:26:22 GMT; secure;
|
|
136
|
+
HttpOnly
|
|
137
|
+
Status:
|
|
138
|
+
- 201 Created
|
|
139
|
+
X-Runtime:
|
|
140
|
+
- '0.029641'
|
|
141
|
+
X-Ua-Compatible:
|
|
142
|
+
- IE=Edge,chrome=1
|
|
143
|
+
Content-Length:
|
|
144
|
+
- '64'
|
|
145
|
+
Connection:
|
|
146
|
+
- keep-alive
|
|
147
|
+
body:
|
|
148
|
+
encoding: US-ASCII
|
|
149
|
+
string: ! '{"createdAt":"2013-04-17T06:26:22.712Z","objectId":"5dyQkcFFWl"}'
|
|
150
|
+
http_version:
|
|
151
|
+
recorded_at: Wed, 17 Apr 2013 06:26:22 GMT
|
|
152
|
+
- request:
|
|
153
|
+
method: delete
|
|
154
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post/5dyQkcFFWl
|
|
155
|
+
body:
|
|
156
|
+
encoding: US-ASCII
|
|
157
|
+
string: ''
|
|
158
|
+
headers:
|
|
159
|
+
Accept:
|
|
160
|
+
- ! '*/*; q=0.5, application/xml'
|
|
161
|
+
Accept-Encoding:
|
|
162
|
+
- gzip, deflate
|
|
163
|
+
User-Agent:
|
|
164
|
+
- Ruby
|
|
165
|
+
response:
|
|
166
|
+
status:
|
|
167
|
+
code: 200
|
|
168
|
+
message: OK
|
|
169
|
+
headers:
|
|
170
|
+
Cache-Control:
|
|
171
|
+
- max-age=0, private, must-revalidate
|
|
172
|
+
Content-Type:
|
|
173
|
+
- application/json; charset=utf-8
|
|
174
|
+
Date:
|
|
175
|
+
- Wed, 17 Apr 2013 06:26:23 GMT
|
|
176
|
+
Etag:
|
|
177
|
+
- ! '"99914b932bd37a50b983c5e7c90ae93b"'
|
|
178
|
+
Server:
|
|
179
|
+
- nginx/1.2.2
|
|
180
|
+
Set-Cookie:
|
|
181
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlOTZmNTg0MTBkMDM5OGYwMGY1MjYyNmVjZTE1YmFmNDg%3D--fb3a0d43be3a3c77fe382223d8e6a98c3497991f;
|
|
182
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:26:23 GMT; secure;
|
|
183
|
+
HttpOnly
|
|
184
|
+
Status:
|
|
185
|
+
- 200 OK
|
|
186
|
+
X-Runtime:
|
|
187
|
+
- '0.027392'
|
|
188
|
+
X-Ua-Compatible:
|
|
189
|
+
- IE=Edge,chrome=1
|
|
190
|
+
Content-Length:
|
|
191
|
+
- '2'
|
|
192
|
+
Connection:
|
|
193
|
+
- keep-alive
|
|
194
|
+
body:
|
|
195
|
+
encoding: US-ASCII
|
|
196
|
+
string: ! '{}'
|
|
197
|
+
http_version:
|
|
198
|
+
recorded_at: Wed, 17 Apr 2013 06:26:23 GMT
|
|
199
|
+
- request:
|
|
200
|
+
method: get
|
|
201
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post?where=%7B%22title%22:%22hello1234567890abc!%22,%22objectId%22:%225dyQkcFFWl%22%7D
|
|
202
|
+
body:
|
|
203
|
+
encoding: US-ASCII
|
|
204
|
+
string: ''
|
|
205
|
+
headers:
|
|
206
|
+
Accept:
|
|
207
|
+
- ! '*/*; q=0.5, application/xml'
|
|
208
|
+
Accept-Encoding:
|
|
209
|
+
- gzip, deflate
|
|
210
|
+
User-Agent:
|
|
211
|
+
- Ruby
|
|
212
|
+
response:
|
|
213
|
+
status:
|
|
214
|
+
code: 200
|
|
215
|
+
message: OK
|
|
216
|
+
headers:
|
|
217
|
+
Cache-Control:
|
|
218
|
+
- max-age=0, private, must-revalidate
|
|
219
|
+
Content-Type:
|
|
220
|
+
- application/json; charset=utf-8
|
|
221
|
+
Date:
|
|
222
|
+
- Wed, 17 Apr 2013 06:26:23 GMT
|
|
223
|
+
Etag:
|
|
224
|
+
- ! '"e2412c1ffbfb6b53a82a9daf665b2c1a"'
|
|
225
|
+
Server:
|
|
226
|
+
- nginx/1.2.2
|
|
227
|
+
Set-Cookie:
|
|
228
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZDFkZDc3MTcxMDMzZWM2NDg1MWZjODAxZjZlZTVkZTQ%3D--0f92b2901b18dc3eecf5095429d80153e69ca560;
|
|
229
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:26:23 GMT; secure;
|
|
230
|
+
HttpOnly
|
|
231
|
+
Status:
|
|
232
|
+
- 200 OK
|
|
233
|
+
X-Runtime:
|
|
234
|
+
- '0.038396'
|
|
235
|
+
X-Ua-Compatible:
|
|
236
|
+
- IE=Edge,chrome=1
|
|
237
|
+
Content-Length:
|
|
238
|
+
- '14'
|
|
239
|
+
Connection:
|
|
240
|
+
- keep-alive
|
|
241
|
+
body:
|
|
242
|
+
encoding: US-ASCII
|
|
243
|
+
string: ! '{"results":[]}'
|
|
244
|
+
http_version:
|
|
245
|
+
recorded_at: Wed, 17 Apr 2013 06:26:23 GMT
|
|
246
|
+
- request:
|
|
247
|
+
method: get
|
|
248
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post?where=%7B%7D
|
|
249
|
+
body:
|
|
250
|
+
encoding: US-ASCII
|
|
251
|
+
string: ''
|
|
252
|
+
headers:
|
|
253
|
+
Accept:
|
|
254
|
+
- ! '*/*; q=0.5, application/xml'
|
|
255
|
+
Accept-Encoding:
|
|
256
|
+
- gzip, deflate
|
|
257
|
+
User-Agent:
|
|
258
|
+
- Ruby
|
|
259
|
+
response:
|
|
260
|
+
status:
|
|
261
|
+
code: 200
|
|
262
|
+
message: OK
|
|
263
|
+
headers:
|
|
264
|
+
Cache-Control:
|
|
265
|
+
- max-age=0, private, must-revalidate
|
|
266
|
+
Content-Type:
|
|
267
|
+
- application/json; charset=utf-8
|
|
268
|
+
Date:
|
|
269
|
+
- Wed, 17 Apr 2013 20:08:30 GMT
|
|
270
|
+
Etag:
|
|
271
|
+
- ! '"7eae1a81991d669f37b0549ff18af7f1"'
|
|
272
|
+
Server:
|
|
273
|
+
- nginx/1.2.2
|
|
274
|
+
Set-Cookie:
|
|
275
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlOGRhN2Q5ZWI2Yzk0NWVhZmVkZmE0N2I2NDAyYmYzNWI%3D--219d71e39e25ac57a70357dec73c1073d8b68b0c;
|
|
276
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:30 GMT; secure;
|
|
277
|
+
HttpOnly
|
|
278
|
+
Status:
|
|
279
|
+
- 200 OK
|
|
280
|
+
X-Runtime:
|
|
281
|
+
- '0.036840'
|
|
282
|
+
X-Ua-Compatible:
|
|
283
|
+
- IE=Edge,chrome=1
|
|
284
|
+
Content-Length:
|
|
285
|
+
- '146'
|
|
286
|
+
Connection:
|
|
287
|
+
- keep-alive
|
|
288
|
+
body:
|
|
289
|
+
encoding: US-ASCII
|
|
290
|
+
string: ! '{"results":[{"title":"testing created_at","createdAt":"2013-04-17T20:08:30.820Z","updatedAt":"2013-04-17T20:08:30.820Z","objectId":"alSSSVuW4W"}]}'
|
|
291
|
+
http_version:
|
|
292
|
+
recorded_at: Wed, 17 Apr 2013 20:08:30 GMT
|
|
293
|
+
- request:
|
|
294
|
+
method: post
|
|
295
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/batch
|
|
296
|
+
body:
|
|
297
|
+
encoding: UTF-8
|
|
298
|
+
string: ! '{"requests":[{"method":"DELETE","path":"/1/classes/Post/alSSSVuW4W"}]}'
|
|
299
|
+
headers:
|
|
300
|
+
Accept:
|
|
301
|
+
- ! '*/*; q=0.5, application/xml'
|
|
302
|
+
Accept-Encoding:
|
|
303
|
+
- gzip, deflate
|
|
304
|
+
Content-Type:
|
|
305
|
+
- application/json
|
|
306
|
+
Content-Length:
|
|
307
|
+
- '70'
|
|
308
|
+
User-Agent:
|
|
309
|
+
- Ruby
|
|
310
|
+
response:
|
|
311
|
+
status:
|
|
312
|
+
code: 200
|
|
313
|
+
message: OK
|
|
314
|
+
headers:
|
|
315
|
+
Cache-Control:
|
|
316
|
+
- max-age=0, private, must-revalidate
|
|
317
|
+
Content-Type:
|
|
318
|
+
- application/json; charset=utf-8
|
|
319
|
+
Date:
|
|
320
|
+
- Wed, 17 Apr 2013 20:08:31 GMT
|
|
321
|
+
Etag:
|
|
322
|
+
- ! '"6abe125b20486fefa07552105cea58f3"'
|
|
323
|
+
Server:
|
|
324
|
+
- nginx/1.2.2
|
|
325
|
+
Set-Cookie:
|
|
326
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMWExNWM4OGUyYWZhYTYwOTBjY2U4NjMzNzc4MWQ5NDQ%3D--bc584c168f15e2383e0a0a6b72170652233b1589;
|
|
327
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:31 GMT; secure;
|
|
328
|
+
HttpOnly
|
|
329
|
+
Status:
|
|
330
|
+
- 200 OK
|
|
331
|
+
X-Runtime:
|
|
332
|
+
- '0.035210'
|
|
333
|
+
X-Ua-Compatible:
|
|
334
|
+
- IE=Edge,chrome=1
|
|
335
|
+
Content-Length:
|
|
336
|
+
- '18'
|
|
337
|
+
Connection:
|
|
338
|
+
- keep-alive
|
|
339
|
+
body:
|
|
340
|
+
encoding: US-ASCII
|
|
341
|
+
string: ! '[{"success":true}]'
|
|
342
|
+
http_version:
|
|
343
|
+
recorded_at: Wed, 17 Apr 2013 20:08:31 GMT
|
|
3
344
|
- request:
|
|
4
345
|
method: post
|
|
5
346
|
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post
|
|
@@ -22,27 +363,24 @@ http_interactions:
|
|
|
22
363
|
code: 201
|
|
23
364
|
message: Created
|
|
24
365
|
headers:
|
|
25
|
-
Access-Control-Allow-Origin:
|
|
26
|
-
- https://parse.com, https://www.parse.com
|
|
27
|
-
Access-Control-Request-Method:
|
|
28
|
-
- ! '*'
|
|
29
366
|
Cache-Control:
|
|
30
367
|
- no-cache
|
|
31
368
|
Content-Type:
|
|
32
369
|
- application/json; charset=utf-8
|
|
33
370
|
Date:
|
|
34
|
-
-
|
|
371
|
+
- Wed, 17 Apr 2013 20:08:31 GMT
|
|
35
372
|
Location:
|
|
36
|
-
- https://api.parse.com/1/classes/Post/
|
|
373
|
+
- https://api.parse.com/1/classes/Post/semt4LM09F
|
|
37
374
|
Server:
|
|
38
375
|
- nginx/1.2.2
|
|
39
376
|
Set-Cookie:
|
|
40
|
-
- _parse_session=
|
|
41
|
-
domain=.parse.com; path=/; expires=
|
|
377
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlNWMwYzA4N2MzMTZlNTViMzdhNzhkNDQyMzEyYmQ0MmM%3D--cd587cb9d02e44944ea670d4aee542d56e9c783e;
|
|
378
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:31 GMT; secure;
|
|
379
|
+
HttpOnly
|
|
42
380
|
Status:
|
|
43
381
|
- 201 Created
|
|
44
382
|
X-Runtime:
|
|
45
|
-
- '0.
|
|
383
|
+
- '0.032336'
|
|
46
384
|
X-Ua-Compatible:
|
|
47
385
|
- IE=Edge,chrome=1
|
|
48
386
|
Content-Length:
|
|
@@ -51,12 +389,12 @@ http_interactions:
|
|
|
51
389
|
- keep-alive
|
|
52
390
|
body:
|
|
53
391
|
encoding: US-ASCII
|
|
54
|
-
string: ! '{"createdAt":"
|
|
392
|
+
string: ! '{"createdAt":"2013-04-17T20:08:31.257Z","objectId":"semt4LM09F"}'
|
|
55
393
|
http_version:
|
|
56
|
-
recorded_at:
|
|
394
|
+
recorded_at: Wed, 17 Apr 2013 20:08:31 GMT
|
|
57
395
|
- request:
|
|
58
396
|
method: delete
|
|
59
|
-
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post/
|
|
397
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post/semt4LM09F
|
|
60
398
|
body:
|
|
61
399
|
encoding: US-ASCII
|
|
62
400
|
string: ''
|
|
@@ -72,27 +410,24 @@ http_interactions:
|
|
|
72
410
|
code: 200
|
|
73
411
|
message: OK
|
|
74
412
|
headers:
|
|
75
|
-
Access-Control-Allow-Origin:
|
|
76
|
-
- https://parse.com, https://www.parse.com
|
|
77
|
-
Access-Control-Request-Method:
|
|
78
|
-
- ! '*'
|
|
79
413
|
Cache-Control:
|
|
80
414
|
- max-age=0, private, must-revalidate
|
|
81
415
|
Content-Type:
|
|
82
416
|
- application/json; charset=utf-8
|
|
83
417
|
Date:
|
|
84
|
-
-
|
|
418
|
+
- Wed, 17 Apr 2013 20:08:31 GMT
|
|
85
419
|
Etag:
|
|
86
420
|
- ! '"99914b932bd37a50b983c5e7c90ae93b"'
|
|
87
421
|
Server:
|
|
88
422
|
- nginx/1.2.2
|
|
89
423
|
Set-Cookie:
|
|
90
|
-
- _parse_session=
|
|
91
|
-
domain=.parse.com; path=/; expires=
|
|
424
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZDIyNGNkODM2YjFmOGI0OTZlNGVmY2RiODlkZjk1NTk%3D--a74aee4f2aed0cc974fd1709ab1715c9f114577e;
|
|
425
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:31 GMT; secure;
|
|
426
|
+
HttpOnly
|
|
92
427
|
Status:
|
|
93
428
|
- 200 OK
|
|
94
429
|
X-Runtime:
|
|
95
|
-
- '0.
|
|
430
|
+
- '0.031474'
|
|
96
431
|
X-Ua-Compatible:
|
|
97
432
|
- IE=Edge,chrome=1
|
|
98
433
|
Content-Length:
|
|
@@ -103,10 +438,10 @@ http_interactions:
|
|
|
103
438
|
encoding: US-ASCII
|
|
104
439
|
string: ! '{}'
|
|
105
440
|
http_version:
|
|
106
|
-
recorded_at:
|
|
441
|
+
recorded_at: Wed, 17 Apr 2013 20:08:31 GMT
|
|
107
442
|
- request:
|
|
108
443
|
method: get
|
|
109
|
-
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post?where=%7B%22title%22:%22hello1234567890abc!%22,%22objectId%22:%
|
|
444
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post?where=%7B%22title%22:%22hello1234567890abc!%22,%22objectId%22:%22semt4LM09F%22%7D
|
|
110
445
|
body:
|
|
111
446
|
encoding: US-ASCII
|
|
112
447
|
string: ''
|
|
@@ -122,27 +457,24 @@ http_interactions:
|
|
|
122
457
|
code: 200
|
|
123
458
|
message: OK
|
|
124
459
|
headers:
|
|
125
|
-
Access-Control-Allow-Origin:
|
|
126
|
-
- https://parse.com, https://www.parse.com
|
|
127
|
-
Access-Control-Request-Method:
|
|
128
|
-
- ! '*'
|
|
129
460
|
Cache-Control:
|
|
130
461
|
- max-age=0, private, must-revalidate
|
|
131
462
|
Content-Type:
|
|
132
463
|
- application/json; charset=utf-8
|
|
133
464
|
Date:
|
|
134
|
-
-
|
|
465
|
+
- Wed, 17 Apr 2013 20:08:31 GMT
|
|
135
466
|
Etag:
|
|
136
467
|
- ! '"e2412c1ffbfb6b53a82a9daf665b2c1a"'
|
|
137
468
|
Server:
|
|
138
469
|
- nginx/1.2.2
|
|
139
470
|
Set-Cookie:
|
|
140
|
-
- _parse_session=
|
|
141
|
-
domain=.parse.com; path=/; expires=
|
|
471
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYWM5ZWEwZjdjYjE5Yzk2OTg3YTQ5YmU2MjE5ZDZiNTk%3D--ed497ea778f6990e73c9c7e6a7d2bfe8792b79ae;
|
|
472
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:31 GMT; secure;
|
|
473
|
+
HttpOnly
|
|
142
474
|
Status:
|
|
143
475
|
- 200 OK
|
|
144
476
|
X-Runtime:
|
|
145
|
-
- '0.
|
|
477
|
+
- '0.037511'
|
|
146
478
|
X-Ua-Compatible:
|
|
147
479
|
- IE=Edge,chrome=1
|
|
148
480
|
Content-Length:
|
|
@@ -153,5 +485,5 @@ http_interactions:
|
|
|
153
485
|
encoding: US-ASCII
|
|
154
486
|
string: ! '{"results":[]}'
|
|
155
487
|
http_version:
|
|
156
|
-
recorded_at:
|
|
157
|
-
recorded_with: VCR 2.
|
|
488
|
+
recorded_at: Wed, 17 Apr 2013 20:08:31 GMT
|
|
489
|
+
recorded_with: VCR 2.4.0
|