Skip to content

Commit 3716961

Browse files
yahondaclaude
andcommitted
Remove obsolete ruby-oci8 2.0.3 TIMESTAMP patch
The oci8_patches.rb file patched a fractional seconds bug that only activated for ruby-oci8 2.0.3. Since the project requires ~> 2.1 (and the fix was included in 2.0.4), this patch has been dead code for years. Also bump the runtime version check to match the gemspec. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 39cf870 commit 3716961

2 files changed

Lines changed: 1 addition & 28 deletions

File tree

lib/plsql/oci8_patches.rb

Lines changed: 0 additions & 25 deletions
This file was deleted.

lib/plsql/oci_connection.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@
1414
raise LoadError, "ERROR: ruby-plsql could not load ruby-oci8 library. #{msg}"
1515
end
1616

17-
require "plsql/oci8_patches"
18-
1917
# check ruby-oci8 version
20-
required_oci8_version = [2, 0, 3]
18+
required_oci8_version = [2, 1, 0]
2119
oci8_version_ints = OCI8::VERSION.scan(/\d+/).map { |s| s.to_i }
2220
if (oci8_version_ints <=> required_oci8_version) < 0
2321
raise LoadError, "ERROR: ruby-oci8 version #{OCI8::VERSION} is too old. Please install ruby-oci8 version #{required_oci8_version.join('.')} or later."

0 commit comments

Comments
 (0)