feat: use ActiveStorage for images + image variants
commit6dbd1f7d721d0b1b10507bc8154745f90afea34b
authorFierce Eyes <fierce.eyes@myrtana.sk>
Thu, 16 May 2024 00:46:24 +0000 (16 02:46 +0200)
committerFierce Eyes <fierce.eyes@myrtana.sk>
Thu, 16 May 2024 00:57:04 +0000 (16 02:57 +0200)
treeaae083ebf496fd6b09e82a2933896dcfbae5e756
parent1276e6e6450251b0c193a89fbe525cc33a4397fd
feat: use ActiveStorage for images + image variants

- remove SCSS processor
- component support
- update text renderer
- update article importer
23 files changed:
.rspec
Gemfile
Gemfile.lock
app/assets/stylesheets/application.css
app/assets/stylesheets/oni-sorceress__image-component/component.css [new file with mode: 0644]
app/components/oni_sorceress/component.rb [new file with mode: 0644]
app/components/oni_sorceress/components/image/component.html.erb [new file with mode: 0644]
app/components/oni_sorceress/components/image/component.rb [new file with mode: 0644]
app/lib/oni_sorceress/filesystem_importer/model_importers/article.rb
app/lib/oni_sorceress/text_renderer.rb
app/lib/oni_sorceress/text_renderer/active_storage_image_renderer.rb [new file with mode: 0644]
app/models/oni_sorceress/content/image.rb
app/repositories/oni_sorceress/filesystem/file_repository.rb
app/views/oni_sorceress/front/articles/show.html.slim
lib/capistrano/tasks/rsync.rake
lib/tasks/postdeploy.rake
spec/factories/oni_sorceress/content/articles.rb
spec/factories/oni_sorceress/content/images.rb
spec/fixtures/images/cherry_blossoms.jpg [new file with mode: 0755]
spec/fixtures/images/kuzminovo.jpg [deleted file]
spec/fixtures/images/meadow.jpg [new file with mode: 0644]
spec/lib/oni_sorceress/filesystem_importer/model_importers/article_spec.rb
spec/repositories/oni_sorceress/filesystem/file_repository_spec.rb