1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
thoughtbot--factory_bot/Appraisals
Matijs van Zuijlen 131d7791c5
Fix JRuby CI build (#1475)
* Remove obsolete gemfile

* Work around issue with the combination of I18n and JRuby

See https://github.com/jruby/jruby/issues/6547 and
https://github.com/ruby-i18n/i18n/issues/555

* Use correct released versions of activerecord-jdbcsqlite3-adapter

* Require CI to pass on JRuby again

* Build on latest JRuby 9.2 version
2021-03-29 20:18:27 -04:00

35 lines
1,016 B
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 "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