ext/Rakefile in kindlegen-3.1.0 vs ext/Rakefile in kindlegen-3.1.1

- old
+ new

@@ -49,11 +49,11 @@ end def curl(url, tarball) puts "open(#{url})" puts "save to #{tarball}" - open(url) do |file| + URI.open(url) do |file| IO.copy_stream(file, tarball) end end # unzip for windows @@ -97,10 +97,10 @@ url: 'https://web.archive.org/web/20150803131026/https://kindlegen.s3.amazonaws.com/kindlegen_linux_2.6_i386_v2_9.tar.gz' }) when /mingw32|mswin32/i create_task_for_windows( { tarball: 'kindlegen_win32_v2_9.zip', target: 'kindlegen.exe', - url: 'http://web.archive.org/web/20150407060917/http://kindlegen.s3.amazonaws.com/kindlegen_win32_v2_9.zip' }) + url: 'https://web.archive.org/web/20150407060917/https://kindlegen.s3.amazonaws.com/kindlegen_win32_v2_9.zip' }) else STDERR.puts "Host OS unsupported!" exit(1) end