mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
ci: test against ActiveSupport::RedisCacheStore v5 (#632)
This commit is contained in:
parent
8d77a5b0f1
commit
070e467ef2
21 changed files with 137 additions and 1 deletions
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
|
|
@ -40,12 +40,18 @@ jobs:
|
|||
- connection_pool_dalli
|
||||
- active_support_redis_cache_store
|
||||
- active_support_redis_cache_store_pooled
|
||||
- active_support_5_redis_cache_store
|
||||
- active_support_5_redis_cache_store_pooled
|
||||
- redis_store
|
||||
exclude:
|
||||
- gemfile: rack_1
|
||||
ruby: 3.2.2
|
||||
- gemfile: rails_5_2
|
||||
ruby: 3.2.2
|
||||
- gemfile: active_support_5_redis_cache_store
|
||||
ruby: 3.2.2
|
||||
- gemfile: active_support_5_redis_cache_store_pooled
|
||||
ruby: 3.2.2
|
||||
- gemfile: rails_4_2
|
||||
ruby: 3.2.2
|
||||
- gemfile: dalli2
|
||||
|
|
@ -54,6 +60,10 @@ jobs:
|
|||
ruby: 3.1.4
|
||||
- gemfile: rails_5_2
|
||||
ruby: 3.1.4
|
||||
- gemfile: active_support_5_redis_cache_store
|
||||
ruby: 3.1.4
|
||||
- gemfile: active_support_5_redis_cache_store_pooled
|
||||
ruby: 3.1.4
|
||||
- gemfile: rails_4_2
|
||||
ruby: 3.1.4
|
||||
- gemfile: dalli2
|
||||
|
|
@ -62,6 +72,10 @@ jobs:
|
|||
ruby: 3.0.6
|
||||
- gemfile: rails_5_2
|
||||
ruby: 3.0.6
|
||||
- gemfile: active_support_5_redis_cache_store
|
||||
ruby: 3.0.6
|
||||
- gemfile: active_support_5_redis_cache_store_pooled
|
||||
ruby: 3.0.6
|
||||
- gemfile: rails_4_2
|
||||
ruby: 3.0.6
|
||||
- gemfile: dalli2
|
||||
|
|
|
|||
11
Appraisals
11
Appraisals
|
|
@ -81,6 +81,17 @@ appraise "active_support_redis_cache_store_pooled" do
|
|||
gem "redis", "~> 5.0"
|
||||
end
|
||||
|
||||
appraise "active_support_5_redis_cache_store" do
|
||||
gem "activesupport", "~> 5.2.0"
|
||||
gem "redis", "~> 5.0"
|
||||
end
|
||||
|
||||
appraise "active_support_5_redis_cache_store_pooled" do
|
||||
gem "activesupport", "~> 5.2.0"
|
||||
gem "connection_pool", "~> 2.2"
|
||||
gem "redis", "~> 5.0"
|
||||
end
|
||||
|
||||
appraise "redis_store" do
|
||||
gem "redis-store", "~> 1.5"
|
||||
end
|
||||
|
|
|
|||
13
gemfiles/active_support_5_redis_cache_store.gemfile
Normal file
13
gemfiles/active_support_5_redis_cache_store.gemfile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# This file was generated by Appraisal
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "activesupport", "~> 5.2.0"
|
||||
gem "redis", "~> 5.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
14
gemfiles/active_support_5_redis_cache_store_pooled.gemfile
Normal file
14
gemfiles/active_support_5_redis_cache_store_pooled.gemfile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# This file was generated by Appraisal
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "activesupport", "~> 5.2.0"
|
||||
gem "connection_pool", "~> 2.2"
|
||||
gem "redis", "~> 5.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
@ -5,4 +5,9 @@ source "https://rubygems.org"
|
|||
gem "activesupport", "~> 6.1.0"
|
||||
gem "redis", "~> 5.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -6,4 +6,9 @@ gem "activesupport", "~> 6.1.0"
|
|||
gem "connection_pool", "~> 2.2"
|
||||
gem "redis", "~> 5.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -5,4 +5,9 @@ source "https://rubygems.org"
|
|||
gem "connection_pool", "~> 2.2"
|
||||
gem "dalli", "~> 3.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -4,4 +4,9 @@ source "https://rubygems.org"
|
|||
|
||||
gem "dalli", "~> 2.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -4,4 +4,9 @@ source "https://rubygems.org"
|
|||
|
||||
gem "dalli", "~> 3.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -7,4 +7,9 @@ gem "activesupport", ">= 4.2"
|
|||
gem "rack", "~> 1.6"
|
||||
gem "rack-test", ">= 0.6"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -3,6 +3,10 @@
|
|||
source "https://rubygems.org"
|
||||
|
||||
gem "rack", "~> 2.0"
|
||||
gem "railties"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -4,4 +4,9 @@ source "https://rubygems.org"
|
|||
|
||||
gem "rack", "~> 3.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -5,4 +5,9 @@ source "https://rubygems.org"
|
|||
gem "railties", "~> 4.2.0"
|
||||
gem "rack-test", ">= 0.6"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -4,4 +4,9 @@ source "https://rubygems.org"
|
|||
|
||||
gem "railties", "~> 5.2.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -4,4 +4,9 @@ source "https://rubygems.org"
|
|||
|
||||
gem "railties", "~> 6.0.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -4,4 +4,9 @@ source "https://rubygems.org"
|
|||
|
||||
gem "railties", "~> 6.1.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -4,4 +4,9 @@ source "https://rubygems.org"
|
|||
|
||||
gem "railties", "~> 7.0.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -4,4 +4,9 @@ source "https://rubygems.org"
|
|||
|
||||
gem "railties", "~> 7.1.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -4,4 +4,9 @@ source "https://rubygems.org"
|
|||
|
||||
gem "redis", "~> 4.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -4,4 +4,9 @@ source "https://rubygems.org"
|
|||
|
||||
gem "redis", "~> 5.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
|
|
@ -4,4 +4,9 @@ source "https://rubygems.org"
|
|||
|
||||
gem "redis-store", "~> 1.5"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
Loading…
Reference in a new issue