mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-04-26 14:57:47 +00:00
ci: test against latest rack minor versions
This commit is contained in:
parent
aeac2d4887
commit
8787f7db5a
4 changed files with 9 additions and 9 deletions
|
|
@ -15,8 +15,8 @@ before_install:
|
||||||
- gem install bundler -v "~> 2.0"
|
- gem install bundler -v "~> 2.0"
|
||||||
|
|
||||||
gemfile:
|
gemfile:
|
||||||
- gemfiles/rack_2_0.gemfile
|
- gemfiles/rack_2.gemfile
|
||||||
- gemfiles/rack_1_6.gemfile
|
- gemfiles/rack_1.gemfile
|
||||||
- gemfiles/rails_6_0.gemfile
|
- gemfiles/rails_6_0.gemfile
|
||||||
- gemfiles/rails_5_2.gemfile
|
- gemfiles/rails_5_2.gemfile
|
||||||
- gemfiles/rails_5_1.gemfile
|
- gemfiles/rails_5_1.gemfile
|
||||||
|
|
@ -34,7 +34,7 @@ matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rvm: ruby-head
|
- rvm: ruby-head
|
||||||
exclude:
|
exclude:
|
||||||
- gemfile: gemfiles/rack_1_6.gemfile
|
- gemfile: gemfiles/rack_1.gemfile
|
||||||
rvm: 2.7.0
|
rvm: 2.7.0
|
||||||
- gemfile: gemfiles/rails_4_2.gemfile
|
- gemfile: gemfiles/rails_4_2.gemfile
|
||||||
rvm: 2.7.0
|
rvm: 2.7.0
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
appraise "rack_2_0" do
|
appraise "rack_2" do
|
||||||
gem "rack", "~> 2.0.4"
|
gem "rack", "~> 2.0"
|
||||||
end
|
end
|
||||||
|
|
||||||
appraise "rack_1_6" do
|
appraise "rack_1" do
|
||||||
# Override activesupport and actionpack version constraints by making
|
# Override activesupport and actionpack version constraints by making
|
||||||
# it more loose so it's compatible with rack 1.6.x
|
# it more loose so it's compatible with rack 1.6.x
|
||||||
gem "actionpack", ">= 4.2"
|
gem "actionpack", ">= 4.2"
|
||||||
gem "activesupport", ">= 4.2"
|
gem "activesupport", ">= 4.2"
|
||||||
|
|
||||||
gem "rack", "~> 1.6.9"
|
gem "rack", "~> 1.6"
|
||||||
|
|
||||||
# Override rack-test version constraint by making it more loose
|
# Override rack-test version constraint by making it more loose
|
||||||
# so it's compatible with actionpack 4.2.x
|
# so it's compatible with actionpack 4.2.x
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ source "https://rubygems.org"
|
||||||
|
|
||||||
gem "actionpack", ">= 4.2"
|
gem "actionpack", ">= 4.2"
|
||||||
gem "activesupport", ">= 4.2"
|
gem "activesupport", ">= 4.2"
|
||||||
gem "rack", "~> 1.6.9"
|
gem "rack", "~> 1.6"
|
||||||
gem "rack-test", ">= 0.6"
|
gem "rack-test", ">= 0.6"
|
||||||
|
|
||||||
gemspec path: "../"
|
gemspec path: "../"
|
||||||
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
|
||||||
gem "rack", "~> 2.0.4"
|
gem "rack", "~> 2.0"
|
||||||
|
|
||||||
gemspec path: "../"
|
gemspec path: "../"
|
||||||
Loading…
Reference in a new issue