shrine 2.19.2
Shrine is a toolkit for file attachments in Ruby applications. It supports uploading, downloading, processing and deleting IO objects, backed by various storage engines. It uses efficient streaming for low memory usage. Shrine comes with a high-level interface for attaching uploaded files to database records, saving their location and metadata to a database column, and tying them to record's lifecycle. It natively supports background jobs and direct uploads for fully asynchronous user experience.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (2):
content_disposition
~> 1.0
down
~> 4.1
Development 相依性套件 (23):
activerecord
~> 5.2.0
activesupport
~> 5.2.0
aws-sdk-core
~> 3.23
aws-sdk-s3
~> 1.16
dry-monitor
>= 0
fastimage
>= 0
http-form_data
~> 2.0
marcel
>= 0
mimemagic
>= 0.3.2
mime-types
>= 0
mini_magick
~> 4.0
mini_mime
~> 1.0
minitest
~> 5.8
minitest-hooks
~> 1.3
mocha
~> 1.4
rack
~> 2.0
rack-test_app
>= 0
rake
>= 11.1
ruby-filemagic
~> 0.7
ruby-vips
~> 2.0
sequel
>= 0
shrine-memory
>= 0.2.2
sqlite3
~> 1.3.6