1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00
paper-trail-gem--paper_trail/Appraisals
Jared Beck 94bf3e0398 Drop support for rails 3
In https://github.com/airblade/paper_trail/pull/895, Sean asked:

> .. since it looks like the next version is planned to be 6.0.0, how would
> you feel about dropping support for Rails 3 in that version? It has
> reached end of life, meaning it no longer receives security patches. We
> don't recommend that gem authors continue to support it.

To which, I responded:

> We could continue maintaining PT 5 if we had to, so I think it's
> fine to drop support for rails 3 in PT 6. If Ben agrees, I'd be
> happy to make that change. I'll just update the gemspec and drop
> testing support, for starters. We can clean up the conditionals in
> the code over time.
2016-11-30 12:36:39 -05:00

29 lines
892 B
Ruby

# 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"
gem "sinatra", "~> 1.4.6"
end
appraise "ar-5.0" do
gem "activerecord", "~> 5.0.0"
gem "rspec-rails", "~> 3.5.1"
gem 'rails-controller-testing'
# The AR5 version of PaperTrail is not compatible with sinatra 2 yet.
# Contributions welcome.
# gem "sinatra", "2.0.0.beta2"
end
appraise "ar_master" do
gem "rails", github: "rails/rails"
gem "rspec-rails", "~> 3.5.1"
gem "rails-controller-testing"
end