bin/appbundle-updater in appbundle-updater-1.0.4 vs bin/appbundle-updater in appbundle-updater-1.0.5
- old
+ new
@@ -251,10 +251,10 @@
git_url = "https://github.com/#{repo}/archive/#{ref}.tar.gz"
banner("Extracting #{app} from #{git_url}")
Dir.chdir(chefdk.join("embedded/apps")) do
Tempfile.open("appbundle-updater") do |tempfile|
tempfile.binmode
- open(git_url) do |uri|
+ URI.open(git_url) do |uri|
tempfile.write(uri.read)
end
tempfile.close
extract_tgz(tempfile.path)
end