2017-12-10 23:05:11 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-01-04 22:32:39 -05:00
|
|
|
# Specify here only version constraints that differ from
|
|
|
|
# `paper_trail.gemspec`.
|
|
|
|
#
|
|
|
|
# > The dependencies in your Appraisals file are combined with dependencies in
|
2016-05-09 10:20:56 -04:00
|
|
|
# > your Gemfile, so you don't need to repeat anything that's the same for each
|
2016-01-04 22:32:39 -05:00
|
|
|
# > appraisal. If something is specified in both the Gemfile and an appraisal,
|
|
|
|
# > the version from the appraisal takes precedence.
|
|
|
|
# > https://github.com/thoughtbot/appraisal
|
|
|
|
|
2016-11-30 12:03:22 -05:00
|
|
|
appraise "ar-4.2" do
|
2017-10-17 18:14:16 -04:00
|
|
|
gem "activerecord", "~> 4.2.10"
|
2017-12-20 22:47:55 -05:00
|
|
|
gem "database_cleaner", "~> 1.6"
|
2016-01-04 22:32:39 -05:00
|
|
|
end
|
|
|
|
|
2017-04-27 00:21:04 -04:00
|
|
|
appraise "ar-5.1" do
|
2018-03-27 18:06:54 -04:00
|
|
|
gem "activerecord", "~> 5.1.5"
|
2016-11-30 10:46:31 -05:00
|
|
|
gem "rails-controller-testing"
|
|
|
|
end
|
2018-03-20 11:25:13 -04:00
|
|
|
|
|
|
|
appraise "ar-5.2" do
|
2018-03-27 18:08:07 -04:00
|
|
|
gem "activerecord", "~> 5.2.0.rc2"
|
2018-03-20 11:25:13 -04:00
|
|
|
gem "rails-controller-testing"
|
2018-03-23 19:37:47 -04:00
|
|
|
|
|
|
|
# bundler does not handle rc versions well
|
2018-05-09 07:25:56 -04:00
|
|
|
# https://github.com/paper-trail-gem/paper_trail/pull/1067
|
2018-03-23 19:37:47 -04:00
|
|
|
# so we specify activesupport, actionpack, and railties, which we
|
|
|
|
# would not normally do, as you can see with other rails versions above.
|
2018-03-27 18:08:07 -04:00
|
|
|
gem "activesupport", "~> 5.2.0.rc2"
|
|
|
|
gem "actionpack", "~> 5.2.0.rc2"
|
|
|
|
gem "railties", "~> 5.2.0.rc2"
|
2018-03-20 11:25:13 -04:00
|
|
|
end
|