ruby-oci8 2.2.5-x86-mingw32 → 2.2.5.1-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +20 -0
- data/NEWS +10 -0
- data/lib/oci8/version.rb +1 -1
- data/lib/oci8lib_191.so +0 -0
- data/lib/oci8lib_200.so +0 -0
- data/lib/oci8lib_210.so +0 -0
- data/lib/oci8lib_220.so +0 -0
- data/lib/oci8lib_230.so +0 -0
- data/lib/oci8lib_240.so +0 -0
- data/lib/oci8lib_250.so +0 -0
- data/test/test_break.rb +2 -0
- data/test/test_clob.rb +1 -0
- data/test/test_oci8.rb +0 -1
- data/test/test_oranumber.rb +2 -2
- metadata +5 -3
data/ChangeLog
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
2017-12-27 Kubo Takehiro <kubo@jiubao.org>
|
2
|
+
* NEWS: Add changes between 2.2.5 and 2.2.5.1
|
3
|
+
* lib/oci8/version.rb: Update to 2.2.5.1
|
4
|
+
* mkpkg-win32.rb: Build binary gems for ruby 2.5.
|
5
|
+
|
6
|
+
2017-12-27 Kubo Takehiro <kubo@jiubao.org>
|
7
|
+
* test/test_clob.rb, test/test_oci8.rb: Suppress `warning: assigned but unused variable`
|
8
|
+
|
9
|
+
2017-12-26 Yasuo Honda <yasuo.honda@gmail.com>
|
10
|
+
* circle.yml: CI with Ruby 2.5.0
|
11
|
+
(github pull request #182)
|
12
|
+
|
13
|
+
2017-12-21 Yasuo Honda <yasuo.honda@gmail.com>
|
14
|
+
* test/test_break.rb: Suppress expected exceptions tested with Ruby 2.5
|
15
|
+
(github pull request #181)
|
16
|
+
|
17
|
+
2017-12-21 Yasuo Honda <yasuo.honda@gmail.com>
|
18
|
+
* test/test_oranumber.rb: Suppress `warning: BigDecimal.new is deprecated`
|
19
|
+
(github pull request #180)
|
20
|
+
|
1
21
|
2017-10-21 Kubo Takehiro <kubo@jiubao.org>
|
2
22
|
* NEWS: Add changes between 2.2.4.1 and 2.2.5
|
3
23
|
* lib/oci8/version.rb: Update to 2.2.5
|
data/NEWS
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# @markup markdown
|
2
2
|
|
3
|
+
2.2.5.1
|
4
|
+
=======
|
5
|
+
|
6
|
+
No updates except tests. The version number was changed just to release
|
7
|
+
binary gems for ruby 2.5 on Windows.
|
8
|
+
|
9
|
+
### Suppress warnings in tests with ruby 2.5
|
10
|
+
|
11
|
+
(github issue #180, #181)
|
12
|
+
|
3
13
|
2.2.5
|
4
14
|
=====
|
5
15
|
|
data/lib/oci8/version.rb
CHANGED
data/lib/oci8lib_191.so
CHANGED
Binary file
|
data/lib/oci8lib_200.so
CHANGED
Binary file
|
data/lib/oci8lib_210.so
CHANGED
Binary file
|
data/lib/oci8lib_220.so
CHANGED
Binary file
|
data/lib/oci8lib_230.so
CHANGED
Binary file
|
data/lib/oci8lib_240.so
CHANGED
Binary file
|
data/lib/oci8lib_250.so
ADDED
Binary file
|
data/test/test_break.rb
CHANGED
@@ -7,10 +7,12 @@ class TestBreak < Minitest::Test
|
|
7
7
|
|
8
8
|
def setup
|
9
9
|
@conn = get_oci8_connection
|
10
|
+
Thread.report_on_exception, @original_report_on_exception = false, Thread.report_on_exception if Thread.respond_to?(:report_on_exception)
|
10
11
|
end
|
11
12
|
|
12
13
|
def teardown
|
13
14
|
@conn.logoff
|
15
|
+
Thread.report_on_exception = @original_report_on_exception if Thread.respond_to?(:report_on_exception)
|
14
16
|
end
|
15
17
|
|
16
18
|
def report(str)
|
data/test/test_clob.rb
CHANGED
@@ -77,6 +77,7 @@ class TestCLob < Minitest::Test
|
|
77
77
|
# https://github.com/kubo/ruby-oci8/issues/20
|
78
78
|
def test_github_issue_20
|
79
79
|
lob1 = OCI8::CLOB.new(@conn, ' ' * (1024 * 1024))
|
80
|
+
lob1.read(1) # to suppress `warning: assigned but unused variable - lob1`
|
80
81
|
begin
|
81
82
|
lob2 = OCI8::CLOB.new(@conn, ' ' * (128 * 1024 * 1024))
|
82
83
|
rescue OCIError
|
data/test/test_oci8.rb
CHANGED
@@ -58,7 +58,6 @@ EOS
|
|
58
58
|
@conn.exec('CREATE TABLE test_table (id number(38), lng long)')
|
59
59
|
test_data1 = 'a' * 70000
|
60
60
|
test_data2 = 'b' * 3000
|
61
|
-
test_data3 = nil
|
62
61
|
test_data4 = 'c' * 70000
|
63
62
|
@conn.exec('insert into test_table values (:1, :2)', 1, test_data1)
|
64
63
|
@conn.exec('insert into test_table values (:1, :2)', 2, [test_data2, :long])
|
data/test/test_oranumber.rb
CHANGED
@@ -702,12 +702,12 @@ EOS
|
|
702
702
|
def test_new_from_bigdecimal
|
703
703
|
["+Infinity", "-Infinity", "NaN"].each do |n|
|
704
704
|
assert_raises TypeError do
|
705
|
-
OraNumber.new(BigDecimal
|
705
|
+
OraNumber.new(BigDecimal(n))
|
706
706
|
end
|
707
707
|
end
|
708
708
|
|
709
709
|
LARGE_RANGE_VALUES.each do |val|
|
710
|
-
assert_equal(val, OraNumber.new(BigDecimal
|
710
|
+
assert_equal(val, OraNumber.new(BigDecimal(val)).to_s)
|
711
711
|
end
|
712
712
|
end
|
713
713
|
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-oci8
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 105
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 2
|
9
9
|
- 5
|
10
|
-
|
10
|
+
- 1
|
11
|
+
version: 2.2.5.1
|
11
12
|
platform: x86-mingw32
|
12
13
|
authors:
|
13
14
|
- Kubo Takehiro
|
@@ -15,7 +16,7 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2017-
|
19
|
+
date: 2017-12-27 00:00:00 +09:00
|
19
20
|
default_executable:
|
20
21
|
dependencies: []
|
21
22
|
|
@@ -111,6 +112,7 @@ files:
|
|
111
112
|
- lib/oci8lib_220.so
|
112
113
|
- lib/oci8lib_230.so
|
113
114
|
- lib/oci8lib_240.so
|
115
|
+
- lib/oci8lib_250.so
|
114
116
|
has_rdoc: true
|
115
117
|
homepage: http://www.rubydoc.info/github/kubo/ruby-oci8
|
116
118
|
licenses:
|