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.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/lib/uploadcare/rails/version.rb +1 -1
  3. data/spec/cassettes/Uploadcare_Rails_File/should_load_itself.yml +156 -0
  4. data/spec/cassettes/Uploadcare_Rails_Group/group_should_stay_loaded.yml +156 -0
  5. data/spec/cassettes/Uploadcare_Rails_Group/rails_cache_should_updates_after_load_call.yml +156 -0
  6. data/spec/cassettes/group_cahsing_file_load.yml +156 -0
  7. data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/deletes_file_after_destroy.yml +480 -0
  8. data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/stores_file_after_save.yml +162 -0
  9. data/spec/cassettes/has_uploadcare_group/object_attachment/contains_files_inside.yml +156 -0
  10. data/spec/cassettes/has_uploadcare_group_save.yml +162 -0
  11. data/spec/cassettes/load_group.yml +156 -0
  12. data/spec/dummy/config/boot.rb +0 -1
  13. data/spec/dummy/log/test.log +126 -2850
  14. data/spec/dummy/tmp/cache/457/D71/https%3A%2F%2Fucarecdn.com%2F04058c13-549a-495a-bab8-83a5deaae0a0%7E2%2F +0 -0
  15. data/spec/dummy/tmp/cache/49B/481/https%3A%2F%2Fucarecdn.com%2F2d40a7e9-bab4-446d-8d7a-b9fc5438c04c%7E2%2F +0 -0
  16. data/spec/spec_helper.rb +0 -1
  17. metadata +8 -28
  18. data/spec/dummy/log/development.log +0 -0
  19. data/spec/dummy/tmp/cache/293/091/https%3A%2F%2Fucarecdn.com%2F19073296-2315-4726-817b-46398b2c7431%7E2%2F +0 -0
  20. data/spec/dummy/tmp/cache/2AF/761/https%3A%2F%2Fucarecdn.com%2F595319d0-a113-459f-91bd-b29c7183467b%2F +0 -0
  21. data/spec/dummy/tmp/cache/301/D41/https%3A%2F%2Fucarecdn.com%2F81332043-fa2c-452f-936b-737d87ab2ae2%2F +0 -0
  22. data/spec/dummy/tmp/cache/30A/7C1/https%3A%2F%2Fucarecdn.com%2F39b34128-a001-46fd-9773-1b6ad46e6b9e%2F +0 -0
  23. data/spec/dummy/tmp/cache/340/A41/https%3A%2F%2Fucarecdn.com%2F090bcb5f-6d19-456c-b4a3-d753e690926f%2F +0 -0
  24. data/spec/dummy/tmp/cache/3AB/5A1/https%3A%2F%2Fucarecdn.com%2F7eb0161b-cebe-4316-946b-694de6f77ef9%2F +0 -0
  25. data/spec/dummy/tmp/cache/3FC/5C1/https%3A%2F%2Fucarecdn.com%2Fc3f0464b-ce9a-4281-8eaa-5c55783ccedf%2F +0 -0
  26. data/spec/dummy/tmp/cache/431/5C1/https%3A%2F%2Fucarecdn.com%2Fa1b1bb40-bd89-4f9c-b809-e84920f24a01%7E2%2F +0 -0
  27. data/spec/dummy/tmp/cache/44B/7A1/https%3A%2F%2Fucarecdn.com%2Fd6c785a8-9761-4602-88de-65ddb04ddc6a%7E2%2F +0 -0
  28. data/spec/dummy/tmp/cache/45B/F31/https%3A%2F%2Fucarecdn.com%2F73e3cdbc-6495-4cf2-bbd1-413e6cb70004%7E2%2F +0 -0
  29. data/spec/dummy/tmp/cache/461/AA1/https%3A%2F%2Fucarecdn.com%2Fc50e9a53-0b95-48ac-a4a9-6744052dbdab%7E2%2F +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7292dec43ac2d5199f054ad073d5dabd7033a24e85e4cfa33952bf302de6b6fa
4
- data.tar.gz: a7c9434cf6f436cbe3b17a1db8f81df6465134c47d8df22f32586f07539114a7
3
+ metadata.gz: 0d9f2d61692cc4edb71f8d1b66c75de09718625e8cb439dd66e9ed72a11629a9
4
+ data.tar.gz: d03027c3676fe282067f7c9908631f81c8d64cb1e4e27b6e60c22ec3512ee70c
5
5
  SHA512:
