uploadcare-rails 1.1.1 → 1.2.0.pre.alpha

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/lib/uploadcare-rails.rb +1 -1
  3. data/lib/uploadcare/rails/version.rb +1 -1
  4. data/spec/uploadcare/rails/settings_spec.rb +1 -1
  5. metadata +85 -125
  6. data/spec/cassettes/Uploadcare_Rails_File/should_load_itself.yml +0 -107
  7. data/spec/cassettes/Uploadcare_Rails_Group/group_should_stay_loaded.yml +0 -107
  8. data/spec/cassettes/Uploadcare_Rails_Group/rails_cache_should_updates_after_load_call.yml +0 -107
  9. data/spec/cassettes/group_cahsing_file_load.yml +0 -107
  10. data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/deletes_file_after_destroy.yml +0 -1283
  11. data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/stores_file_after_save.yml +0 -381
  12. data/spec/cassettes/has_uploadcare_group/object_attachment/contains_files_inside.yml +0 -523
  13. data/spec/cassettes/has_uploadcare_group_save.yml +0 -543
  14. data/spec/cassettes/load_group.yml +0 -107
  15. data/spec/dummy/db/test.sqlite3 +0 -0
  16. data/spec/dummy/log/test.log +0 -2360
  17. data/spec/dummy/tmp/cache/2AF/761/https%3A%2F%2Fucarecdn.com%2F595319d0-a113-459f-91bd-b29c7183467b%2F +0 -0
  18. data/spec/dummy/tmp/cache/301/D41/https%3A%2F%2Fucarecdn.com%2F81332043-fa2c-452f-936b-737d87ab2ae2%2F +0 -0
  19. data/spec/dummy/tmp/cache/30A/7C1/https%3A%2F%2Fucarecdn.com%2F39b34128-a001-46fd-9773-1b6ad46e6b9e%2F +0 -0
  20. data/spec/dummy/tmp/cache/340/A41/https%3A%2F%2Fucarecdn.com%2F090bcb5f-6d19-456c-b4a3-d753e690926f%2F +0 -0
  21. data/spec/dummy/tmp/cache/3AB/5A1/https%3A%2F%2Fucarecdn.com%2F7eb0161b-cebe-4316-946b-694de6f77ef9%2F +0 -0
  22. data/spec/dummy/tmp/cache/3FC/5C1/https%3A%2F%2Fucarecdn.com%2Fc3f0464b-ce9a-4281-8eaa-5c55783ccedf%2F +0 -0
  23. data/spec/dummy/tmp/cache/431/5C1/https%3A%2F%2Fucarecdn.com%2Fa1b1bb40-bd89-4f9c-b809-e84920f24a01%7E2%2F +0 -0
  24. data/spec/dummy/tmp/cache/44B/7A1/https%3A%2F%2Fucarecdn.com%2Fd6c785a8-9761-4602-88de-65ddb04ddc6a%7E2%2F +0 -0
  25. data/spec/tmp/config/uploadcare.yml +0 -71
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d808ca05ab7a22f1c10dba441ece7d68f619ce89
4
- data.tar.gz: 22f9170d287b1415f1a286020ec70e4095f5a5bf
3
+ metadata.gz: 896ec76d404866f21deb1e937fdde44e4f0bbeec
4
+ data.tar.gz: 4613d44e4227c5ac26fc668f4f9412b2612a61f5
5
5
  SHA512:
6
- metadata.gz: de10bd156b54a9cde4ab685dcd1f8ccd382b8a00a4449d6866a299f38772e8da7e07d1d377c87b7afb22a73b9d97355bd1d7808b62e5541ae5181ea4d3986860
7
- data.tar.gz: 845e606b08f94849ff2e361a790f24ec98ad8cf7ae885b9cd5612be0420a97508a70fd72ebbd2bf46f73963c600a3adc486816a473a78b40d462ff9281c09dff
6
+ metadata.gz: 6f51a4a9c6fcbdcbabf770c9b018224af1b64e11d68d0f1e1d3d48f2b9498e69070aaa772503047f1f10908c87287d21b08929f3e364e4d7ebc328a8e90e1b22
7
+ data.tar.gz: 4ed3c7e3a34ca7da54da9bd5176308e24d2409e395f7e6913b1373a7cbe82c3413407e0efa47b855fb777236c9cc238c606c79ee65b19fbb40616352c9594534
@@ -9,7 +9,7 @@ require_relative 'uploadcare/rails/objects/group'
9
9
  module Uploadcare
