rack-attack/spec/acceptance/stores
Jonathan del Strother 5cdc15b35a Add a proxy to deal with ActiveSupport::Cache::MemCacheStore
If connection pooling is used with AS::Cache::MemCacheStore,
unwrap_active_support_stores wouldn't return the underlying dalli instance(s),
and so Rack::Attack.store would be the bare unproxied MemCacheStore instance.

Calling write then increment would silently fail because :raw wasn't used.

With this commit, we no longer try to unwrap AS::Cache::MemCacheStore instances.
2018-09-03 12:00:02 +01:00
..
active_support_dalli_store_spec.rb Refactor the "doesn't leak keys" spec 2018-08-30 21:52:13 -03:00
active_support_mem_cache_store_pooled_spec.rb Add a proxy to deal with ActiveSupport::Cache::MemCacheStore 2018-09-03 12:00:02 +01:00
active_support_mem_cache_store_spec.rb Add a proxy to deal with ActiveSupport::Cache::MemCacheStore 2018-09-03 12:00:02 +01:00
active_support_memory_store_spec.rb Refactor the "doesn't leak keys" spec 2018-08-30 21:52:13 -03:00
active_support_redis_cache_store_pooled_spec.rb Refactor the "doesn't leak keys" spec 2018-08-30 21:52:13 -03:00
active_support_redis_cache_store_spec.rb Refactor the "doesn't leak keys" spec 2018-08-30 21:52:13 -03:00
active_support_redis_store_spec.rb Refactor the "doesn't leak keys" spec 2018-08-30 21:52:13 -03:00
connection_pool_dalli_client_spec.rb Refactor the "doesn't leak keys" spec 2018-08-30 21:52:13 -03:00
dalli_client_spec.rb Refactor the "doesn't leak keys" spec 2018-08-30 21:52:13 -03:00
redis_spec.rb Refactor the "doesn't leak keys" spec 2018-08-30 21:52:13 -03:00
redis_store_spec.rb Refactor the "doesn't leak keys" spec 2018-08-30 21:52:13 -03:00