Skip to content

Commit 834b775

Browse files
authored
Merge pull request #1096 from terencechow/patch-1
allow loading jdbc adapters for 6.1
2 parents c487f5c + 84de0b7 commit 834b775

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/arjdbc/jdbc/adapter_require.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
module ActiveRecord
44

5-
if defined? ConnectionAdapters::ConnectionSpecification::Resolver # 4.0
5+
if defined? ConnectionAdapters::ConnectionHandler # 6.1
6+
ConnectionAdapters::ConnectionHandler
7+
elsif defined? ConnectionAdapters::ConnectionSpecification::Resolver # 4.0, # 5.x, # 6.0
68
ConnectionAdapters::ConnectionSpecification::Resolver
79
elsif defined? Base::ConnectionSpecification::Resolver # 3.2
810
Base::ConnectionSpecification::Resolver

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 = '61.1'
2+
VERSION = '62.0'
33
end

0 commit comments

Comments
 (0)