uploadcare-rails 1.2.0.pre.alpha3 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uploadcare/rails/version.rb +1 -1
- data/spec/cassettes/Uploadcare_Rails_File/should_load_itself.yml +156 -0
- data/spec/cassettes/Uploadcare_Rails_Group/group_should_stay_loaded.yml +156 -0
- data/spec/cassettes/Uploadcare_Rails_Group/rails_cache_should_updates_after_load_call.yml +156 -0
- data/spec/cassettes/group_cahsing_file_load.yml +156 -0
- data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/deletes_file_after_destroy.yml +480 -0
- data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/stores_file_after_save.yml +162 -0
- data/spec/cassettes/has_uploadcare_group/object_attachment/contains_files_inside.yml +156 -0
- data/spec/cassettes/has_uploadcare_group_save.yml +162 -0
- data/spec/cassettes/load_group.yml +156 -0
- data/spec/dummy/config/boot.rb +0 -1
- data/spec/dummy/log/test.log +126 -2850
- data/spec/dummy/tmp/cache/457/D71/https%3A%2F%2Fucarecdn.com%2F04058c13-549a-495a-bab8-83a5deaae0a0%7E2%2F +0 -0
- data/spec/dummy/tmp/cache/49B/481/https%3A%2F%2Fucarecdn.com%2F2d40a7e9-bab4-446d-8d7a-b9fc5438c04c%7E2%2F +0 -0
- data/spec/spec_helper.rb +0 -1
- metadata +8 -28
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/tmp/cache/293/091/https%3A%2F%2Fucarecdn.com%2F19073296-2315-4726-817b-46398b2c7431%7E2%2F +0 -0
- data/spec/dummy/tmp/cache/2AF/761/https%3A%2F%2Fucarecdn.com%2F595319d0-a113-459f-91bd-b29c7183467b%2F +0 -0
- data/spec/dummy/tmp/cache/301/D41/https%3A%2F%2Fucarecdn.com%2F81332043-fa2c-452f-936b-737d87ab2ae2%2F +0 -0
- data/spec/dummy/tmp/cache/30A/7C1/https%3A%2F%2Fucarecdn.com%2F39b34128-a001-46fd-9773-1b6ad46e6b9e%2F +0 -0
- data/spec/dummy/tmp/cache/340/A41/https%3A%2F%2Fucarecdn.com%2F090bcb5f-6d19-456c-b4a3-d753e690926f%2F +0 -0
- data/spec/dummy/tmp/cache/3AB/5A1/https%3A%2F%2Fucarecdn.com%2F7eb0161b-cebe-4316-946b-694de6f77ef9%2F +0 -0
- data/spec/dummy/tmp/cache/3FC/5C1/https%3A%2F%2Fucarecdn.com%2Fc3f0464b-ce9a-4281-8eaa-5c55783ccedf%2F +0 -0
- data/spec/dummy/tmp/cache/431/5C1/https%3A%2F%2Fucarecdn.com%2Fa1b1bb40-bd89-4f9c-b809-e84920f24a01%7E2%2F +0 -0
- data/spec/dummy/tmp/cache/44B/7A1/https%3A%2F%2Fucarecdn.com%2Fd6c785a8-9761-4602-88de-65ddb04ddc6a%7E2%2F +0 -0
- data/spec/dummy/tmp/cache/45B/F31/https%3A%2F%2Fucarecdn.com%2F73e3cdbc-6495-4cf2-bbd1-413e6cb70004%7E2%2F +0 -0
- data/spec/dummy/tmp/cache/461/AA1/https%3A%2F%2Fucarecdn.com%2Fc50e9a53-0b95-48ac-a4a9-6744052dbdab%7E2%2F +0 -0
@@ -260,4 +260,160 @@ http_interactions:
|
|
260
260
|
string: '{"id":"19073296-2315-4726-817b-46398b2c7431~2","datetime_created":"2018-05-28T19:05:04.518599Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/19073296-2315-4726-817b-46398b2c7431~2/","url":"https://api.uploadcare.com/groups/19073296-2315-4726-817b-46398b2c7431~2/","files":[{"datetime_removed":null,"datetime_stored":null,"datetime_uploaded":"2018-05-28T19:05:02.297907Z","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"is_image":true,"is_ready":true,"mime_type":"image/jpeg","original_file_url":"https://ucarecdn.com/42627fa0-e88e-4055-b8ed-98e6a9500737/view2.jpg","original_filename":"view2.jpg","size":255570,"url":"https://api.uploadcare.com/files/42627fa0-e88e-4055-b8ed-98e6a9500737/","uuid":"42627fa0-e88e-4055-b8ed-98e6a9500737","source":null,"default_effects":""},{"datetime_removed":null,"datetime_stored":null,"datetime_uploaded":"2018-05-28T19:05:02.352341Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/1ee9aaa7-2aba-4700-9aa5-ce88cf95085b/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/1ee9aaa7-2aba-4700-9aa5-ce88cf95085b/","uuid":"1ee9aaa7-2aba-4700-9aa5-ce88cf95085b","source":null,"default_effects":""}]}'
|
261
261
|
http_version:
|
262
262
|
recorded_at: Mon, 28 May 2018 19:05:08 GMT
|
263
|
+
- request:
|
264
|
+
method: get
|
265
|
+
uri: https://api.uploadcare.com/groups/d35a4f57-71e6-447e-8143-0912fd1f0f59~2/
|
266
|
+
body:
|
267
|
+
encoding: US-ASCII
|
268
|
+
string: ''
|
269
|
+
headers:
|
270
|
+
Accept:
|
271
|
+
- application/vnd.uploadcare-v0.3+json
|
272
|
+
User-Agent:
|
273
|
+
- UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
|
274
|
+
Date:
|
275
|
+
- Sat, 02 Jun 2018 18:31:00 -0000
|
276
|
+
Authorization:
|
277
|
+
- Uploadcare demopublickey:1b9cd6f1502e5aba90974a080c7e306e171ace9f
|
278
|
+
Accept-Encoding:
|
279
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
280
|
+
response:
|
281
|
+
status:
|
282
|
+
code: 200
|
283
|
+
message: OK
|
284
|
+
headers:
|
285
|
+
Date:
|
286
|
+
- Sat, 02 Jun 2018 18:31:02 GMT
|
287
|
+
Content-Type:
|
288
|
+
- application/vnd.uploadcare-v0.3+json
|
289
|
+
Content-Length:
|
290
|
+
- '1461'
|
291
|
+
Connection:
|
292
|
+
- keep-alive
|
293
|
+
Server:
|
294
|
+
- nginx
|
295
|
+
X-Xss-Protection:
|
296
|
+
- 1; mode=block
|
297
|
+
X-Content-Type-Options:
|
298
|
+
- nosniff
|
299
|
+
Vary:
|
300
|
+
- Accept
|
301
|
+
Warning:
|
302
|
+
- '199 Miscellaneous warning: You are using the demo account; Please use API
|
303
|
+
version 0.5, not 0.3'
|
304
|
+
Allow:
|
305
|
+
- GET, HEAD, OPTIONS
|
306
|
+
Access-Control-Allow-Origin:
|
307
|
+
- https://uploadcare.com
|
308
|
+
X-Frame-Options:
|
309
|
+
- SAMEORIGIN
|
310
|
+
body:
|
311
|
+
encoding: UTF-8
|
312
|
+
string: '{"id":"d35a4f57-71e6-447e-8143-0912fd1f0f59~2","datetime_created":"2018-06-02T18:30:55.386068Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/d35a4f57-71e6-447e-8143-0912fd1f0f59~2/","url":"https://api.uploadcare.com/groups/d35a4f57-71e6-447e-8143-0912fd1f0f59~2/","files":[{"datetime_removed":null,"datetime_stored":null,"datetime_uploaded":"2018-06-02T18:30:53.594401Z","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"is_image":true,"is_ready":true,"mime_type":"image/jpeg","original_file_url":"https://ucarecdn.com/f3bbea1d-42d8-4564-a64f-4a72433aba0a/view2.jpg","original_filename":"view2.jpg","size":255570,"url":"https://api.uploadcare.com/files/f3bbea1d-42d8-4564-a64f-4a72433aba0a/","uuid":"f3bbea1d-42d8-4564-a64f-4a72433aba0a","source":null,"default_effects":""},{"datetime_removed":null,"datetime_stored":null,"datetime_uploaded":"2018-06-02T18:30:53.619984Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/fd3af95e-77a7-403b-abeb-9296c9e6969f/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/fd3af95e-77a7-403b-abeb-9296c9e6969f/","uuid":"fd3af95e-77a7-403b-abeb-9296c9e6969f","source":null,"default_effects":""}]}'
|
313
|
+
http_version:
|
314
|
+
recorded_at: Sat, 02 Jun 2018 18:31:02 GMT
|
315
|
+
- request:
|
316
|
+
method: get
|
317
|
+
uri: https://api.uploadcare.com/groups/04058c13-549a-495a-bab8-83a5deaae0a0~2/
|
318
|
+
body:
|
319
|
+
encoding: US-ASCII
|
320
|
+
string: ''
|
321
|
+
headers:
|
322
|
+
Accept:
|
323
|
+
- application/vnd.uploadcare-v0.3+json
|
324
|
+
User-Agent:
|
325
|
+
- UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
|
326
|
+
Date:
|
327
|
+
- Sat, 02 Jun 2018 18:34:59 -0000
|
328
|
+
Authorization:
|
329
|
+
- Uploadcare demopublickey:3ef44135c8ba0efd6fee51873446b72d4060ad9a
|
330
|
+
Accept-Encoding:
|
331
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
332
|
+
response:
|
333
|
+
status:
|
334
|
+
code: 200
|
335
|
+
message: OK
|
336
|
+
headers:
|
337
|
+
Date:
|
338
|
+
- Sat, 02 Jun 2018 18:35:00 GMT
|
339
|
+
Content-Type:
|
340
|
+
- application/vnd.uploadcare-v0.3+json
|
341
|
+
Content-Length:
|
342
|
+
- '1461'
|
343
|
+
Connection:
|
344
|
+
- keep-alive
|
345
|
+
Server:
|
346
|
+
- nginx
|
347
|
+
X-Xss-Protection:
|
348
|
+
- 1; mode=block
|
349
|
+
X-Content-Type-Options:
|
350
|
+
- nosniff
|
351
|
+
Vary:
|
352
|
+
- Accept
|
353
|
+
Warning:
|
354
|
+
- '199 Miscellaneous warning: You are using the demo account; Please use API
|
355
|
+
version 0.5, not 0.3'
|
356
|
+
Allow:
|
357
|
+
- GET, HEAD, OPTIONS
|
358
|
+
Access-Control-Allow-Origin:
|
359
|
+
- https://uploadcare.com
|
360
|
+
X-Frame-Options:
|
361
|
+
- SAMEORIGIN
|
362
|
+
body:
|
363
|
+
encoding: UTF-8
|
364
|
+
string: '{"id":"04058c13-549a-495a-bab8-83a5deaae0a0~2","datetime_created":"2018-06-02T18:34:54.305546Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/04058c13-549a-495a-bab8-83a5deaae0a0~2/","url":"https://api.uploadcare.com/groups/04058c13-549a-495a-bab8-83a5deaae0a0~2/","files":[{"datetime_removed":null,"datetime_stored":null,"datetime_uploaded":"2018-06-02T18:34:52.263294Z","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"is_image":true,"is_ready":true,"mime_type":"image/jpeg","original_file_url":"https://ucarecdn.com/36e223f9-9fc6-4283-9245-34a4a690379a/view2.jpg","original_filename":"view2.jpg","size":255570,"url":"https://api.uploadcare.com/files/36e223f9-9fc6-4283-9245-34a4a690379a/","uuid":"36e223f9-9fc6-4283-9245-34a4a690379a","source":null,"default_effects":""},{"datetime_removed":null,"datetime_stored":null,"datetime_uploaded":"2018-06-02T18:34:52.306599Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/1dacbb47-491d-42e2-83a7-38534f4da7a6/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/1dacbb47-491d-42e2-83a7-38534f4da7a6/","uuid":"1dacbb47-491d-42e2-83a7-38534f4da7a6","source":null,"default_effects":""}]}'
|
365
|
+
http_version:
|
366
|
+
recorded_at: Sat, 02 Jun 2018 18:35:00 GMT
|
367
|
+
- request:
|
368
|
+
method: get
|
369
|
+
uri: https://api.uploadcare.com/groups/2d40a7e9-bab4-446d-8d7a-b9fc5438c04c~2/
|
370
|
+
body:
|
371
|
+
encoding: US-ASCII
|
372
|
+
string: ''
|
373
|
+
headers:
|
374
|
+
Accept:
|
375
|
+
- application/vnd.uploadcare-v0.3+json
|
376
|
+
User-Agent:
|
377
|
+
- UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
|
378
|
+
Date:
|
379
|
+
- Sat, 02 Jun 2018 18:39:19 -0000
|
380
|
+
Authorization:
|
381
|
+
- Uploadcare demopublickey:6364bfb335835c95208dfeea5b867bd17b6ce4e8
|
382
|
+
Accept-Encoding:
|
383
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
384
|
+
response:
|
385
|
+
status:
|
386
|
+
code: 200
|
387
|
+
message: OK
|
388
|
+
headers:
|
389
|
+
Date:
|
390
|
+
- Sat, 02 Jun 2018 18:39:21 GMT
|
391
|
+
Content-Type:
|
392
|
+
- application/vnd.uploadcare-v0.3+json
|
393
|
+
Content-Length:
|
394
|
+
- '1461'
|
395
|
+
Connection:
|
396
|
+
- keep-alive
|
397
|
+
Server:
|
398
|
+
- nginx
|
399
|
+
X-Xss-Protection:
|
400
|
+
- 1; mode=block
|
401
|
+
X-Content-Type-Options:
|
402
|
+
- nosniff
|
403
|
+
Vary:
|
404
|
+
- Accept
|
405
|
+
Warning:
|
406
|
+
- '199 Miscellaneous warning: You are using the demo account; Please use API
|
407
|
+
version 0.5, not 0.3'
|
408
|
+
Allow:
|
409
|
+
- GET, HEAD, OPTIONS
|
410
|
+
Access-Control-Allow-Origin:
|
411
|
+
- https://uploadcare.com
|
412
|
+
X-Frame-Options:
|
413
|
+
- SAMEORIGIN
|
414
|
+
body:
|
415
|
+
encoding: UTF-8
|
416
|
+
string: '{"id":"2d40a7e9-bab4-446d-8d7a-b9fc5438c04c~2","datetime_created":"2018-06-02T18:39:14.607820Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/2d40a7e9-bab4-446d-8d7a-b9fc5438c04c~2/","url":"https://api.uploadcare.com/groups/2d40a7e9-bab4-446d-8d7a-b9fc5438c04c~2/","files":[{"datetime_removed":null,"datetime_stored":null,"datetime_uploaded":"2018-06-02T18:39:13.011872Z","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"is_image":true,"is_ready":true,"mime_type":"image/jpeg","original_file_url":"https://ucarecdn.com/2ce44dbc-e38f-4601-afb1-c6b4b36bc57b/view2.jpg","original_filename":"view2.jpg","size":255570,"url":"https://api.uploadcare.com/files/2ce44dbc-e38f-4601-afb1-c6b4b36bc57b/","uuid":"2ce44dbc-e38f-4601-afb1-c6b4b36bc57b","source":null,"default_effects":""},{"datetime_removed":null,"datetime_stored":null,"datetime_uploaded":"2018-06-02T18:39:13.032614Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/61ab6222-418f-4239-b8ae-7ce94a6170fa/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/61ab6222-418f-4239-b8ae-7ce94a6170fa/","uuid":"61ab6222-418f-4239-b8ae-7ce94a6170fa","source":null,"default_effects":""}]}'
|
417
|
+
http_version:
|
418
|
+
recorded_at: Sat, 02 Jun 2018 18:39:21 GMT
|
263
419
|
recorded_with: VCR 4.0.0
|
data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/deletes_file_after_destroy.yml
CHANGED
@@ -1760,4 +1760,484 @@ http_interactions:
|
|
1760
1760
|
string: '{"datetime_removed":"2018-05-28T19:05:16.266562Z","datetime_stored":null,"datetime_uploaded":"2018-05-28T19:04:57.151416Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":null,"original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/d3595e70-e488-451c-a21b-11424cea46d2/","uuid":"d3595e70-e488-451c-a21b-11424cea46d2","source":null}'
|
1761
1761
|
http_version:
|
1762
1762
|
recorded_at: Mon, 28 May 2018 19:05:17 GMT
|
1763
|
+
- request:
|
1764
|
+
method: put
|
1765
|
+
uri: https://api.uploadcare.com/files/a3b7b908-1007-4485-9cf4-8589f9247956/storage/
|
1766
|
+
body:
|
1767
|
+
encoding: UTF-8
|
1768
|
+
string: ''
|
1769
|
+
headers:
|
1770
|
+
Accept:
|
1771
|
+
- application/vnd.uploadcare-v0.3+json
|
1772
|
+
User-Agent:
|
1773
|
+
- UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
|
1774
|
+
Content-Type:
|
1775
|
+
- application/x-www-form-urlencoded
|
1776
|
+
Date:
|
1777
|
+
- Sat, 02 Jun 2018 18:31:04 -0000
|
1778
|
+
Authorization:
|
1779
|
+
- Uploadcare demopublickey:d19539cb824fdc3746aa6bc64df37d14b58d2a77
|
1780
|
+
Accept-Encoding:
|
1781
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1782
|
+
response:
|
1783
|
+
status:
|
1784
|
+
code: 200
|
1785
|
+
message: OK
|
1786
|
+
headers:
|
1787
|
+
Date:
|
1788
|
+
- Sat, 02 Jun 2018 18:31:06 GMT
|
1789
|
+
Content-Type:
|
1790
|
+
- application/vnd.uploadcare-v0.3+json
|
1791
|
+
Content-Length:
|
1792
|
+
- '580'
|
1793
|
+
Connection:
|
1794
|
+
- keep-alive
|
1795
|
+
Server:
|
1796
|
+
- nginx
|
1797
|
+
X-Xss-Protection:
|
1798
|
+
- 1; mode=block
|
1799
|
+
X-Content-Type-Options:
|
1800
|
+
- nosniff
|
1801
|
+
Vary:
|
1802
|
+
- Accept
|
1803
|
+
Warning:
|
1804
|
+
- '199 Miscellaneous warning: You are using the demo account; Please use API
|
1805
|
+
version 0.5, not 0.3'
|
1806
|
+
Allow:
|
1807
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
1808
|
+
Access-Control-Allow-Origin:
|
1809
|
+
- https://uploadcare.com
|
1810
|
+
X-Frame-Options:
|
1811
|
+
- SAMEORIGIN
|
1812
|
+
body:
|
1813
|
+
encoding: UTF-8
|
1814
|
+
string: '{"datetime_removed":null,"datetime_stored":"2018-06-02T18:31:04.519291Z","datetime_uploaded":"2018-06-02T18:30:47.949807Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/a3b7b908-1007-4485-9cf4-8589f9247956/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/a3b7b908-1007-4485-9cf4-8589f9247956/","uuid":"a3b7b908-1007-4485-9cf4-8589f9247956","source":null}'
|
1815
|
+
http_version:
|
1816
|
+
recorded_at: Sat, 02 Jun 2018 18:31:06 GMT
|
1817
|
+
- request:
|
1818
|
+
method: delete
|
1819
|
+
uri: https://api.uploadcare.com/files/a3b7b908-1007-4485-9cf4-8589f9247956/storage/
|
1820
|
+
body:
|
1821
|
+
encoding: US-ASCII
|
1822
|
+
string: ''
|
1823
|
+
headers:
|
1824
|
+
Accept:
|
1825
|
+
- application/vnd.uploadcare-v0.3+json
|
1826
|
+
User-Agent:
|
1827
|
+
- UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
|
1828
|
+
Date:
|
1829
|
+
- Sat, 02 Jun 2018 18:31:06 -0000
|
1830
|
+
Authorization:
|
1831
|
+
- Uploadcare demopublickey:0bfc4a3ca79a6faf58bb8f567105eb6657148e32
|
1832
|
+
Accept-Encoding:
|
1833
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1834
|
+
response:
|
1835
|
+
status:
|
1836
|
+
code: 302
|
1837
|
+
message: Found
|
1838
|
+
headers:
|
1839
|
+
Date:
|
1840
|
+
- Sat, 02 Jun 2018 18:31:07 GMT
|
1841
|
+
Content-Type:
|
1842
|
+
- text/html; charset=utf-8
|
1843
|
+
Content-Length:
|
1844
|
+
- '0'
|
1845
|
+
Connection:
|
1846
|
+
- keep-alive
|
1847
|
+
Server:
|
1848
|
+
- nginx
|
1849
|
+
X-Xss-Protection:
|
1850
|
+
- 1; mode=block
|
1851
|
+
X-Content-Type-Options:
|
1852
|
+
- nosniff
|
1853
|
+
Vary:
|
1854
|
+
- Accept
|
1855
|
+
Warning:
|
1856
|
+
- '199 Miscellaneous warning: You are using the demo account; Please use API
|
1857
|
+
version 0.5, not 0.3'
|
1858
|
+
Location:
|
1859
|
+
- "/files/a3b7b908-1007-4485-9cf4-8589f9247956/"
|
1860
|
+
Allow:
|
1861
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
1862
|
+
Access-Control-Allow-Origin:
|
1863
|
+
- https://uploadcare.com
|
1864
|
+
X-Frame-Options:
|
1865
|
+
- SAMEORIGIN
|
1866
|
+
body:
|
1867
|
+
encoding: UTF-8
|
1868
|
+
string: ''
|
1869
|
+
http_version:
|
1870
|
+
recorded_at: Sat, 02 Jun 2018 18:31:08 GMT
|
1871
|
+
- request:
|
1872
|
+
method: get
|
1873
|
+
uri: https://api.uploadcare.com/files/a3b7b908-1007-4485-9cf4-8589f9247956/
|
1874
|
+
body:
|
1875
|
+
encoding: US-ASCII
|
1876
|
+
string: ''
|
1877
|
+
headers:
|
1878
|
+
Accept:
|
1879
|
+
- application/vnd.uploadcare-v0.3+json
|
1880
|
+
User-Agent:
|
1881
|
+
- UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
|
1882
|
+
Date:
|
1883
|
+
- Sat, 02 Jun 2018 18:31:08 -0000
|
1884
|
+
Authorization:
|
1885
|
+
- Uploadcare demopublickey:3ef2ea7c45a79f7e7adfe1895973a4479db3e34a
|
1886
|
+
Accept-Encoding:
|
1887
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1888
|
+
response:
|
1889
|
+
status:
|
1890
|
+
code: 200
|
1891
|
+
message: OK
|
1892
|
+
headers:
|
1893
|
+
Date:
|
1894
|
+
- Sat, 02 Jun 2018 18:31:09 GMT
|
1895
|
+
Content-Type:
|
1896
|
+
- application/vnd.uploadcare-v0.3+json
|
1897
|
+
Content-Length:
|
1898
|
+
- '516'
|
1899
|
+
Connection:
|
1900
|
+
- keep-alive
|
1901
|
+
Server:
|
1902
|
+
- nginx
|
1903
|
+
X-Xss-Protection:
|
1904
|
+
- 1; mode=block
|
1905
|
+
X-Content-Type-Options:
|
1906
|
+
- nosniff
|
1907
|
+
Vary:
|
1908
|
+
- Accept
|
1909
|
+
Warning:
|
1910
|
+
- '199 Miscellaneous warning: You are using the demo account; Please use API
|
1911
|
+
version 0.5, not 0.3'
|
1912
|
+
Allow:
|
1913
|
+
- GET, DELETE, HEAD, OPTIONS
|
1914
|
+
Access-Control-Allow-Origin:
|
1915
|
+
- https://uploadcare.com
|
1916
|
+
X-Frame-Options:
|
1917
|
+
- SAMEORIGIN
|
1918
|
+
body:
|
1919
|
+
encoding: UTF-8
|
1920
|
+
string: '{"datetime_removed":"2018-06-02T18:31:07.771166Z","datetime_stored":null,"datetime_uploaded":"2018-06-02T18:30:47.949807Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":null,"original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/a3b7b908-1007-4485-9cf4-8589f9247956/","uuid":"a3b7b908-1007-4485-9cf4-8589f9247956","source":null}'
|
1921
|
+
http_version:
|
1922
|
+
recorded_at: Sat, 02 Jun 2018 18:31:09 GMT
|
1923
|
+
- request:
|
1924
|
+
method: put
|
1925
|
+
uri: https://api.uploadcare.com/files/7b4a1a96-ebba-4d41-98cc-477af78d9965/storage/
|
1926
|
+
body:
|
1927
|
+
encoding: UTF-8
|
1928
|
+
string: ''
|
1929
|
+
headers:
|
1930
|
+
Accept:
|
1931
|
+
- application/vnd.uploadcare-v0.3+json
|
1932
|
+
User-Agent:
|
1933
|
+
- UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
|
1934
|
+
Content-Type:
|
1935
|
+
- application/x-www-form-urlencoded
|
1936
|
+
Date:
|
1937
|
+
- Sat, 02 Jun 2018 18:35:03 -0000
|
1938
|
+
Authorization:
|
1939
|
+
- Uploadcare demopublickey:bb72e7d7238adcff440bb4d2680b542aa2329bec
|
1940
|
+
Accept-Encoding:
|
1941
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1942
|
+
response:
|
1943
|
+
status:
|
1944
|
+
code: 200
|
1945
|
+
message: OK
|
1946
|
+
headers:
|
1947
|
+
Date:
|
1948
|
+
- Sat, 02 Jun 2018 18:35:04 GMT
|
1949
|
+
Content-Type:
|
1950
|
+
- application/vnd.uploadcare-v0.3+json
|
1951
|
+
Content-Length:
|
1952
|
+
- '580'
|
1953
|
+
Connection:
|
1954
|
+
- keep-alive
|
1955
|
+
Server:
|
1956
|
+
- nginx
|
1957
|
+
X-Xss-Protection:
|
1958
|
+
- 1; mode=block
|
1959
|
+
X-Content-Type-Options:
|
1960
|
+
- nosniff
|
1961
|
+
Vary:
|
1962
|
+
- Accept
|
1963
|
+
Warning:
|
1964
|
+
- '199 Miscellaneous warning: You are using the demo account; Please use API
|
1965
|
+
version 0.5, not 0.3'
|
1966
|
+
Allow:
|
1967
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
1968
|
+
Access-Control-Allow-Origin:
|
1969
|
+
- https://uploadcare.com
|
1970
|
+
X-Frame-Options:
|
1971
|
+
- SAMEORIGIN
|
1972
|
+
body:
|
1973
|
+
encoding: UTF-8
|
1974
|
+
string: '{"datetime_removed":null,"datetime_stored":"2018-06-02T18:35:02.116805Z","datetime_uploaded":"2018-06-02T18:34:43.433191Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/7b4a1a96-ebba-4d41-98cc-477af78d9965/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/7b4a1a96-ebba-4d41-98cc-477af78d9965/","uuid":"7b4a1a96-ebba-4d41-98cc-477af78d9965","source":null}'
|
1975
|
+
http_version:
|
1976
|
+
recorded_at: Sat, 02 Jun 2018 18:35:04 GMT
|
1977
|
+
- request:
|
1978
|
+
method: delete
|
1979
|
+
uri: https://api.uploadcare.com/files/7b4a1a96-ebba-4d41-98cc-477af78d9965/storage/
|
1980
|
+
body:
|
1981
|
+
encoding: US-ASCII
|
1982
|
+
string: ''
|
1983
|
+
headers:
|
1984
|
+
Accept:
|
1985
|
+
- application/vnd.uploadcare-v0.3+json
|
1986
|
+
User-Agent:
|
1987
|
+
- UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
|
1988
|
+
Date:
|
1989
|
+
- Sat, 02 Jun 2018 18:35:04 -0000
|
1990
|
+
Authorization:
|
1991
|
+
- Uploadcare demopublickey:e91c6fb1a9ea76dfab08d72cd451b0799909842a
|
1992
|
+
Accept-Encoding:
|
1993
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1994
|
+
response:
|
1995
|
+
status:
|
1996
|
+
code: 302
|
1997
|
+
message: Found
|
1998
|
+
headers:
|
1999
|
+
Date:
|
2000
|
+
- Sat, 02 Jun 2018 18:35:06 GMT
|
2001
|
+
Content-Type:
|
2002
|
+
- text/html; charset=utf-8
|
2003
|
+
Content-Length:
|
2004
|
+
- '0'
|
2005
|
+
Connection:
|
2006
|
+
- keep-alive
|
2007
|
+
Server:
|
2008
|
+
- nginx
|
2009
|
+
X-Xss-Protection:
|
2010
|
+
- 1; mode=block
|
2011
|
+
X-Content-Type-Options:
|
2012
|
+
- nosniff
|
2013
|
+
Vary:
|
2014
|
+
- Accept
|
2015
|
+
Warning:
|
2016
|
+
- '199 Miscellaneous warning: You are using the demo account; Please use API
|
2017
|
+
version 0.5, not 0.3'
|
2018
|
+
Location:
|
2019
|
+
- "/files/7b4a1a96-ebba-4d41-98cc-477af78d9965/"
|
2020
|
+
Allow:
|
2021
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
2022
|
+
Access-Control-Allow-Origin:
|
2023
|
+
- https://uploadcare.com
|
2024
|
+
X-Frame-Options:
|
2025
|
+
- SAMEORIGIN
|
2026
|
+
body:
|
2027
|
+
encoding: UTF-8
|
2028
|
+
string: ''
|
2029
|
+
http_version:
|
2030
|
+
recorded_at: Sat, 02 Jun 2018 18:35:06 GMT
|
2031
|
+
- request:
|
2032
|
+
method: get
|
2033
|
+
uri: https://api.uploadcare.com/files/7b4a1a96-ebba-4d41-98cc-477af78d9965/
|
2034
|
+
body:
|
2035
|
+
encoding: US-ASCII
|
2036
|
+
string: ''
|
2037
|
+
headers:
|
2038
|
+
Accept:
|
2039
|
+
- application/vnd.uploadcare-v0.3+json
|
2040
|
+
User-Agent:
|
2041
|
+
- UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
|
2042
|
+
Date:
|
2043
|
+
- Sat, 02 Jun 2018 18:35:06 -0000
|
2044
|
+
Authorization:
|
2045
|
+
- Uploadcare demopublickey:b78cf2999896eb25f2061a612f46eb9a46882d2a
|
2046
|
+
Accept-Encoding:
|
2047
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
2048
|
+
response:
|
2049
|
+
status:
|
2050
|
+
code: 200
|
2051
|
+
message: OK
|
2052
|
+
headers:
|
2053
|
+
Date:
|
2054
|
+
- Sat, 02 Jun 2018 18:35:08 GMT
|
2055
|
+
Content-Type:
|
2056
|
+
- application/vnd.uploadcare-v0.3+json
|
2057
|
+
Content-Length:
|
2058
|
+
- '516'
|
2059
|
+
Connection:
|
2060
|
+
- keep-alive
|
2061
|
+
Server:
|
2062
|
+
- nginx
|
2063
|
+
X-Xss-Protection:
|
2064
|
+
- 1; mode=block
|
2065
|
+
X-Content-Type-Options:
|
2066
|
+
- nosniff
|
2067
|
+
Vary:
|
2068
|
+
- Accept
|
2069
|
+
Warning:
|
2070
|
+
- '199 Miscellaneous warning: You are using the demo account; Please use API
|
2071
|
+
version 0.5, not 0.3'
|
2072
|
+
Allow:
|
2073
|
+
- GET, DELETE, HEAD, OPTIONS
|
2074
|
+
Access-Control-Allow-Origin:
|
2075
|
+
- https://uploadcare.com
|
2076
|
+
X-Frame-Options:
|
2077
|
+
- SAMEORIGIN
|
2078
|
+
body:
|
2079
|
+
encoding: UTF-8
|
2080
|
+
string: '{"datetime_removed":"2018-06-02T18:35:05.687351Z","datetime_stored":null,"datetime_uploaded":"2018-06-02T18:34:43.433191Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":null,"original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/7b4a1a96-ebba-4d41-98cc-477af78d9965/","uuid":"7b4a1a96-ebba-4d41-98cc-477af78d9965","source":null}'
|
2081
|
+
http_version:
|
2082
|
+
recorded_at: Sat, 02 Jun 2018 18:35:08 GMT
|
2083
|
+
- request:
|
2084
|
+
method: put
|
2085
|
+
uri: https://api.uploadcare.com/files/760f249c-77d2-4952-8b7b-f1ca23daf3f4/storage/
|
2086
|
+
body:
|
2087
|
+
encoding: UTF-8
|
2088
|
+
string: ''
|
2089
|
+
headers:
|
2090
|
+
Accept:
|
2091
|
+
- application/vnd.uploadcare-v0.3+json
|
2092
|
+
User-Agent:
|
2093
|
+
- UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
|
2094
|
+
Content-Type:
|
2095
|
+
- application/x-www-form-urlencoded
|
2096
|
+
Date:
|
2097
|
+
- Sat, 02 Jun 2018 18:39:23 -0000
|
2098
|
+
Authorization:
|
2099
|
+
- Uploadcare demopublickey:eb96543a43f7b7ff53c3251999e6c1fd99b9a2ac
|
2100
|
+
Accept-Encoding:
|
2101
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
2102
|
+
response:
|
2103
|
+
status:
|
2104
|
+
code: 200
|
2105
|
+
message: OK
|
2106
|
+
headers:
|
2107
|
+
Date:
|
2108
|
+
- Sat, 02 Jun 2018 18:39:25 GMT
|
2109
|
+
Content-Type:
|
2110
|
+
- application/vnd.uploadcare-v0.3+json
|
2111
|
+
Content-Length:
|
2112
|
+
- '580'
|
2113
|
+
Connection:
|
2114
|
+
- keep-alive
|
2115
|
+
Server:
|
2116
|
+
- nginx
|
2117
|
+
X-Xss-Protection:
|
2118
|
+
- 1; mode=block
|
2119
|
+
X-Content-Type-Options:
|
2120
|
+
- nosniff
|
2121
|
+
Vary:
|
2122
|
+
- Accept
|
2123
|
+
Warning:
|
2124
|
+
- '199 Miscellaneous warning: You are using the demo account; Please use API
|
2125
|
+
version 0.5, not 0.3'
|
2126
|
+
Allow:
|
2127
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
2128
|
+
Access-Control-Allow-Origin:
|
2129
|
+
- https://uploadcare.com
|
2130
|
+
X-Frame-Options:
|
2131
|
+
- SAMEORIGIN
|
2132
|
+
body:
|
2133
|
+
encoding: UTF-8
|
2134
|
+
string: '{"datetime_removed":null,"datetime_stored":"2018-06-02T18:39:23.493745Z","datetime_uploaded":"2018-06-02T18:39:05.125522Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/760f249c-77d2-4952-8b7b-f1ca23daf3f4/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/760f249c-77d2-4952-8b7b-f1ca23daf3f4/","uuid":"760f249c-77d2-4952-8b7b-f1ca23daf3f4","source":null}'
|
2135
|
+
http_version:
|
2136
|
+
recorded_at: Sat, 02 Jun 2018 18:39:25 GMT
|
2137
|
+
- request:
|
2138
|
+
method: delete
|
2139
|
+
uri: https://api.uploadcare.com/files/760f249c-77d2-4952-8b7b-f1ca23daf3f4/storage/
|
2140
|
+
body:
|
2141
|
+
encoding: US-ASCII
|
2142
|
+
string: ''
|
2143
|
+
headers:
|
2144
|
+
Accept:
|
2145
|
+
- application/vnd.uploadcare-v0.3+json
|
2146
|
+
User-Agent:
|
2147
|
+
- UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
|
2148
|
+
Date:
|
2149
|
+
- Sat, 02 Jun 2018 18:39:25 -0000
|
2150
|
+
Authorization:
|
2151
|
+
- Uploadcare demopublickey:89bbfc65128776c983a9ccad1011f640aeefe879
|
2152
|
+
Accept-Encoding:
|
2153
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
2154
|
+
response:
|
2155
|
+
status:
|
2156
|
+
code: 302
|
2157
|
+
message: Found
|
2158
|
+
headers:
|
2159
|
+
Date:
|
2160
|
+
- Sat, 02 Jun 2018 18:39:30 GMT
|
2161
|
+
Content-Type:
|
2162
|
+
- text/html; charset=utf-8
|
2163
|
+
Content-Length:
|
2164
|
+
- '0'
|
2165
|
+
Connection:
|
2166
|
+
- keep-alive
|
2167
|
+
Server:
|
2168
|
+
- nginx
|
2169
|
+
X-Xss-Protection:
|
2170
|
+
- 1; mode=block
|
2171
|
+
X-Content-Type-Options:
|
2172
|
+
- nosniff
|
2173
|
+
Vary:
|
2174
|
+
- Accept
|
2175
|
+
Warning:
|
2176
|
+
- '199 Miscellaneous warning: You are using the demo account; Please use API
|
2177
|
+
version 0.5, not 0.3'
|
2178
|
+
Location:
|
2179
|
+
- "/files/760f249c-77d2-4952-8b7b-f1ca23daf3f4/"
|
2180
|
+
Allow:
|
2181
|
+
- GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
|
2182
|
+
Access-Control-Allow-Origin:
|
2183
|
+
- https://uploadcare.com
|
2184
|
+
X-Frame-Options:
|
2185
|
+
- SAMEORIGIN
|
2186
|
+
body:
|
2187
|
+
encoding: UTF-8
|
2188
|
+
string: ''
|
2189
|
+
http_version:
|
2190
|
+
recorded_at: Sat, 02 Jun 2018 18:39:30 GMT
|
2191
|
+
- request:
|
2192
|
+
method: get
|
2193
|
+
uri: https://api.uploadcare.com/files/760f249c-77d2-4952-8b7b-f1ca23daf3f4/
|
2194
|
+
body:
|
2195
|
+
encoding: US-ASCII
|
2196
|
+
string: ''
|
2197
|
+
headers:
|
2198
|
+
Accept:
|
2199
|
+
- application/vnd.uploadcare-v0.3+json
|
2200
|
+
User-Agent:
|
2201
|
+
- UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
|
2202
|
+
Date:
|
2203
|
+
- Sat, 02 Jun 2018 18:39:30 -0000
|
2204
|
+
Authorization:
|
2205
|
+
- Uploadcare demopublickey:67b2c5cf3280ee13c5c2fb59fea6387f2e7a3fcb
|
2206
|
+
Accept-Encoding:
|
2207
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
2208
|
+
response:
|
2209
|
+
status:
|
2210
|
+
code: 200
|
2211
|
+
message: OK
|
2212
|
+
headers:
|
2213
|
+
Date:
|
2214
|
+
- Sat, 02 Jun 2018 18:39:31 GMT
|
2215
|
+
Content-Type:
|
2216
|
+
- application/vnd.uploadcare-v0.3+json
|
2217
|
+
Content-Length:
|
2218
|
+
- '516'
|
2219
|
+
Connection:
|
2220
|
+
- keep-alive
|
2221
|
+
Server:
|
2222
|
+
- nginx
|
2223
|
+
X-Xss-Protection:
|
2224
|
+
- 1; mode=block
|
2225
|
+
X-Content-Type-Options:
|
2226
|
+
- nosniff
|
2227
|
+
Vary:
|
2228
|
+
- Accept
|
2229
|
+
Warning:
|
2230
|
+
- '199 Miscellaneous warning: You are using the demo account; Please use API
|
2231
|
+
version 0.5, not 0.3'
|
2232
|
+
Allow:
|
2233
|
+
- GET, DELETE, HEAD, OPTIONS
|
2234
|
+
Access-Control-Allow-Origin:
|
2235
|
+
- https://uploadcare.com
|
2236
|
+
X-Frame-Options:
|
2237
|
+
- SAMEORIGIN
|
2238
|
+
body:
|
2239
|
+
encoding: UTF-8
|
2240
|
+
string: '{"datetime_removed":"2018-06-02T18:39:26.466804Z","datetime_stored":null,"datetime_uploaded":"2018-06-02T18:39:05.125522Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":null,"original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/760f249c-77d2-4952-8b7b-f1ca23daf3f4/","uuid":"760f249c-77d2-4952-8b7b-f1ca23daf3f4","source":null}'
|
2241
|
+
http_version:
|
2242
|
+
recorded_at: Sat, 02 Jun 2018 18:39:32 GMT
|
1763
2243
|
recorded_with: VCR 4.0.0
|