forresty/hn — pull request #3 by imkmf (2013-03-23 18:51:54+00:00)
Title: Fix #2, move to HTTPS

In #2 I suggested patching the open_uri#open function to fix the redirection error with this gem. I wasn't super comfortable with patching a common Ruby function, however, and the fix itself didn't seem to solve as many problems as I thought it would. The main issue, on my machine at least, lies with OpenSSL configuration with Ruby installs.

I changed all the references to HN in the gem to HTTPS, as well as added a section in the README for fixing the problem on users' machines. It's not a permanent fix, but I have the gem working again on my machine and all the tests pass. I'm hoping to see Ruby 2.0.0 finally fix this (four year old!!!) problem and allow us to clean the gem back up.

Let me know what you think.