lib/berkshelf.rb in berkshelf-3.2.0 vs lib/berkshelf.rb in berkshelf-3.2.1

- old
+ new

@@ -6,11 +6,10 @@ require 'pathname' require 'ridley' require 'semverse' require 'solve' require 'thor' -require 'tmpdir' require 'uri' require 'celluloid' JSON.create_id = nil @@ -101,23 +100,9 @@ FileUtils.mkdir_p(berkshelf_path, mode: 0755) unless File.writable?(berkshelf_path) raise InsufficientPrivledges.new(berkshelf_path) end - end - - # @return [String] - def tmp_dir - File.join(berkshelf_path, 'tmp') - end - - # Creates a temporary directory within the Berkshelf path - # - # @return [String] - # path to the created temporary directory - def mktmpdir - FileUtils.mkdir_p(tmp_dir) - Dir.mktmpdir(nil, tmp_dir) end # @return [Berkshelf::CookbookStore] def cookbook_store CookbookStore.instance