Skip to content
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.

Fix CSS image url() references on upload #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jordoh
Copy link

@jordoh jordoh commented Jan 16, 2011

This change adds replacement of url(...) style relative image references with the correct file names in CSS files before they are uploaded to S3. url(...) references containing full paths are not replaced.

Additionally, this replaces the gzip system call with use of the zlib Ruby library for the gzip compression, to avoid the need to write the modified CSS file to disk before gzipping.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant