ruby-oci8 2.1.8-x64-mingw32 → 2.2.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
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.1.8
4
+ version: 2.2.0
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: 2015-04-04 00:00:00.000000000 Z
11
+ date: 2015-10-04 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 Oracle8i, Oracle9i, Oracle10g, Oracle11g and Oracle Instant Client.
@@ -25,7 +25,6 @@ files:
25
25
  - Makefile
26
26
  - NEWS
27
27
  - README.md
28
- - VERSION
29
28
  - dist-files
30
29
  - metaconfig
31
30
  - pre-distclean.rb
@@ -37,10 +36,11 @@ files:
37
36
  - docs/platform-specific-issues.md
38
37
  - docs/report-installation-issue.md
39
38
  - lib/.document
40
- - lib/oci8.rb.in
39
+ - lib/oci8.rb
41
40
  - lib/dbd/OCI8.rb
42
41
  - lib/oci8/.document
43
42
  - lib/oci8/bindtype.rb
43
+ - lib/oci8/check_load_error.rb
44
44
  - lib/oci8/compat.rb
45
45
  - lib/oci8/connection_pool.rb
46
46
  - lib/oci8/cursor.rb
@@ -53,6 +53,7 @@ files:
53
53
  - lib/oci8/ocihandle.rb
54
54
  - lib/oci8/oracle_version.rb
55
55
  - lib/oci8/properties.rb
56
+ - lib/oci8/version.rb
56
57
  - test/README
57
58
  - test/config.rb
58
59
  - test/setup_test_object.sql
@@ -77,11 +78,11 @@ files:
77
78
  - test/test_oracle_version.rb
78
79
  - test/test_oradate.rb
79
80
  - test/test_oranumber.rb
81
+ - test/test_package_type.rb
80
82
  - test/test_rowid.rb
81
83
  - lib/oci8lib_220.so
82
84
  - lib/oci8lib_200.so
83
85
  - lib/oci8lib_210.so
84
- - lib/oci8.rb
85
86
  homepage: https://github.com/kubo/ruby-oci8/
86
87
  licenses:
87
88
  - 2-clause BSD-style license
@@ -102,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
103
  - !ruby/object:Gem::Version
103
104
  version: '0'
104
105
  requirements: []
105
- rubyforge_project: ruby-oci8
106
+ rubyforge_project:
106
107
  rubygems_version: 2.0.0
107
108
  signing_key:
