From 812fc67931f190dcec5e24aa5864dfe5a4b0639a Mon Sep 17 00:00:00 2001 From: Abdelkader Boudih Date: Sun, 3 Mar 2024 20:14:25 +0100 Subject: [PATCH] update appraisals file --- Appraisals | 20 ++++++++++++++------ gemfiles/activerecord_6.1.gemfile | 6 +++--- gemfiles/activerecord_7.0.gemfile | 6 +++--- gemfiles/activerecord_7.1.gemfile | 6 ++++++ 4 files changed, 26 insertions(+), 12 deletions(-) diff --git a/Appraisals b/Appraisals index 5e51862..e0bb995 100644 --- a/Appraisals +++ b/Appraisals @@ -8,6 +8,12 @@ appraise 'activerecord-7.1' do gem 'trilogy' gem 'pg' end + platforms :jruby do + jdbc_version = {github: 'jruby/activerecord-jdbc-adapter', ref: 'master'} + gem "activerecord-jdbcmysql-adapter", **jdbc_version + gem "activerecord-jdbcpostgresql-adapter", **jdbc_version + gem "activerecord-jdbcsqlite3-adapter", **jdbc_version + end end appraise 'activerecord-7.0' do @@ -20,9 +26,10 @@ appraise 'activerecord-7.0' do gem 'pg' end platforms :jruby do - gem "activerecord-jdbcmysql-adapter" - gem "activerecord-jdbcpostgresql-adapter" - gem "activerecord-jdbcsqlite3-adapter" + jdbc_version = '~> 70.0' + gem "activerecord-jdbcmysql-adapter", jdbc_version + gem "activerecord-jdbcpostgresql-adapter", jdbc_version + gem "activerecord-jdbcsqlite3-adapter", jdbc_version end end @@ -37,9 +44,10 @@ appraise 'activerecord-6.1' do gem 'pg' end platforms :jruby do - gem "activerecord-jdbcmysql-adapter" - gem "activerecord-jdbcpostgresql-adapter" - gem "activerecord-jdbcsqlite3-adapter" + jdbc_version = '~> 61.0' + gem "activerecord-jdbcmysql-adapter", jdbc_version + gem "activerecord-1111postgresql-adapter", jdbc_version + gem "activerecord-jdbcsqlite3-adapter", jdbc_version end end diff --git a/gemfiles/activerecord_6.1.gemfile b/gemfiles/activerecord_6.1.gemfile index b87ebba..985f8b6 100644 --- a/gemfiles/activerecord_6.1.gemfile +++ b/gemfiles/activerecord_6.1.gemfile @@ -13,9 +13,9 @@ platforms :ruby do end platforms :jruby do - gem "activerecord-jdbcmysql-adapter" - gem "activerecord-jdbcpostgresql-adapter" - gem "activerecord-jdbcsqlite3-adapter" + gem "activerecord-jdbcmysql-adapter", "~> 61.0" + gem "activerecord-1111postgresql-adapter", "~> 61.0" + gem "activerecord-jdbcsqlite3-adapter", "~> 61.0" end gemspec path: "../" diff --git a/gemfiles/activerecord_7.0.gemfile b/gemfiles/activerecord_7.0.gemfile index 3ef6b18..2cff5d8 100644 --- a/gemfiles/activerecord_7.0.gemfile +++ b/gemfiles/activerecord_7.0.gemfile @@ -13,9 +13,9 @@ platforms :ruby do end platforms :jruby do - gem "activerecord-jdbcmysql-adapter" - gem "activerecord-jdbcpostgresql-adapter" - gem "activerecord-jdbcsqlite3-adapter" + gem "activerecord-jdbcmysql-adapter", "~> 70.0" + gem "activerecord-jdbcpostgresql-adapter", "~> 70.0" + gem "activerecord-jdbcsqlite3-adapter", "~> 70.0" end gemspec path: "../" diff --git a/gemfiles/activerecord_7.1.gemfile b/gemfiles/activerecord_7.1.gemfile index a9455ae..c489cdf 100644 --- a/gemfiles/activerecord_7.1.gemfile +++ b/gemfiles/activerecord_7.1.gemfile @@ -11,4 +11,10 @@ platforms :ruby do gem "pg" end +platforms :jruby do + gem "activerecord-jdbcmysql-adapter", github: "jruby/activerecord-jdbc-adapter", ref: "master" + gem "activerecord-jdbcpostgresql-adapter", github: "jruby/activerecord-jdbc-adapter", ref: "master" + gem "activerecord-jdbcsqlite3-adapter", github: "jruby/activerecord-jdbc-adapter", ref: "master" +end + gemspec path: "../"