Migration to Shrine attachment handling

This commit is contained in:
Christoph Haas 2020-11-01 15:07:16 +01:00
parent 2d53397dda
commit c4f5741b0c
13 changed files with 175 additions and 181 deletions

10
Gemfile
View file

@ -6,9 +6,13 @@ gem 'rails', '~> 6.0'
gem 'bootsnap'
#gem 'webpacker'
# To create variants (different sizes) of screenshot images saved in ActiveStorage
# File handling
gem "shrine", "~> 3.0"
# To create variants (different sizes) of screenshot images
gem 'image_processing'
gem 'mini_magick'
gem 'fastimage'
# Use Puma as the app server
gem 'puma', '~> 3.0'
@ -133,7 +137,3 @@ gem 'omniauth-amazon'
gem 'omniauth-google-oauth2'
gem 'omniauth-github'
gem 'omniauth-openid'
# Validations for ActiveStorage (which replaced Paperclip) are
# not yet available in Rails 6.0. So this is a third-party gem.
gem 'active_storage_validations'