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.7.0 vendor/bundle/ruby/2.7.0/gems/rubyzip-1.3.0/test/zip64_support_test.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.3/test/zip64_support_test.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/test/zip64_support_test.rb
vagrant-unbundled-2.2.6.2 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.4/test/zip64_support_test.rb
vagrant-unbundled-2.2.6.1 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.4/test/zip64_support_test.rb
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.4/test/zip64_support_test.rb
rubyzip-1.3.0 test/zip64_support_test.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.2/test/zip64_support_test.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.4/test/zip64_support_test.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.2/test/zip64_support_test.rb
rubyzip-1.2.4 test/zip64_support_test.rb
rubyzip-1.2.3 test/zip64_support_test.rb
tdiary-5.0.13 vendor/bundle/gems/rubyzip-1.2.2/test/zip64_support_test.rb
tdiary-5.0.12.1 vendor/bundle/gems/rubyzip-1.2.2/test/zip64_support_test.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.2/test/zip64_support_test.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.2/test/zip64_support_test.rb
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.2/test/zip64_support_test.rb
tdiary-5.0.11 vendor/bundle/gems/rubyzip-1.2.2/test/zip64_support_test.rb
tdiary-5.0.11 vendor/bundle/gems/rubyzip-1.2.1/test/zip64_support_test.rb
vagrant-unbundled-2.2.2.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.2/test/zip64_support_test.rb