sequel-activerecord_connection 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98f7c003a3446727d0ff140e37f9965b2088dbb95c43fb58e84aeeaab2f9f85e
|
4
|
+
data.tar.gz: aba6068cf2804cbec9434cde909218c2b40b33fcb3b68dafe815a168125cb761
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cca4d6b635c771444e656ab8231fd8a17c5a4da49b2a10d52ec640cf94c18ded25864dc72e293b6e7b5a6088c2d401df5d66dc2ba94d750bc975c9f5365601b2
|
7
|
+
data.tar.gz: b54b06b0bd97316856d690ec0ce4ebedcb9cf90664966e46ef6cf3d5c4ed56595b19f5bd10df666de388ea0426248add5c39f28489f93e2a766b1def6385e412
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 1.4.2 (2024-09-23)
|
2
|
+
|
3
|
+
* Fix compatibility with newer versions of Oracle Enhanced adapter (@janko)
|
4
|
+
|
5
|
+
* Drop support for Ruby 2.4 (@janko)
|
6
|
+
|
1
7
|
## 1.4.1 (2024-05-10)
|
2
8
|
|
3
9
|
* Fix `#rollback_checker`, `#rollback_on_exit` and `#after_rollback` not working reliably on JRuby and Sequel 5.78+ (@janko)
|
@@ -5,10 +5,12 @@ module Sequel
|
|
5
5
|
module Oracle
|
6
6
|
def synchronize(*)
|
7
7
|
super do |conn|
|
8
|
+
raw_connection = conn.respond_to?(:raw_oci_connection) ? conn.raw_oci_connection : conn
|
9
|
+
|
8
10
|
# required for prepared statements
|
9
|
-
Utils.add_prepared_statements_cache(
|
11
|
+
Utils.add_prepared_statements_cache(raw_connection)
|
10
12
|
|
11
|
-
yield
|
13
|
+
yield raw_connection
|
12
14
|
end
|
13
15
|
end
|
14
16
|
end
|
@@ -137,7 +137,7 @@ module Sequel
|
|
137
137
|
end
|
138
138
|
end
|
139
139
|
|
140
|
-
if ActiveRecord.version >= Gem::Version.new("7.2.0
|
140
|
+
if ActiveRecord.version >= Gem::Version.new("7.2.0")
|
141
141
|
def activerecord_transaction_callback(type, &block)
|
142
142
|
activerecord_connection.current_transaction.public_send(type, &block)
|
143
143
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "sequel-activerecord_connection"
|
3
|
-
spec.version = "1.4.
|
3
|
+
spec.version = "1.4.2"
|
4
4
|
spec.authors = ["Janko Marohnić"]
|
5
5
|
spec.email = ["janko.marohnic@gmail.com"]
|
6
6
|
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.homepage = "https://github.com/janko/sequel-activerecord_connection"
|
10
10
|
spec.license = "MIT"
|
11
11
|
|
12
|
-
spec.required_ruby_version = ">= 2.
|
12
|
+
spec.required_ruby_version = ">= 2.5"
|
13
13
|
|
14
14
|
spec.add_dependency "sequel", "~> 5.38"
|
15
15
|
spec.add_dependency "activerecord", ">= 5.0", "< 8"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel-activerecord_connection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Janko Marohnić
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|
@@ -131,14 +131,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
131
|
requirements:
|
132
132
|
- - ">="
|
133
133
|
- !ruby/object:Gem::Version
|
134
|
-
version: '2.
|
134
|
+
version: '2.5'
|
135
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
137
|
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
|
-
rubygems_version: 3.5.
|
141
|
+
rubygems_version: 3.5.11
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Allows Sequel to use ActiveRecord connection for database interaction.
|