Sha256: b4bf216fadb4fec5ef5ed1bc49232bdee33cc08ba73cf75f0a3844b248d8459e

Contents?: true

Size: 398 Bytes

Versions: 9

Compression:

Stored size: 398 Bytes

Contents

module Zip
  VERSION = '0.9.7'
  RUBY_MINOR_VERSION = RUBY_VERSION.split(".")[1].to_i
  RUNNING_ON_WINDOWS = RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/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
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/rubyzip-0.9.9/lib/zip/constants.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rubyzip-0.9.8/lib/zip/constants.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rubyzip-0.9.8/lib/zip/constants.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rubyzip-0.9.8/lib/zip/constants.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/rubyzip-0.9.8/lib/zip/constants.rb
rubyzip-0.9.9 lib/zip/constants.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/rubyzip-0.9.8/lib/zip/constants.rb
rubyzip-0.9.8 lib/zip/constants.rb
rubyzip-0.9.7 lib/zip/constants.rb