parse_resource 1.7.3 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,150 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ! '{"title":"Welcome111"}'
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- ! '*/*; q=0.5, application/xml'
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Content-Length:
|
17
|
+
- '22'
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 201
|
23
|
+
message: Created
|
24
|
+
headers:
|
25
|
+
Cache-Control:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Date:
|
30
|
+
- Wed, 17 Apr 2013 06:27:21 GMT
|
31
|
+
Location:
|
32
|
+
- https://api.parse.com/1/classes/Post/0TE31S53Tf
|
33
|
+
Server:
|
34
|
+
- nginx/1.2.2
|
35
|
+
Set-Cookie:
|
36
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMmU0MDcxZGRiMzQ1NzQwNTZhOWIzZDQ0OTA2ZjYzNDA%3D--8bd14afef6e4a03a85dd14fcf510c898754d4194;
|
37
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:27:21 GMT; secure;
|
38
|
+
HttpOnly
|
39
|
+
Status:
|
40
|
+
- 201 Created
|
41
|
+
X-Runtime:
|
42
|
+
- '0.030012'
|
43
|
+
X-Ua-Compatible:
|
44
|
+
- IE=Edge,chrome=1
|
45
|
+
Content-Length:
|
46
|
+
- '64'
|
47
|
+
Connection:
|
48
|
+
- keep-alive
|
49
|
+
body:
|
50
|
+
encoding: US-ASCII
|
51
|
+
string: ! '{"createdAt":"2013-04-17T06:27:21.899Z","objectId":"0TE31S53Tf"}'
|
52
|
+
http_version:
|
53
|
+
recorded_at: Wed, 17 Apr 2013 06:27:21 GMT
|
54
|
+
- request:
|
55
|
+
method: get
|
56
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post?limit=1&where=%7B%22title%22:%22Welcome111%22%7D
|
57
|
+
body:
|
58
|
+
encoding: US-ASCII
|
59
|
+
string: ''
|
60
|
+
headers:
|
61
|
+
Accept:
|
62
|
+
- ! '*/*; q=0.5, application/xml'
|
63
|
+
Accept-Encoding:
|
64
|
+
- gzip, deflate
|
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:27:22 GMT
|
78
|
+
Etag:
|
79
|
+
- ! '"28bbe9b1ddb0da04be2760359817afb9"'
|
80
|
+
Server:
|
81
|
+
- nginx/1.2.2
|
82
|
+
Set-Cookie:
|
83
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYWM3NjU1MmNkM2UyYmMyOGMzMDFmY2U4NmNiMmIyZTg%3D--537c846147a810608c87b0e5ddafcca3e9569a8f;
|
84
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:27:22 GMT; secure;
|
85
|
+
HttpOnly
|
86
|
+
Status:
|
87
|
+
- 200 OK
|
88
|
+
X-Runtime:
|
89
|
+
- '0.033455'
|
90
|
+
X-Ua-Compatible:
|
91
|
+
- IE=Edge,chrome=1
|
92
|
+
Content-Length:
|
93
|
+
- '138'
|
94
|
+
Connection:
|
95
|
+
- keep-alive
|
96
|
+
body:
|
97
|
+
encoding: US-ASCII
|
98
|
+
string: ! '{"results":[{"title":"Welcome111","createdAt":"2013-04-17T06:27:20.364Z","updatedAt":"2013-04-17T06:27:20.364Z","objectId":"fXAyeJ7wuR"}]}'
|
99
|
+
http_version:
|
100
|
+
recorded_at: Wed, 17 Apr 2013 06:27:22 GMT
|
101
|
+
- request:
|
102
|
+
method: get
|
103
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post?limit=1&where=%7B%22title%22:%22Welcome111%22%7D
|
104
|
+
body:
|
105
|
+
encoding: US-ASCII
|
106
|
+
string: ''
|
107
|
+
headers:
|
108
|
+
Accept:
|
109
|
+
- ! '*/*; q=0.5, application/xml'
|
110
|
+
Accept-Encoding:
|
111
|
+
- gzip, deflate
|
112
|
+
User-Agent:
|
113
|
+
- Ruby
|
114
|
+
response:
|
115
|
+
status:
|
116
|
+
code: 200
|
117
|
+
message: OK
|
118
|
+
headers:
|
119
|
+
Cache-Control:
|
120
|
+
- max-age=0, private, must-revalidate
|
121
|
+
Content-Type:
|
122
|
+
- application/json; charset=utf-8
|
123
|
+
Date:
|
124
|
+
- Wed, 17 Apr 2013 06:27:22 GMT
|
125
|
+
Etag:
|
126
|
+
- ! '"28bbe9b1ddb0da04be2760359817afb9"'
|
127
|
+
Server:
|
128
|
+
- nginx/1.2.2
|
129
|
+
Set-Cookie:
|
130
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZWZhYjU4MDkxZTZjZmE0Y2NiOGQ2NzljOGE4MzVkOTc%3D--70a04b4cdc717843dc16876163182b24b9e3e1b9;
|
131
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:27:22 GMT; secure;
|
132
|
+
HttpOnly
|
133
|
+
Status:
|
134
|
+
- 200 OK
|
135
|
+
X-Runtime:
|
136
|
+
- '0.030605'
|
137
|
+
X-Ua-Compatible:
|
138
|
+
- IE=Edge,chrome=1
|
139
|
+
Content-Length:
|
140
|
+
- '138'
|
141
|
+
Connection:
|
142
|
+
- keep-alive
|
143
|
+
body:
|
144
|
+
encoding: US-ASCII
|
145
|
+
string: ! '{"results":[{"title":"Welcome111","createdAt":"2013-04-17T06:27:20.364Z","updatedAt":"2013-04-17T06:27:20.364Z","objectId":"fXAyeJ7wuR"}]}'
|
146
|
+
http_version:
|
147
|
+
recorded_at: Wed, 17 Apr 2013 06:27:22 GMT
|
3
148
|
- request:
|
4
149
|
method: post
|
5
150
|
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post
|
@@ -22,27 +167,24 @@ http_interactions:
|
|
22
167
|
code: 201
|
23
168
|
message: Created
|
24
169
|
headers:
|
25
|
-
Access-Control-Allow-Origin:
|
26
|
-
- https://parse.com, https://www.parse.com
|
27
|
-
Access-Control-Request-Method:
|
28
|
-
- ! '*'
|
29
170
|
Cache-Control:
|
30
171
|
- no-cache
|
31
172
|
Content-Type:
|
32
173
|
- application/json; charset=utf-8
|
33
174
|
Date:
|
34
|
-
-
|
175
|
+
- Wed, 17 Apr 2013 20:08:48 GMT
|
35
176
|
Location:
|
36
|
-
- https://api.parse.com/1/classes/Post/
|
177
|
+
- https://api.parse.com/1/classes/Post/CfCoI3A79X
|
37
178
|
Server:
|
38
179
|
- nginx/1.2.2
|
39
180
|
Set-Cookie:
|
40
|
-
- _parse_session=
|
41
|
-
domain=.parse.com; path=/; expires=
|
181
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYTRhOTI4OWNlMzU4ZWFiYjg3Mzk3NzNjY2U0NjcyODk%3D--7884b287b8c0c6a9a712b8d5675ef10be2514d23;
|
182
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:48 GMT; secure;
|
183
|
+
HttpOnly
|
42
184
|
Status:
|
43
185
|
- 201 Created
|
44
186
|
X-Runtime:
|
45
|
-
- '0.
|
187
|
+
- '0.234161'
|
46
188
|
X-Ua-Compatible:
|
47
189
|
- IE=Edge,chrome=1
|
48
190
|
Content-Length:
|
@@ -51,12 +193,12 @@ http_interactions:
|
|
51
193
|
- keep-alive
|
52
194
|
body:
|
53
195
|
encoding: US-ASCII
|
54
|
-
string: ! '{"createdAt":"
|
196
|
+
string: ! '{"createdAt":"2013-04-17T20:08:48.257Z","objectId":"CfCoI3A79X"}'
|
55
197
|
http_version:
|
56
|
-
recorded_at:
|
198
|
+
recorded_at: Wed, 17 Apr 2013 20:08:48 GMT
|
57
199
|
- request:
|
58
200
|
method: get
|
59
|
-
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post?where=%7B%22title%22:%22Welcome111%22%7D
|
201
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post?limit=1&where=%7B%22title%22:%22Welcome111%22%7D
|
60
202
|
body:
|
61
203
|
encoding: US-ASCII
|
62
204
|
string: ''
|
@@ -72,41 +214,38 @@ http_interactions:
|
|
72
214
|
code: 200
|
73
215
|
message: OK
|
74
216
|
headers:
|
75
|
-
Access-Control-Allow-Origin:
|
76
|
-
- https://parse.com, https://www.parse.com
|
77
|
-
Access-Control-Request-Method:
|
78
|
-
- ! '*'
|
79
217
|
Cache-Control:
|
80
218
|
- max-age=0, private, must-revalidate
|
81
219
|
Content-Type:
|
82
220
|
- application/json; charset=utf-8
|
83
221
|
Date:
|
84
|
-
-
|
222
|
+
- Wed, 17 Apr 2013 20:08:48 GMT
|
85
223
|
Etag:
|
86
|
-
- ! '"
|
224
|
+
- ! '"bb5d30fe32aa6f562ae1a0b3ab616a45"'
|
87
225
|
Server:
|
88
226
|
- nginx/1.2.2
|
89
227
|
Set-Cookie:
|
90
|
-
- _parse_session=
|
91
|
-
domain=.parse.com; path=/; expires=
|
228
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMDcyYmNjYzM4MjBhZjU3NWIyNDNjNzhmZTE0ZGM3ZDQ%3D--bcda5f8c2d35cc5334a1fbeff9cf71cbe0867e80;
|
229
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:48 GMT; secure;
|
230
|
+
HttpOnly
|
92
231
|
Status:
|
93
232
|
- 200 OK
|
94
233
|
X-Runtime:
|
95
|
-
- '0.
|
234
|
+
- '0.047613'
|
96
235
|
X-Ua-Compatible:
|
97
236
|
- IE=Edge,chrome=1
|
98
237
|
Content-Length:
|
99
|
-
- '
|
238
|
+
- '138'
|
100
239
|
Connection:
|
101
240
|
- keep-alive
|
102
241
|
body:
|
103
242
|
encoding: US-ASCII
|
104
|
-
string: ! '{"results":[{"title":"Welcome111","createdAt":"
|
243
|
+
string: ! '{"results":[{"title":"Welcome111","createdAt":"2013-04-17T20:08:48.257Z","updatedAt":"2013-04-17T20:08:48.257Z","objectId":"CfCoI3A79X"}]}'
|
105
244
|
http_version:
|
106
|
-
recorded_at:
|
245
|
+
recorded_at: Wed, 17 Apr 2013 20:08:48 GMT
|
107
246
|
- request:
|
108
247
|
method: get
|
109
|
-
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post?where=%7B%22title%22:%22Welcome111%22%7D
|
248
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post?limit=1&where=%7B%22title%22:%22Welcome111%22%7D
|
110
249
|
body:
|
111
250
|
encoding: US-ASCII
|
112
251
|
string: ''
|
@@ -122,36 +261,33 @@ http_interactions:
|
|
122
261
|
code: 200
|
123
262
|
message: OK
|
124
263
|
headers:
|
125
|
-
Access-Control-Allow-Origin:
|
126
|
-
- https://parse.com, https://www.parse.com
|
127
|
-
Access-Control-Request-Method:
|
128
|
-
- ! '*'
|
129
264
|
Cache-Control:
|
130
265
|
- max-age=0, private, must-revalidate
|
131
266
|
Content-Type:
|
132
267
|
- application/json; charset=utf-8
|
133
268
|
Date:
|
134
|
-
-
|
269
|
+
- Wed, 17 Apr 2013 20:08:48 GMT
|
135
270
|
Etag:
|
136
|
-
- ! '"
|
271
|
+
- ! '"bb5d30fe32aa6f562ae1a0b3ab616a45"'
|
137
272
|
Server:
|
138
273
|
- nginx/1.2.2
|
139
274
|
Set-Cookie:
|
140
|
-
- _parse_session=
|
141
|
-
domain=.parse.com; path=/; expires=
|
275
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMjBkNGUxYjIzODZlNmVhMDhlOGRhNTEzMjcwYzkyZWE%3D--3d3f3c367d2514ff72aa3ef765c684f42e29b282;
|
276
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:48 GMT; secure;
|
277
|
+
HttpOnly
|
142
278
|
Status:
|
143
279
|
- 200 OK
|
144
280
|
X-Runtime:
|
145
|
-
- '0.
|
281
|
+
- '0.033279'
|
146
282
|
X-Ua-Compatible:
|
147
283
|
- IE=Edge,chrome=1
|
148
284
|
Content-Length:
|
149
|
-
- '
|
285
|
+
- '138'
|
150
286
|
Connection:
|
151
287
|
- keep-alive
|
152
288
|
body:
|
153
289
|
encoding: US-ASCII
|
154
|
-
string: ! '{"results":[{"title":"Welcome111","createdAt":"
|
290
|
+
string: ! '{"results":[{"title":"Welcome111","createdAt":"2013-04-17T20:08:48.257Z","updatedAt":"2013-04-17T20:08:48.257Z","objectId":"CfCoI3A79X"}]}'
|
155
291
|
http_version:
|
156
|
-
recorded_at:
|
157
|
-
recorded_with: VCR 2.
|
292
|
+
recorded_at: Wed, 17 Apr 2013 20:08:48 GMT
|
293
|
+
recorded_with: VCR 2.4.0
|
@@ -1,5 +1,248 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Fork?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:27:23 GMT
|
27
|
+
Etag:
|
28
|
+
- ! '"b0fa95f6b208a96b95043ed1c19cd380"'
|
29
|
+
Server:
|
30
|
+
- nginx/1.2.2
|
31
|
+
Set-Cookie:
|
32
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlY2ViZjJjMGY4ZTIwYjMyOGM4N2UzOGUzNjlmYzQ4OGU%3D--ff8edc0b7d79707822830aab67f41634b437a788;
|
33
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:27:23 GMT; secure;
|
34
|
+
HttpOnly
|
35
|
+
Status:
|
36
|
+
- 200 OK
|
37
|
+
X-Runtime:
|
38
|
+
- '0.106669'
|
39
|
+
X-Ua-Compatible:
|
40
|
+
- IE=Edge,chrome=1
|
41
|
+
Content-Length:
|
42
|
+
- '136'
|
43
|
+
Connection:
|
44
|
+
- keep-alive
|
45
|
+
body:
|
46
|
+
encoding: US-ASCII
|
47
|
+
string: ! '{"results":[{"points":"firsttt","createdAt":"2013-04-17T04:04:23.222Z","updatedAt":"2013-04-17T04:04:23.222Z","objectId":"1ObCJCnPd0"}]}'
|
48
|
+
http_version:
|
49
|
+
recorded_at: Wed, 17 Apr 2013 06:27:23 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/Fork/1ObCJCnPd0"}]}'
|
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:27:23 GMT
|
78
|
+
Etag:
|
79
|
+
- ! '"6abe125b20486fefa07552105cea58f3"'
|
80
|
+
Server:
|
81
|
+
- nginx/1.2.2
|
82
|
+
Set-Cookie:
|
83
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlNDc4MWI4ZmMxOWYxMGQ5YTVmZWMxMjdiNTdkYTJmZTg%3D--7c897e66e97aa4e845b81475c7d60c8495fc8306;
|
84
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:27:23 GMT; secure;
|
85
|
+
HttpOnly
|
86
|
+
Status:
|
87
|
+
- 200 OK
|
88
|
+
X-Runtime:
|
89
|
+
- '0.057973'
|
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:27:23 GMT
|
101
|
+
- request:
|
102
|
+
method: post
|
103
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Fork
|
104
|
+
body:
|
105
|
+
encoding: UTF-8
|
106
|
+
string: ! '{"points":"firsttt"}'
|
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
|
+
- '20'
|
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:27:24 GMT
|
129
|
+
Location:
|
130
|
+
- https://api.parse.com/1/classes/Fork/qiAA5Bo9OY
|
131
|
+
Server:
|
132
|
+
- nginx/1.2.2
|
133
|
+
Set-Cookie:
|
134
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlOTc0NWY4YmIyNjRjMmRjMTQ3NDQwZGYwOGYwOGY2OWY%3D--c48a833f25a2c770b0c08c2da3b6619b50ddb727;
|
135
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:27:24 GMT; secure;
|
136
|
+
HttpOnly
|
137
|
+
Status:
|
138
|
+
- 201 Created
|
139
|
+
X-Runtime:
|
140
|
+
- '0.032898'
|
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:27:24.362Z","objectId":"qiAA5Bo9OY"}'
|
150
|
+
http_version:
|
151
|
+
recorded_at: Wed, 17 Apr 2013 06:27:24 GMT
|
152
|
+
- request:
|
153
|
+
method: get
|
154
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Fork?limit=1&where=%7B%7D
|
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:27:24 GMT
|
176
|
+
Etag:
|
177
|
+
- ! '"c9758b4af6b444f350d292f6a5367e21"'
|
178
|
+
Server:
|
179
|
+
- nginx/1.2.2
|
180
|
+
Set-Cookie:
|
181
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMzk3MzI5MTgxNGE0MzlkNTUxMmZlZjBmMTNiZmM4ZmI%3D--9e34c5c7dc9042b42c2b5843093a01c2c93280ba;
|
182
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:27:24 GMT; secure;
|
183
|
+
HttpOnly
|
184
|
+
Status:
|
185
|
+
- 200 OK
|
186
|
+
X-Runtime:
|
187
|
+
- '0.027979'
|
188
|
+
X-Ua-Compatible:
|
189
|
+
- IE=Edge,chrome=1
|
190
|
+
Content-Length:
|
191
|
+
- '136'
|
192
|
+
Connection:
|
193
|
+
- keep-alive
|
194
|
+
body:
|
195
|
+
encoding: US-ASCII
|
196
|
+
string: ! '{"results":[{"points":"firsttt","createdAt":"2013-04-17T06:27:24.362Z","updatedAt":"2013-04-17T06:27:24.362Z","objectId":"qiAA5Bo9OY"}]}'
|
197
|
+
http_version:
|
198
|
+
recorded_at: Wed, 17 Apr 2013 06:27:24 GMT
|
199
|
+
- request:
|
200
|
+
method: get
|
201
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Fork?where=%7B%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 20:08:48 GMT
|
223
|
+
Etag:
|
224
|
+
- ! '"e2412c1ffbfb6b53a82a9daf665b2c1a"'
|
225
|
+
Server:
|
226
|
+
- nginx/1.2.2
|
227
|
+
Set-Cookie:
|
228
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZTU5ZmQwNjc5OTliNTViYTQ3Mzg5MGFjNTY1ZGI3MGM%3D--db37d7ff2c02abf5f6a4c4e006202480fe69202d;
|
229
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:48 GMT; secure;
|
230
|
+
HttpOnly
|
231
|
+
Status:
|
232
|
+
- 200 OK
|
233
|
+
X-Runtime:
|
234
|
+
- '0.026809'
|
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 20:08:48 GMT
|
3
246
|
- request:
|
4
247
|
method: post
|
5
248
|
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Fork
|
@@ -22,27 +265,24 @@ http_interactions:
|
|
22
265
|
code: 201
|
23
266
|
message: Created
|
24
267
|
headers:
|
25
|
-
Access-Control-Allow-Origin:
|
26
|
-
- https://parse.com, https://www.parse.com
|
27
|
-
Access-Control-Request-Method:
|
28
|
-
- ! '*'
|
29
268
|
Cache-Control:
|
30
269
|
- no-cache
|
31
270
|
Content-Type:
|
32
271
|
- application/json; charset=utf-8
|
33
272
|
Date:
|
34
|
-
-
|
273
|
+
- Wed, 17 Apr 2013 20:08:49 GMT
|
35
274
|
Location:
|
36
|
-
- https://api.parse.com/1/classes/Fork/
|
275
|
+
- https://api.parse.com/1/classes/Fork/xllXDC3x9g
|
37
276
|
Server:
|
38
277
|
- nginx/1.2.2
|
39
278
|
Set-Cookie:
|
40
|
-
- _parse_session=
|
41
|
-
domain=.parse.com; path=/; expires=
|
279
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlNWY3MmY4ZThkOTFmODFjNjE2ZjljODZiZGE1MTQ5ZjQ%3D--71b2640dc3ef9491ec7f8bbdea7c9533552a26b3;
|
280
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:49 GMT; secure;
|
281
|
+
HttpOnly
|
42
282
|
Status:
|
43
283
|
- 201 Created
|
44
284
|
X-Runtime:
|
45
|
-
- '0.
|
285
|
+
- '0.092244'
|
46
286
|
X-Ua-Compatible:
|
47
287
|
- IE=Edge,chrome=1
|
48
288
|
Content-Length:
|
@@ -51,9 +291,9 @@ http_interactions:
|
|
51
291
|
- keep-alive
|
52
292
|
body:
|
53
293
|
encoding: US-ASCII
|
54
|
-
string: ! '{"createdAt":"
|
294
|
+
string: ! '{"createdAt":"2013-04-17T20:08:49.050Z","objectId":"xllXDC3x9g"}'
|
55
295
|
http_version:
|
56
|
-
recorded_at:
|
296
|
+
recorded_at: Wed, 17 Apr 2013 20:08:49 GMT
|
57
297
|
- request:
|
58
298
|
method: get
|
59
299
|
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Fork?limit=1&where=%7B%7D
|
@@ -72,27 +312,24 @@ http_interactions:
|
|
72
312
|
code: 200
|
73
313
|
message: OK
|
74
314
|
headers:
|
75
|
-
Access-Control-Allow-Origin:
|
76
|
-
- https://parse.com, https://www.parse.com
|
77
|
-
Access-Control-Request-Method:
|
78
|
-
- ! '*'
|
79
315
|
Cache-Control:
|
80
316
|
- max-age=0, private, must-revalidate
|
81
317
|
Content-Type:
|
82
318
|
- application/json; charset=utf-8
|
83
319
|
Date:
|
84
|
-
-
|
320
|
+
- Wed, 17 Apr 2013 20:08:49 GMT
|
85
321
|
Etag:
|
86
|
-
- ! '"
|
322
|
+
- ! '"dc3881a4d9e6c46ad6ed7838225b2c3e"'
|
87
323
|
Server:
|
88
324
|
- nginx/1.2.2
|
89
325
|
Set-Cookie:
|
90
|
-
- _parse_session=
|
91
|
-
domain=.parse.com; path=/; expires=
|
326
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlNzY4ZGEyZWFhOTZkOGNlZDE2OGI4ZjQ2ZjVkZGVlODQ%3D--2c3c671b6ad33385765b2eb6d6f0220c9b5c8e6f;
|
327
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:49 GMT; secure;
|
328
|
+
HttpOnly
|
92
329
|
Status:
|
93
330
|
- 200 OK
|
94
331
|
X-Runtime:
|
95
|
-
- '0.
|
332
|
+
- '0.025855'
|
96
333
|
X-Ua-Compatible:
|
97
334
|
- IE=Edge,chrome=1
|
98
335
|
Content-Length:
|
@@ -101,7 +338,7 @@ http_interactions:
|
|
101
338
|
- keep-alive
|
102
339
|
body:
|
103
340
|
encoding: US-ASCII
|
104
|
-
string: ! '{"results":[{"points":"firsttt","createdAt":"
|
341
|
+
string: ! '{"results":[{"points":"firsttt","createdAt":"2013-04-17T20:08:49.050Z","updatedAt":"2013-04-17T20:08:49.050Z","objectId":"xllXDC3x9g"}]}'
|
105
342
|
http_version:
|
106
|
-
recorded_at:
|
107
|
-
recorded_with: VCR 2.
|
343
|
+
recorded_at: Wed, 17 Apr 2013 20:08:49 GMT
|
344
|
+
recorded_with: VCR 2.4.0
|