ryanb / private_pub

Handle pub/sub messaging through private channels in Rails using Faye.
MIT License
864 stars 228 forks source link

Missing HTTPS and URI require #50

Closed cctalbott closed 11 years ago

cctalbott commented 12 years ago

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.

mmcdermott commented 11 years ago

+1

nfm commented 11 years ago

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