Sha256: 7e8ca81ad555c1c36bcb421a5526fada24bdc35b756bac14721968c85c34805d

Contents?: true

Size: 1.58 KB

Versions: 38

Compression:

Stored size: 1.58 KB

Contents

require 'delegate'
require 'singleton'
require 'tempfile'
require 'tmpdir'
require 'fileutils'
require 'stringio'
require 'zlib'
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/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/constants'
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

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

38 entries across 32 versions & 5 rubygems

Version Path
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/lib/zip.rb
tdiary-5.0.11 vendor/bundle/gems/rubyzip-1.2.1/lib/zip.rb
vagrant-unbundled-2.1.2.0 vendor/bundle/ruby/2.3.0/gems/rubyzip-1.2.1/lib/zip.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/rubyzip-1.2.1/lib/zip.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.1/lib/zip.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/lib/zip.rb
tdiary-5.0.9 vendor/bundle/gems/rubyzip-1.2.1/lib/zip.rb
vagrant-unbundled-2.1.1.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.1/lib/zip.rb
vagrant-unbundled-2.0.4.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.1/lib/zip.rb
tdiary-5.0.8 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.1/lib/zip.rb
tdiary-5.0.8 vendor/bundle/gems/rubyzip-1.2.1/lib/zip.rb
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/rubyzip-1.2.1/lib/zip.rb
vagrant-unbundled-2.0.3.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.1/lib/zip.rb
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.1/lib/zip.rb
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/lib/zip.rb
tdiary-5.0.7 vendor/bundle/gems/rubyzip-1.2.1/lib/zip.rb
vagrant-unbundled-2.0.1.0 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/lib/zip.rb
tdiary-5.0.6 vendor/bundle/gems/rubyzip-1.2.1/lib/zip.rb
vagrant-unbundled-2.0.0.1 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/lib/zip.rb
vagrant-unbundled-1.9.8.1 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/lib/zip.rb