Skip to content

Commit

Permalink
test: Don't include Rails 6.0 on Ruby 3.1
Browse files Browse the repository at this point in the history
Sounds like it could work, but would need to actively downgrade psych to
3.x:
https://gist.github.com/yahonda/2776d8d7b6ea7045359f38c10449937b
  • Loading branch information
pat committed Jan 9, 2022
1 parent d3109e1 commit 489bfb7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,15 @@ if RUBY_VERSION.to_f < 3.0
end
end

if RUBY_VERSION.to_f >= 2.5
if RUBY_VERSION.to_f >= 2.5 && RUBY_VERSION.to_f < 3.1
appraise "rails-6.0" do
gem "rails", "~> 6.0.0"
gem "mysql2", "~> 0.5.0"
gem "sqlite3", "~> 1.4"
end
end

if RUBY_VERSION.to_f >= 2.5
appraise "rails-6.1" do
gem "rails", "~> 6.1.0"
gem "mysql2", "~> 0.5.0"
Expand Down

0 comments on commit 489bfb7

Please sign in to comment.