rails--rails/activestorage/lib/active_storage/analyzer/image_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_magick.rb require mini_magick at the level it is being used 2022-06-21 14:50:01 -03:00
vips.rb Require ruby-vips before downloading blob 2022-06-23 12:50:08 -05:00