lib/gem-search/cli.rb in gem-search-0.0.7 vs lib/gem-search/cli.rb in gem-search-0.0.8

- old
+ new

@@ -35,10 +35,10 @@ def open_uri(url, &block) option = {} proxy = URI.parse(url).find_proxy if proxy if proxy.user && proxy.password - option[:proxy_http_basic_authentication] = [proxy, proxy.usesr, proxy.password] + option[:proxy_http_basic_authentication] = [proxy, proxy.user, proxy.password] end end open(url, option, &block) end