parse-ruby-client 0.1.14 → 0.1.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. data/.travis.yml +3 -2
  2. data/Gemfile +12 -12
  3. data/Gemfile.lock +26 -12
  4. data/OLD_README.md +255 -0
  5. data/README.md +1038 -144
  6. data/Rakefile +2 -10
  7. data/VERSION +1 -1
  8. data/features.md +11 -11
  9. data/fixtures/vcr_cassettes/test_acls_arent_objects.yml +180 -0
  10. data/fixtures/vcr_cassettes/test_array_add.yml +20 -20
  11. data/fixtures/vcr_cassettes/test_array_add_pointerizing.yml +239 -0
  12. data/fixtures/vcr_cassettes/test_array_add_unique.yml +180 -0
  13. data/fixtures/vcr_cassettes/test_batch_create_object.yml +53 -80
  14. data/fixtures/vcr_cassettes/test_batch_delete_object.yml +303 -428
  15. data/fixtures/vcr_cassettes/test_batch_run.yml +53 -74
  16. data/fixtures/vcr_cassettes/test_batch_update_object.yml +303 -432
  17. data/fixtures/vcr_cassettes/test_circular_save.yml +121 -0
  18. data/fixtures/vcr_cassettes/test_created_at.yml +53 -74
  19. data/fixtures/vcr_cassettes/test_decrement.yml +121 -0
  20. data/fixtures/vcr_cassettes/test_deep_parse.yml +154 -218
  21. data/fixtures/vcr_cassettes/test_destroy.yml +104 -144
  22. data/fixtures/vcr_cassettes/test_eq_pointerize.yml +239 -0
  23. data/fixtures/vcr_cassettes/test_equality.yml +180 -0
  24. data/fixtures/vcr_cassettes/test_get.yml +104 -146
  25. data/fixtures/vcr_cassettes/test_get_missing.yml +60 -0
  26. data/fixtures/vcr_cassettes/test_include.yml +27 -27
  27. data/fixtures/vcr_cassettes/test_new_model.yml +53 -146
  28. data/fixtures/vcr_cassettes/test_new_object.yml +53 -74
  29. data/fixtures/vcr_cassettes/test_nils_delete_keys.yml +155 -216
  30. data/fixtures/vcr_cassettes/test_parse_delete.yml +204 -284
  31. data/fixtures/vcr_cassettes/test_pointer.yml +53 -74
  32. data/fixtures/vcr_cassettes/test_save_with_sub_objects.yml +298 -0
  33. data/fixtures/vcr_cassettes/test_saving_boolean_values.yml +121 -0
  34. data/fixtures/vcr_cassettes/test_server_update.yml +257 -358
  35. data/fixtures/vcr_cassettes/test_simple_save.yml +53 -74
  36. data/fixtures/vcr_cassettes/test_text_file_save.yml +53 -161
  37. data/fixtures/vcr_cassettes/test_update.yml +104 -144
  38. data/fixtures/vcr_cassettes/test_updated_at.yml +104 -144
  39. data/fixtures/vcr_cassettes/test_user_save.yml +10 -10
  40. data/lib/parse/client.rb +43 -6
  41. data/lib/parse/datatypes.rb +14 -35
  42. data/lib/parse/error.rb +8 -0
  43. data/lib/parse/object.rb +25 -20
  44. data/lib/parse/protocol.rb +3 -4
  45. data/lib/parse/query.rb +10 -9
  46. data/lib/parse/util.rb +36 -2
  47. data/parse-ruby-client.gemspec +22 -18
  48. data/test/helper.rb +33 -5
  49. data/test/test_batch.rb +1 -4
  50. data/test/test_client.rb +59 -7
  51. data/test/test_cloud.rb +3 -7
  52. data/test/test_datatypes.rb +6 -7
  53. data/test/test_file.rb +9 -10
  54. data/test/test_model.rb +1 -4
  55. data/test/test_object.rb +148 -6
  56. data/test/test_push.rb +1 -5
  57. data/test/test_query.rb +13 -3
  58. data/test/test_throttle.rb +1 -3
  59. data/test/test_user.rb +1 -5
  60. metadata +23 -19
  61. data/fixtures/vcr_cassettes/test_array_add_relation.yml +0 -321
  62. data/fixtures/vcr_cassettes/test_cloud_function.yml +0 -81
  63. data/fixtures/vcr_cassettes/test_file_save.yml +0 -87
  64. data/fixtures/vcr_cassettes/test_image_file_associate_with_object.yml +0 -2034
  65. data/fixtures/vcr_cassettes/test_image_file_save.yml +0 -1957
  66. data/fixtures/vcr_cassettes/test_object_id.yml +0 -83
  67. data/fixtures/vcr_cassettes/test_request_batch.yml +0 -62
