mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
ci: improve ActiveSupport testing (#633)
This commit is contained in:
parent
070e467ef2
commit
c7098d610b
8 changed files with 100 additions and 4 deletions
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
|
|
@ -38,8 +38,12 @@ jobs:
|
|||
- redis_5
|
||||
- redis_4
|
||||
- connection_pool_dalli
|
||||
- active_support_redis_cache_store
|
||||
- active_support_redis_cache_store_pooled
|
||||
- active_support_7_1_redis_cache_store
|
||||
- active_support_7_1_redis_cache_store_pooled
|
||||
- active_support_7_0_redis_cache_store
|
||||
- active_support_7_0_redis_cache_store_pooled
|
||||
- active_support_6_redis_cache_store
|
||||
- active_support_6_redis_cache_store_pooled
|
||||
- active_support_5_redis_cache_store
|
||||
- active_support_5_redis_cache_store_pooled
|
||||
- redis_store
|
||||
|
|
@ -88,10 +92,26 @@ jobs:
|
|||
ruby: 2.6.10
|
||||
- gemfile: rails_7_0
|
||||
ruby: 2.5.8
|
||||
- gemfile: active_support_7_0_redis_cache_store
|
||||
ruby: 2.5.8
|
||||
- gemfile: active_support_7_0_redis_cache_store
|
||||
ruby: 2.6.10
|
||||
- gemfile: active_support_7_0_redis_cache_store_pooled
|
||||
ruby: 2.5.8
|
||||
- gemfile: active_support_7_0_redis_cache_store_pooled
|
||||
ruby: 2.6.10
|
||||
- gemfile: rails_7_1
|
||||
ruby: 2.6.10
|
||||
- gemfile: rails_7_1
|
||||
ruby: 2.5.8
|
||||
- gemfile: active_support_7_1_redis_cache_store
|
||||
ruby: 2.5.8
|
||||
- gemfile: active_support_7_1_redis_cache_store
|
||||
ruby: 2.6.10
|
||||
- gemfile: active_support_7_1_redis_cache_store_pooled
|
||||
ruby: 2.5.8
|
||||
- gemfile: active_support_7_1_redis_cache_store_pooled
|
||||
ruby: 2.6.10
|
||||
env:
|
||||
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
||||
steps:
|
||||
|
|
|
|||
26
Appraisals
26
Appraisals
|
|
@ -70,12 +70,34 @@ appraise "connection_pool_dalli" do
|
|||
gem "dalli", "~> 3.0"
|
||||
end
|
||||
|
||||
appraise "active_support_redis_cache_store" do
|
||||
appraise "active_support_7-1_redis_cache_store" do
|
||||
gem "activesupport", "~> 7.1.0"
|
||||
gem "redis", "~> 5.0"
|
||||
end
|
||||
|
||||
appraise "active_support_7-1_redis_cache_store_pooled" do
|
||||
gem "activesupport", "~> 7.1.0"
|
||||
gem "connection_pool", "~> 2.2"
|
||||
gem "redis", "~> 5.0"
|
||||
end
|
||||
|
||||
appraise "active_support_7-0_redis_cache_store" do
|
||||
gem "activesupport", "~> 7.0.0"
|
||||
gem "redis", "~> 5.0"
|
||||
end
|
||||
|
||||
appraise "active_support_7-0_redis_cache_store_pooled" do
|
||||
gem "activesupport", "~> 7.0.0"
|
||||
gem "connection_pool", "~> 2.2"
|
||||
gem "redis", "~> 5.0"
|
||||
end
|
||||
|
||||
appraise "active_support_6_redis_cache_store" do
|
||||
gem "activesupport", "~> 6.1.0"
|
||||
gem "redis", "~> 5.0"
|
||||
end
|
||||
|
||||
appraise "active_support_redis_cache_store_pooled" do
|
||||
appraise "active_support_6_redis_cache_store_pooled" do
|
||||
gem "activesupport", "~> 6.1.0"
|
||||
gem "connection_pool", "~> 2.2"
|
||||
gem "redis", "~> 5.0"
|
||||
|
|
|
|||
13
gemfiles/active_support_7_0_redis_cache_store.gemfile
Normal file
13
gemfiles/active_support_7_0_redis_cache_store.gemfile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# This file was generated by Appraisal
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "activesupport", "~> 7.0.0"
|
||||
gem "redis", "~> 5.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
14
gemfiles/active_support_7_0_redis_cache_store_pooled.gemfile
Normal file
14
gemfiles/active_support_7_0_redis_cache_store_pooled.gemfile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# This file was generated by Appraisal
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "activesupport", "~> 7.0.0"
|
||||
gem "connection_pool", "~> 2.2"
|
||||
gem "redis", "~> 5.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
13
gemfiles/active_support_7_1_redis_cache_store.gemfile
Normal file
13
gemfiles/active_support_7_1_redis_cache_store.gemfile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# This file was generated by Appraisal
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "activesupport", "~> 7.1.0"
|
||||
gem "redis", "~> 5.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
14
gemfiles/active_support_7_1_redis_cache_store_pooled.gemfile
Normal file
14
gemfiles/active_support_7_1_redis_cache_store_pooled.gemfile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# This file was generated by Appraisal
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "activesupport", "~> 7.1.0"
|
||||
gem "connection_pool", "~> 2.2"
|
||||
gem "redis", "~> 5.0"
|
||||
|
||||
group :maintenance, optional: true do
|
||||
gem "bake"
|
||||
gem "bake-gem"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
Loading…
Reference in a new issue