diff options
author | Prem Sichanugrist <s@sikachu.com> | 2011-03-27 23:55:46 +0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2011-03-27 13:27:23 -0700 |
commit | 2c0c4d754e34b13379dfc53121a970c25fab5dae (patch) | |
tree | a911462aeb8f1bd2e8df9d255708d074cfdf37ce /railties/railties.gemspec | |
parent | b2d94322e6f2c2324154465147938ca8b16c610d (diff) | |
download | rails-2c0c4d754e34b13379dfc53121a970c25fab5dae.tar.gz rails-2c0c4d754e34b13379dfc53121a970c25fab5dae.tar.bz2 rails-2c0c4d754e34b13379dfc53121a970c25fab5dae.zip |
Add `config.force_ssl` configuration which will load `Rack::SSL` middleware if set to true
This will allow user to be able to force all requests to be under HTTPS protocol.
This commit was a request from DHH. Special thanks to Josh Peek as well for making `Rack::SSL`.
Diffstat (limited to 'railties/railties.gemspec')
-rw-r--r-- | railties/railties.gemspec | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/railties.gemspec b/railties/railties.gemspec index c3793d3ac3..c51fe856be 100644 --- a/railties/railties.gemspec +++ b/railties/railties.gemspec @@ -21,6 +21,7 @@ Gem::Specification.new do |s| s.add_dependency('rake', '>= 0.8.7') s.add_dependency('thor', '~> 0.14.4') + s.add_dependency('rack-ssl', '~> 1.3.2') s.add_dependency('activesupport', version) s.add_dependency('actionpack', version) end |