@@ -1,321 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://api.parse.com/1/classes/Post
6
- body:
7
- encoding: UTF-8
8
- string: ! '{}'
9
- headers:
10
- Content-Type:
11
- - application/json
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Parse for Ruby, 0.0
16
- X-Parse-Master-Key:
17
- - ''
18
- X-Parse-Rest-Api-Key:
19
- - PsXOTylMvpCsyhx7njRh06BzSsehrwywuYwD9UiN
20
- X-Parse-Application-Id:
21
- - X4gXxFjSqK9VHZZPFR32Cvp5wntIhDI5TESO18jB
22
- X-Parse-Session-Token:
23
- - ''
24
- Expect:
25
- - ''
26
- response:
27
- status:
28
- code: 201
29
- message: !binary |-
30
- Q3JlYXRlZA==
31
- headers:
32
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
33
- - !binary |-
34
- Kg==
35
- !binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
36
- - !binary |-
37
- Kg==
38
- !binary "Q2FjaGUtQ29udHJvbA==":
39
- - !binary |-
40
- bm8tY2FjaGU=
41
- !binary "Q29udGVudC1UeXBl":
42
- - !binary |-
43
- YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
44
- !binary "RGF0ZQ==":
45
- - !binary |-
46
- V2VkLCAxNiBKYW4gMjAxMyAxNDo0MDoxOCBHTVQ=
47
- !binary "TG9jYXRpb24=":
48
- - !binary |-
49
- aHR0cHM6Ly9hcGkucGFyc2UuY29tLzEvY2xhc3Nlcy9Qb3N0L1M2T2lZbzdy
50
- bkM=
51
- !binary "U2VydmVy":
52
- - !binary |-
53
- bmdpbngvMS4yLjI=
54
- !binary "U2V0LUNvb2tpZQ==":
55
- - !binary |-
56
- X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
57
- SWxOakk1WldVME1tVTVaV0l3TURGa1pESXdNek00T1dKaE16TTROMlExTm1Z
58
- JTNELS01OGMwZmI1MjNhMmY0NTgwMmMyNmI2MDY0MzVmZjMyNjhjMTBkNDQ1
59
- OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPU1vbiwgMTYt
60
- SmFuLTIwMjMgMTQ6NDA6MTggR01UOyBzZWN1cmU7IEh0dHBPbmx5
61
- !binary "U3RhdHVz":
62
- - !binary |-
63
- MjAxIENyZWF0ZWQ=
64
- !binary "WC1SdW50aW1l":
65
- - !binary |-
66
- MC4xNzU4OTc=
67
- !binary "WC1VYS1Db21wYXRpYmxl":
68
- - !binary |-
69
- SUU9RWRnZSxjaHJvbWU9MQ==
70
- !binary "Q29udGVudC1MZW5ndGg=":
71
- - !binary |-
72
- NjQ=
73
- !binary "Q29ubmVjdGlvbg==":
74
- - !binary |-
75
- a2VlcC1hbGl2ZQ==
76
- body:
77
- encoding: ASCII-8BIT
78
- string: !binary |-
79
- eyJjcmVhdGVkQXQiOiIyMDEzLTAxLTE2VDE0OjQwOjE4LjUyN1oiLCJvYmpl
80
- Y3RJZCI6IlM2T2lZbzdybkMifQ==
81
- http_version:
82
- recorded_at: Wed, 16 Jan 2013 14:40:18 GMT
83
- - request:
84
- method: post
85
- uri: https://api.parse.com/1/classes/Comment
86
- body:
87
- encoding: UTF-8
88
- string: ! '{}'
89
- headers:
90
- Content-Type:
91
- - application/json
92
- Accept:
93
- - application/json
94
- User-Agent:
95
- - Parse for Ruby, 0.0
96
- X-Parse-Master-Key:
97
- - ''
98
- X-Parse-Rest-Api-Key:
99
- - PsXOTylMvpCsyhx7njRh06BzSsehrwywuYwD9UiN
100
- X-Parse-Application-Id:
101
- - X4gXxFjSqK9VHZZPFR32Cvp5wntIhDI5TESO18jB
102
- X-Parse-Session-Token:
103
- - ''
104
- Expect:
105
- - ''
106
- response:
107
- status:
108
- code: 201
109
- message: !binary |-
110
- Q3JlYXRlZA==
111
- headers:
112
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
113
- - !binary |-
114
- Kg==
115
- !binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
116
- - !binary |-
117
- Kg==
118
- !binary "Q2FjaGUtQ29udHJvbA==":
119
- - !binary |-
120
- bm8tY2FjaGU=
121
- !binary "Q29udGVudC1UeXBl":
122
- - !binary |-
123
- YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
124
- !binary "RGF0ZQ==":
125
- - !binary |-
126
- V2VkLCAxNiBKYW4gMjAxMyAxNDo0MDoxOCBHTVQ=
127
- !binary "TG9jYXRpb24=":
128
- - !binary |-
129
- aHR0cHM6Ly9hcGkucGFyc2UuY29tLzEvY2xhc3Nlcy9Db21tZW50L2FQRVRX
130
- WWZvQmk=
131
- !binary "U2VydmVy":
132
- - !binary |-
133
- bmdpbngvMS4yLjI=
134
- !binary "U2V0LUNvb2tpZQ==":
135
- - !binary |-
136
- X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
137
- SWxaVGMxT1RObFpUVTRaVFZrWWpsak9EazVPV1JpWVRNMllqa3hNMkkzTlRZ
138
- JTNELS05Zjg4MGNmNWU4MTZkM2NiZGQ2MmUwMDUzYjRhZTJmYjkzNmFhOGYx
139
- OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPU1vbiwgMTYt
140
- SmFuLTIwMjMgMTQ6NDA6MTggR01UOyBzZWN1cmU7IEh0dHBPbmx5
141
- !binary "U3RhdHVz":
142
- - !binary |-
143
- MjAxIENyZWF0ZWQ=
144
- !binary "WC1SdW50aW1l":
145
- - !binary |-
146
- MC4xNjYyNzE=
147
- !binary "WC1VYS1Db21wYXRpYmxl":
148
- - !binary |-
149
- SUU9RWRnZSxjaHJvbWU9MQ==
150
- !binary "Q29udGVudC1MZW5ndGg=":
151
- - !binary |-
152
- NjQ=
153
- !binary "Q29ubmVjdGlvbg==":
154
- - !binary |-
155
- a2VlcC1hbGl2ZQ==
156
- body:
157
- encoding: ASCII-8BIT
158
- string: !binary |-
159
- eyJjcmVhdGVkQXQiOiIyMDEzLTAxLTE2VDE0OjQwOjE4LjczN1oiLCJvYmpl
160
- Y3RJZCI6ImFQRVRXWWZvQmkifQ==
161
- http_version:
162
- recorded_at: Wed, 16 Jan 2013 14:40:18 GMT
163
- - request:
164
- method: put
165
- uri: https://api.parse.com/1/classes/Post/S6OiYo7rnC
166
- body:
167
- encoding: UTF-8
168
- string: ! '{"comments":{"__op":"AddRelation","objects":[{"__type":"Pointer","className":"Comment","objectId":"aPETWYfoBi"}]}}'
169
- headers:
170
- Content-Type:
171
- - application/json
172
- Accept:
173
- - application/json
174
- User-Agent:
175
- - Parse for Ruby, 0.0
176
- X-Parse-Master-Key:
177
- - ''
178
- X-Parse-Rest-Api-Key:
179
- - PsXOTylMvpCsyhx7njRh06BzSsehrwywuYwD9UiN
180
- X-Parse-Application-Id:
181
- - X4gXxFjSqK9VHZZPFR32Cvp5wntIhDI5TESO18jB
182
- X-Parse-Session-Token:
183
- - ''
184
- Expect:
185
- - ''
186
- response:
187
- status:
188
- code: 200
189
- message: !binary |-
190
- T0s=
191
- headers:
192
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
193
- - !binary |-
194
- Kg==
195
- !binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
196
- - !binary |-
197
- Kg==
198
- !binary "Q2FjaGUtQ29udHJvbA==":
199
- - !binary |-
200
- bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
201
- !binary "Q29udGVudC1UeXBl":
202
- - !binary |-
203
- YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
204
- !binary "RGF0ZQ==":
205
- - !binary |-
206
- V2VkLCAxNiBKYW4gMjAxMyAxNDo0MDoxOSBHTVQ=
207
- !binary "RXRhZw==":
208
- - !binary |-
209
- ImRkYWZhMDJhMjM4MjNkZWI4ZTM0YTI0ODk2NjllODM2Ig==
210
- !binary "U2VydmVy":
211
- - !binary |-
212
- bmdpbngvMS4yLjI=
213
- !binary "U2V0LUNvb2tpZQ==":
214
- - !binary |-
215
- X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
216
- SWxORGN6T1dWaU1qUXlNVFptT1dZME9EbG1NRE0wTldFeVpUZzJNbVptTlRB
217
- JTNELS0wN2MyOWZiYjQwYTY0MzllNGQ2ZTk3ZmNiODg1OGYxYzYyNTJlNzJi
218
- OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPU1vbiwgMTYt
219
- SmFuLTIwMjMgMTQ6NDA6MTkgR01UOyBzZWN1cmU7IEh0dHBPbmx5
220
- !binary "U3RhdHVz":
221
- - !binary |-
222
- MjAwIE9L
223
- !binary "WC1SdW50aW1l":
224
- - !binary |-
225
- MC4zMzQxMjU=
226
- !binary "WC1VYS1Db21wYXRpYmxl":
227
- - !binary |-
228
- SUU9RWRnZSxjaHJvbWU9MQ==
229
- !binary "Q29udGVudC1MZW5ndGg=":
230
- - !binary |-
231
- NDA=
232
- !binary "Q29ubmVjdGlvbg==":
233
- - !binary |-
234
- a2VlcC1hbGl2ZQ==
235
- body:
236
- encoding: ASCII-8BIT
237
- string: !binary |-
238
- eyJ1cGRhdGVkQXQiOiIyMDEzLTAxLTE2VDE0OjQwOjE4Ljk3N1oifQ==
239
- http_version:
240
- recorded_at: Wed, 16 Jan 2013 14:40:19 GMT
241
- - request:
242
- method: get
243
- uri: https://api.parse.com/1/classes/Comment?where=%7B%22$relatedTo%22:%7B%22object%22:%7B%22__type%22:%22Pointer%22,%22className%22:%22Post%22,%22objectId%22:%22S6OiYo7rnC%22%7D,%22key%22:%22comments%22%7D%7D
244
- body:
245
- encoding: US-ASCII
246
- string: ''
247
- headers:
248
- Content-Type:
249
- - application/json
250
- Accept:
251
- - application/json
252
- User-Agent:
253
- - Parse for Ruby, 0.0
254
- X-Parse-Master-Key:
255
- - ''
256
- X-Parse-Rest-Api-Key:
257
- - PsXOTylMvpCsyhx7njRh06BzSsehrwywuYwD9UiN
258
- X-Parse-Application-Id:
259
- - X4gXxFjSqK9VHZZPFR32Cvp5wntIhDI5TESO18jB
260
- X-Parse-Session-Token:
261
- - ''
262
- Expect:
263
- - ''
264
- response:
265
- status:
266
- code: 200
267
- message: !binary |-
268
- T0s=
269
- headers:
270
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
271
- - !binary |-
272
- Kg==
273
- !binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
274
- - !binary |-
275
- Kg==
276
- !binary "Q2FjaGUtQ29udHJvbA==":
277
- - !binary |-
278
- bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
279
- !binary "Q29udGVudC1UeXBl":
280
- - !binary |-
281
- YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
282
- !binary "RGF0ZQ==":
283
- - !binary |-
284
- V2VkLCAxNiBKYW4gMjAxMyAxNDo0MDoyMCBHTVQ=
285
- !binary "RXRhZw==":
286
- - !binary |-
287
- IjY5OTYyM2M3NTY5ZDk0MzA4OTVjMDE1NmRhNjhlOWFlIg==
288
- !binary "U2VydmVy":
289
- - !binary |-
290
- bmdpbngvMS4yLjI=
291
- !binary "U2V0LUNvb2tpZQ==":
292
- - !binary |-
293
- X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
294
- SWxObVEyT1ROalpUQTBPV0U0WWpVNE5Ea3hOakUzTURJeU9EWTFOVFptTW1F
295
- JTNELS0xYmM5MzE0Nzk0OTE5NmZmOGI2YmNkZjliNTM4ZWIyNzk1YTY3NjEy
296
- OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPU1vbiwgMTYt
297
- SmFuLTIwMjMgMTQ6NDA6MjAgR01UOyBzZWN1cmU7IEh0dHBPbmx5
298
- !binary "U3RhdHVz":
299
- - !binary |-
300
- MjAwIE9L
301
- !binary "WC1SdW50aW1l":
302
- - !binary |-
303
- MC42ODY4Mzg=
304
- !binary "WC1VYS1Db21wYXRpYmxl":
305
- - !binary |-
306
- SUU9RWRnZSxjaHJvbWU9MQ==
307
- !binary "Q29udGVudC1MZW5ndGg=":
308
- - !binary |-
309
- MTE3
310
- !binary "Q29ubmVjdGlvbg==":
311
- - !binary |-
312
- a2VlcC1hbGl2ZQ==
313
- body:
314
- encoding: ASCII-8BIT
315
- string: !binary |-
316
- eyJyZXN1bHRzIjpbeyJjcmVhdGVkQXQiOiIyMDEzLTAxLTE2VDE0OjQwOjE4
317
- LjczN1oiLCJ1cGRhdGVkQXQiOiIyMDEzLTAxLTE2VDE0OjQwOjE4LjczN1oi
318
- LCJvYmplY3RJZCI6ImFQRVRXWWZvQmkifV19
319
- http_version:
320
- recorded_at: Wed, 16 Jan 2013 14:40:20 GMT
321
- recorded_with: VCR 2.0.1
@@ -1,81 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://api.parse.com/1/functions/trivial
6
- body:
7
- encoding: UTF-8
8
- string: ! '{"foo":"bar"}'
9
- headers:
10
- Content-Type:
11
- - application/json
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Parse for Ruby, 0.0
16
- X-Parse-Master-Key:
17
- - ''
18
- X-Parse-Rest-Api-Key:
19
- - D3Y8jNCQk6kpkKhpRGnWLYTrFGQ7j8dtDVnWZRnZ
20
- X-Parse-Application-Id:
21
- - PPVk6L5M9R1R8GVk8Ye9jT8f5SQNBIeoJUDJLmkT
22
- X-Parse-Session-Token:
23
- - ''
24
- Expect:
25
- - ''
26
- response:
27
- status:
28
- code: 200
29
- message: !binary |-
30
- T0s=
31
- headers:
32
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
33
- - !binary |-
34
- Kg==
35
- !binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
36
- - !binary |-
37
- Kg==
38
- !binary "Q2FjaGUtQ29udHJvbA==":
39
- - !binary |-
40
- bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
41
- !binary "Q29udGVudC1UeXBl":
42
- - !binary |-
43
- YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
44
- !binary "RGF0ZQ==":
45
- - !binary |-
46
- VHVlLCAwOSBPY3QgMjAxMiAyMTo0NToyNSBHTVQ=
47
- !binary "RXRhZw==":
48
- - !binary |-
49
- IjA4Mjc0OGIyN2FjM2RiZTJhMWQxNWMzM2RjMjFlODNkIg==
50
- !binary "U2VydmVy":
51
- - !binary |-
52
- bmdpbngvMS4yLjI=
53
- !binary "U2V0LUNvb2tpZQ==":
54
- - !binary |-
55
- X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
56
- SWxaRGxqTlRObU9HUTFabUZoTVRabU9HTmlaVEkyTldGalltRTJOamd5T1Rr
57
- JTNELS1iN2U3YjFhZmEzY2M5NGVjMTk3NDk3ZTlkMDg4YmNhN2UwMmJjOWY4
58
- OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
59
- T2N0LTIwMjIgMjE6NDU6MjUgR01UOyBzZWN1cmU7IEh0dHBPbmx5
60
- !binary "U3RhdHVz":
61
- - !binary |-
62
- MjAwIE9L
63
- !binary "WC1SdW50aW1l":
64
- - !binary |-
65
- MC4wNDkzNjA=
66
- !binary "WC1VYS1Db21wYXRpYmxl":
67
- - !binary |-
68
- SUU9RWRnZSxjaHJvbWU9MQ==
69
- !binary "Q29udGVudC1MZW5ndGg=":
70
- - !binary |-
71
- MjQ=
72
- !binary "Q29ubmVjdGlvbg==":
73
- - !binary |-
74
- a2VlcC1hbGl2ZQ==
75
- body:
76
- encoding: ASCII-8BIT
77
- string: !binary |-
78
- eyJyZXN1bHQiOnsiZm9vIjoiYmFyIn19
79
- http_version:
80
- recorded_at: Tue, 09 Oct 2012 21:45:25 GMT
81
- recorded_with: VCR 2.0.1
@@ -1,87 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://api.parse.com/1/files/hello_test.txt
6
- body:
7
- encoding: US-ASCII
8
- string: Testing Hello World!
9
- headers:
10
- Content-Type:
11
- - text/plain
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Parse for Ruby, 0.0
16
- X-Parse-Master-Key:
17
- - ''
18
- X-Parse-Rest-Api-Key:
19
- - D3Y8jNCQk6kpkKhpRGnWLYTrFGQ7j8dtDVnWZRnZ
20
- X-Parse-Application-Id:
21
- - PPVk6L5M9R1R8GVk8Ye9jT8f5SQNBIeoJUDJLmkT
22
- X-Parse-Session-Token:
23
- - ''
24
- Expect:
25
- - ''
26
- response:
27
- status:
28
- code: 201
29
- message: !binary |-
30
- Q3JlYXRlZA==
31
- headers:
32
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
33
- - !binary |-
34
- Kg==
35
- !binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
36
- - !binary |-
37
- Kg==
38
- !binary "Q2FjaGUtQ29udHJvbA==":
39
- - !binary |-
40
- bm8tY2FjaGU=
41
- !binary "Q29udGVudC1UeXBl":
42
- - !binary |-
43
- YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
44
- !binary "RGF0ZQ==":
45
- - !binary |-
46
- VGh1LCAyNCBKYW4gMjAxMyAyMzozMzozNSBHTVQ=
47
- !binary "TG9jYXRpb24=":
48
- - !binary |-
49
- aHR0cDovL2ZpbGVzLnBhcnNlLmNvbS8zNzJmY2JiOS03ZWFlLTRiOWEtYWJj
50
- OC02ZGE5N2ZjYWM1MGQvM2ViM2ExNGEtMzY2My00ODAzLTljYWMtYzY3OWY3
51
- NmY2NWNkLWhlbGxvX3Rlc3QudHh0
52
- !binary "U2VydmVy":
53
- - !binary |-
54
- bmdpbngvMS4yLjI=
55
- !binary "U2V0LUNvb2tpZQ==":
56
- - !binary |-
57
- X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
58
- SWxNR1JpTmpnNU1ETXhOekUwWWpRMFpXTXpNVGN4WWpNME5Ea3pOalU0TW1Z
59
- JTNELS1hMjdjZDc1NWY3YTExMzEyMGM4MWZiNGIzZWQxYTczYzVhNjhmNWMx
60
- OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVR1ZSwgMjQt
61
- SmFuLTIwMjMgMjM6MzM6MzUgR01UOyBzZWN1cmU7IEh0dHBPbmx5
62
- !binary "U3RhdHVz":
63
- - !binary |-
64
- MjAxIENyZWF0ZWQ=
65
- !binary "WC1SdW50aW1l":
66
- - !binary |-
67
- MC4xMDQ0NjI=
68
- !binary "WC1VYS1Db21wYXRpYmxl":
69
- - !binary |-
70
- SUU9RWRnZSxjaHJvbWU9MQ==
71
- !binary "Q29udGVudC1MZW5ndGg=":
72
- - !binary |-
73
- MTgy
74
- !binary "Q29ubmVjdGlvbg==":
75
- - !binary |-
76
- a2VlcC1hbGl2ZQ==
77
- body:
78
- encoding: ASCII-8BIT
79
- string: !binary |-
80
- eyJ1cmwiOiJodHRwOi8vZmlsZXMucGFyc2UuY29tLzM3MmZjYmI5LTdlYWUt
81
- NGI5YS1hYmM4LTZkYTk3ZmNhYzUwZC8zZWIzYTE0YS0zNjYzLTQ4MDMtOWNh
82
- Yy1jNjc5Zjc2ZjY1Y2QtaGVsbG9fdGVzdC50eHQiLCJuYW1lIjoiM2ViM2Ex
83
- NGEtMzY2My00ODAzLTljYWMtYzY3OWY3NmY2NWNkLWhlbGxvX3Rlc3QudHh0
84
- In0=
85
- http_version:
86
- recorded_at: Thu, 24 Jan 2013 23:33:35 GMT
87
- recorded_with: VCR 2.0.1