lib/pe_build/unpack/tar.rb in vagrant-pe_build-0.4.3 vs lib/pe_build/unpack/tar.rb in vagrant-pe_build-0.5.0

- old
+ new

@@ -13,9 +13,14 @@ def unpack ::Archive::Tar::Minitar.unpack(zip, @dst) end + # @return [String] The file/dir that will be created as a result of unpack + def creates + File.join(@dst, dirname) + end + # @return [String] The base directory contained in the tar archive def dirname input = ::Archive::Tar::Minitar::Input.new(zip) base = nil