brew-aspell-dictionaries: use more explicit open.
This commit is contained in:
parent
c1f7cf529b
commit
e453837304
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue