mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
b7eb4db87c
This PR adds the Ruby 3.1 and Rails 7 elements to the CI matrix. To support those changes a number of other changes were required: - Adding a basic Rails 7 Gemfile and updating `Appraisals` - Quoting 3.0 in the `.github/workflows/build.yml` file so that this entry pulls Ruby 3.0.x and not Ruby 3.1 - Adding the "--disable-error_highlight" value for RUBYOPT in the build environment to disable Ruby 3.1 error highlighting - Bumping the version of `standard` and configuring it to run against our oldest supported version
41 lines
1.2 KiB
Ruby
41 lines
1.2 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", platforms: [:jruby]
|
|
gem "sqlite3", platforms: [:ruby]
|
|
end
|
|
|
|
appraise "6.1" do
|
|
gem "activerecord", "~> 6.1.0"
|
|
gem "activerecord-jdbcsqlite3-adapter", "~> 61.0", platforms: [:jruby]
|
|
gem "sqlite3", platforms: [:ruby]
|
|
end
|
|
|
|
appraise "7.0" do
|
|
gem "activerecord", "~> 7.0.0"
|
|
gem "activerecord-jdbcsqlite3-adapter", "~> 61.0", 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", "~> 61.0", platforms: [:jruby]
|
|
gem "sqlite3", platforms: [:ruby]
|
|
end
|