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
astrails-safe-0.1.10 lib/astrails/safe/gzip.rb
astrails-safe-0.1.7 lib/astrails/safe/gzip.rb
astrails-safe-0.1.8 lib/astrails/safe/gzip.rb
astrails-safe-0.1.9 lib/astrails/safe/gzip.rb
astrails-safe-0.2.0 lib/astrails/safe/gzip.rb
astrails-safe-0.2.1 lib/astrails/safe/gzip.rb
astrails-safe-0.2.2 lib/astrails/safe/gzip.rb
astrails-safe-0.2.3 lib/astrails/safe/gzip.rb
bostonlogic-safe-0.3.0 lib/astrails/safe/gzip.rb
akupchanko-astrails-safe-0.3.1 lib/astrails/safe/gzip.rb
astrails-safe-0.3.1 lib/astrails/safe/gzip.rb
astrails-safe-0.3.0 lib/astrails/safe/gzip.rb
netguru-safe-0.2.11 lib/astrails/safe/gzip.rb
netguru-safe-0.2.10 lib/astrails/safe/gzip.rb
netguru-safe-0.2.9 lib/astrails/safe/gzip.rb
darkofabijan-astrails-safe-0.2.9 lib/astrails/safe/gzip.rb
darkofabijan-astrails-safe-0.2.8 lib/astrails/safe/gzip.rb
astrails-safe-0.2.7 lib/astrails/safe/gzip.rb
astrails-safe-0.2.6 lib/astrails/safe/gzip.rb
astrails-safe-0.2.5 lib/astrails/safe/gzip.rb