6
- metadata.gz: 4a5753967e2ab5749e2c824f18ed91c6e16cf743dd96f39ec2414cfc9b883610e733793b64ee37c684c1cb0e2b74f5f4be692dfc28f079ce9ba51c145ba07582
7
- data.tar.gz: 6d0299c1278cc42e2ad47bebda40e79719e0efca580390a172367429a0949a4f56be8fbbe9df61ead3d624fe069fbdf1495d68fe6e12c5c53405b3f8654f2ce5
6
+ metadata.gz: 9dbfc28f7a8591be25fea7df4e8b60a21b81d47239b9cf4332aeb6bae6e5eadc8de30b1065348bd894f3e8fdc1f507639b428f6d965ff11eb0ca5ed8e6320a82
7
+ data.tar.gz: 7b0068282e31f49c9c36197a5efd32336ddb1d6938556394c48709ba2320ed9eb32066d57cd8b4cdc01943206dacacce8bf012f4a9b9d13fb4ffad4b7ace695c
@@ -1,5 +1,5 @@
1
1
  module Uploadcare
2
2
  module Rails
3
- VERSION = '1.2.0-alpha3'.freeze
3
+ VERSION = '1.2.0'.freeze
4
4
  end
5
5
  end
@@ -260,4 +260,160 @@ http_interactions:
260
260
  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}'
261
261
  http_version:
262
262
  recorded_at: Mon, 28 May 2018 19:05:27 GMT
263
+ - request:
264
+ method: get
265
+ uri: https://api.uploadcare.com/files/a3b7b908-1007-4485-9cf4-8589f9247956/
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:13 -0000
276
+ Authorization:
277
+ - Uploadcare demopublickey:805f9ce6e697096d96fb492eaa77d23a04866cea
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:15 GMT
287
+ Content-Type:
288
+ - application/vnd.uploadcare-v0.3+json
289
+ Content-Length:
290
+ - '516'
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, DELETE, 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: '{"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}'
313
+ http_version:
314
+ recorded_at: Sat, 02 Jun 2018 18:31:15 GMT
315
+ - request:
316
+ method: get
317
+ uri: https://api.uploadcare.com/files/7b4a1a96-ebba-4d41-98cc-477af78d9965/
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:35:23 -0000
328
+ Authorization:
329
+ - Uploadcare demopublickey:3d9b3d3b1f5ecc461c0bba4800bf7ba35bc4e3a4
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:25 GMT
339
+ Content-Type:
340
+ - application/vnd.uploadcare-v0.3+json
341
+ Content-Length:
342
+ - '516'
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, DELETE, 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: '{"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}'
365
+ http_version:
366
+ recorded_at: Sat, 02 Jun 2018 18:35:25 GMT
367
+ - request:
368
+ method: get
369
+ uri: https://api.uploadcare.com/files/760f249c-77d2-4952-8b7b-f1ca23daf3f4/
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:36 -0000
380
+ Authorization:
381
+ - Uploadcare demopublickey:f627e64630cace12a0eb83ace412bf408e3628a9
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:37 GMT
391
+ Content-Type:
392
+ - application/vnd.uploadcare-v0.3+json
393
+ Content-Length:
394
+ - '516'
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, DELETE, 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: '{"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}'
417
+ http_version:
418
+ recorded_at: Sat, 02 Jun 2018 18:39:38 GMT
263
419
  recorded_with: VCR 4.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:07 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:30:59 -0000
276
+ Authorization:
277
+ - Uploadcare demopublickey:266aaf1015043050b2508ccab2cf077482adc4ae
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:00 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:00 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:57 -0000
328
+ Authorization:
329
+ - Uploadcare demopublickey:deeec6d7a0d0d5f7f0ba0c75ecfb60cc45c09403
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:34:58 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:34:59 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:17 -0000
380
+ Authorization:
381
+ - Uploadcare demopublickey:6791027fa104ca5651cae7323bc90f7abb575ce1
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:18 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:19 GMT
263
419
  recorded_with: VCR 4.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:06 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:30:56 -0000
276
+ Authorization:
277
+ - Uploadcare demopublickey:bb0da5c858c747d0930bb7ad922e769acc5c82b3
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:30:58 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:30:59 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:55 -0000
328
+ Authorization:
329
+ - Uploadcare demopublickey:a035a34c50b58c4da71ac077c978aef823aaccf6
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:34:56 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:34:57 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:15 -0000
380
+ Authorization:
381
+ - Uploadcare demopublickey:7be63ce23795fd0d59c330a34e6bdd8a62e374b9
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:17 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:17 GMT
263
419
  recorded_with: VCR 4.0.0