this is derived from the http://github.org/rails/ssl_requirement:rails/ssl_requirement and adopted a more strict approach: security everything and open where needed.
info about the actual gem please look into the directory http://github.org/mkristian/ixtlan-guard/gem:enforce-ssl-gem
the http://github.org/mkristian/ixtlan-guard/gem:demo is a sample rails3 application with integration tests. see readme how to start the application and what limitations apply.
first you need jruby for this ! then you need to install
jruby -S gem 'ruby-maven'
which allows to run the integration-tests from the demo with jetty.
now you can execute