rails--rails/activestorage/lib/active_storage
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
..
analyzer Require ruby-vips before downloading blob 2022-06-23 12:50:08 -05:00
attached Make ActiveStorage attach method be consistent between one and many 2022-06-20 19:17:07 -03:00
previewer Require shellwords where it is used 2022-01-06 00:19:11 +00:00
service Pass an array through our stack, don't bother converting back & forth 2021-12-04 02:25:42 +01:00
transformers Make sure allowed image processing arguments are correctly loaded 2022-03-11 17:45:39 +00:00
analyzer.rb Merge branch 'instrument-analyzers' of https://github.com/shouichi/rails into shouichi-instrument-analyzers 2021-08-28 00:48:44 -07:00
attached.rb Fix ActiveStorage has_many_attached when record is not persisted 2021-06-12 19:49:21 +02:00
downloader.rb Add ActiveStorage::Blob.compose 2021-11-25 19:37:57 -05:00
engine.rb Make sure allowed image processing arguments are correctly loaded 2022-03-11 17:45:39 +00:00
errors.rb Revert #38957 (#44287) 2022-01-29 14:27:45 +01:00
fixture_set.rb Add docs on how to write tests for using Active Storage [ci skip] 2021-05-06 16:56:53 -05:00
gem_version.rb Fix #version docs and some typos 2022-03-16 01:48:37 +05:30
log_subscriber.rb Mirror direct uploads 2019-05-22 15:07:35 -04:00
previewer.rb Standardize :doc: comments [ci skip] 2021-08-06 17:10:45 +09:00
reflection.rb Standardize nodoc comments 2021-07-29 21:18:07 +00:00
service.rb Pass an array through our stack, don't bother converting back & forth 2021-12-04 02:25:42 +01:00
version.rb Fix #version docs and some typos 2022-03-16 01:48:37 +05:30