Sha256: dc388b728b56f4d1d81057c8e0e85449d412002113aebb7c099b3900a00b40e5

Contents?: true

Size: 1.84 KB

Versions: 41

Compression:

Stored size: 1.84 KB

Contents

require 'English'
require 'delegate'
require 'singleton'
require 'tempfile'
require 'fileutils'
require 'stringio'
require 'zlib'
require 'zip/constants'
require 'zip/dos_time'
require 'zip/ioextras'
require 'rbconfig'
require 'zip/entry'
require 'zip/extra_field'
require 'zip/entry_set'
require 'zip/central_directory'
require 'zip/file'
require 'zip/input_stream'
require 'zip/output_stream'
require 'zip/decompressor'
require 'zip/compressor'
require 'zip/null_decompressor'
require 'zip/null_compressor'
require 'zip/null_input_stream'
require 'zip/pass_thru_compressor'
require 'zip/pass_thru_decompressor'
require 'zip/crypto/decrypted_io'
require 'zip/crypto/encryption'
require 'zip/crypto/null_encryption'
require 'zip/crypto/traditional_encryption'
require 'zip/inflater'
require 'zip/deflater'
require 'zip/streamable_stream'
require 'zip/streamable_directory'
require 'zip/errors'

module Zip
  extend self
  attr_accessor :unicode_names,
                :on_exists_proc,
                :continue_on_exists_proc,
                :sort_entries,
                :default_compression,
                :write_zip64_support,
                :warn_invalid_date,
                :case_insensitive_match,
                :force_entry_names_encoding,
                :validate_entry_sizes

  def reset!
    @_ran_once = false
    @unicode_names = false
    @on_exists_proc = false
    @continue_on_exists_proc = false
    @sort_entries = false
    @default_compression = ::Zlib::DEFAULT_COMPRESSION
    @write_zip64_support = false
    @warn_invalid_date = true
    @case_insensitive_match = false
    @validate_entry_sizes = true
  end

  def setup
    yield self unless @_ran_once
    @_ran_once = true
  end

  reset!
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

41 entries across 31 versions & 8 rubygems

Version Path
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/rubyzip-2.3.0/lib/zip.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/rubyzip-2.3.0/lib/zip.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/3.0.0/gems/rubyzip-2.3.0/lib/zip.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip.rb
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/rubyzip-2.3.0/lib/zip.rb
vagrant-unbundled-2.2.14.0 vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip.rb
tdiary-5.1.4 vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip.rb
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip.rb
tdiary-5.1.3 vendor/bundle/ruby/2.6.0/gems/rubyzip-2.3.0/lib/zip.rb
tdiary-5.1.3 vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip.rb
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/rubyzip-2.3.0/lib/zip.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/rubyzip-2.3.0/lib/zip.rb
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip.rb
tdiary-5.1.2 vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip.rb
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip.rb