Sha256: 06ddef5082f5c355ffe9daa6048b823017e4bc64c5d11843df28b0a2e0f803d2

Contents?: true

Size: 299 Bytes

Versions: 22

Compression:

Stored size: 299 Bytes

Contents

module Astrails
  module Safe
    class Gzip < Pipe

      protected

      def post_process
        @backup.compressed = true
      end

      def pipe
        "|gzip"
      end

      def extension
        ".gz"
      end

      def active?
        !@backup.compressed
      end

    end
  end
end

Version data entries

22 entries across 22 versions & 6 rubygems

Version Path
webbynode-safe-0.2.5 lib/astrails/safe/gzip.rb
astrails-safe-0.2.4 lib/astrails/safe/gzip.rb