Closed cctalbott closed 11 years ago
+1
Hi @cctalbott, as of version 1.0.2, private_pub
does require 'net/https'
.
In addition, Net::HTTP
itself will require 'uri'
, so requiring it explicitly in lib/private_pub.rb
is unnecessary.
Cheers, Nicholas
There's already a pull request for the net/https require. Think the uri require is necessary in some cases as well for URI.parse to work correctly when using ssl. I was getting an EOFError (end of file error) until I added the net/https and uri requires.