shrine 2.0.1
Shrine is a toolkit for handling file uploads in Ruby. It supports uploading, processing and deleting IO objects, backed by a storage adapter. It uses efficient streaming to minimize memory usage. Shrine comes with a high-level attachment interface for attaching uploaded files to database records, saving their location and metadata to a database column, and tying them to record's lifecycle.
Gemfile:
=
安装:
=
Runtime 依赖 (1):
down
>= 2.2.0
Development 依赖 (17):
activerecord
~> 4.2
aws-sdk
~> 2.1.30
dotenv
>= 0
fastimage
>= 0
mimemagic
>= 0
mime-types
>= 0
minitest
~> 5.8
minitest-hooks
~> 1.3.0
mocha
>= 0
rack-test_app
>= 0
rake
~> 11.1
roda
>= 0
ruby-filemagic
~> 0.7
sequel
>= 0
shrine-memory
~> 0.2.0
sqlite3
>= 0
webmock
>= 0