From 37d3c136c4967091b772d0cc05b25292bee263ab Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 6 Jan 2021 10:37:40 -0500 Subject: [PATCH] rolling back to earlier URI --- lib/image.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/image.rb b/lib/image.rb index 5697711b..a1e6cd42 100644 --- a/lib/image.rb +++ b/lib/image.rb @@ -11,7 +11,7 @@ module ImageSmith temp_file = nil if source.start_with?("http") then temp_file = Tempfile.new("img") - URI.open(source) do |f| + open(source) do |f| temp_file.write(f.read) end temp_file.flush