brew-aspell-dictionaries: use more explicit open.

This commit is contained in:
Mike McQuaid 2018-03-06 09:30:21 +00:00
parent c1f7cf529b
commit e453837304

View file

@ -10,7 +10,7 @@ dict_mirror = "https://ftpmirror.gnu.org/aspell/dict"
languages = {}
open("#{dict_url}/0index.html") do |content|
URI.parse("#{dict_url}/0index.html").open do |content|
content.each_line do |line|
break if %r{^</table} =~ line
next unless /^<tr><td><a/ =~ line