mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Use Appraisal to test against multiple versions
This commit is contained in:
parent
ca2c0e5515
commit
0640a53cdf
13 changed files with 61 additions and 20 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@ Gemfile.lock
|
|||
bin
|
||||
.bundle
|
||||
*.gem
|
||||
*.gemfile.lock
|
||||
|
|
|
|||
|
|
@ -10,10 +10,11 @@ rvm:
|
|||
- jruby-19mode
|
||||
|
||||
gemfile:
|
||||
- gemfiles/activesupport3.2
|
||||
- gemfiles/activesupport4.0
|
||||
- gemfiles/dalli1.1
|
||||
- gemfiles/dalli2
|
||||
- gemfiles/activesupport3.2.gemfile
|
||||
- gemfiles/activesupport4.0.gemfile
|
||||
- gemfiles/activesupport4.1.gemfile
|
||||
- gemfiles/dalli1.1.gemfile
|
||||
- gemfiles/dalli2.gemfile
|
||||
|
||||
services:
|
||||
- redis
|
||||
|
|
|
|||
19
Appraisals
Normal file
19
Appraisals
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
appraise 'activesupport3.2' do
|
||||
gem 'activesupport', '~> 3.2.0'
|
||||
end
|
||||
|
||||
appraise 'activesupport4.0' do
|
||||
gem 'activesupport', '~> 4.0.0'
|
||||
end
|
||||
|
||||
appraise 'activesupport4.1' do
|
||||
gem 'activesupport', '~> 4.1.0'
|
||||
end
|
||||
|
||||
appraise 'dalli1.1' do
|
||||
gem 'dalli', '1.1.5'
|
||||
end
|
||||
|
||||
appraise 'dalli2' do
|
||||
gem 'dalli', '~> 2.0'
|
||||
end
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
source "https://rubygems.org"
|
||||
gemspec path: '../'
|
||||
|
||||
gem 'activesupport', '~> 3.2.0'
|
||||
7
gemfiles/activesupport3.2.gemfile
Normal file
7
gemfiles/activesupport3.2.gemfile
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# This file was generated by Appraisal
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "activesupport", "~> 3.2.0"
|
||||
|
||||
gemspec :path => "../"
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
source "https://rubygems.org"
|
||||
gemspec path: '../'
|
||||
|
||||
gem 'activesupport', '~> 4.0.0'
|
||||
7
gemfiles/activesupport4.0.gemfile
Normal file
7
gemfiles/activesupport4.0.gemfile
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# This file was generated by Appraisal
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "activesupport", "~> 4.0.0"
|
||||
|
||||
gemspec :path => "../"
|
||||
7
gemfiles/activesupport4.1.gemfile
Normal file
7
gemfiles/activesupport4.1.gemfile
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# This file was generated by Appraisal
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "activesupport", "~> 4.1.0"
|
||||
|
||||
gemspec :path => "../"
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
source "https://rubygems.org"
|
||||
gemspec path: '../'
|
||||
|
||||
gem 'dalli', '~> 1.1.5'
|
||||
7
gemfiles/dalli1.1.gemfile
Normal file
7
gemfiles/dalli1.1.gemfile
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# This file was generated by Appraisal
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "dalli", "1.1.5"
|
||||
|
||||
gemspec :path => "../"
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
source "https://rubygems.org"
|
||||
gemspec path: '../'
|
||||
|
||||
gem 'dalli', '~> 2.7'
|
||||
7
gemfiles/dalli2.gemfile
Normal file
7
gemfiles/dalli2.gemfile
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# This file was generated by Appraisal
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "dalli", "~> 2.0"
|
||||
|
||||
gemspec :path => "../"
|
||||
|
|
@ -26,6 +26,7 @@ Gem::Specification.new do |s|
|
|||
s.add_development_dependency 'minitest'
|
||||
s.add_development_dependency 'rack-test'
|
||||
s.add_development_dependency 'rake'
|
||||
s.add_development_dependency 'appraisal'
|
||||
s.add_development_dependency 'activesupport', '>= 3.0.0'
|
||||
s.add_development_dependency 'redis-activesupport'
|
||||
s.add_development_dependency 'dalli'
|
||||
|
|
|
|||
Loading…
Reference in a new issue