ruby-oci8 2.2.0.2 → 2.2.12

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.
Files changed (83) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +1 -6
  3. data/ChangeLog +600 -0
  4. data/NEWS +426 -35
  5. data/README.md +27 -9
  6. data/dist-files +13 -2
  7. data/docs/bind-array-to-in_cond.md +38 -0
  8. data/docs/conflicts-local-connections-and-processes.md +98 -0
  9. data/docs/hanging-after-inactivity.md +63 -0
  10. data/docs/install-binary-package.md +15 -11
  11. data/docs/install-full-client.md +18 -21
  12. data/docs/install-instant-client.md +45 -27
  13. data/docs/install-on-osx.md +31 -117
  14. data/docs/ldap-auth-and-function-interposition.md +123 -0
  15. data/docs/number-type-mapping.md +79 -0
  16. data/docs/platform-specific-issues.md +17 -50
  17. data/docs/report-installation-issue.md +11 -8
  18. data/docs/timeout-parameters.md +94 -0
  19. data/ext/oci8/apiwrap.c.tmpl +2 -5
  20. data/ext/oci8/apiwrap.rb +6 -1
  21. data/ext/oci8/apiwrap.yml +39 -143
  22. data/ext/oci8/attr.c +4 -2
  23. data/ext/oci8/bind.c +421 -9
  24. data/ext/oci8/connection_pool.c +3 -3
  25. data/ext/oci8/encoding.c +5 -5
  26. data/ext/oci8/env.c +8 -2
  27. data/ext/oci8/error.c +24 -16
  28. data/ext/oci8/extconf.rb +35 -63
  29. data/ext/oci8/hook_funcs.c +274 -61
  30. data/ext/oci8/lob.c +31 -75
  31. data/ext/oci8/metadata.c +8 -6
  32. data/ext/oci8/object.c +119 -29
  33. data/ext/oci8/oci8.c +46 -133
  34. data/ext/oci8/oci8.h +40 -123
  35. data/ext/oci8/oci8lib.c +178 -46
  36. data/ext/oci8/ocihandle.c +37 -37
  37. data/ext/oci8/ocinumber.c +24 -35
  38. data/ext/oci8/oraconf.rb +168 -337
  39. data/ext/oci8/oradate.c +19 -19
  40. data/ext/oci8/plthook.h +10 -0
  41. data/ext/oci8/plthook_elf.c +433 -268
  42. data/ext/oci8/plthook_osx.c +40 -9
  43. data/ext/oci8/plthook_win32.c +16 -1
  44. data/ext/oci8/stmt.c +52 -17
  45. data/ext/oci8/win32.c +4 -22
  46. data/lib/oci8/bindtype.rb +10 -17
  47. data/lib/oci8/check_load_error.rb +57 -10
  48. data/lib/oci8/compat.rb +5 -1
  49. data/lib/oci8/connection_pool.rb +74 -3
  50. data/lib/oci8/cursor.rb +70 -31
  51. data/lib/oci8/metadata.rb +9 -1
  52. data/lib/oci8/object.rb +14 -1
  53. data/lib/oci8/oci8.rb +184 -58
  54. data/lib/oci8/ocihandle.rb +0 -16
  55. data/lib/oci8/oracle_version.rb +11 -1
  56. data/lib/oci8/properties.rb +55 -0
  57. data/lib/oci8/version.rb +1 -1
  58. data/lib/oci8.rb +48 -4
  59. data/lib/ruby-oci8.rb +1 -0
  60. data/pre-distclean.rb +1 -3
  61. data/ruby-oci8.gemspec +4 -9
  62. data/setup.rb +11 -2
  63. data/test/README.md +37 -0
  64. data/test/config.rb +8 -1
  65. data/test/setup_test_object.sql +42 -14
  66. data/test/setup_test_package.sql +59 -0
  67. data/test/test_all.rb +4 -0
  68. data/test/test_bind_array.rb +70 -0
  69. data/test/test_bind_boolean.rb +99 -0
  70. data/test/test_bind_integer.rb +47 -0
  71. data/test/test_break.rb +11 -9
  72. data/test/test_clob.rb +5 -17
  73. data/test/test_connstr.rb +142 -0
  74. data/test/test_datetime.rb +8 -3
  75. data/test/test_metadata.rb +2 -1
  76. data/test/test_object.rb +99 -18
  77. data/test/test_oci8.rb +170 -46
  78. data/test/test_oranumber.rb +12 -6
  79. data/test/test_package_type.rb +17 -3
  80. data/test/test_properties.rb +17 -0
  81. metadata +45 -55
  82. data/docs/osx-install-dev-tools.png +0 -0
  83. data/test/README +0 -42
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c98e1080c073f6f2f2a67676f754259e8c20d2ef95d6abbb1015fd62df569d84
4
+ data.tar.gz: 4a14e505c268c3a2b408c9f4881026dd32bbe6e4276df83c77483e0402bb32b1
5
+ SHA512:
6
+ metadata.gz: 1e73a635ede56087026f6b573c2f1f6624d7a265423a91ab1d7592534f6c132a1e4f1ca812e4a2651f690588f39c8c82040d20fcc9719fa0028a67c230e76e1d
7
+ data.tar.gz: 57497720f51ed3d2062ed8dc5eb07b248d3b19326e7c83a2cd508aaec0e7f3d33b658eb0605134776913cffc631e57b9e6b97d8b6367e5cf59dd83d24e0c749d
data/.yardopts CHANGED
@@ -11,9 +11,4 @@
11
11
  NEWS
