alexreisner/geocoder — pull request #592 by drinks (2014-01-28 19:14:35+00:00)
Title: Don't throw errors when using SSL

Setting config `:use_ssl => true` currently raises `IOError` from `Net::HTTP`; Because `start` is called before setting the `use_ssl` flag. This patch sets up all of the required args before calling `start`, and uses `.get` on the existing client rather than instantiating a new instance of Net::HTTP::Get.

As a sidebar, MaxmindLocal tests are erroring, presumably because they exist yet `maxmind_local` isn't being required. Not sure what the gameplan is for that, so I left it alone. The rest of the tests are passing.