mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-04-26 14:57:47 +00:00
Explicitly test against supported rack versions
This commit is contained in:
parent
e7792aadd7
commit
a8200ea95a
4 changed files with 24 additions and 0 deletions
|
|
@ -21,6 +21,8 @@ before_install:
|
||||||
- gem install bundler
|
- gem install bundler
|
||||||
|
|
||||||
gemfile:
|
gemfile:
|
||||||
|
- gemfiles/rack_2_0.gemfile
|
||||||
|
- gemfiles/rack_1_6.gemfile
|
||||||
- gemfiles/rails_5_2.gemfile
|
- gemfiles/rails_5_2.gemfile
|
||||||
- gemfiles/rails_5_1.gemfile
|
- gemfiles/rails_5_1.gemfile
|
||||||
- gemfiles/rails_5_0.gemfile
|
- gemfiles/rails_5_0.gemfile
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,11 @@
|
||||||
|
appraise "rack_2_0" do
|
||||||
|
gem "rack", "~> 2.0.4"
|
||||||
|
end
|
||||||
|
|
||||||
|
appraise "rack_1_6" do
|
||||||
|
gem "rack", "~> 1.6.9"
|
||||||
|
end
|
||||||
|
|
||||||
appraise 'rails_5-2' do
|
appraise 'rails_5-2' do
|
||||||
gem 'activesupport', '~> 5.2.0.a'
|
gem 'activesupport', '~> 5.2.0.a'
|
||||||
gem 'actionpack', '~> 5.2.0.a'
|
gem 'actionpack', '~> 5.2.0.a'
|
||||||
|
|
|
||||||
7
gemfiles/rack_1_6.gemfile
Normal file
7
gemfiles/rack_1_6.gemfile
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# This file was generated by Appraisal
|
||||||
|
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "rack", "~> 1.6.9"
|
||||||
|
|
||||||
|
gemspec path: "../"
|
||||||
7
gemfiles/rack_2_0.gemfile
Normal file
7
gemfiles/rack_2_0.gemfile
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# This file was generated by Appraisal
|
||||||
|
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "rack", "~> 2.0.4"
|
||||||
|
|
||||||
|
gemspec path: "../"
|
||||||
Loading…
Reference in a new issue