mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
Resume testing against AR 4.0
There are obviously people still using it, unfortunately. They should update immediately, as AR < 4.2 is EOL, and PT will drop support very soon.
This commit is contained in:
parent
9bb63cc852
commit
7cbb6fe5f1
3 changed files with 14 additions and 0 deletions
|
@ -24,6 +24,7 @@ before_script:
|
|||
- sh -c "if [ \"$DB\" = 'postgres' ]; then psql -c 'create database paper_trail_foo;' -U postgres; fi"
|
||||
|
||||
gemfile:
|
||||
- gemfiles/ar_4.0.gemfile
|
||||
- gemfiles/ar_4.2.gemfile
|
||||
- gemfiles/ar_5.0.gemfile
|
||||
- gemfiles/ar_master.gemfile
|
||||
|
|
|
@ -7,6 +7,11 @@
|
|||
# > the version from the appraisal takes precedence.
|
||||
# > https://github.com/thoughtbot/appraisal
|
||||
|
||||
appraise "ar-4.0" do
|
||||
gem "activerecord", "~> 4.0"
|
||||
gem "sinatra", "~> 1.4.6"
|
||||
end
|
||||
|
||||
appraise "ar-4.2" do
|
||||
gem "activerecord", "~> 4.2"
|
||||
gem "sinatra", "~> 1.4.6"
|
||||
|
|
8
gemfiles/ar_4.0.gemfile
Normal file
8
gemfiles/ar_4.0.gemfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
# This file was generated by Appraisal
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "activerecord", "~> 4.0"
|
||||
gem "sinatra", "~> 1.4.6"
|
||||
|
||||
gemspec :path => "../"
|
Loading…
Reference in a new issue