mixlib-archive 1.0.1-universal-mingw32 → 1.0.5-universal-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3257be73a98527e13ed8c47c4c93b3aabe0d8444764646b38e8621cf755e3a1a
4
- data.tar.gz: 75ae3489c75b2d9c0214627b3fa8240c1312d2ed5a8359ec6df6d7c2e9cef225
3
+ metadata.gz: 9f91a23e2a3a2ecc034a44fa45d1403d03e740dfb68a2228b7ab267a5b9c0073
4
+ data.tar.gz: 372042aa8ca2ffa7cc0a751b8ec7abf00b85e0f21b91cbf74d9ca7a85331ad10
5
5
  SHA512:
6
- metadata.gz: 52d96f21a49417c1b434c7297b3bfe512d1c05417a737aa51632bb9c80d3300dc6daf0d0ddf8ffd94fc52596d8105c44ec94afed52f48dda2a065486b64843dc
7
- data.tar.gz: '08158917b97540e807e3e32c1d7303267aba83523e94a002ce6782455cccbbfba6524fc3cbd69aae6e43dd2a1c4dcf2ea871bd4816ecd68c771815aa33c6b106'
6
+ metadata.gz: d8d556c16fb7299428ee11b93ff10d9d332c24bef814606640d724b664a2b7c63385e3b0cc20e0a68242694dec063bbbc5e4b2461fcfabbd9651c42a18c6a754
7
+ data.tar.gz: 6d21a36a9c67aac56c6a81d2ff68091cf7fc73562d94b658ffbe01f5773949e7f560e122c9da537e77c24237f1562cc20c11e7a96e0cc987f51d49e28ba4ddf5
@@ -1,5 +1,5 @@
1
- require "mixlib/archive/tar"
2
- require "mixlib/archive/version"
1
+ require_relative "archive/tar"
2
+ require_relative "archive/version"
3
3
  require "mixlib/log"
4
4
  require "find"
5
5
 
@@ -21,7 +21,7 @@ module Mixlib
21
21
  archive = File.expand_path(archive)
22
22
  begin
23
23
  # we prefer to use libarchive, which supports a great big pile o' stuff
24
- require "mixlib/archive/lib_archive"
24
+ require_relative "archive/lib_archive"
25
25
  @archiver = Mixlib::Archive::LibArchive.new(archive)
26
26
  rescue LoadError
27
27
  # but if we can't use that, we'll fall back to ruby's native tar implementation
@@ -58,6 +58,7 @@ module Mixlib
58
58
  if @empty
59
59
  Dir.foreach(destination) do |entry|
60
60
  next if entry == "." || entry == ".."
61
+
61
62
  FileUtils.remove_entry_secure(File.join(destination, entry))
62
63
  end
63
64
  end
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Archive
3
- VERSION = "1.0.1".freeze
3
+ VERSION = "1.0.5".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixlib-archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.5
5
5
  platform: universal-mingw32
6
6
  authors:
7
7
  - Chef Software, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-16 00:00:00.000000000 Z
11
+ date: 2019-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-log
@@ -58,8 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0'
60
60
  requirements: []
61
- rubyforge_project:
62
- rubygems_version: 2.7.6
61
+ rubygems_version: 3.0.3
63
62
  signing_key:
64
63
  specification_version: 4
65
64
  summary: A simple interface to various archive formats