lib/chupa-text/input-data.rb in chupa-text-1.2.5 vs lib/chupa-text/input-data.rb in chupa-text-1.2.6
- old
+ new
@@ -46,9 +46,13 @@
def open(&block)
@content.open(&block)
end
+ def release
+ @content.release
+ end
+
private
def download
begin
@uri.open("rb") do |input|
self.mime_type = input.content_type.split(/;/).first