Skip to content

Commit

Permalink
Fix rails 4.2 and 5.0 test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
albus522 committed Aug 13, 2024
1 parent 8327175 commit 72fd6dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ group :test do
elsif ENV['RAILS_VERSION']
gem 'actionmailer', "~> #{ENV['RAILS_VERSION']}"
gem 'activerecord', "~> #{ENV['RAILS_VERSION']}"
if ENV['RAILS_VERSION'] < '5.1'
gem 'rails-html-sanitizer', '< 1.4.0'
gem 'nokogiri', '< 1.11.0'
end
else
gem 'actionmailer', ['>= 3.0', '< 8.0']
gem 'activerecord', ['>= 3.0', '< 8.0']
Expand Down

0 comments on commit 72fd6dd

Please sign in to comment.