Sha256: ea779aad85ce9ab6d2caaab25659e8f99281a78530ba2b1c7199e2035724d83f
Contents?: true
Size: 744 Bytes
Versions: 8
Compression:
Stored size: 744 Bytes
Contents
module Uricp::Strategy class PipedDecompress include Uricp::Strategy::Common def appropriate? case from.scheme when 'pipe' return proposal if lz4_source? end debug "#{self.class.name}: not appropriate" false end def command 'lz4 -d |' end def proposal @proposed_options = options.dup @proposed_options.delete('source-format') if @proposed_options['target-format'] @proposed_options['source-format'] = :raw if @proposed_options['source-format'] == @proposed_options['target-format'] @proposed_options.delete('source-format') @proposed_options.delete('target-format') end end self end end end
Version data entries
8 entries across 8 versions & 1 rubygems