Skip to content

Commit

Permalink
Require 'tmpdir' only in the tests.
Browse files Browse the repository at this point in the history
It's not used in the library code.
  • Loading branch information
hainesr committed Sep 27, 2019
1 parent 506d557 commit e871842
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion lib/zip.rb
@@ -1,7 +1,6 @@
require 'delegate'
require 'singleton'
require 'tempfile'
require 'tmpdir'
require 'fileutils'
require 'stringio'
require 'zlib'
Expand Down
1 change: 1 addition & 0 deletions test/test_helper.rb
Expand Up @@ -2,6 +2,7 @@
require 'minitest/autorun'
require 'minitest/unit'
require 'fileutils'
require 'tmpdir'
require 'digest/sha1'
require 'zip'
require 'gentestfiles'
Expand Down

1 comment on commit e871842

@sayobile
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LICENSE

Please sign in to comment.