10
10
  module Rails
11
11
  DEFAULT_SETTINGS = {
12
- widget_version: '2.x'
12
+ widget_version: '3.x'
13
13
  }
14
14
  end
15
15
  end
@@ -1,5 +1,5 @@
1
1
  module Uploadcare
2
2
  module Rails
3
- VERSION = '1.1.1'
3
+ VERSION = '1.2.0-alpha'.freeze
4
4
  end
5
5
  end
@@ -5,7 +5,7 @@ describe Uploadcare::Rails::Settings do
5
5
 
6
6
  let(:full_config) do
7
7
  {
8
- widget_version: '2.x',
8
+ widget_version: '3.x',
9
9
  upload_url_base: 'http://example.com/',
10
10
  api_url_base: 'http://example.com/',
11
11
  static_url_base: 'http://example.com/',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uploadcare-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0.pre.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - "@rastyagaev (Vadim Rastyagaev)"
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-11-07 00:00:00.000000000 Z
13
+ date: 2018-04-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '4'
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
- version: '5.2'
24
+ version: '6'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,7 +31,7 @@ dependencies:
31
31
  version: '4'
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
- version: '5.2'
34
+ version: '6'
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: uploadcare-ruby
37
37
  requirement: !ruby/object:Gem::Requirement
@@ -273,15 +273,6 @@ files:
273
273
  - lib/uploadcare/rails/version.rb
274
274
  - spec/caching/file_caching_spec.rb
275
275
  - spec/caching/group_caching_spec.rb
276
- - spec/cassettes/Uploadcare_Rails_File/should_load_itself.yml
277
- - spec/cassettes/Uploadcare_Rails_Group/group_should_stay_loaded.yml
278
- - spec/cassettes/Uploadcare_Rails_Group/rails_cache_should_updates_after_load_call.yml
279
- - spec/cassettes/group_cahsing_file_load.yml
280
- - spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/deletes_file_after_destroy.yml
281
- - spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/stores_file_after_save.yml
282
- - spec/cassettes/has_uploadcare_group/object_attachment/contains_files_inside.yml
283
- - spec/cassettes/has_uploadcare_group_save.yml
284
- - spec/cassettes/load_group.yml
285
276
  - spec/dummy/README.rdoc
286
277
  - spec/dummy/Rakefile
287
278
  - spec/dummy/app/assets/javascripts/application.js
@@ -350,21 +341,11 @@ files:
350
341
  - spec/dummy/config/uploadcare.yml
351
342
  - spec/dummy/db/migrate/20171012001801_create_tables.rb
352
343
  - spec/dummy/db/schema.rb
353
- - spec/dummy/db/test.sqlite3
354
344
  - spec/dummy/lib/templates/erb/scaffold/_form.html.erb
355
- - spec/dummy/log/test.log
356
345
  - spec/dummy/public/404.html
357
346
  - spec/dummy/public/422.html
358
347
  - spec/dummy/public/500.html
359
348
  - spec/dummy/public/favicon.ico
360
- - spec/dummy/tmp/cache/2AF/761/https%3A%2F%2Fucarecdn.com%2F595319d0-a113-459f-91bd-b29c7183467b%2F
361
- - spec/dummy/tmp/cache/301/D41/https%3A%2F%2Fucarecdn.com%2F81332043-fa2c-452f-936b-737d87ab2ae2%2F
362
- - spec/dummy/tmp/cache/30A/7C1/https%3A%2F%2Fucarecdn.com%2F39b34128-a001-46fd-9773-1b6ad46e6b9e%2F
363
- - spec/dummy/tmp/cache/340/A41/https%3A%2F%2Fucarecdn.com%2F090bcb5f-6d19-456c-b4a3-d753e690926f%2F
364
- - spec/dummy/tmp/cache/3AB/5A1/https%3A%2F%2Fucarecdn.com%2F7eb0161b-cebe-4316-946b-694de6f77ef9%2F
365
- - spec/dummy/tmp/cache/3FC/5C1/https%3A%2F%2Fucarecdn.com%2Fc3f0464b-ce9a-4281-8eaa-5c55783ccedf%2F
366
- - spec/dummy/tmp/cache/431/5C1/https%3A%2F%2Fucarecdn.com%2Fa1b1bb40-bd89-4f9c-b809-e84920f24a01%7E2%2F
367
- - spec/dummy/tmp/cache/44B/7A1/https%3A%2F%2Fucarecdn.com%2Fd6c785a8-9761-4602-88de-65ddb04ddc6a%7E2%2F
368
349
  - spec/generators/uploadcare_config_generator_spec.rb
369
350
  - spec/helpers/form_helpers_has_file_spec.rb
370
351
  - spec/helpers/form_helpers_has_group_spec.rb
@@ -381,12 +362,11 @@ files:
381
362
  - spec/operations_spec.rb
382
363
  - spec/spec_helper.rb
383
364
  - spec/support/generators.rb
384
- - spec/tmp/config/uploadcare.yml
385
365
  - spec/uploadcare/rails/settings_spec.rb
386
366
  - spec/uploadcare_rails_settings_spec.rb
387
367
  - spec/view.png
388
368
  - spec/view2.jpg
389
- homepage: https://uploadcare.com/documentation/libs/
369
+ homepage: https://uploadcare.com/docs/libs/
390
370
  licenses:
391
371
  - MIT
392
372
  metadata:
@@ -403,128 +383,108 @@ required_ruby_version: !ruby/object:Gem::Requirement
403
383
  version: '0'
404
384
  required_rubygems_version: !ruby/object:Gem::Requirement
405
385
  requirements:
406
- - - ">="
386
+ - - ">"
407
387
  - !ruby/object:Gem::Version
408
- version: '0'
388
+ version: 1.3.1
409
389
  requirements: []
410
390
  rubyforge_project:
411
- rubygems_version: 2.6.13
391
+ rubygems_version: 2.5.2
412
392
  signing_key:
413
393
  specification_version: 4
414
394
  summary: Rails gem for Uploadcare
415
395
  test_files:
416
- - spec/helpers/simple_form_spec.rb
417
- - spec/helpers/form_helpers_has_group_spec.rb
418
- - spec/helpers/include_tags_spec.rb
419
- - spec/helpers/uploader_tags_spec.rb
420
- - spec/helpers/form_helpers_spec.rb
421
- - spec/helpers/form_helpers_has_file_spec.rb
422
- - spec/helpers/formtastic_spec.rb
423
- - spec/cassettes/has_uploadcare_group/object_attachment/contains_files_inside.yml
424
- - spec/cassettes/has_uploadcare_group_save.yml
425
- - spec/cassettes/group_cahsing_file_load.yml
426
- - spec/cassettes/Uploadcare_Rails_File/should_load_itself.yml
427
- - spec/cassettes/load_group.yml
428
- - spec/cassettes/Uploadcare_Rails_Group/group_should_stay_loaded.yml
429
- - spec/cassettes/Uploadcare_Rails_Group/rails_cache_should_updates_after_load_call.yml
430
- - spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/stores_file_after_save.yml
431
- - spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/deletes_file_after_destroy.yml
432
- - spec/objects/file_spec.rb
433
- - spec/objects/group_spec.rb
434
- - spec/uploadcare/rails/settings_spec.rb
435
- - spec/dummy/log/test.log
436
- - spec/dummy/public/404.html
437
- - spec/dummy/public/422.html
438
- - spec/dummy/public/favicon.ico
439
- - spec/dummy/public/500.html
440
- - spec/dummy/config/routes.rb
441
- - spec/dummy/config/initializers/wrap_parameters.rb
442
- - spec/dummy/config/initializers/formtastic.rb
443
- - spec/dummy/config/initializers/filter_parameter_logging.rb
444
- - spec/dummy/config/initializers/session_store.rb
445
- - spec/dummy/config/initializers/backtrace_silencers.rb
446
- - spec/dummy/config/initializers/simple_form.rb
447
- - spec/dummy/config/initializers/inflections.rb
448
- - spec/dummy/config/initializers/secret_token.rb
449
- - spec/dummy/config/initializers/mime_types.rb
450
- - spec/dummy/config/uploadcare.yml
451
- - spec/dummy/config/environment.rb
452
- - spec/dummy/config/application.rb
453
- - spec/dummy/config/database.yml
454
- - spec/dummy/config/locales/en.yml
455
- - spec/dummy/config/locales/simple_form.en.yml
456
- - spec/dummy/config/environments/test.rb
457
- - spec/dummy/config/environments/development.rb
458
- - spec/dummy/config/environments/production.rb
459
- - spec/dummy/config/boot.rb
460
- - spec/dummy/app/views/layouts/application.html.erb
461
- - spec/dummy/app/views/posts/new.html.erb
462
- - spec/dummy/app/views/posts/show.html.erb
463
- - spec/dummy/app/views/posts/edit.html.erb
464
- - spec/dummy/app/views/posts/_form.html.erb
396
+ - spec/spec_helper.rb
397
+ - spec/dummy/app/models/posts_with_collection_and_file.rb
398
+ - spec/dummy/app/models/post_with_collection.rb
399
+ - spec/dummy/app/models/post.rb
400
+ - spec/dummy/app/controllers/application_controller.rb
401
+ - spec/dummy/app/controllers/post_with_collections_controller.rb
402
+ - spec/dummy/app/controllers/posts_with_collection_and_files_controller.rb
403
+ - spec/dummy/app/controllers/posts_controller.rb
465
404
  - spec/dummy/app/views/posts/index.html.erb
466
405
  - spec/dummy/app/views/posts/post.json.builder
467
- - spec/dummy/app/views/post_with_collections/new.html.erb
468
- - spec/dummy/app/views/post_with_collections/show.html.erb
469
- - spec/dummy/app/views/post_with_collections/edit.html.erb
470
- - spec/dummy/app/views/post_with_collections/_form.html.erb
471
- - spec/dummy/app/views/post_with_collections/index.html.erb
472
- - spec/dummy/app/views/post_with_collections/show.json.jbuilder
473
- - spec/dummy/app/views/posts_with_collection_and_files/new.html.erb
474
- - spec/dummy/app/views/posts_with_collection_and_files/show.html.erb
475
- - spec/dummy/app/views/posts_with_collection_and_files/edit.html.erb
476
- - spec/dummy/app/views/posts_with_collection_and_files/_form.html.erb
406
+ - spec/dummy/app/views/posts/edit.html.erb
407
+ - spec/dummy/app/views/posts/show.html.erb
408
+ - spec/dummy/app/views/posts/_form.html.erb
409
+ - spec/dummy/app/views/posts/new.html.erb
477
410
  - spec/dummy/app/views/posts_with_collection_and_files/index.html.erb
478
411
  - spec/dummy/app/views/posts_with_collection_and_files/show.json.jbuilder
479
- - spec/dummy/app/helpers/posts_helper.rb
480
- - spec/dummy/app/helpers/application_helper.rb
481
- - spec/dummy/app/helpers/post_with_collections_helper.rb
482
- - spec/dummy/app/helpers/posts_with_collection_and_files_helper.rb
483
- - spec/dummy/app/assets/javascripts/application.js
412
+ - spec/dummy/app/views/posts_with_collection_and_files/edit.html.erb
413
+ - spec/dummy/app/views/posts_with_collection_and_files/show.html.erb
414
+ - spec/dummy/app/views/posts_with_collection_and_files/_form.html.erb
415
+ - spec/dummy/app/views/posts_with_collection_and_files/new.html.erb
416
+ - spec/dummy/app/views/post_with_collections/index.html.erb
417
+ - spec/dummy/app/views/post_with_collections/show.json.jbuilder
418
+ - spec/dummy/app/views/post_with_collections/edit.html.erb
419
+ - spec/dummy/app/views/post_with_collections/show.html.erb
420
+ - spec/dummy/app/views/post_with_collections/_form.html.erb
421
+ - spec/dummy/app/views/post_with_collections/new.html.erb
422
+ - spec/dummy/app/views/layouts/application.html.erb
484
423
  - spec/dummy/app/assets/javascripts/post_with_collections.js
485
- - spec/dummy/app/assets/javascripts/posts_with_collection_and_files.js
486
- - spec/dummy/app/assets/javascripts/uploadcare-1.5.5.min.js
487
424
  - spec/dummy/app/assets/javascripts/posts.js
488
- - spec/dummy/app/assets/stylesheets/posts.css
489
- - spec/dummy/app/assets/stylesheets/scaffold.css
490
- - spec/dummy/app/assets/stylesheets/post_with_collections.css
425
+ - spec/dummy/app/assets/javascripts/uploadcare-1.5.5.min.js
426
+ - spec/dummy/app/assets/javascripts/posts_with_collection_and_files.js
427
+ - spec/dummy/app/assets/javascripts/application.js
491
428
  - spec/dummy/app/assets/stylesheets/posts_with_collection_and_files.css
492
429
  - spec/dummy/app/assets/stylesheets/application.css
493
- - spec/dummy/app/models/post.rb
494
- - spec/dummy/app/models/post_with_collection.rb
495
- - spec/dummy/app/models/posts_with_collection_and_file.rb
496
- - spec/dummy/app/controllers/posts_controller.rb
497
- - spec/dummy/app/controllers/post_with_collections_controller.rb
498
- - spec/dummy/app/controllers/posts_with_collection_and_files_controller.rb
499
- - spec/dummy/app/controllers/application_controller.rb
500
- - spec/dummy/README.rdoc
501
- - spec/dummy/tmp/cache/3FC/5C1/https%3A%2F%2Fucarecdn.com%2Fc3f0464b-ce9a-4281-8eaa-5c55783ccedf%2F
502
- - spec/dummy/tmp/cache/30A/7C1/https%3A%2F%2Fucarecdn.com%2F39b34128-a001-46fd-9773-1b6ad46e6b9e%2F
503
- - spec/dummy/tmp/cache/340/A41/https%3A%2F%2Fucarecdn.com%2F090bcb5f-6d19-456c-b4a3-d753e690926f%2F
504
- - spec/dummy/tmp/cache/431/5C1/https%3A%2F%2Fucarecdn.com%2Fa1b1bb40-bd89-4f9c-b809-e84920f24a01%7E2%2F
505
- - spec/dummy/tmp/cache/44B/7A1/https%3A%2F%2Fucarecdn.com%2Fd6c785a8-9761-4602-88de-65ddb04ddc6a%7E2%2F
506
- - spec/dummy/tmp/cache/301/D41/https%3A%2F%2Fucarecdn.com%2F81332043-fa2c-452f-936b-737d87ab2ae2%2F
507
- - spec/dummy/tmp/cache/3AB/5A1/https%3A%2F%2Fucarecdn.com%2F7eb0161b-cebe-4316-946b-694de6f77ef9%2F
508
- - spec/dummy/tmp/cache/2AF/761/https%3A%2F%2Fucarecdn.com%2F595319d0-a113-459f-91bd-b29c7183467b%2F
430
+ - spec/dummy/app/assets/stylesheets/scaffold.css
431
+ - spec/dummy/app/assets/stylesheets/post_with_collections.css
432
+ - spec/dummy/app/assets/stylesheets/posts.css
433
+ - spec/dummy/app/helpers/posts_with_collection_and_files_helper.rb
434
+ - spec/dummy/app/helpers/posts_helper.rb
435
+ - spec/dummy/app/helpers/post_with_collections_helper.rb
436
+ - spec/dummy/app/helpers/application_helper.rb
437
+ - spec/dummy/bin/rake
438
+ - spec/dummy/bin/bundle
439
+ - spec/dummy/bin/rails
440
+ - spec/dummy/config/uploadcare.yml
441
+ - spec/dummy/config/routes.rb
442
+ - spec/dummy/config/locales/en.yml
443
+ - spec/dummy/config/locales/simple_form.en.yml
444
+ - spec/dummy/config/environments/production.rb
445
+ - spec/dummy/config/environments/development.rb
446
+ - spec/dummy/config/environments/test.rb
447
+ - spec/dummy/config/environment.rb
448
+ - spec/dummy/config/application.rb
449
+ - spec/dummy/config/database.yml
450
+ - spec/dummy/config/boot.rb
451
+ - spec/dummy/config/initializers/backtrace_silencers.rb
452
+ - spec/dummy/config/initializers/mime_types.rb
453
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
454
+ - spec/dummy/config/initializers/session_store.rb
455
+ - spec/dummy/config/initializers/wrap_parameters.rb
456
+ - spec/dummy/config/initializers/simple_form.rb
457
+ - spec/dummy/config/initializers/formtastic.rb
458
+ - spec/dummy/config/initializers/secret_token.rb
459
+ - spec/dummy/config/initializers/inflections.rb
509
460
  - spec/dummy/config.ru
510
- - spec/dummy/lib/templates/erb/scaffold/_form.html.erb
511
461
  - spec/dummy/Rakefile
512
- - spec/dummy/db/migrate/20171012001801_create_tables.rb
513
- - spec/dummy/db/test.sqlite3
462
+ - spec/dummy/public/favicon.ico
463
+ - spec/dummy/public/422.html
464
+ - spec/dummy/public/500.html
465
+ - spec/dummy/public/404.html
466
+ - spec/dummy/lib/templates/erb/scaffold/_form.html.erb
514
467
  - spec/dummy/db/schema.rb
515
- - spec/dummy/bin/bundle
516
- - spec/dummy/bin/rake
517
- - spec/dummy/bin/rails
518
- - spec/models/has_group_spec.rb
519
- - spec/models/has_both_file_and_group_spec.rb
520
- - spec/models/has_file_spec.rb
468
+ - spec/dummy/db/migrate/20171012001801_create_tables.rb
469
+ - spec/dummy/README.rdoc
521
470
  - spec/operations_spec.rb
522
- - spec/generators/uploadcare_config_generator_spec.rb
523
- - spec/spec_helper.rb
524
471
  - spec/view2.jpg
525
- - spec/tmp/config/uploadcare.yml
472
+ - spec/objects/file_spec.rb
473
+ - spec/objects/group_spec.rb
474
+ - spec/models/has_file_spec.rb
475
+ - spec/models/has_group_spec.rb
476
+ - spec/models/has_both_file_and_group_spec.rb
526
477
  - spec/support/generators.rb
527
478
  - spec/view.png
528
479
  - spec/uploadcare_rails_settings_spec.rb
480
+ - spec/generators/uploadcare_config_generator_spec.rb
529
481
  - spec/caching/group_caching_spec.rb
530
482
  - spec/caching/file_caching_spec.rb
483
+ - spec/helpers/uploader_tags_spec.rb
484
+ - spec/helpers/formtastic_spec.rb
485
+ - spec/helpers/form_helpers_has_file_spec.rb
486
+ - spec/helpers/include_tags_spec.rb
487
+ - spec/helpers/form_helpers_has_group_spec.rb
488
+ - spec/helpers/form_helpers_spec.rb
489
+ - spec/helpers/simple_form_spec.rb
490
+ - spec/uploadcare/rails/settings_spec.rb
@@ -1,107 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://api.uploadcare.com/files/913a5ee4-123c-4076-bc66-3ff5a3966ac0/
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - application/vnd.uploadcare-v0.3+json
12
- User-Agent:
13
- - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
14
- Date:
15
- - Sat, 21 Oct 2017 13:40:36 -0000
16
- Authorization:
17
- - Uploadcare demopublickey:2b431797ef380a14b845622726f6194aba94d513
18
- Accept-Encoding:
19
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Date:
26
- - Sat, 21 Oct 2017 13:40:36 GMT
27
- Content-Type:
28
- - application/vnd.uploadcare-v0.3+json
29
- Transfer-Encoding:
30
- - chunked
31
- Connection:
32
- - keep-alive
33
- Server:
34
- - nginx
35
- X-Xss-Protection:
36
- - 1; mode=block
37
- X-Content-Type-Options:
38
- - nosniff
39
- Vary:
40
- - Accept
41
- Warning:
42
- - '199 Miscellaneous warning: You are using the demo account; Please use API
43
- version 0.5, not 0.3'
44
- Allow:
45
- - GET, DELETE, HEAD, OPTIONS
46
- Access-Control-Allow-Origin:
47
- - https://uploadcare.com
48
- X-Frame-Options:
49
- - DENY
50
- body:
51
- encoding: UTF-8
52
- string: '{"uuid":"913a5ee4-123c-4076-bc66-3ff5a3966ac0","original_file_url":null,"image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":null,"mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/913a5ee4-123c-4076-bc66-3ff5a3966ac0/","original_filename":"view.png","datetime_uploaded":"2017-10-21T13:40:26.646680Z","size":2785,"is_image":true,"datetime_removed":"2017-10-21T13:40:33.349320Z","source":null,"variations":null}'
53
- http_version:
54
- recorded_at: Sat, 21 Oct 2017 13:40:36 GMT
55
- - request:
56
- method: get
57
- uri: https://api.uploadcare.com/files/f6536fd7-fc46-4563-ba22-89062c277b5d/
58
- body:
59
- encoding: US-ASCII
60
- string: ''
61
- headers:
62
- Accept:
63
- - application/vnd.uploadcare-v0.3+json
64
- User-Agent:
65
- - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
66
- Date:
67
- - Sun, 05 Nov 2017 09:23:09 -0000
68
- Authorization:
69
- - Uploadcare demopublickey:c52fc36c7b7cf983b0c0843f6077bef8231798d5
70
- Accept-Encoding:
71
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
72
- response:
73
- status:
74
- code: 200
75
- message: OK
76
- headers:
77
- Date:
78
- - Sun, 05 Nov 2017 09:23:09 GMT
79
- Content-Type:
80
- - application/vnd.uploadcare-v0.3+json
81
- Transfer-Encoding:
82
- - chunked
83
- Connection:
84
- - keep-alive
85
- Server:
86
- - nginx
87
- X-Xss-Protection:
88
- - 1; mode=block
89
- X-Content-Type-Options:
90
- - nosniff
91
- Vary:
92
- - Accept
93
- Warning:
94
- - '199 Miscellaneous warning: You are using the demo account; Please use API
95
- version 0.5, not 0.3'
96
- Allow:
97
- - GET, DELETE, HEAD, OPTIONS
98
- Access-Control-Allow-Origin:
99
- - https://uploadcare.com
100
- X-Frame-Options:
101
- - DENY
102
- body:
103
- encoding: UTF-8
104
- string: '{"uuid":"f6536fd7-fc46-4563-ba22-89062c277b5d","original_file_url":null,"image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":null,"mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/f6536fd7-fc46-4563-ba22-89062c277b5d/","original_filename":"view.png","datetime_uploaded":"2017-11-05T09:22:56.619173Z","size":2785,"is_image":true,"datetime_removed":"2017-11-05T09:23:06.067445Z","source":null,"variations":null}'
105
- http_version:
106
- recorded_at: Sun, 05 Nov 2017 09:23:09 GMT
107
- recorded_with: VCR 3.0.3
@@ -1,107 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://api.uploadcare.com/groups/a1b1bb40-bd89-4f9c-b809-e84920f24a01~2/
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - application/vnd.uploadcare-v0.3+json
12
- User-Agent:
13
- - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
14
- Date:
15
- - Sat, 21 Oct 2017 13:40:30 -0000
16
- Authorization:
17
- - Uploadcare demopublickey:6d0e6e7e807fe6028034b8af440ef04f6be9afc5
18
- Accept-Encoding:
19
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Date:
26
- - Sat, 21 Oct 2017 13:40:30 GMT
27
- Content-Type:
28
- - application/vnd.uploadcare-v0.3+json
29
- Transfer-Encoding:
30
- - chunked
31
- Connection:
32
- - keep-alive
33
- Server:
34
- - nginx
35
- X-Xss-Protection:
36
- - 1; mode=block
37
- X-Content-Type-Options:
38
- - nosniff
39
- Vary:
40
- - Accept
41
- Warning:
42
- - '199 Miscellaneous warning: You are using the demo account; Please use API
43
- version 0.5, not 0.3'
44
- Allow:
45
- - GET, HEAD, OPTIONS
46
- Access-Control-Allow-Origin:
47
- - https://uploadcare.com
48
- X-Frame-Options:
49
- - DENY
50
- body:
51
- encoding: UTF-8
52
- string: '{"id":"a1b1bb40-bd89-4f9c-b809-e84920f24a01~2","datetime_created":"2017-10-21T13:40:29.035828Z","datetime_stored":null,"files_count":2,"cdn_url":"http://www.ucarecdn.com/a1b1bb40-bd89-4f9c-b809-e84920f24a01~2/","url":"https://api.uploadcare.com/groups/a1b1bb40-bd89-4f9c-b809-e84920f24a01~2/","files":[{"uuid":"83ce550d-f67e-4c1a-a4da-3d550224a8a5","original_file_url":"https://ucarecdn.com/83ce550d-f67e-4c1a-a4da-3d550224a8a5/view2.jpg","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"datetime_stored":null,"mime_type":"image/jpeg","is_ready":true,"url":"https://api.uploadcare.com/files/83ce550d-f67e-4c1a-a4da-3d550224a8a5/","original_filename":"view2.jpg","datetime_uploaded":"2017-10-21T13:40:28.343956Z","size":255570,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""},{"uuid":"8bd4d6b5-e844-42a7-b2b1-8814aa4ca713","original_file_url":"https://ucarecdn.com/8bd4d6b5-e844-42a7-b2b1-8814aa4ca713/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":null,"mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/8bd4d6b5-e844-42a7-b2b1-8814aa4ca713/","original_filename":"view.png","datetime_uploaded":"2017-10-21T13:40:28.362231Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""}]}'
53
- http_version:
54
- recorded_at: Sat, 21 Oct 2017 13:40:30 GMT
55
- - request:
56
- method: get
57
- uri: https://api.uploadcare.com/groups/d6c785a8-9761-4602-88de-65ddb04ddc6a~2/
58
- body:
59
- encoding: US-ASCII
60
- string: ''
61
- headers:
62
- Accept:
63
- - application/vnd.uploadcare-v0.3+json
64
- User-Agent:
65
- - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
66
- Date:
67
- - Sun, 05 Nov 2017 09:23:00 -0000
68
- Authorization:
69
- - Uploadcare demopublickey:204c039fd808e229e224f6950f750550f4962bf7
70
- Accept-Encoding:
71
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
72
- response:
73
- status:
74
- code: 200
75
- message: OK
76
- headers:
77
- Date:
78
- - Sun, 05 Nov 2017 09:23:01 GMT
79
- Content-Type:
80
- - application/vnd.uploadcare-v0.3+json
81
- Transfer-Encoding:
82
- - chunked
83
- Connection:
84
- - keep-alive
85
- Server:
86
- - nginx
87
- X-Xss-Protection:
88
- - 1; mode=block
89
- X-Content-Type-Options:
90
- - nosniff
91
- Vary:
92
- - Accept
93
- Warning:
94
- - '199 Miscellaneous warning: You are using the demo account; Please use API
95
- version 0.5, not 0.3'
96
- Allow:
97
- - GET, HEAD, OPTIONS
98
- Access-Control-Allow-Origin:
99
- - https://uploadcare.com
100
- X-Frame-Options:
101
- - DENY
102
- body:
103
- encoding: UTF-8
104
- string: '{"id":"d6c785a8-9761-4602-88de-65ddb04ddc6a~2","datetime_created":"2017-11-05T09:22:59.302130Z","datetime_stored":null,"files_count":2,"cdn_url":"http://www.ucarecdn.com/d6c785a8-9761-4602-88de-65ddb04ddc6a~2/","url":"https://api.uploadcare.com/groups/d6c785a8-9761-4602-88de-65ddb04ddc6a~2/","files":[{"uuid":"0b37b745-6637-49a1-9c00-3d8281a383e3","original_file_url":"https://ucarecdn.com/0b37b745-6637-49a1-9c00-3d8281a383e3/view2.jpg","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"datetime_stored":null,"mime_type":"image/jpeg","is_ready":true,"url":"https://api.uploadcare.com/files/0b37b745-6637-49a1-9c00-3d8281a383e3/","original_filename":"view2.jpg","datetime_uploaded":"2017-11-05T09:22:58.509252Z","size":255570,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""},{"uuid":"f839e2df-ddf8-4c10-9e7d-5a0777eddc93","original_file_url":"https://ucarecdn.com/f839e2df-ddf8-4c10-9e7d-5a0777eddc93/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":null,"mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/f839e2df-ddf8-4c10-9e7d-5a0777eddc93/","original_filename":"view.png","datetime_uploaded":"2017-11-05T09:22:58.526374Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""}]}'
105
- http_version:
106
- recorded_at: Sun, 05 Nov 2017 09:23:01 GMT
107
- recorded_with: VCR 3.0.3