108
109
  specification_version: 4
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 2.1.8
@@ -1,138 +0,0 @@
1
-
2
- # --*- ruby -*--
3
- # This is based on yoshidam's oracle.rb.
4
- #
5
- # sample one liner:
6
- # ruby -r oci8 -e 'OCI8.new("scott", "tiger", nil).exec("select * from emp") do |r| puts r.join(","); end'
7
- # # select all data from emp and print them as CVS format.
8
-
9
- ENV['ORA_SDTZ'] = ENV['TZ'] unless ENV['ORA_SDTZ']
10
-
11
- if RUBY_PLATFORM =~ /cygwin/
12
- # Cygwin manages environment variables by itself.
13
- # They don't synchroize with Win32's ones.
14
- # This set some Oracle's environment variables to win32's enviroment.
15
- require 'Win32API'
16
- win32setenv = Win32API.new('Kernel32.dll', 'SetEnvironmentVariableA', 'PP', 'I')
17
- ['NLS_LANG', 'TNS_ADMIN', 'LOCAL'].each do |name|
18
- val = ENV[name]
19
- win32setenv.call(name, val && val.dup)
20
- end
21
- ENV.each do |name, val|
22
- win32setenv.call(name, val && val.dup) if name =~ /^ORA/
23
- end
24
- end
25
-
26
- ruby_engine = (defined? RUBY_ENGINE) ? RUBY_ENGINE : 'ruby'
27
-
28
- so_basename = 'oci8lib_'
29
- case ruby_engine
30
- when 'ruby'
31
- # The extension library name includes the ruby ABI (application binary interface)
32
- # version. It is for binary gems which contain more than one extension library
33
- # and use correct one depending on the ABI version.
34
- #
35
- # ruby version | ABI version
36
- # --------------+--------------
37
- # 1.8.6 | 1.8
38
- # 1.8.7 | 1.8
39
- # --------------+--------------
40
- # 1.9.0 | 1.9.0
41
- # 1.9.1 | 1.9.1
42
- # 1.9.2 | 1.9.1
43
- # 1.9.3 | 1.9.1
44
- # --------------+--------------
45
- # 2.0.0 | 2.0.0
46
- # --------------+--------------
47
- # 2.1.0 | 2.1.0
48
- # ... | ...
49
- #
50
- # The ABI version of ruby 2.1.1 will be 2.1.0.
51
- # See "ABI Compatibility" in <URL:http://www.ruby-lang.org/en/news/2013/12/21/semantic-versioning-after-2-1-0/>.
52
- #
53
- case RUBY_VERSION
54
- when /^1\.9\.0/
55
- raise 'unsupported ruby version: 1.9.0'
56
- when /^1\.9/
57
- so_basename += '191'
58
- when /^1\.8/
59
- so_basename += '18'
60
- else
61
- so_basename += RUBY_VERSION.gsub(/(\d+)\.(\d+).(.*)/, '\1\20')
62
- end
63
- when 'rbx'
64
- so_basename += 'rbx'
65
- when 'jruby'
66
- raise "Ruby-oci8 doesn't support jruby because its C extension support is in development in jruby 1.6 and deprecated in jruby 1.7."
67
- else
68
- raise 'unsupported ruby engine: ' + RUBY_ENGINE
69
- end
70
- require so_basename
71
-
72
- if OCI8::VERSION != '@@OCI8_MODULE_VERSION@@'
73
- require 'rbconfig'
74
- so_name = so_basename + "." + RbConfig::CONFIG['DLEXT']
75
- raise "VERSION MISMATCH! #{so_name} version is #{OCI8::VERSION}, but oci8.rb version is @@OCI8_MODULE_VERSION@@."
76
- end
77
-
78
- require 'oci8/encoding-init.rb'
79
- require 'oci8/oracle_version.rb'
80
-
81
- class OCI8
82
- # @private
83
- ORAVER_8_0 = OCI8::OracleVersion.new(8, 0)
84
- # @private
85
- ORAVER_8_1 = OCI8::OracleVersion.new(8, 1)
86
- # @private
87
- ORAVER_9_0 = OCI8::OracleVersion.new(9, 0)
88
- # @private
89
- ORAVER_9_2 = OCI8::OracleVersion.new(9, 2)
90
- # @private
91
- ORAVER_10_1 = OCI8::OracleVersion.new(10, 1)
92
- # @private
93
- ORAVER_10_2 = OCI8::OracleVersion.new(10, 2)
94
- # @private
95
- ORAVER_11_1 = OCI8::OracleVersion.new(11, 1)
96
- # @private
97
- ORAVER_12_1 = OCI8::OracleVersion.new(12, 1)
98
-
99
- # @private
100
- @@oracle_client_version = OCI8::OracleVersion.new(self.oracle_client_vernum)
101
-
102
- # Returns an OCI8::OracleVersion of the Oracle client version.
103
- #
104
- # If this library is configured without '--with-runtime-check',
105
- # and compiled for Oracle 10.1 or lower, the major and minor
106
- # numbers are determined at compile-time. The rests are zeros.
107
- #
108
- # If this library is configured with '--with-runtime-check'
109
- # and the runtime Oracle library is Oracle 10.1 or lower, the
110
- # major and minor numbers are determined at run-time. The
111
- # rests are zeros.
112
- #
113
- # Otherwise, it is the version retrieved from an OCI function
114
- # OCIClientVersion().
115
- #
116
- # @return [OCI8::OracleVersion] Oracle client version
117
- # @see OCI8#oracle_server_version
118
- def self.oracle_client_version
119
- @@oracle_client_version
120
- end
121
-
122
- # defined for backward compatibility.
123
- # @private
124
- CLIENT_VERSION = @@oracle_client_version.major.to_s +
125
- @@oracle_client_version.minor.to_s +
126
- @@oracle_client_version.update.to_s
127
- end
128
-
129
- require 'oci8/ocihandle.rb'
130
- require 'oci8/datetime.rb'
131
- require 'oci8/oci8.rb'
132
- require 'oci8/cursor.rb'
133
- require 'oci8/bindtype.rb'
134
- require 'oci8/metadata.rb'
135
- require 'oci8/compat.rb'
136
- require 'oci8/object.rb'
137
- require 'oci8/connection_pool.rb'
138
- require 'oci8/properties.rb'