mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
f9fedc8176
This adds Ruby 3 and Rails 6.1 to the test matrix. It also bumps all the dev dependencies listed in the Gemfiles to the latest versions. We may end up switching over to GitHub actions, but this should get us covered in the meantime.
35 lines
1 KiB
Ruby
35 lines
1 KiB
Ruby
appraise "5.0" do
|
|
gem "activerecord", "~> 5.0.7"
|
|
gem "activerecord-jdbcsqlite3-adapter", platforms: [:jruby]
|
|
gem "sqlite3", "~> 1.3.6", platforms: [:ruby]
|
|
end
|
|
|
|
appraise "5.1" do
|
|
gem "activerecord", "~> 5.1.7"
|
|
gem "activerecord-jdbcsqlite3-adapter", platforms: [:jruby]
|
|
gem "sqlite3", platforms: [:ruby]
|
|
end
|
|
|
|
appraise "5.2" do
|
|
gem "activerecord", "~> 5.2.3"
|
|
gem "activerecord-jdbcsqlite3-adapter", platforms: [:jruby]
|
|
gem "sqlite3", platforms: [:ruby]
|
|
end
|
|
|
|
appraise "6.0" do
|
|
gem "activerecord", "~> 6.0.0"
|
|
gem "activerecord-jdbcsqlite3-adapter", "~> 60.0.rc1", platforms: [:jruby]
|
|
gem "sqlite3", platforms: [:ruby]
|
|
end
|
|
|
|
appraise "6.1" do
|
|
gem "activerecord", "~> 6.1.0"
|
|
gem "activerecord-jdbcsqlite3-adapter", "~> 60.0.rc1", platforms: [:jruby]
|
|
gem "sqlite3", platforms: [:ruby]
|
|
end
|
|
|
|
appraise "main" do
|
|
gem "activerecord", git: "https://github.com/rails/rails.git", branch: "main"
|
|
gem "activerecord-jdbcsqlite3-adapter", "~> 60.0", platforms: [:jruby]
|
|
gem "sqlite3", platforms: [:ruby]
|
|
end
|