uploadcare-rails 1.1.1 → 1.2.0.pre.alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/uploadcare-rails.rb +1 -1
- data/lib/uploadcare/rails/version.rb +1 -1
- data/spec/uploadcare/rails/settings_spec.rb +1 -1
- metadata +85 -125
- data/spec/cassettes/Uploadcare_Rails_File/should_load_itself.yml +0 -107
- data/spec/cassettes/Uploadcare_Rails_Group/group_should_stay_loaded.yml +0 -107
- data/spec/cassettes/Uploadcare_Rails_Group/rails_cache_should_updates_after_load_call.yml +0 -107
- data/spec/cassettes/group_cahsing_file_load.yml +0 -107
- data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/deletes_file_after_destroy.yml +0 -1283
- data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/stores_file_after_save.yml +0 -381
- data/spec/cassettes/has_uploadcare_group/object_attachment/contains_files_inside.yml +0 -523
- data/spec/cassettes/has_uploadcare_group_save.yml +0 -543
- data/spec/cassettes/load_group.yml +0 -107
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +0 -2360
- 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/tmp/config/uploadcare.yml +0 -71
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 896ec76d404866f21deb1e937fdde44e4f0bbeec
         | 
| 4 | 
            +
              data.tar.gz: 4613d44e4227c5ac26fc668f4f9412b2612a61f5
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 6f51a4a9c6fcbdcbabf770c9b018224af1b64e11d68d0f1e1d3d48f2b9498e69070aaa772503047f1f10908c87287d21b08929f3e364e4d7ebc328a8e90e1b22
         | 
| 7 | 
            +
              data.tar.gz: 4ed3c7e3a34ca7da54da9bd5176308e24d2409e395f7e6913b1373a7cbe82c3413407e0efa47b855fb777236c9cc238c606c79ee65b19fbb40616352c9594534
         | 
    
        data/lib/uploadcare-rails.rb
    CHANGED
    
    
    
        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. | 
| 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:  | 
| 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: ' | 
| 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: ' | 
| 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/ | 
| 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:  | 
| 388 | 
            +
                  version: 1.3.1
         | 
| 409 389 | 
             
            requirements: []
         | 
| 410 390 | 
             
            rubyforge_project: 
         | 
| 411 | 
            -
            rubygems_version: 2. | 
| 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/ | 
| 417 | 
            -
            - spec/ | 
| 418 | 
            -
            - spec/ | 
| 419 | 
            -
            - spec/ | 
| 420 | 
            -
            - spec/ | 
| 421 | 
            -
            - spec/ | 
| 422 | 
            -
            - spec/ | 
| 423 | 
            -
            - spec/ | 
| 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/ | 
| 468 | 
            -
            - spec/dummy/app/views/ | 
| 469 | 
            -
            - spec/dummy/app/views/ | 
| 470 | 
            -
            - spec/dummy/app/views/ | 
| 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/ | 
| 480 | 
            -
            - spec/dummy/app/ | 
| 481 | 
            -
            - spec/dummy/app/ | 
| 482 | 
            -
            - spec/dummy/app/ | 
| 483 | 
            -
            - spec/dummy/app/ | 
| 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/ | 
| 489 | 
            -
            - spec/dummy/app/assets/ | 
| 490 | 
            -
            - spec/dummy/app/assets/ | 
| 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/ | 
| 494 | 
            -
            - spec/dummy/app/ | 
| 495 | 
            -
            - spec/dummy/app/ | 
| 496 | 
            -
            - spec/dummy/app/ | 
| 497 | 
            -
            - spec/dummy/app/ | 
| 498 | 
            -
            - spec/dummy/app/ | 
| 499 | 
            -
            - spec/dummy/app/ | 
| 500 | 
            -
            - spec/dummy/ | 
| 501 | 
            -
            - spec/dummy/ | 
| 502 | 
            -
            - spec/dummy/ | 
| 503 | 
            -
            - spec/dummy/ | 
| 504 | 
            -
            - spec/dummy/ | 
| 505 | 
            -
            - spec/dummy/ | 
| 506 | 
            -
            - spec/dummy/ | 
| 507 | 
            -
            - spec/dummy/ | 
| 508 | 
            -
            - spec/dummy/ | 
| 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/ | 
| 513 | 
            -
            - spec/dummy/ | 
| 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/ | 
| 516 | 
            -
            - spec/dummy/ | 
| 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/ | 
| 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
         |