brew-aspell-dictionaries: use more explicit open.

master
Mike McQuaid 2018-03-06 09:30:21 +00:00
parent c1f7cf529b
commit e453837304
1 changed files with 1 additions and 1 deletions

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