diff options
author | Brendan Ribera <brendan.ribera@gmail.com> | 2011-10-03 11:27:02 -0700 |
---|---|---|
committer | Brendan Ribera <brendan.ribera@gmail.com> | 2011-10-03 11:32:24 -0700 |
commit | b05a56f47da24e57f1f1a398115cf664ec7eee56 (patch) | |
tree | 00b68433ca199593653405333bf926d7b4e4b2c9 | |
parent | 57d9737f2f4174816c59261bb78699a52b9bce32 (diff) | |
download | rails-b05a56f47da24e57f1f1a398115cf664ec7eee56.tar.gz rails-b05a56f47da24e57f1f1a398115cf664ec7eee56.tar.bz2 rails-b05a56f47da24e57f1f1a398115cf664ec7eee56.zip |
Require rack-cache 1.1.
Versions prior to 1.1 delete the If-Modified-Since and If-Not-Modified headers when
config.action_controller.perform_caching is true. This has two problems:
* unexpected inconsistent behaviour between development & production environments
* breaks applications that use of these headers
-rw-r--r-- | actionpack/actionpack.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/actionpack.gemspec b/actionpack/actionpack.gemspec index f1b7966b9c..b208357584 100644 --- a/actionpack/actionpack.gemspec +++ b/actionpack/actionpack.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |s| s.add_dependency('activesupport', version) s.add_dependency('activemodel', version) - s.add_dependency('rack-cache', '~> 1.0.3') + s.add_dependency('rack-cache', '~> 1.1') s.add_dependency('builder', '~> 3.0.0') s.add_dependency('i18n', '~> 0.6') s.add_dependency('rack', '~> 1.3.2') |