rails--rails/activestorage/lib/active_storage/analyzer
Jonathan Hefner c5133f0010 Require ruby-vips before downloading blob
This ensures that if `download_blob_to_tempfile` raises an error before
evaluating its block, `rescue ::Vips::Error` will not cause a
`NameError` due to `ruby-vips` not being loaded yet.

This also prevents the blob from being downloaded if `ruby-vips` is not
available to analyze it.

A similar change was made for `Analyzer::ImageAnalyzer::ImageMagick`
in #45420.
2022-06-23 12:50:08 -05:00
..
image_analyzer Require ruby-vips before downloading blob 2022-06-23 12:50:08 -05:00
audio_analyzer.rb Improve ActiveStorage analyzer error message for missing ffprobe. Add mention to guides. 2022-01-07 10:32:03 -08:00
image_analyzer.rb Add support to libvips in the image analyzer 2021-06-20 16:51:51 -03:00
null_analyzer.rb Only enqueue analysis jobs when blob is analyzable 2020-01-16 14:14:28 -05:00
video_analyzer.rb Improve ActiveStorage analyzer error message for missing ffprobe. Add mention to guides. 2022-01-07 10:32:03 -08:00