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
@@ -1,7 +1,6 @@
1
1
  # This file is copied to spec/ when you run 'rails generate rspec:install'
2
2
  ENV['RAILS_ENV'] ||= 'test'
3
3
 
4
- $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
5
4
  $LOAD_PATH << File.join(File.dirname(__FILE__))
6
5
 
7
6
  require 'pry'
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.2.0.pre.alpha3
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - "@rastyagaev (Vadim Rastyagaev)"
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-05-30 00:00:00.000000000 Z
14
+ date: 2018-06-03 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -352,23 +352,13 @@ files:
352
352
  - spec/dummy/db/schema.rb
353
353
  - spec/dummy/db/test.sqlite3
354
354
  - spec/dummy/lib/templates/erb/scaffold/_form.html.erb
355
- - spec/dummy/log/development.log
356
355
  - spec/dummy/log/test.log
357
356
  - spec/dummy/public/404.html
358
357
  - spec/dummy/public/422.html
359
358
  - spec/dummy/public/500.html
360
359
  - spec/dummy/public/favicon.ico
361
- - spec/dummy/tmp/cache/293/091/https%3A%2F%2Fucarecdn.com%2F19073296-2315-4726-817b-46398b2c7431%7E2%2F
362
- - spec/dummy/tmp/cache/2AF/761/https%3A%2F%2Fucarecdn.com%2F595319d0-a113-459f-91bd-b29c7183467b%2F
363
- - spec/dummy/tmp/cache/301/D41/https%3A%2F%2Fucarecdn.com%2F81332043-fa2c-452f-936b-737d87ab2ae2%2F
364
- - spec/dummy/tmp/cache/30A/7C1/https%3A%2F%2Fucarecdn.com%2F39b34128-a001-46fd-9773-1b6ad46e6b9e%2F
365
- - spec/dummy/tmp/cache/340/A41/https%3A%2F%2Fucarecdn.com%2F090bcb5f-6d19-456c-b4a3-d753e690926f%2F
366
- - spec/dummy/tmp/cache/3AB/5A1/https%3A%2F%2Fucarecdn.com%2F7eb0161b-cebe-4316-946b-694de6f77ef9%2F
367
- - spec/dummy/tmp/cache/3FC/5C1/https%3A%2F%2Fucarecdn.com%2Fc3f0464b-ce9a-4281-8eaa-5c55783ccedf%2F
368
- - spec/dummy/tmp/cache/431/5C1/https%3A%2F%2Fucarecdn.com%2Fa1b1bb40-bd89-4f9c-b809-e84920f24a01%7E2%2F
369
- - spec/dummy/tmp/cache/44B/7A1/https%3A%2F%2Fucarecdn.com%2Fd6c785a8-9761-4602-88de-65ddb04ddc6a%7E2%2F
370
- - spec/dummy/tmp/cache/45B/F31/https%3A%2F%2Fucarecdn.com%2F73e3cdbc-6495-4cf2-bbd1-413e6cb70004%7E2%2F
371
- - spec/dummy/tmp/cache/461/AA1/https%3A%2F%2Fucarecdn.com%2Fc50e9a53-0b95-48ac-a4a9-6744052dbdab%7E2%2F
360
+ - spec/dummy/tmp/cache/457/D71/https%3A%2F%2Fucarecdn.com%2F04058c13-549a-495a-bab8-83a5deaae0a0%7E2%2F
361
+ - spec/dummy/tmp/cache/49B/481/https%3A%2F%2Fucarecdn.com%2F2d40a7e9-bab4-446d-8d7a-b9fc5438c04c%7E2%2F
372
362
  - spec/generators/uploadcare_config_generator_spec.rb
373
363
  - spec/helpers/form_helpers_has_file_spec.rb
374
364
  - spec/helpers/form_helpers_has_group_spec.rb
@@ -407,9 +397,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
407
397
  version: '0'
408
398
  required_rubygems_version: !ruby/object:Gem::Requirement
409
399
  requirements:
410
- - - ">"
400
+ - - ">="
411
401
  - !ruby/object:Gem::Version
412
- version: 1.3.1
402
+ version: '0'
413
403
  requirements: []
414
404
  rubyforge_project:
415
405
  rubygems_version: 2.7.7
@@ -437,7 +427,6 @@ test_files:
437
427
  - spec/objects/group_spec.rb
438
428
  - spec/uploadcare/rails/settings_spec.rb
439
429
  - spec/dummy/log/test.log
440
- - spec/dummy/log/development.log
441
430
  - spec/dummy/public/404.html
442
431
  - spec/dummy/public/422.html
443
432
  - spec/dummy/public/favicon.ico
@@ -502,17 +491,8 @@ test_files:
502
491
  - spec/dummy/app/controllers/posts_with_collection_and_files_controller.rb
503
492
  - spec/dummy/app/controllers/application_controller.rb
504
493
  - spec/dummy/README.rdoc
505
- - spec/dummy/tmp/cache/3FC/5C1/https%3A%2F%2Fucarecdn.com%2Fc3f0464b-ce9a-4281-8eaa-5c55783ccedf%2F
506
- - spec/dummy/tmp/cache/30A/7C1/https%3A%2F%2Fucarecdn.com%2F39b34128-a001-46fd-9773-1b6ad46e6b9e%2F
507
- - spec/dummy/tmp/cache/461/AA1/https%3A%2F%2Fucarecdn.com%2Fc50e9a53-0b95-48ac-a4a9-6744052dbdab%7E2%2F
508
- - spec/dummy/tmp/cache/340/A41/https%3A%2F%2Fucarecdn.com%2F090bcb5f-6d19-456c-b4a3-d753e690926f%2F
509
- - spec/dummy/tmp/cache/293/091/https%3A%2F%2Fucarecdn.com%2F19073296-2315-4726-817b-46398b2c7431%7E2%2F
510
- - spec/dummy/tmp/cache/431/5C1/https%3A%2F%2Fucarecdn.com%2Fa1b1bb40-bd89-4f9c-b809-e84920f24a01%7E2%2F
511
- - spec/dummy/tmp/cache/44B/7A1/https%3A%2F%2Fucarecdn.com%2Fd6c785a8-9761-4602-88de-65ddb04ddc6a%7E2%2F
512
- - spec/dummy/tmp/cache/301/D41/https%3A%2F%2Fucarecdn.com%2F81332043-fa2c-452f-936b-737d87ab2ae2%2F
513
- - spec/dummy/tmp/cache/45B/F31/https%3A%2F%2Fucarecdn.com%2F73e3cdbc-6495-4cf2-bbd1-413e6cb70004%7E2%2F
514
- - spec/dummy/tmp/cache/3AB/5A1/https%3A%2F%2Fucarecdn.com%2F7eb0161b-cebe-4316-946b-694de6f77ef9%2F
515
- - spec/dummy/tmp/cache/2AF/761/https%3A%2F%2Fucarecdn.com%2F595319d0-a113-459f-91bd-b29c7183467b%2F
494
+ - spec/dummy/tmp/cache/49B/481/https%3A%2F%2Fucarecdn.com%2F2d40a7e9-bab4-446d-8d7a-b9fc5438c04c%7E2%2F
495
+ - spec/dummy/tmp/cache/457/D71/https%3A%2F%2Fucarecdn.com%2F04058c13-549a-495a-bab8-83a5deaae0a0%7E2%2F
516
496
  - spec/dummy/config.ru
517
497
  - spec/dummy/lib/templates/erb/scaffold/_form.html.erb
518
498
  - spec/dummy/Rakefile
File without changes