Skip to content

Switch to the correct ActiveStorage variant syntax#4003

Merged
kennyadsl merged 2 commits intosolidusio:masterfrom
nebulab:nebulab/active-storage-variant-syntax
Apr 14, 2021
Merged

Switch to the correct ActiveStorage variant syntax#4003
kennyadsl merged 2 commits intosolidusio:masterfrom
nebulab:nebulab/active-storage-variant-syntax

Conversation

@filippoliverani
Copy link
Copy Markdown
Contributor

@filippoliverani filippoliverani commented Mar 19, 2021

Description

This PR updates the syntax that we're using to create variants from main ActiveStorage images in our attachment decorator.
Since Rails 6.0, MiniMagik syntax has been depreacted in favor of ImageProcessing wrapper gem.

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • [ ] I have updated Guides and README accordingly to this change (if needed)
  • [ ] I have added tests to cover this change (if needed)
  • [ ] I have attached screenshots to this PR for visual changes (if needed)

Comment thread core/app/models/concerns/spree/active_storage_adapter/attachment.rb
@filippoliverani filippoliverani marked this pull request as ready for review April 2, 2021 13:35
Copy link
Copy Markdown
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Filippo!

@kennyadsl
Copy link
Copy Markdown
Member

@jarednorman can you please review again?

@kennyadsl kennyadsl added this to the 2.11 milestone Apr 8, 2021
@kennyadsl kennyadsl added Needs Backport changelog:solidus_core Changes to the solidus_core gem labels Apr 8, 2021
@kennyadsl kennyadsl merged commit 2addfd6 into solidusio:master Apr 14, 2021
@kennyadsl kennyadsl deleted the nebulab/active-storage-variant-syntax branch April 14, 2021 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:solidus_core Changes to the solidus_core gem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants