ruby-oci8 2.2.5-x86-mingw32 → 2.2.5.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
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
 
@@ -1,3 +1,3 @@
1
1
  class OCI8
2
- VERSION = "2.2.5"
2
+ VERSION = "2.2.5.1"
3
3
  end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -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)
@@ -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
@@ -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,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-oci8
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 105
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 2
9
9
  - 5
10
- version: 2.2.5
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-10-21 00:00:00 +09:00
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: