summaryrefslogtreecommitdiff
path: root/lib/html_word_diff.rb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-13 04:54:20 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-13 04:54:20 +0200
commitb138f40a6493f7c4341fba196c48440e795babb9 (patch)
tree957e3945b709542ca744bedf8c54d36a33292c16 /lib/html_word_diff.rb
parent5f56fa867f073d8d1aecbfbba4a340ea414cfb0d (diff)
Add assets:regenerate_variants rake task
Regenerates ImageMagick variants from each asset's stored original -- needed because assets uploaded before :headline existed in FileAttachment::STYLES never had that file generated, producing a 404 rather than a distorted image. Supports ASSET_ID=N scoping so a single asset can be tested before committing to a full, expensive sweep across everything. Doesn't touch the separate, still-open problem of :headline's forced non-uniform stretch (460x250!) -- this task faithfully regenerates whatever geometry the style defines, correctly. Fixing the distortion itself is its own, later piece.
Diffstat (limited to 'lib/html_word_diff.rb')
0 files changed, 0 insertions, 0 deletions