Skip to content

Experiment: Ruby on Rails' image_tag drop-in support #4

Merged
BilalBudhani merged 8 commits into
v0.2from
image-tag-patch-support
Sep 12, 2025
Merged

Experiment: Ruby on Rails' image_tag drop-in support #4
BilalBudhani merged 8 commits into
v0.2from
image-tag-patch-support

Conversation

@BilalBudhani
Copy link
Copy Markdown
Collaborator

This PR focuses on adding a full support for image_tag via patch config

- Add Fileboost::VariantTransformer to map ActiveStorage variant transformations to Fileboost params
- Require variant_transformer in lib/fileboost.rb
- Update UrlBuilder to accept asset and merge variant params; adjust param normalization (quality validation)
- Add extensive specs for variant handling and update existing helper/image_tag/url_builder tests
- Define a :thumb named variant in test User model
@BilalBudhani BilalBudhani changed the base branch from main to v0.2 September 12, 2025 15:29
@BilalBudhani BilalBudhani marked this pull request as ready for review September 12, 2025 15:29
@BilalBudhani BilalBudhani merged commit 28ae9ab into v0.2 Sep 12, 2025
2 checks passed
@BilalBudhani BilalBudhani deleted the image-tag-patch-support branch September 12, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant