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-2.2.0.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.2/test/zip64_support_test.rb
vagrant-unbundled-2.1.4.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.2/test/zip64_support_test.rb
rubyzip-1.2.2 test/zip64_support_test.rb
vagrant-unbundled-2.1.2.0 vendor/bundle/ruby/2.3.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
tdiary-5.0.9 vendor/bundle/gems/rubyzip-1.2.1/test/zip64_support_test.rb
vagrant-unbundled-2.1.1.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
vagrant-unbundled-2.0.4.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/rubyzip-1.2.1/test/zip64_support_test.rb
tdiary-5.0.8 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
tdiary-5.0.8 vendor/bundle/gems/rubyzip-1.2.1/test/zip64_support_test.rb
vagrant-unbundled-2.0.3.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
tdiary-5.0.7 vendor/bundle/gems/rubyzip-1.2.1/test/zip64_support_test.rb
vagrant-unbundled-2.0.1.0 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
tdiary-5.0.6 vendor/bundle/gems/rubyzip-1.2.1/test/zip64_support_test.rb
vagrant-unbundled-2.0.0.1 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb