cedric/ssl_routes — pull request #7 by gsmendoza (2013-04-20 09:17:06+00:00)
Title: With port option and tests

Hello @cedric,

I added options for configuring the ports of http and https requests. Since [thin](http://code.macournoyer.com/thin/) can be ran with ssl, the port options makes it possible to test ssl_routes in local development. Just run two instances of thin: 3000 on http and 3001 on https.

Basically I was just too lazy to set up passenger/nginx with ssl certificates locally :)

As a bonus, I added some rspec tests to confirm the new options. I ran the tests on ruby 1.9.3p327 and Rails 3.2.13.

Thanks!

George Mendoza