forked from paper-trail-gem/paper_trail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppraisals
33 lines (28 loc) · 1.06 KB
/
Appraisals
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# frozen_string_literal: true
# Specify here only version constraints that differ from
# `paper_trail.gemspec`.
#
# > The dependencies in your Appraisals file are combined with dependencies in
# > your Gemfile, so you don't need to repeat anything that's the same for each
# > appraisal. If something is specified in both the Gemfile and an appraisal,
# > the version from the appraisal takes precedence.
# > https://github.com/thoughtbot/appraisal
appraise "ar-4.2" do
gem "activerecord", "~> 4.2.10"
gem "database_cleaner", "~> 1.6"
end
appraise "ar-5.1" do
gem "activerecord", "~> 5.1.5"
gem "rails-controller-testing"
end
appraise "ar-5.2" do
gem "activerecord", "~> 5.2.0.rc2"
gem "rails-controller-testing"
# bundler does not handle rc versions well
# https://github.com/paper-trail-gem/paper_trail/pull/1067
# so we specify activesupport, actionpack, and railties, which we
# would not normally do, as you can see with other rails versions above.
gem "activesupport", "~> 5.2.0.rc2"
gem "actionpack", "~> 5.2.0.rc2"
gem "railties", "~> 5.2.0.rc2"
end