Sha256: bc685c2164fb9ae3bb3d795ab7678af17da98e0da57fc23c9927b4754612e298
Contents?: true
Size: 375 Bytes
Versions: 3
Compression:
Stored size: 375 Bytes
Contents
# frozen_string_literal: true module WebTranslateIt module Safe class Pigz < Pipe protected def post_process @backup.compressed = true end def pipe '|pigz' end def extension '.gz' end def active? !@backup.compressed && !(find_executable 'pigz').nil? end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
webtranslateit-safe-0.4.11 | lib/web_translate_it/safe/pigz.rb |
webtranslateit-safe-0.4.10 | lib/web_translate_it/safe/pigz.rb |
webtranslateit-safe-0.4.9 | lib/web_translate_it/safe/pigz.rb |