vzaar_api 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +2 -0
- data/README.md +2 -2
- data/lib/vzaar_api/abstract.rb +1 -1
- data/lib/vzaar_api/lib/active_object.rb +9 -4
- data/lib/vzaar_api/lib/api.rb +2 -1
- data/lib/vzaar_api/lib/has_resource_url.rb +7 -4
- data/lib/vzaar_api/lib/paged_resource.rb +7 -2
- data/lib/vzaar_api/lib/will_paginate.rb +5 -1
- data/lib/vzaar_api/playlist.rb +1 -1
- data/lib/vzaar_api/signature/abstract.rb +17 -4
- data/lib/vzaar_api/signature/multipart.rb +1 -1
- data/lib/vzaar_api/signature/single.rb +1 -1
- data/lib/vzaar_api/strategy/image/abstract.rb +25 -0
- data/lib/vzaar_api/strategy/image/create.rb +21 -0
- data/lib/vzaar_api/strategy/image/update.rb +11 -0
- data/lib/vzaar_api/strategy/subtitle/create.rb +36 -0
- data/lib/vzaar_api/upload/s3.rb +2 -4
- data/lib/vzaar_api/version.rb +1 -1
- data/lib/vzaar_api/video/subtitle.rb +38 -0
- data/lib/vzaar_api/video.rb +8 -1
- data/lib/vzaar_api.rb +5 -0
- data/spec/fixtures/vcr_cassettes/signature/multipart_201.yml +20 -20
- data/spec/fixtures/vcr_cassettes/signature/multipart_422.yml +12 -12
- data/spec/fixtures/vcr_cassettes/signature/single_201.yml +20 -20
- data/spec/fixtures/vcr_cassettes/signature/single_422.yml +11 -11
- data/spec/fixtures/vcr_cassettes/subtitles/create_201.yml +58 -0
- data/spec/fixtures/vcr_cassettes/subtitles/create_422.yml +48 -0
- data/spec/fixtures/vcr_cassettes/subtitles/create_from_file_201.yml +63 -0
- data/spec/fixtures/vcr_cassettes/subtitles/delete_204.yml +52 -0
- data/spec/fixtures/vcr_cassettes/subtitles/paginate.yml +58 -0
- data/spec/fixtures/vcr_cassettes/subtitles/paginate_first.yml +58 -0
- data/spec/fixtures/vcr_cassettes/subtitles/paginate_last.yml +113 -0
- data/spec/fixtures/vcr_cassettes/subtitles/paginate_next.yml +113 -0
- data/spec/fixtures/vcr_cassettes/subtitles/update_200.yml +113 -0
- data/spec/fixtures/vcr_cassettes/subtitles/update_422.yml +104 -0
- data/spec/fixtures/vcr_cassettes/upload/multipart_201.yml +162 -144
- data/spec/fixtures/vcr_cassettes/upload/multipart_403.yml +12 -116545
- data/spec/fixtures/vcr_cassettes/upload/single_201.yml +12 -23353
- data/spec/fixtures/vcr_cassettes/upload/single_403.yml +12 -23341
- data/spec/fixtures/vcr_cassettes/videos/create/link_201.yml +24 -22
- data/spec/fixtures/vcr_cassettes/videos/create/path_201.yml +55 -23394
- data/spec/fixtures/vcr_cassettes/videos/image_frame_202.yml +61 -0
- data/spec/fixtures/vcr_cassettes/videos/image_frame_422.yml +48 -0
- data/spec/fixtures/vcr_cassettes/videos/image_upload_frame_202.yml +62 -0
- data/spec/fixtures/vcr_cassettes/videos/image_upload_frame_422.yml +49 -0
- data/spec/support/files/drex.jpg +0 -0
- data/spec/support/files/fr.vtt +4 -0
- data/spec/support/helpers.rb +2 -3
- data/spec/support/shared_examples.rb +23 -0
- data/spec/vzaar_api/signature/multipart_spec.rb +34 -21
- data/spec/vzaar_api/signature/single_spec.rb +27 -16
- data/spec/vzaar_api/subtitle_spec.rb +206 -0
- data/spec/vzaar_api/upload/s3_spec.rb +40 -37
- data/spec/vzaar_api/video_spec.rb +55 -2
- metadata +45 -4
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.