mirror of https://github.com/rails/rails
Remove rack-cache-purge.
This commit is contained in:
parent
4ba24ba043
commit
69a1a0adb5
|
@ -22,7 +22,6 @@ Gem::Specification.new do |s|
|
||||||
s.add_dependency('activesupport', version)
|
s.add_dependency('activesupport', version)
|
||||||
s.add_dependency('activemodel', version)
|
s.add_dependency('activemodel', version)
|
||||||
s.add_dependency('rack-cache', '~> 0.5.3')
|
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('builder', '~> 2.1.2')
|
||||||
s.add_dependency('i18n', '~> 0.4.1')
|
s.add_dependency('i18n', '~> 0.4.1')
|
||||||
s.add_dependency('rack', '~> 1.2.1')
|
s.add_dependency('rack', '~> 1.2.1')
|
||||||
|
|
|
@ -21,11 +21,6 @@ module ActionDispatch
|
||||||
@store.write(key, value)
|
@store.write(key, value)
|
||||||
end
|
end
|
||||||
|
|
||||||
def purge(key)
|
|
||||||
@store.delete(key)
|
|
||||||
nil
|
|
||||||
end
|
|
||||||
|
|
||||||
::Rack::Cache::MetaStore::RAILS = self
|
::Rack::Cache::MetaStore::RAILS = self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -58,10 +53,6 @@ module ActionDispatch
|
||||||
[key, size]
|
[key, size]
|
||||||
end
|
end
|
||||||
|
|
||||||
def purge(key)
|
|
||||||
@store.delete(key)
|
|
||||||
end
|
|
||||||
|
|
||||||
::Rack::Cache::EntityStore::RAILS = self
|
::Rack::Cache::EntityStore::RAILS = self
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue