ibm_db 5.0.2-x86-mingw32 → 5.2.0-x86-mingw32
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.
- checksums.yaml +4 -4
- data/ext/Makefile +16 -18
- data/ext/Makefile.nt32.191 +1 -1
- data/ext/extconf.rb +8 -8
- data/ext/gil_release_version.h +3 -0
- data/ext/ibm_db-i386-mingw32.def +2 -0
- data/ext/ibm_db.c +312 -312
- data/ext/ibm_db.o +0 -0
- data/ext/ibm_db.so +0 -0
- data/ext/mkmf.log +31 -33
- data/ext/ruby_ibm_db.h +1 -1
- data/ext/ruby_ibm_db_cli.c +23 -23
- data/ext/ruby_ibm_db_cli.h +5 -5
- data/ext/ruby_ibm_db_cli.o +0 -0
- data/ext/unicode_support_version.h +3 -0
- data/lib/active_record/connection_adapters/ibm_db_adapter.rb +93 -33
- data/lib/mswin32/ibm_db.rb +10 -2
- data/lib/mswin32/rb2x/i386/ruby25/ibm_db.so +0 -0
- data/lib/mswin32/rb2x/i386/{ibm_db.so → ruby26/ibm_db.so} +0 -0
- data/lib/mswin32/rb2x/i386/ruby27/ibm_db.so +0 -0
- data/lib/mswin32/rb3x/i386/ruby30/ibm_db.so +0 -0
- metadata +23 -9
- data/ext/gil_release_version +0 -3
- data/ext/unicode_support_version +0 -3
data/lib/mswin32/ibm_db.rb
CHANGED
@@ -86,6 +86,14 @@ end
|
|
86
86
|
machine_bits = ['ibm'].pack('p').size * 8
|
87
87
|
if machine_bits == 64
|
88
88
|
raise NotImplementedError, "ibm_db with Ruby 64-bit on Windows platform is not supported. Refer to README for more details"
|
89
|
-
else
|
90
|
-
|
89
|
+
else
|
90
|
+
if (RUBY_VERSION =~ /3/)
|
91
|
+
require 'rb3x/i386/ruby30/ibm_db.so'
|
92
|
+
elsif (RUBY_VERSION =~ /2.7/)
|
93
|
+
require 'rb2x/i386/ruby27/ibm_db.so'
|
94
|
+
elsif (RUBY_VERSION =~ /2.6/)
|
95
|
+
require 'rb2x/i386/ruby26/ibm_db.so'
|
96
|
+
else
|
97
|
+
require 'rb2x/i386/ruby25/ibm_db.so'
|
98
|
+
end
|
91
99
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibm_db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0
|
4
|
+
version: 5.2.0
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- IBM
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 5.0.7
|
20
|
+
- - "<="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 6.0.3
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,6 +27,9 @@ dependencies:
|
|
24
27
|
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 5.0.7
|
30
|
+
- - "<="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 6.0.3
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: archive-zip
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,7 +44,7 @@ dependencies:
|
|
38
44
|
- - ">="
|
39
45
|
- !ruby/object:Gem::Version
|
40
46
|
version: 0.7.0
|
41
|
-
description:
|
47
|
+
description:
|
42
48
|
email: opendev@us.ibm.com
|
43
49
|
executables: []
|
44
50
|
extensions: []
|
@@ -56,13 +62,17 @@ files:
|
|
56
62
|
- ext/Makefile.nt32
|
57
63
|
- ext/Makefile.nt32.191
|
58
64
|
- ext/extconf.rb
|
59
|
-
- ext/gil_release_version
|
65
|
+
- ext/gil_release_version.h
|
66
|
+
- ext/ibm_db-i386-mingw32.def
|
60
67
|
- ext/ibm_db.c
|
68
|
+
- ext/ibm_db.o
|
69
|
+
- ext/ibm_db.so
|
61
70
|
- ext/mkmf.log
|
62
71
|
- ext/ruby_ibm_db.h
|
63
72
|
- ext/ruby_ibm_db_cli.c
|
64
73
|
- ext/ruby_ibm_db_cli.h
|
65
|
-
- ext/
|
74
|
+
- ext/ruby_ibm_db_cli.o
|
75
|
+
- ext/unicode_support_version.h
|
66
76
|
- init.rb
|
67
77
|
- lib/IBM_DB.rb
|
68
78
|
- lib/active_record/connection_adapters/ibm_db_adapter.rb
|
@@ -70,7 +80,10 @@ files:
|
|
70
80
|
- lib/active_record/connection_adapters/ibmdb_adapter.rb
|
71
81
|
- lib/active_record/vendor/db2-i5-zOS.yaml
|
72
82
|
- lib/mswin32/ibm_db.rb
|
73
|
-
- lib/mswin32/rb2x/i386/ibm_db.so
|
83
|
+
- lib/mswin32/rb2x/i386/ruby25/ibm_db.so
|
84
|
+
- lib/mswin32/rb2x/i386/ruby26/ibm_db.so
|
85
|
+
- lib/mswin32/rb2x/i386/ruby27/ibm_db.so
|
86
|
+
- lib/mswin32/rb3x/i386/ruby30/ibm_db.so
|
74
87
|
- test/active_record/connection_adapters/fake_adapter.rb
|
75
88
|
- test/assets/example.log
|
76
89
|
- test/assets/flowers.jpg
|
@@ -658,8 +671,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
658
671
|
version: '0'
|
659
672
|
requirements:
|
660
673
|
- ActiveRecord, at least 5.0.7
|
661
|
-
|
662
|
-
|
674
|
+
rubyforge_project: rubyibm
|
675
|
+
rubygems_version: 2.7.6.2
|
676
|
+
signing_key:
|
663
677
|
specification_version: 4
|
664
678
|
summary: 'Rails Driver and Adapter for IBM Data Servers: {DB2 on Linux/Unix/Windows,
|
665
679
|
DB2 on zOS, DB2 on i5/OS, Informix (IDS)}'
|
data/ext/gil_release_version
DELETED
data/ext/unicode_support_version
DELETED