mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Merge pull request #336 from grzuy/test_against_rack_1_6
[Fixes #329] Be explicit about testing against supported rack versions
This commit is contained in:
commit
fec4f322d2
5 changed files with 24 additions and 6 deletions
|
|
@ -21,6 +21,8 @@ before_install:
|
|||
- gem install bundler
|
||||
|
||||
gemfile:
|
||||
- gemfiles/rack_2_0.gemfile
|
||||
- gemfiles/rack_1_6.gemfile
|
||||
- gemfiles/rails_5_2.gemfile
|
||||
- gemfiles/rails_5_1.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
|
||||
gem 'activesupport', '~> 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: "../"
|
||||
|
|
@ -5,10 +5,4 @@ source "https://rubygems.org"
|
|||
gem "activesupport", "~> 5.2.0.a"
|
||||
gem "actionpack", "~> 5.2.0.a"
|
||||
|
||||
group :development do
|
||||
gem "pry"
|
||||
gem "guard"
|
||||
gem "guard-minitest"
|
||||
end
|
||||
|
||||
gemspec path: "../"
|
||||
|
|
|
|||
Loading…
Reference in a new issue