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:
Gonzalo Rodriguez 2018-04-10 12:01:33 -03:00 committed by GitHub
commit fec4f322d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 6 deletions

View file

@ -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

View file

@ -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'

View file

@ -0,0 +1,7 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "rack", "~> 1.6.9"
gemspec path: "../"

View file

@ -0,0 +1,7 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "rack", "~> 2.0.4"
gemspec path: "../"

View file

@ -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: "../"