rack-attack/spec/acceptance
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
..
stores Add a proxy to deal with ActiveSupport::Cache::MemCacheStore 2018-09-03 12:00:02 +01:00
allow2ban_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
blocking_ip_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
blocking_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
blocking_subnet_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
cache_store_config_for_allow2ban_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
cache_store_config_for_fail2ban_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
cache_store_config_for_throttle_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
cache_store_config_with_rails_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
customizing_blocked_response_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
customizing_throttled_response_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
extending_request_object_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
fail2ban_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
safelisting_ip_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
safelisting_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
safelisting_subnet_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
throttling_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
track_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00
track_throttle_spec.rb Remove support for unmaintained ruby 2.2 2018-06-28 17:08:15 -03:00