diff options
author | José Valim <jose.valim@gmail.com> | 2010-10-26 14:05:06 -0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-10-26 14:05:06 -0200 |
commit | 69a1a0adb5d4e615f08e8b1d23d9a6b0e2dd6070 (patch) | |
tree | c7143d2a317cfa5e4974d96429e0e7986d86f741 /actionpack | |
parent | 4ba24ba043a00e61e97369e6664d5c0fcdbc0fe8 (diff) | |
download | rails-69a1a0adb5d4e615f08e8b1d23d9a6b0e2dd6070.tar.gz rails-69a1a0adb5d4e615f08e8b1d23d9a6b0e2dd6070.tar.bz2 rails-69a1a0adb5d4e615f08e8b1d23d9a6b0e2dd6070.zip |
Remove rack-cache-purge.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/actionpack.gemspec | 1 | ||||
-rw-r--r-- | actionpack/lib/action_dispatch/http/rack_cache.rb | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/actionpack/actionpack.gemspec b/actionpack/actionpack.gemspec index 40eafd1a2f..5f60bb8852 100644 --- a/actionpack/actionpack.gemspec +++ b/actionpack/actionpack.gemspec @@ -22,7 +22,6 @@ Gem::Specification.new do |s| s.add_dependency('activesupport', version) s.add_dependency('activemodel', version) s.add_dependency('rack-cache', '~> 0.5.3') - s.add_dependency('rack-cache-purge', '~> 0.0.1') s.add_dependency('builder', '~> 2.1.2') s.add_dependency('i18n', '~> 0.4.1') s.add_dependency('rack', '~> 1.2.1') diff --git a/actionpack/lib/action_dispatch/http/rack_cache.rb b/actionpack/lib/action_dispatch/http/rack_cache.rb index e5914abc81..b5c1435903 100644 --- a/actionpack/lib/action_dispatch/http/rack_cache.rb +++ b/actionpack/lib/action_dispatch/http/rack_cache.rb @@ -21,11 +21,6 @@ module ActionDispatch @store.write(key, value) end - def purge(key) - @store.delete(key) - nil - end - ::Rack::Cache::MetaStore::RAILS = self end @@ -58,10 +53,6 @@ module ActionDispatch [key, size] end - def purge(key) - @store.delete(key) - end - ::Rack::Cache::EntityStore::RAILS = self end end |