ruby-oci8 2.2.11-x64-mingw32 → 2.2.13-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +2 -0
- data/NEWS +25 -0
- data/docs/hanging-after-inactivity.md +1 -1
- data/lib/oci8/oracle_version.rb +9 -1
- data/lib/oci8/version.rb +1 -1
- data/lib/oci8.rb +2 -0
- data/lib/oci8lib_270.so +0 -0
- data/lib/oci8lib_300.so +0 -0
- data/lib/oci8lib_310.so +0 -0
- data/pre-distclean.rb +1 -3
- data/test/test_metadata.rb +1 -0
- data/test/test_object.rb +0 -6
- data/test/test_oranumber.rb +3 -1
- data/test/test_package_type.rb +10 -4
- metadata +5 -8
- data/lib/oci8lib_250.so +0 -0
- data/lib/oci8lib_260.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffb5b253cb6d4b744008db9c0bd61a7a4cbdf4ec216612f26d55ab433c225011
|
4
|
+
data.tar.gz: c21b2119b68386439d910ce36ee2147b2d478935243036340a94dc6d4bc05249
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f124f1eebd42a8e494ddad12a728a89ec5f6db4ead4618fc9a91fb4e26d93254e832e336e1cf4e4df201e6ed00a20c66c18b1437b181f447379884a7f913643
|
7
|
+
data.tar.gz: 9ed5664f19d81e914ad44659346e6eadfea56a497d4a79418d8c56edf6b9cde0389e11acfe8498263c611b03150ef9c8e999c642c27524136ba28bb507de2569
|
data/ChangeLog
CHANGED
data/NEWS
CHANGED
@@ -1,5 +1,30 @@
|
|
1
1
|
# @markup markdown
|
2
2
|
|
3
|
+
2.2.13 (2024-07-27)
|
4
|
+
===================
|
5
|
+
|
6
|
+
- Binary gems for Windows x64 and x86 supports ruby 2.7 - 3.3 inclusive.
|
7
|
+
|
8
|
+
Fixed issues
|
9
|
+
------------
|
10
|
+
|
11
|
+
- Fix various issues about `OCI8.properties[:tcp_keepalive_time]` on macOS arm64. The feature was removed on the platform
|
12
|
+
and it raises `NotImplementedError` instead now.
|
13
|
+
- Fix SIGSEGV when using truffleruby. It seems to be caused by `xfree()` outside of ruby threads.
|
14
|
+
|
15
|
+
Changes
|
16
|
+
-------
|
17
|
+
|
18
|
+
- Change the format of fifth numeral of Oracle version number as two digit zero-padding number
|
19
|
+
when the Oracle version is 23 or upper. For example "23.4.0.24.05".
|
20
|
+
|
21
|
+
2.2.12 (2022-12-30)
|
22
|
+
===================
|
23
|
+
|
24
|
+
- Fix warning: undefining the allocator of T_DATA class OraNumber against Ruby 3.2.0dev. (GH-243)
|
25
|
+
- Fix warnings on tests and on compile.
|
26
|
+
- Remove code for old ruby versions.
|
27
|
+
|
3
28
|
2.2.11 (2022-02-22)
|
4
29
|
===================
|
5
30
|
|
data/lib/oci8/oracle_version.rb
CHANGED
@@ -127,7 +127,15 @@ class OCI8
|
|
127
127
|
#
|
128
128
|
# @return [String]
|
129
129
|
def to_s
|
130
|
-
|
130
|
+
version_format =
|
131
|
+
if @major >= 23 && @patch != 0 && @port_update != 0
|
132
|
+
# The fifth numeral is the release month (01 through 12) since Oracle 23ai
|
133
|
+
# See https://docs.oracle.com/en/database/oracle/oracle-database/23/upgrd/oracle-database-release-numbers.html#GUID-1E2F3945-C0EE-4EB2-A933-8D1862D8ECE2__GUID-704EC7BB-4EEA-4A92-96FC-579B216DCA97
|
134
|
+
'%d.%d.%d.%d.%02d'
|
135
|
+
else
|
136
|
+
'%d.%d.%d.%d.%d'
|
137
|
+
end
|
138
|
+
format(version_format, @major, @minor, @update, @patch, @port_update)
|
131
139
|
end
|
132
140
|
|
133
141
|
# Returns true if +self+ and +other+ are the same type and have
|
data/lib/oci8/version.rb
CHANGED
data/lib/oci8.rb
CHANGED
@@ -147,6 +147,8 @@ class OCI8
|
|
147
147
|
ORAVER_12_1 = OCI8::OracleVersion.new(12, 1)
|
148
148
|
# @private
|
149
149
|
ORAVER_18 = OCI8::OracleVersion.new(18)
|
150
|
+
# @private
|
151
|
+
ORAVER_23 = OCI8::OracleVersion.new(23)
|
150
152
|
|
151
153
|
# @private
|
152
154
|
@@oracle_client_version = OCI8::OracleVersion.new(self.oracle_client_vernum)
|
data/lib/oci8lib_270.so
CHANGED
Binary file
|
data/lib/oci8lib_300.so
CHANGED
Binary file
|
data/lib/oci8lib_310.so
CHANGED
Binary file
|
data/pre-distclean.rb
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
rm_f "#{curr_objdir}/
|
2
|
-
rm_f "#{curr_objdir}/ext/oci8/oci8lib_18.map"
|
3
|
-
rm_f "#{curr_objdir}/ext/oci8/oci8lib_191.map"
|
1
|
+
rm_f "#{curr_objdir}/ext/oci8/oci8lib_*.map"
|
4
2
|
if RUBY_PLATFORM =~ /cygwin/
|
5
3
|
rm_f "#{curr_objdir}/ext/oci8/OCI.def"
|
6
4
|
rm_f "#{curr_objdir}/ext/oci8/libOCI.a"
|
data/test/test_metadata.rb
CHANGED
@@ -1896,6 +1896,7 @@ EOS
|
|
1896
1896
|
# Get data_size of NCHAR(1) and that of CHAR(1 CHAR).
|
1897
1897
|
# They depend on the database character set and the
|
1898
1898
|
# client character set.
|
1899
|
+
drop_table('test_table')
|
1899
1900
|
@conn.exec('CREATE TABLE test_table (nc NCHAR(1), c CHAR(1 CHAR))')
|
1900
1901
|
cursor = @conn.exec("select * from test_table")
|
1901
1902
|
cfrm = cursor.column_metadata[0].data_size # size of NCHAR(1) in bytes
|
data/test/test_object.rb
CHANGED
data/test/test_oranumber.rb
CHANGED
@@ -697,7 +697,9 @@ EOS
|
|
697
697
|
OraNumber.new(str)
|
698
698
|
flunk("exception expected but none was thrown. test data: " + str)
|
699
699
|
rescue
|
700
|
-
|
700
|
+
expected_errhead = oraerr.to_s.gsub(/:.*/m, '') # strip chars after ':'
|
701
|
+
actual_errhead = $!.to_s.gsub(/:.*/m, '')
|
702
|
+
assert_equal(expected_errhead, actual_errhead, "test data: " + str)
|
701
703
|
end
|
702
704
|
end
|
703
705
|
if onum
|
data/test/test_package_type.rb
CHANGED
@@ -47,6 +47,12 @@ class TestPackageType < Minitest::Test
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def test_describe_package
|
50
|
+
if $oracle_server_version >= OCI8::ORAVER_23
|
51
|
+
boolean_type_name = 'BOOLEAN'
|
52
|
+
else
|
53
|
+
boolean_type_name = 'PL/SQL BOOLEAN'
|
54
|
+
end
|
55
|
+
|
50
56
|
integer_type_attrs = {
|
51
57
|
:class => OCI8::Metadata::Type,
|
52
58
|
#:typecode => nil,
|
@@ -127,7 +133,7 @@ class TestPackageType < Minitest::Test
|
|
127
133
|
#:map_method => nil,
|
128
134
|
#:order_method => nil,
|
129
135
|
:is_invoker_rights? => false,
|
130
|
-
:name =>
|
136
|
+
:name => boolean_type_name,
|
131
137
|
:schema_name => 'SYS',
|
132
138
|
:is_final_type? => true,
|
133
139
|
:is_instantiable_type? => true,
|
@@ -137,7 +143,7 @@ class TestPackageType < Minitest::Test
|
|
137
143
|
:package_name => nil,
|
138
144
|
:type_attrs => [],
|
139
145
|
#:type_methods => [],
|
140
|
-
:inspect =>
|
146
|
+
:inspect => "#<OCI8::Metadata::Type:(0) SYS.#{boolean_type_name}>",
|
141
147
|
}
|
142
148
|
|
143
149
|
varchar2_type_attrs = {
|
@@ -277,7 +283,7 @@ class TestPackageType < Minitest::Test
|
|
277
283
|
:num_elems => 0,
|
278
284
|
:precision => 0,
|
279
285
|
:scale => 0,
|
280
|
-
:type_name =>
|
286
|
+
:type_name => boolean_type_name,
|
281
287
|
:schema_name => 'SYS',
|
282
288
|
:type_metadata => boolean_type_attrs,
|
283
289
|
:inspect => '#<OCI8::Metadata::Collection: BOOLEAN>',
|
@@ -444,7 +450,7 @@ class TestPackageType < Minitest::Test
|
|
444
450
|
:name => 'B',
|
445
451
|
:precision => 0,
|
446
452
|
:scale => 0,
|
447
|
-
:type_name =>
|
453
|
+
:type_name => boolean_type_name,
|
448
454
|
:schema_name => 'SYS',
|
449
455
|
:fsprecision => 0,
|
450
456
|
:lfprecision => 0,
|
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-oci8
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.13
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Kubo Takehiro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: 'ruby-oci8 is a ruby interface for Oracle using OCI8 API. It is available
|
14
14
|
with Oracle 10g or later including Oracle Instant Client.
|
15
15
|
|
16
|
-
'
|
16
|
+
'
|
17
17
|
email: kubo@jiubao.org
|
18
18
|
executables: []
|
19
19
|
extensions: []
|
@@ -59,8 +59,6 @@ files:
|
|
59
59
|
- lib/oci8/oracle_version.rb
|
60
60
|
- lib/oci8/properties.rb
|
61
61
|
- lib/oci8/version.rb
|
62
|
-
- lib/oci8lib_250.so
|
63
|
-
- lib/oci8lib_260.so
|
64
62
|
- lib/oci8lib_270.so
|
65
63
|
- lib/oci8lib_300.so
|
66
64
|
- lib/oci8lib_310.so
|
@@ -112,15 +110,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
112
110
|
requirements:
|
113
111
|
- - ">="
|
114
112
|
- !ruby/object:Gem::Version
|
115
|
-
version: 2.
|
113
|
+
version: 2.7.0
|
116
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
115
|
requirements:
|
118
116
|
- - ">="
|
119
117
|
- !ruby/object:Gem::Version
|
120
118
|
version: '0'
|
121
119
|
requirements: []
|
122
|
-
|
123
|
-
rubygems_version: 2.7.3
|
120
|
+
rubygems_version: 3.1.2
|
124
121
|
signing_key:
|
125
122
|
specification_version: 4
|
126
123
|
summary: Ruby interface for Oracle using OCI8 API
|
data/lib/oci8lib_250.so
DELETED
Binary file
|
data/lib/oci8lib_260.so
DELETED
Binary file
|