src/supermarket/engines/fieri/app/models/cookbook_artifact.rb
#
# downloads and untars a cookbook to the work_dir
#
downloads and untars a cookbook to the work_dir
downloads and untars a cookbook to the work_dir
def prep
    downloaded_tarball = download
    tar = Mixlib::Archive.new(downloaded_tarball.path)
    tar.extract(work_dir, perms: false)
  end
def prep downloaded_tarball = download tar = Mixlib :: Archive . new ( downloaded_tarball . path ) tar . extract ( work_dir , perms : false ) end
downloads and untars a cookbook to the work_dir
downloads and untars a cookbook to the work_dir