ruby-oci8 2.2.5-x64-mingw32 → 2.2.5.1-x64-mingw32

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
  SHA1:
3
- metadata.gz: a774ba191c533ba2e05aaaf144904dc82594d41a
4
- data.tar.gz: 256e76bc1d62294ff80d22db5e3318832d5cc151
3
+ metadata.gz: dbe55952857abca4ef0109951d8957239bcbc601
4
+ data.tar.gz: e1e7e44cc6efdc7fd4f70dd5996c11f68aa839d1
5
5
  SHA512:
6
- metadata.gz: f1ffa6a49116c61233f897026ad519ef0cd1add58fcc7e7754c8815a03d093dd2b8d249a764cfeb0a2db22ea84d49fca7a0bc1878d3a717892fd9e360baa87fc
7
- data.tar.gz: 966edee2a99982d330cc2840290a2427f46de05c9b2e959f6f762b0b9a686445cc13d0196d880ca0aa16cb24b6c0066f60ab2c4d7fb64e4097a2eb71a0496858
6
+ metadata.gz: 9aa5220990b12b12ab9f4fc9f9e464ae320d02ea894188f8f11a2b31b7a2c19f53a022cd85c7d9b8948472f9c34751f43fd2a8a35ec7f08f62281136656af7ef
7
+ data.tar.gz: 92453b43a489092f1a61e49e273803c895ca392884992447d2839a70c6f3264e078b67f984f807c116eb5029f719f89e95b2a5db57782ced1d91424227c191b4
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
@@ -1,3 +1,3 @@
1
1
  class OCI8
2
- VERSION = "2.2.5"
2
+ VERSION = "2.2.5.1"
3
3
  end
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
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])
@@ -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.new(n))
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.new(val)).to_s)
710
+ assert_equal(val, OraNumber.new(BigDecimal(val)).to_s)
711
711
  end
712
712
  end
713
713
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-oci8
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.5
4
+ version: 2.2.5.1
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: 2017-10-21 00:00:00.000000000 Z
11
+ date: 2017-12-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  ruby-oci8 is a ruby interface for Oracle using OCI8 API. It is available with Oracle 10g or later including Oracle Instant Client.
@@ -98,6 +98,7 @@ files:
98
98
  - lib/oci8lib_220.so
99
99
  - lib/oci8lib_230.so
100
100
  - lib/oci8lib_240.so
101
+ - lib/oci8lib_250.so
101
102
  homepage: http://www.rubydoc.info/github/kubo/ruby-oci8
102
103
  licenses:
103
104
  - BSD-2-Clause