Permalink
Browse files

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

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 9533ff0 commit 3530afaa006d1c1d8c81addc05107ca454f80096 @abscondment abscondment committed with josevalim Oct 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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')

0 comments on commit 3530afa

Please sign in to comment.