Sha256: e07801c4aa7423e4a67cdb882605d0188d6f59026e8e1a57cdeec05e5e4cbc32
Contents?: true
Size: 484 Bytes
Versions: 11
Compression:
Stored size: 484 Bytes
Contents
module Uricp::Strategy class PipedCompress include Uricp::Strategy::Common def appropriate? case from.scheme when 'pipe' return proposal if compression_required? end debug "#{self.class.name}: not appropriate" false end def command "lz4 |" end def proposal @proposed_options = options.dup @proposed_options.delete('compress') @proposed_options['encoding']='lz4' self end end end
Version data entries
11 entries across 11 versions & 1 rubygems