Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test with latest version of jruby #101

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci-mysql5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
- ruby: jruby
rails: 6.1
adapter: jdbcmysql
- ruby: jruby
rails: "7.0"
adapter: jdbcmysql
- ruby: jruby
rails: 7.1
adapter: jdbcmysql
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
20 changes: 14 additions & 6 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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-jdbcpostgresql-adapter", jdbc_version
gem "activerecord-jdbcsqlite3-adapter", jdbc_version
end
end

6 changes: 3 additions & 3 deletions gemfiles/activerecord_6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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-jdbcpostgresql-adapter", "~> 61.0"
gem "activerecord-jdbcsqlite3-adapter", "~> 61.0"
end

gemspec path: "../"
6 changes: 3 additions & 3 deletions gemfiles/activerecord_7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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: "../"
6 changes: 6 additions & 0 deletions gemfiles/activerecord_7.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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: "../"
Loading