12
12
  COPYING
13
13
  COPYING_old
14
- docs/install-full-client.md
15
- docs/install-instant-client.md
16
- docs/install-binary-package.md
17
- docs/install-on-osx.md
18
- docs/platform-specific-issues.md
19
- docs/report-installation-issue.md
14
+ docs/*.md
data/ChangeLog CHANGED
@@ -1,3 +1,603 @@
1
+ This file has not been not updated. See commit log at https://github.com/kubo/ruby-oci8.
2
+
3
+ 2020-12-30 Kubo Takehiro <kubo@jiubao.org>
4
+ * NEWS: Add changes between 2.2.8 and 2.2.9.
5
+ * lib/oci8/version.rb: Update to 2.2.9.
6
+ * mkpkg-win32.rb: remove unmaintained ruby versions from binary gems.
7
+
8
+ 2020-12-29 Kubo Takehiro <kubo@jiubao.org>
9
+ * ext/oci8/oraconf.rb: Support --with-instant-client-dir along with --with-instant-client-lib/include.
10
+ (GH-223)
11
+
12
+ 2020-12-29 Kubo Takehiro <kubo@jiubao.org>
13
+ * ext/oci8/hook_funcs.c: Fix hooking failure with truffleruby.
14
+ * test/test_break.rb: Fix to pass tests with truffleruby.
15
+
16
+ 2020-12-28 Kubo Takehiro <kubo@jiubao.org>
17
+ * mkpkg-win32.rb: Build binary gems for ruby 3.0 on Windows.
18
+
19
+ 2020-12-28 Kubo Takehiro <kubo@jiubao.org>
20
+ * ext/oci8/ocinumber.c: Suppress C compiler warning: enumeration value ‘RUBY_T_NONE’ not handled in switch
21
+
22
+ 2020-09-10 Kubo Takehiro <kubo@jiubao.org>
23
+ * ext/oci8/extconf.rb: Fix for TruffleRuby 20.2 or before.
24
+
25
+ 2020-09-08 Brandon Fish <brandon.j.fish@oracle.com>
26
+ * ext/oci8/extconf.rb, lib/oci8.rb: Handle truffleruby RUBY_ENGINE in case statements
27
+
28
+ 2020-01-11 Kubo Takehiro <kubo@jiubao.org>
29
+ * NEWS: Add changes between 2.2.7 and 2.2.8.
30
+ * lib/oci8/version.rb: Update to 2.2.8.
31
+
32
+ 2020-01-11 Kubo Takehiro <kubo@jiubao.org>
33
+ * ext/oci8/bind.c: Fix warning: comparison between signed and
34
+ unsigned integer expressions
35
+
36
+ 2020-01-11 Kubo Takehiro <kubo@jiubao.org>
37
+ * test/README.md: Update preparation SQL statements for running tests.
38
+
39
+ 2020-01-11 Kubo Takehiro <kubo@jiubao.org>
40
+ * test/test_break.rb: Check Oracle server OS where tests run
41
+ using dbms_utility.port_string. Tests in test_break.rb
42
+ failed on Windows.
43
+
44
+ 2020-01-07 Kubo Takehiro <kubo@jiubao.org>
45
+ * mkpkg-win32.rb: Workarounds for compilation using ruby 2.4 and 2.6 with
46
+ latest msys2 to avoid 'undefined reference to __chk_fail'
47
+
48
+ 2020-01-06 Kubo Takehiro <kubo@jiubao.org>
49
+ * ext/oci8/win32.c: Fix warnings caused by the change of rb_ensure()'s
50
+ arguments in ruby 2.7.
51
+
52
+ 2019-12-16 Kubo Takehiro <kubo@jiubao.org>
53
+ * test/test_datetime.rb: Remove "require 'scanf'" to run tests with Ruby 2.7.
54
+ The 'scanf' library was removed. https://bugs.ruby-lang.org/issues/16170
55
+
56
+ 2019-12-15 Kubo Takehiro <kubo@jiubao.org>
57
+ * ext/oci8/oradate.c: Fix bug of OraDate.now introduced 15 years ago.
58
+
59
+ 2019-12-15 Kubo Takehiro <kubo@jiubao.org>
60
+ * ext/oci8/attr.c, ext/oci8/oci8lib.c: Fix warnings caused by the
61
+ change of rb_ensure()'s arguments in ruby 2.7.
62
+
63
+ 2019-06-19 Kubo Takehiro <kubo@jiubao.org>
64
+ * Merge pull request #217 from nathanbwright/patch-1
65
+ Fix spelling in install-instant-client.md
66
+ (GH-217)
67
+
68
+ 2019-06-18 Nathan Wright <nathanbwright@users.noreply.github.com>
69
+ * docs/install-instant-client.md: Fix spelling in install-instant-client.md
70
+ (GH-217)
71
+
72
+ 2019-04-24 Kubo Takehiro <kubo@jiubao.org>
73
+ * Merge pull request #212 from tomasjura/master
74
+ Compilation fix for Windows ( and some small cleanups )
75
+ (GH-212)
76
+
77
+ 2019-04-23 Tomas Jura <tomas.jura1@gmail.com>
78
+ * ext/oci8/oci8.h: eliminate compiler warning
79
+ (GH-212)
80
+
81
+ 2019-04-20 Tomas Jura <tomas.jura1@gmail.com>
82
+ * ext/oci8/bind.c: compiler warning eliminated
83
+ (GH-212)
84
+
85
+ 2019-04-20 Tomas Jura <tomas.jura1@gmail.com>
86
+ * setup.rb: use splat operator instead dummy variables
87
+ (GH-212)
88
+
89
+ 2019-04-20 Tomas Jura <tomas.jura1@gmail.com>
90
+ * lib/oci8.rb: use fiddler instead obsolete Win32API
91
+ (GH-212)
92
+
93
+ 2019-04-20 Tomas Jura <tomas.jura1@gmail.com>
94
+ * ext/oci8/oraconf.rb: fix typo in windows compilation
95
+ (GH-212)
96
+
97
+ 2019-03-23 Kubo Takehiro <kubo@jiubao.org>
98
+ * Merge pull request #210 from dminuoso/allow-custom
99
+ (Nix) Allow for specifying include/library paths
100
+ (GH-210)
101
+
102
+ 2019-03-23 Victor Nawothnig <Victor.Nawothnig@gmail.com>
103
+ * ext/oci8/oraconf.rb: Fix missing support for full client
104
+ (GH-210)
105
+
106
+ 2019-03-22 Victor Nawothnig <Victor.Nawothnig@gmail.com>
107
+ * ext/oci8/oraconf.rb: fixup! Allow overriding library/include paths
108
+ (GH-210)
109
+
110
+ 2019-03-21 Victor Nawothnig <Victor.Nawothnig@gmail.com>
111
+ * setup.rb: Add documentation for new flags
112
+ (GH-210)
113
+
114
+ 2019-03-21 Victor Nawothnig <Victor.Nawothnig@gmail.com>
115
+ * ext/oci8/oraconf.rb: Allow overriding library/include paths
116
+ (GH-210)
117
+
118
+ 2019-01-06 Kubo Takehiro <kubo@jiubao.org>
119
+ * NEWS: Add changes between 2.2.6.1 and 2.2.7.
120
+ * lib/oci8/version.rb: Update to 2.2.7
121
+
122
+ 2019-01-06 Kubo Takehiro <kubo@jiubao.org>
123
+ * mkpkg-win32.rb, ruby-oci8.gemspec: Build binary gems for ruby 2.6
124
+ on Windows.
125
+
126
+ 2019-01-06 Kubo Takehiro <kubo@jiubao.org>
127
+ * ext/oci8/oci8.c: Updata doc comments for OCI8#long_read_len
128
+ and OCI8#long_read_len=. These are deprecated.
129
+
130
+ 2019-01-03 Kubo Takehiro <kubo@jiubao.org>
131
+ * lib/oci8/check_load_error.rb: Use fiddle instead of Win32API
132
+ to call WIN32 functions.
133
+
134
+ 2019-01-03 Kubo Takehiro <kubo@jiubao.org>
135
+ * lib/oci8/check_load_error.rb: Add more error diagnostics
136
+ when 'require "oci8"' fails with "OCI.DLL: 126(The specified
137
+ module could not be found.)".
138
+
139
+ 2019-01-03 Kubo Takehiro <kubo@jiubao.org>
140
+ * lib/oci8.rb, lib/oci8/check_load_error.rb: Exclude empty
141
+ parts of PATH on Windows.
142
+
143
+ 2018-12-23 Kubo Takehiro <kubo@jiubao.org>
144
+ * lib/oci8/check_load_error.rb: Check OCI.DLL archtecture
145
+ when load error. It worked for ruby installer but not
146
+ for ruby installer2.
147
+
148
+ 2018-12-23 Kubo Takehiro <kubo@jiubao.org>
149
+ * docs/install-instant-client.md: Add information about
150
+ the MSVC redistributable package required by Oracle 18.3 client.
151
+
152
+ 2018-09-16 Kubo Takehiro <kubo@jiubao.org>
153
+ * ext/oci8/hook_funcs.c: Fix "No shared library is found to hook." on macOS.
154
+ (oracle-enhanced issue #1768)
155
+
156
+ 2018-09-11 Kubo Takehiro <kubo@jiubao.org>
157
+ * ext/oci8/object.c, lib/oci8/cursor.rb: Change the internal structure
158
+ about object type binding to use array fetching for object types.
159
+
160
+ 2018-09-09 Kubo Takehiro <kubo@jiubao.org>
161
+ * ext/oci8/lob.c: Read lob data without checking readable size to
162
+ reduce number of network round trips from two to one.
163
+
164
+ 2018-09-05 Kubo Takehiro <kubo@jiubao.org>
165
+ * ext/oci8/bind.c, ext/oci8/stmt.c, lib/oci8/cursor.rb,
166
+ lib/oci8/oci8.rb, test/test_oci8.rb: Use array fetching when
167
+ LOB colums are in a query and no object types are in the query.
168
+
169
+ 2018-09-02 Kubo Takehiro <kubo@jiubao.org>
170
+ * ext/oci8/apiwrap.yml, ext/oci8/bind.c, ext/oci8/stmt.c,
171
+ lib/oci8/bindtype.rb, test/test_oci8.rb: Rewrite OCI8::BindType::Long
172
+ and OCI8::BindType::LongRaw to handle up to 2 gigabyte data using
173
+ dynamically allocated buffers.
174
+
175
+ 2018-08-22 Kubo Takehiro <kubo@jiubao.org>
176
+ * NEWS: Add changes between 2.2.5.1 and 2.2.6
177
+ * lib/oci8/version.rb: Update to 2.2.6
178
+ * mkpkg-win32.rb: Don't test with self-build ruby 2.4.
179
+
180
+ 2018-08-22 Kubo Takehiro <kubo@jiubao.org>
181
+ * ext/oci8/oci8lib.c: Load a Oracle client library which doesn't have
182
+ version number suffix also on Unix when runtime-check is enabled.
183
+ Oracle version numbers are incremented yearly sice Oracle 18c.
184
+
185
+ 2018-08-22 Kubo Takehiro <kubo@jiubao.org>
186
+ * ext/oci8/hook_funcs.c, ext/oci8/win32.c: Suppress warnings:
187
+ "'raise_error' defined but not used" and "'strncpy' specified
188
+ bound 512 equals destination size".
189
+
190
+ 2018-08-19 Kubo Takehiro <kubo@jiubao.org>
191
+ * ext/oci8/hook_funcs.c: Not depend on Oracle version number
192
+ of Oracle client file name suffix when hooking functions.
193
+ (rsim/oracle-enhanced#1754)
194
+ * test/test_all.rb, test/test_properties.rb, dist-files:
195
+ Add tests for hooking.
196
+
197
+ 2018-08-18 Kubo Takehiro <kubo@jiubao.org>
198
+ * test/test_oci8.rb: Fix to pass a test when the client is 11g
199
+ and the server is 18c. client_driver in v$session_connect_info
200
+ has an extra space at the end.
201
+
202
+ 2018-08-18 Kubo Takehiro <kubo@jiubao.org>
203
+ * ext/oci8/apiwrap.rb, ext/oci8/apiwrap.yml, ext/oci8/oci8.c,
204
+ ext/oci8/oci8.h, lib/oci8/oci8.rb, lib/oci8/oracle_version.rb,
205
+ test/test_oci8.rb: Fix OCI8#oracle_server_version to get
206
+ full version of Oracle 18c.
207
+
208
+ 2018-08-18 Kubo Takehiro <kubo@jiubao.org>
209
+ * lib/oci8/metadata.rb: Update doc comments of OCI8::Metadata::ArgBase#level
210
+ and OCI8::Metadata::ArgBase#arguments.
211
+ * test/test_package_type.rb, lib/oci8.rb: Fix to pass tests on Oracle 18c.
212
+ Detailed user-defined type information used in arguments isn't available
213
+ on Oracle 18c.
214
+
215
+ 2018-08-12 Kubo Takehiro <kubo@jiubao.org>
216
+ * test/test_clob.rb: Skip TestCLob#test_github_issue_20 because it
217
+ takes 4 minutes to test it in my Linux box.
218
+
219
+ 2018-08-12 Kubo Takehiro <kubo@jiubao.org>
220
+ * ext/oci8/lob.c, test/test_clob.rb: LOB#sync, LOB#sync= and LOB#flush
221
+ do nothing now. They have not worked by mistake from the beginning
222
+ because incorrect arguments has been passed to OCILobOpen().
223
+ Moreover it crashed Oracle 18c server-side processes and caused
224
+ "ORA-03113: end-of-file on communication channel."
225
+ (github issue #198)
226
+
227
+ 2018-01-28 Kubo Takehiro <kubo@jiubao.org>
228
+ * ext/oci8/object.c, lib/oci8/object.rb: Add timestamp with time zone
229
+ data type support in object type attributes.
230
+ (github issue #185)
231
+ * test/setup_test_object.sql, test/test_object.rb: Add tests for
232
+ timestamp and timestamp with time zone.
233
+
234
+ 2018-01-23 Kubo Takehiro <kubo@jiubao.org>
235
+ * ext/oci8/object.c, ext/oci8/oci8.h, lib/oci8/object.rb:
236
+ Add timestamp data type support in object type attributes.
237
+ (github issue #185)
238
+
239
+ 2017-12-27 Kubo Takehiro <kubo@jiubao.org>
240
+ * mkpkg-win32.rb: Remove '-rubygems' in the command line to run tests.
241
+ `ubygems.rb` was removed in ruby 2.5.
242
+
243
+ 2017-12-27 Kubo Takehiro <kubo@jiubao.org>
244
+ * NEWS: Add changes between 2.2.5 and 2.2.5.1
245
+ * lib/oci8/version.rb: Update to 2.2.5.1
246
+ * mkpkg-win32.rb: Build binary gems for ruby 2.5.
247
+
248
+ 2017-12-27 Kubo Takehiro <kubo@jiubao.org>
249
+ * test/test_clob.rb, test/test_oci8.rb: Suppress `warning: assigned but unused variable`
250
+
251
+ 2017-12-26 Yasuo Honda <yasuo.honda@gmail.com>
252
+ * circle.yml: CI with Ruby 2.5.0
253
+ (github pull request #182)
254
+
255
+ 2017-12-21 Yasuo Honda <yasuo.honda@gmail.com>
256
+ * test/test_break.rb: Suppress expected exceptions tested with Ruby 2.5
257
+ (github pull request #181)
258
+
259
+ 2017-12-21 Yasuo Honda <yasuo.honda@gmail.com>
260
+ * test/test_oranumber.rb: Suppress `warning: BigDecimal.new is deprecated`
261
+ (github pull request #180)
262
+
263
+ 2017-10-21 Kubo Takehiro <kubo@jiubao.org>
264
+ * NEWS: Add changes between 2.2.4.1 and 2.2.5
265
+ * lib/oci8/version.rb: Update to 2.2.5
266
+ * docs/number-type-mapping.md: minor fix
267
+ * dist-files: Add files.
268
+
269
+ 2017-10-18 Kubo Takehiro <kubo@jiubao.org>
270
+ * docs/number-type-mapping.md, README.md, dist-files: Add document
271
+ about the mapping between Oracle number types and Ruby classes.
272
+
273
+ 2017-10-17 Kubo Takehiro <kubo@jiubao.org>
274
+ * lib/oci8/check_load_error.rb: Check error reason when loading
275
+ failed with 'The specified module could not be found' on Windows.
276
+
277
+ 2017-10-17 Kubo Takehiro <kubo@jiubao.org>
278
+ * lib/oci8/check_load_error.rb: Fix LoadError while trying to check
279
+ errors in "require 'oci8lib_230.so'" on cygwin 2.8 or later.
280
+ (related to github issue #176)
281
+
282
+ 2017-10-17 Kubo Takehiro <kubo@jiubao.org>
283
+ * ext/oci8/ocinumber.c, test/test_oranumber.rb:
284
+ Add OraNumber#has_fractional_part?.
285
+
286
+ 2017-10-01 Kubo Takehiro <kubo@jiubao.org>
287
+ * ext/oci8/plthook_elf.c: Update plthook to use prelinked
288
+ libclntsh.so on Linux.
289
+ (github issue #172)
290
+
291
+ 2017-09-27 Kubo Takehiro <kubo@jiubao.org>
292
+ * ext/oci8/oci8lib.c: Change order to load libclntsh when runtime
293
+ api check is enabled on Unix.
294
+
295
+ 2017-09-24 Kubo Takehiro <kubo@jiubao.org>
296
+ * ext/oci8/oci8lib.c: Try to load $ORACLE_HOME/lib/libclntsh.so also
297
+ when runtime api check is enabled on Unix.
298
+
299
+ 2017-09-23 Kubo Takehiro <kubo@jiubao.org>
300
+ * lib/oci8/cursor.rb: Don't call unnecessary __paramGet(i) when a
301
+ cursor is executed more than once.
302
+ (pointed by OMOTO Kenji at github issue #171)
303
+
304
+ 2017-07-09 Kubo Takehiro <kubo@jiubao.org>
305
+ * ext/oci8/apiwrap.yml, ext/oci8/oci8.c, lib/oci8/oci8.rb:
306
+ Delete unused code using OCILogon2 and OCILogoff.
307
+
308
+ 2017-07-09 Kubo Takehiro <kubo@jiubao.org>
309
+ * ext/oci8/error.c: Delete OCIError#initialize defined by C code
310
+ to suppress warning: method redefined; discarding old initialize.
311
+ (github issue #168)
312
+
313
+ 2017-06-17 Kubo Takehiro <kubo@jiubao.org>
314
+ * NEWS: Add changes between 2.2.4 and 2.2.4.1
315
+ * lib/oci8/version.rb: Update to 2.2.4.1
316
+ * lib/oci8/properties.rb: Fix URL links
317
+ * docs/hanging-after-inactivity.md: Revised
318
+
319
+ 2017-06-16 Kubo Takehiro <kubo@jiubao.org>
320
+ * ext/oci8/extconf.rb, ext/oci8/hook_funcs.c, ext/oci8/oci8lib.c:
321
+ Fix to pass compilation on cygwin.
322
+ * mkpkg-win32.rb: Add tests on cygwin.
323
+
324
+ 2017-06-16 Kubo Takehiro <kubo@jiubao.org>
325
+ * ext/oci8/hook_funcs.c: Fix the calling convention of setsockopt
326
+ on Windows x86.
327
+
328
+ 2017-06-11 Kubo Takehiro <kubo@jiubao.org>
329
+ * NEWS: Add changes between 2.2.3 and 2.2.4.
330
+ * lib/oci8/version.rb: update to 2.2.4.
331
+ * docs/ldap-auth-and-function-interposition.md,
332
+ docs/hanging-after-inactivity.md: updated
333
+
334
+ 2017-06-08 Kubo Takehiro <kubo@jiubao.org>
335
+ * lib/oci8.rb: Remove added dll directory after 'require oci8lib.so'.
336
+ (RubyInstaller2 for Windows only)
337
+
338
+ 2017-06-06 Kubo Takehiro <kubo@jiubao.org>
339
+ * docs/hanging-after-inactivity.md: revise
340
+ * dist-files: add docs/hanging-after-inactivity.md.
341
+
342
+ 2017-06-06 Kubo Takehiro <kubo@jiubao.org>
343
+ * mkpkg-win32.rb: Use RubyInstaller2 to compile binary gems for
344
+ ruby 2.4 on Windows.
345
+
346
+ 2017-05-31 Kubo Takehiro <kubo@jiubao.org>
347
+ * docs/hanging-after-inactivity.md:
348
+ Add a document about tcp_keepalive and tcp_keepalive_time properties.
349
+ * README.md, docs/timeout-parameters.md, lib/oci8/properties.rb:
350
+ Add links to the TCP keepalive document.
351
+
352
+ 2017-05-21 Kubo Takehiro <kubo@jiubao.org>
353
+ * docs/install-instant-client.md: Add a link to the Visual
354
+ C++ 2013 redistributable package required to use Oracle 12.2.
355
+
356
+ 2017-05-08 Kubo Takehiro <kubo@jiubao.org>
357
+ * lib/oci8.rb: Fix for RubyInstaller2 for Windows.
358
+ https://github.com/oneclick/rubyinstaller2/issues/11
359
+
360
+ 2017-05-07 Kubo Takehiro <kubo@jiubao.org>
361
+ * ext/oci8/oraconf.rb: Use Win32::Registry instead of Win32API
362
+ to compile ruby-oci8 on the latest cygwin.
363
+ (github issue #167)
364
+
365
+ 2017-02-14 Kubo Takehiro <kubo@jiubao.org>
366
+ * test/test_connstr.rb: fix test to pass the previous commit.
367
+
368
+ 2017-02-14 Kubo Takehiro <kubo@jiubao.org>
369
+ * ext/oci8/hook_funcs.c, ext/oci8/oci8.c, ext/oci8/oci8.h,
370
+ lib/oci8/oci8.rb, lib/oci8/properties.rb:
371
+ Add tcp_keepalive options to OCI8.properties.
372
+
373
+ 2017-01-14 Kubo Takehiro <kubo@jiubao.org>
374
+ * ext/oci8/env.c, ext/oci8/error.c, ext/oci8/oci8.h,
375
+ ext/oci8/oci8lib.c: Fix memory leaks when `require 'oci8'` raises a LoadError.
376
+
377
+ 2017-01-08 Kubo Takehiro <kubo@jiubao.org>
378
+ * docs/install-binary-package.md, docs/install-instant-client.md:
379
+ Update documents for installation on Windows.
380
+
381
+ 2017-01-07 Kubo Takehiro <kubo@jiubao.org>
382
+ * ext/oci8/oci8lib.c: If libclntsh.so exports and imports same
383
+ functions, their PLT entries are forcedly modified to point
384
+ to itself not to use functions in other libraries.
385
+ (Only on Linux and macOS)
386
+ * README.md, docs/ldap-auth-and-function-interposition.md:
387
+ Add document about "LDAP Authentication and Function Interposition."
388
+
389
+ 2016-12-28 Yavor Nikolov <nikolov.javor@gmail.com>
390
+ * README.md: add build status and Gem version badges
391
+ (merged at 2016-12-29)
392
+
393
+ 2016-12-28 Yavor Nikolov <nikolov.javor@gmail.com>
394
+ * README.md: add title, demote sections to H2
395
+ (merged at 2016-12-29)
396
+
397
+ 2016-12-28 Yavor Nikolov <nikolov.javor@gmail.com>
398
+ * lib/oci8/cursor.rb: Fix misleading cursor.bind_param header comment
399
+ Reword an obsolete description of bind_param - since currently there is no
400
+ restriction for Bignum nor for very large Integer values.
401
+ (merged at 2016-12-29)
402
+
403
+ 2016-12-27 Yavor Nikolov <nikolov.javor@gmail.com>
404
+ * dist-files, test/test_all.rb, test/test_bind_integer.rb:
405
+ Tests for binding integer cursor in parameters
406
+ Add tests for binding a range of small and large integer variables
407
+ directly (not through OraNumber).
408
+ (merged at 2016-12-29)
409
+
410
+ 2016-12-26 Yavor Nikolov <nikolov.javor@gmail.com>
411
+ * circle.yml, cisetup/create_ruby_user.sql, cisetup/oracle/download.sh,
412
+ cisetup/oracle/install.sh, cisetup/setup_accounts.sh:
413
+ Add Circle CI build
414
+ (merged at 2016-12-28)
415
+
416
+ 2016-12-26 Yavor Nikolov <nikolov.javor@gmail.com>
417
+ * test/test_oci8.rb: Fix date/time test (expected time timezone).
418
+ Time.now offset leads to unstable test due to DST sensitivity.
419
+ The solution is to take the offset of the specific local date/time.
420
+ (merged at 2016-12-28)
421
+
422
+ 2016-12-25 Koichi ITO <koic.ito@gmail.com>
423
+ * ext/oci8/encoding.c, ext/oci8/oci8.c, ext/oci8/ocihandle.c
424
+ ext/oci8/oraconf.rb, ext/oci8/oradate.c, ext/oci8/stmt.c
425
+ lib/oci8/cursor.rb: Integer Unification in Ruby 2.4.0+
426
+ (merged at 2016-12-29)
427
+
428
+ 2016-12-27 Kubo Takehiro <kubo@jiubao.org>
429
+ * NEWS: Add changes between 2.2.2 and 2.2.3.
430
+ * lib/oci8/version.rb: update to 2.2.3.
431
+ * dist-files: add test/test_bind_array.rb
432
+ * mkpkg-win32.rb: add path to ruby 2.4.0
433
+
434
+ 2016-12-26 Kubo Takehiro <kubo@jiubao.org>
435
+ * test/test_clob.rb, test/test_metadata.rb, test/test_object.rb,
436
+ test/test_oci8.rb, test/test_package_type.rb: Suppress warnings:
437
+ "Use assert_nil if expecting nil from ... in `...' This will
438
+ fail in MT6" printed by Minitest.
439
+
440
+ 2016-12-26 Kubo Takehiro <kubo@jiubao.org>
441
+ * lib/oci8/bindtype.rb, lib/oci8/compat.rb, lib/oci8/oci8.rb,
442
+ test/config.rb: Suppress "warning: constant ::Fixnum is deprecated"
443
+ and "warning: constant ::Bignum is deprecated" due to integer
444
+ unification in ruby 2.4.0.
445
+
446
+ 2016-12-14 Koichi ITO <koic.ito@gmail.com>
447
+ * ext/oci8/ocinumber.c: Fix invalid value for BigDecimal in
448
+ Ruby 2.4.0+
449
+
450
+ 2016-09-25 Kubo Takehiro <kubo@jiubao.org>
451
+ * ext/oci8/metadata.c, ext/oci8/oci8.c: Fix load error when
452
+ GC.stress = true.
453
+
454
+ 2016-09-11 Kubo Takehiro <kubo@jiubao.org>
455
+ * ext/oci8/oci8.h: Suppress 'warning: "ALWAYS_INLINE" redefined' when
456
+ compiled for ruby 2.4.0-preview2.
457
+
458
+ 2016-05-28 Kubo Takehiro <kubo@jiubao.org>
459
+ * docs/install-on-osx.md: Update installation document about OS X again.
460
+
461
+ 2016-05-28 Kubo Takehiro <kubo@jiubao.org>
462
+ * docs/install-on-osx.md: Update installation document about OS X.
463
+
464
+ 2016-04-24 Kubo Takehiro <kubo@jiubao.org>
465
+ * mkpkg-win32.rb: Added to compile mingw32 packages.
466
+ * dist-files: Updated to include docs/report-installation-issue.md.
467
+
468
+ 2016-04-24 Kubo Takehiro <kubo@jiubao.org>
469
+ * NEWS: Add changes between 2.2.1 and 2.2.2.
470
+ * lib/oci8/version.rb: update to 2.2.2.
471
+
472
+ 2016-04-24 Kubo Takehiro <kubo@jiubao.org>
473
+ * docs/report-installation-issue.md: Use RbConfig::CONFIG instead of
474
+ deprecated Config::CONFIG.
475
+
476
+ 2016-04-24 Kubo Takehiro <kubo@jiubao.org>
477
+ * lib/oci8/oci8.rb: Add OCI8::in_cond and OCI8:InCondBindHelper.
478
+ * test/test_all.rb, test/test_bind_array.rb: Add test of OCI8::in_cond.
479
+ * README.md, docs/bind-array-to-in_cond.md: Add document of OCI8::in_cond.
480
+
481
+ 2016-04-10 Kubo Takehiro <kubo@jiubao.org>
482
+ * lib/oci8/connection_pool.rb: update document.
483
+
484
+ 2016-03-27 Kubo Takehiro <kubo@jiubao.org>
485
+ * lib/oci8/object.rb: Suppress warning: instance variable
486
+ @name_to_tdo not initialized.
487
+
488
+ 2016-03-27 Kubo Takehiro <kubo@jiubao.org>
489
+ * ext/oci8/apiwrap.yml, ext/oci8/metadata.c, ext/oci8/object.c,
490
+ ext/oci8/oci8.h, lib/oci8/object.rb, test/setup_test_object.sql,
491
+ test/test_object.rb: Check object type from each object instance
492
+ when an Oracle object is got from a bind parameter.
493
+ (github issue #119)
494
+
495
+ 2016-03-27 Kubo Takehiro <kubo@jiubao.org>
496
+ * lib/ruby-oci8.rb: Added for 'Bundler.require'.
497
+ (github issue #114)
498
+ * dist-files: Add lib/ruby-oci8.rb.
499
+
500
+ 2016-03-27 Kubo Takehiro <kubo@jiubao.org>
501
+ * README.md, docs/timeout-parameters.md, lib/oci8/oci8.rb:
502
+ Update documents about timeout parameters.
503
+
504
+ 2016-03-18 Kubo Takehiro <kubo@jiubao.org>
505
+ * ext/oci8/oraconf.rb: Fix for mswin64.
506
+
507
+ 2016-03-15 Kubo Takehiro <kubo@jiubao.org>
508
+ * docs/conflicts-local-connections-and-processes.md: Add a document
509
+ about conflicts between local connections and child process
510
+ handling on Unix.
511
+ * README.md: Add a link to a newly added file.
512
+
513
+ 2016-03-13 Kubo Takehiro <kubo@jiubao.org>
514
+ * ruby-oci8.gemspec: Change the license name in gemspec to suppress the
515
+ following warning.
516
+ WARNING: license value '2-clause BSD-style license' is invalid.
517
+ Use a license identifier from http://spdx.org/licenses or 'Nonstandard'
518
+ for a nonstandard license.
519
+
520
+ 2016-01-29 Kubo Takehiro <kubo@jiubao.org>
521
+ * lib/oci8/oci8.rb, lib/oci8/properties.rb: Rename outbound_connect_timeout in
522
+ OCI8::properties to connect_timeout.
523
+ * docs/timeout-parameters.md: Revise document.
524
+
525
+ 2015-12-20 Kubo Takehiro <kubo@jiubao.org>
526
+ * lib/oci8/cursor.rb: Use OCI_ATTR_UB8_ROW_COUNT to get the number of processed rows
527
+ if Oracle client version is 12c or upper.
528
+
529
+ 2015-12-20 Kubo Takehiro <kubo@jiubao.org>
530
+ * lib/oci8/oci8.rb, lib/oci8/properties.rb, test/test_connstr.rb:
531
+ Support tcp_connect_timeout, connect_timeout, send_timeout and
532
+ recv_timeout in OCI8::properties.
533
+ * .yardopts, dist-files, docs/timeout-parameters.md: Add document
534
+ about timeout parameters.
535
+
536
+ 2015-12-19 Kubo Takehiro <kubo@jiubao.org>
537
+ * lib/oci8/oci8.rb, lib/oci8/ocihandle.rb: Support SYSBACKUP, SYSDG
538
+ and SYSKM privileges.
539
+ (github issue #110)
540
+
541
+ 2015-12-19 Kubo Takehiro <kubo@jiubao.org>
542
+ * ext/oci8/plthook_win32.c: Fix bug introduced by the previous commit
543
+ for mingw32 64-bit compiler.
544
+ (github issue #113)
545
+
546
+ 2015-12-18 Kubo Takehiro <kubo@jiubao.org>
547
+ * ext/oci8/plthook_win32.c, ext/oci8/extconf.rb: Import the latest
548
+ plthook_win32.c for cygwin. Ruby-oci8 had not been compiled on
549
+ cygwin since 2.1.8.
550
+ (github issue #113)
551
+
552
+ 2015-12-18 Kubo Takehiro <kubo@jiubao.org>
553
+ * ext/oci8/oraconf.rb: Fix a linkage error on cygwin and mingw32
554
+ when installing without `--with-runtime-check`.
555
+ This bug was introduced in ruby-oci8 2.2.1.
556
+ (github issue #113)
557
+
558
+ 2015-11-28 Kubo Takehiro <kubo@jiubao.org>
559
+ * ext/oci8/oraconf.rb: Check the default value of DYLD_FALLBACK_LIBRARY_PATH
560
+ after checking OCI_DIR. (OS X only)
561
+
562
+ 2015-11-01 Kubo Takehiro <kubo@jiubao.org>
563
+ * NEWS: Add changes between 2.2.0.2 and 2.2.1.
564
+ * lib/oci8/version.rb: update to 2.2.1.
565
+
566
+ 2015-11-01 Kubo Takehiro <kubo@jiubao.org>
567
+ * ext/oci8/extconf.rb, ext/oci8/oci8.h: Delete unnecessary checks.
568
+ * ext/oci8/oraconf.rb: Reduce time to build an import library on
569
+ Mingw32 and Cygwin.
570
+
571
+ 2015-11-01 Kubo Takehiro <kubo@jiubao.org>
572
+ * lib/oci8/oci8.rb: delete code for Oracle 8i.
573
+
574
+ 2015-10-26 Kubo Takehiro <kubo@jiubao.org>
575
+ * ext/oci8/oci8lib.c: Fix handle leaks when OCI8#ping is used and
576
+ the Oracle client version is 10gR1.
577
+ This bug was introduced in ruby-oci8 2.2.0.
578
+
579
+ 2015-10-26 Kubo Takehiro <kubo@jiubao.org>
580
+ * ext/oci8/oci8lib.c: Revive code dropped in ruby-oci8 2.2.0.
581
+ This prevents potential SEGV on ruby process termination.
582
+
583
+ 2015-10-26 Kubo Takehiro <kubo@jiubao.org>
584
+ * ext/oci8/ocinumber.c: Drop code for ruby 1.8.
585
+ Rational has been a built-in type since ruby 1.9.
586
+
587
+ 2015-10-20 Kubo Takehiro <kubo@jiubao.org>
588
+ * ext/oci8/bind.c, lib/oci8/bindtype.rb, test/test_all.rb,
589
+ test/test_bind_boolean.rb: Support boolean type binding.
590
+
591
+ 2015-10-19 Kubo Takehiro <kubo@jiubao.org>
592
+ * ext/oci8/apiwrap.yml: Delete unused OCI function definitions.
593
+
594
+ 2015-10-19 Kubo Takehiro <kubo@jiubao.org>
595
+ * ext/oci8/extconf.rb: Use macros OCI_MAJOR_VERSION and OCI_MINOR_VERSION
596
+ in oci.h to check the target Oracle client version.
597
+
598
+ 2015-10-12 Kubo Takehiro <kubo@jiubao.org>
599
+ * NEWS: Add changes between 2.2.0.1 and 2.2.0.2.
600
+
1
601
  2015-10-12 Kubo Takehiro <kubo@jiubao.org>
2
602
  * lib/oci8/version.rb: Update the version to 2.2.0.2 to
3
603
  release binary gems for mingw32.