Sha256: 77b2e39bf051162f5c8f1b68a7d5b021c9675e53361d1cdae32504200c546b75

Contents?: true

Size: 426 Bytes

Versions: 59

Compression:

Stored size: 426 Bytes

Contents

require 'test_helper'

class Zip64SupportTest < MiniTest::Test
  TEST_FILE = File.join(File.dirname(__FILE__), 'data', 'zip64-sample.zip')

  def test_open_zip64_file
    zip_file = ::Zip::File.open(TEST_FILE)
    assert(!zip_file.nil?)
    assert(zip_file.entries.count == 2)
    test_rb = zip_file.entries.find { |x| x.name == 'test.rb' }
    assert(test_rb.size == 482)
    assert(test_rb.compressed_size == 229)
  end
end

Version data entries

59 entries across 47 versions & 5 rubygems

Version Path
vagrant-unbundled-1.9.8.1 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
vagrant-unbundled-1.9.7.1 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
tdiary-5.0.5 vendor/bundle/gems/rubyzip-1.2.1/test/zip64_support_test.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/rubyzip-1.2.1/test/zip64_support_test.rb
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
tdiary-5.0.4 vendor/bundle/gems/rubyzip-1.2.1/test/zip64_support_test.rb
rubyzip-1.2.1 test/zip64_support_test.rb
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.0/test/zip64_support_test.rb
tdiary-5.0.2 vendor/bundle/gems/rubyzip-1.2.0/test/zip64_support_test.rb
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/rubyzip-1.2.0/test/zip64_support_test.rb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/rubyzip-1.2.0/test/zip64_support_test.rb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/rubyzip-1.2.0/test/zip64_support_test.rb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/rubyzip-1.2.0/test/zip64_support_test.rb
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/rubyzip-1.2.0/test/zip64_support_test.rb
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/rubyzip-1.2.0/test/zip64_support_test.rb
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/rubyzip-1.2.0/test/zip64_support_test.rb
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/rubyzip-1.2.0/test/zip64_support_test.rb
tdiary-5.0.1 vendor/bundle/gems/rubyzip-1.2.0/test/zip64_support_test.rb
rubyzip-1.2.0 test/zip64_support_test.rb