1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove rack-cache-purge.

This commit is contained in:
José Valim 2010-10-26 14:05:06 -02:00
parent 4ba24ba043
commit 69a1a0adb5
2 changed files with 0 additions and 10 deletions

View file

@ -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')

View file

@ -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