class Sprockets::Utils::Gzip
def compress(file, target)
Does not modify the target asset.
the same name plus a `.gz` extension in the same folder as the original.
Compresses the target asset's contents and puts it into a file with
Private: Generates a gzipped file based off of reference asset.
def compress(file, target) mtime = Sprockets::PathUtils.stat(target).mtime archiver.call(file, source, mtime) nil end