Skip to content

Commit 0482fb5

Browse files
committed
chore: Update to support Rails 8.0 │
- Bump version to 80.0 for Rails 8.0.x support │ - Update activerecord dependency to ~> 8.0.0 │ - Update README to show master branch targets Rails 8.0.x │ - Add 72-stable branch for Rails 7.2.x support │ - Require JRuby 10.0.0 minimum for Rails 8 │ - Fix deprecated File.exists? to File.exist?
1 parent c56c7b4 commit 0482fb5

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ Versions are targeted at certain versions of Rails and live on their own branche
2727
| 61.x | 6.1.x | 61-stable | 9.2.7 | 8 |
2828
| 70.x | 7.0.x | 70-stable | 9.3.0 | 8 |
2929
| 71.x | 7.1.x | 71-stable | 9.4.3 | 8 |
30-
| 72.x | 7.2.x | master | 9.4.3 | 8 |
30+
| 72.x | 7.2.x | 72-stable | 9.4.3 | 8 |
31+
| 80.x | 8.0.x | master | 10.0.0 | 8 |
3132

32-
Note: 72.x is still under development and not supported yet.
33+
Note: 80.x is still under development and not supported yet.
3334

3435
Note that JRuby 9.1.x and JRuby 9.2.x are at end-of-life. We recommend Java 8
3536
at a minimum for all versions.

activerecord-jdbc-adapter.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Gem::Specification.new do |gem|
4141
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
4242
gem.test_files = gem.files.grep(%r{^test/})
4343

44-
gem.add_dependency "activerecord", "~> 7.2.2"
44+
gem.add_dependency "activerecord", "~> 8.0.0"
4545

4646
#gem.add_development_dependency 'test-unit', '2.5.4'
4747
#gem.add_development_dependency 'test-unit-context', '>= 0.3.0'

lib/arjdbc/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module ArJdbc
2-
VERSION = '71.0'
2+
VERSION = '80.0'
33
end

rakelib/02-test.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_task_for(adapter, options = {})
3636
test_task.libs = []
3737
if defined?(JRUBY_VERSION)
3838
test_task.libs << 'lib'
39-
test_task.libs << "jdbc-#{driver}/lib" if driver && File.exists?("jdbc-#{driver}/lib")
39+
test_task.libs << "jdbc-#{driver}/lib" if driver && File.exist?("jdbc-#{driver}/lib")
4040
test_task.libs.push *FileList["activerecord-jdbc#{adapter}*/lib"]
4141
end
4242
test_task.libs << 'test'

0 commit comments

Comments
 (0)