Sha256: d72ebdd480d5a7733808e92d7da39f595f5ea7c4f5c40f5fab5e12ca1f47db69

Contents?: true

Size: 608 Bytes

Versions: 1

Compression:

Stored size: 608 Bytes

Contents

module Zip

  VERSION = '0.9.4'

  RUBY_MINOR_VERSION = RUBY_VERSION.split(".")[1].to_i

  RUNNING_ON_WINDOWS = Config::CONFIG['host_os'] =~ /^win|mswin/i 

  # Ruby 1.7.x compatibility
  # In ruby 1.6.x and 1.8.0 reading from an empty stream returns 
  # an empty string the first time and then nil.
  #  not so in 1.7.x
  EMPTY_FILE_RETURNS_EMPTY_STRING_FIRST = RUBY_MINOR_VERSION != 7

  class Compressor #:nodoc:all
    def finish
    end
  end
end

# Copyright (C) 2002, 2003 Thomas Sondergaard
# rubyzip is free software; you can redistribute it and/or
# modify it under the terms of the ruby license.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mezza-rubyzip-0.9.4.1 lib/zip/compressor.rb