ibm_db 5.4.1 → 5.5.1
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/CHANGES +9 -0
- data/README +3 -2
- data/ext/Makefile +35 -32
- data/ext/extconf.rb +12 -3
- data/ext/ibm_db.bundle +0 -0
- data/ext/ibm_db.c +4 -5
- data/ext/ibm_db.o +0 -0
- data/ext/mkmf.log +11 -15
- data/ext/ruby_ibm_db_cli.c +1 -1
- data/ext/ruby_ibm_db_cli.o +0 -0
- data/lib/IBM_DB.rb +1 -1
- data/lib/active_record/connection_adapters/ibm_db_adapter.rb +2346 -1841
- data/lib/ibm_db.so +1 -0
- data/test/config.yml +68 -12
- metadata +41 -15
- data/ext/ibm_db.so +0 -0
data/lib/ibm_db.so
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
../ext/ibm_db.so
|
data/test/config.yml
CHANGED
@@ -48,26 +48,82 @@ connections:
|
|
48
48
|
database: arunit2
|
49
49
|
|
50
50
|
ibm_db:
|
51
|
+
<% env_not_set = false %>
|
51
52
|
arunit:
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
53
|
+
<% if ENV['DB2_USER1'] %>
|
54
|
+
username: <%= ENV['DB2_USER1'] %>
|
55
|
+
<% else %>
|
56
|
+
<% puts "Warning: Environment variable DB2_USER1 is not set." %>
|
57
|
+
<% env_not_set = true %>
|
58
|
+
<% end %>
|
59
|
+
<% if ENV['DB2_PASSWD1'] %>
|
60
|
+
password: <%= ENV['DB2_PASSWD1'] %>
|
61
|
+
<% else %>
|
62
|
+
<% puts "Warning: Environment variable DB2_PASSWD1 is not set." %>
|
63
|
+
<% env_not_set = true %>
|
64
|
+
<% end %>
|
65
|
+
<% if ENV['DB2_DATABASE1'] %>
|
66
|
+
database: <%= ENV['DB2_DATABASE1'] %>
|
67
|
+
<% else %>
|
68
|
+
<% puts "Warning: Environment variable DB2_DATABASE1 is not set." %>
|
69
|
+
<% env_not_set = true %>
|
70
|
+
<% end %>
|
71
|
+
<% if ENV['DB2_HOST1'] %>
|
72
|
+
host: <%= ENV['DB2_HOST1'] %>
|
73
|
+
<% else %>
|
74
|
+
<% puts "Warning: Environment variable DB2_HOST1 is not set." %>
|
75
|
+
<% env_not_set = true %>
|
76
|
+
<% end %>
|
77
|
+
<% if ENV['DB2_PORT1'] %>
|
78
|
+
port: <%= ENV['DB2_PORT1'] %>
|
79
|
+
<% else %>
|
80
|
+
<% puts "Warning: Environment variable DB2_PORT1 is not set." %>
|
81
|
+
<% env_not_set = true %>
|
82
|
+
<% end %>
|
57
83
|
start_id: 1000
|
58
84
|
parameterized: true
|
59
85
|
statement_limit: 1000
|
60
86
|
# debug: true
|
61
87
|
arunit2:
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
88
|
+
<% if ENV['DB2_USER2'] %>
|
89
|
+
username: <%= ENV['DB2_USER2'] %>
|
90
|
+
<% else %>
|
91
|
+
<% puts "Warning: Environment variable DB2_USER2 is not set." %>
|
92
|
+
<% env_not_set = true %>
|
93
|
+
<% end %>
|
94
|
+
<% if ENV['DB2_PASSWD2'] %>
|
95
|
+
password: <%= ENV['DB2_PASSWD2'] %>
|
96
|
+
<% else %>
|
97
|
+
<% puts "Warning: Environment variable DB2_PASSWD2 is not set." %>
|
98
|
+
<% env_not_set = true %>
|
99
|
+
<% end %>
|
100
|
+
<% if ENV['DB2_DATABASE2'] %>
|
101
|
+
database: <%= ENV['DB2_DATABASE2'] %>
|
102
|
+
<% else %>
|
103
|
+
<% puts "Warning: Environment variable DB2_DATABASE2 is not set." %>
|
104
|
+
<% env_not_set = true %>
|
105
|
+
<% end %>
|
106
|
+
<% if ENV['DB2_HOST2'] %>
|
107
|
+
host: <%= ENV['DB2_HOST2'] %>
|
108
|
+
<% else %>
|
109
|
+
<% puts "Warning: Environment variable DB2_HOST2 is not set." %>
|
110
|
+
<% env_not_set = true %>
|
111
|
+
<% end %>
|
112
|
+
<% if ENV['DB2_PORT2'] %>
|
113
|
+
port: <%= ENV['DB2_PORT2'] %>
|
114
|
+
<% else %>
|
115
|
+
<% puts "Warning: Environment variable DB2_PORT2 is not set." %>
|
116
|
+
<% env_not_set = true %>
|
117
|
+
<% end %>
|
67
118
|
start_id: 1000
|
68
119
|
parameterized: true
|
69
120
|
statement_limit: 1000
|
70
121
|
# debug: true
|
122
|
+
<% if env_not_set == true %>
|
123
|
+
<% puts "Please set it before running test file and avoid" %>
|
124
|
+
<% puts "hardcoded password in confi.yml file." %>
|
125
|
+
<% exit(1) %>
|
126
|
+
<% end %>
|
71
127
|
|
72
128
|
firebird:
|
73
129
|
arunit:
|
@@ -94,13 +150,13 @@ connections:
|
|
94
150
|
mysql:
|
95
151
|
arunit:
|
96
152
|
username: root
|
97
|
-
password:
|
153
|
+
password: rootpass
|
98
154
|
port: 3306
|
99
155
|
database: railsdb
|
100
156
|
encoding: utf8
|
101
157
|
arunit2:
|
102
158
|
username: root
|
103
|
-
password:
|
159
|
+
password: rootpass
|
104
160
|
port: 3306
|
105
161
|
database: railsdb
|
106
162
|
encoding: utf8
|
metadata
CHANGED
@@ -1,17 +1,31 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibm_db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IBM
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rubyzip
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.3.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.3.2
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: down
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
31
|
- - ">="
|
@@ -25,34 +39,46 @@ dependencies:
|
|
25
39
|
- !ruby/object:Gem::Version
|
26
40
|
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
42
|
+
name: rails
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - ">="
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
47
|
+
version: '7.0'
|
48
|
+
- - "<"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '7.2'
|
34
51
|
type: :runtime
|
35
52
|
prerelease: false
|
36
53
|
version_requirements: !ruby/object:Gem::Requirement
|
37
54
|
requirements:
|
38
55
|
- - ">="
|
39
56
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
57
|
+
version: '7.0'
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '7.2'
|
41
61
|
- !ruby/object:Gem::Dependency
|
42
62
|
name: activerecord
|
43
63
|
requirement: !ruby/object:Gem::Requirement
|
44
64
|
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '7.0'
|
45
68
|
- - "<"
|
46
69
|
- !ruby/object:Gem::Version
|
47
|
-
version: '7.
|
70
|
+
version: '7.2'
|
48
71
|
type: :runtime
|
49
72
|
prerelease: false
|
50
73
|
version_requirements: !ruby/object:Gem::Requirement
|
51
74
|
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '7.0'
|
52
78
|
- - "<"
|
53
79
|
- !ruby/object:Gem::Version
|
54
|
-
version: '7.
|
55
|
-
description:
|
80
|
+
version: '7.2'
|
81
|
+
description:
|
56
82
|
email: opendev@us.ibm.com
|
57
83
|
executables: []
|
58
84
|
extensions:
|
@@ -72,9 +98,9 @@ files:
|
|
72
98
|
- ext/Makefile.nt32.191
|
73
99
|
- ext/extconf.rb
|
74
100
|
- ext/gil_release_version.h
|
101
|
+
- ext/ibm_db.bundle
|
75
102
|
- ext/ibm_db.c
|
76
103
|
- ext/ibm_db.o
|
77
|
-
- ext/ibm_db.so
|
78
104
|
- ext/mkmf.log
|
79
105
|
- ext/ruby_ibm_db.h
|
80
106
|
- ext/ruby_ibm_db_cli.c
|
@@ -87,6 +113,7 @@ files:
|
|
87
113
|
- lib/active_record/connection_adapters/ibm_db_pstmt.rb
|
88
114
|
- lib/active_record/connection_adapters/ibmdb_adapter.rb
|
89
115
|
- lib/active_record/vendor/db2-i5-zOS.yaml
|
116
|
+
- lib/ibm_db.so
|
90
117
|
- test/active_record/connection_adapters/fake_adapter.rb
|
91
118
|
- test/activejob/destroy_association_async_test.rb
|
92
119
|
- test/activejob/destroy_async_job_not_present_test.rb
|
@@ -839,10 +866,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
839
866
|
- - ">="
|
840
867
|
- !ruby/object:Gem::Version
|
841
868
|
version: '0'
|
842
|
-
requirements:
|
843
|
-
|
844
|
-
|
845
|
-
signing_key:
|
869
|
+
requirements: []
|
870
|
+
rubygems_version: 3.4.19
|
871
|
+
signing_key:
|
846
872
|
specification_version: 4
|
847
873
|
summary: 'Rails Driver and Adapter for IBM Data Servers: {DB2 on Linux/Unix/Windows,
|
848
874
|
DB2 on zOS, DB2 on i5/OS, Informix (IDS)}'
|
data/ext/ibm_db.so
DELETED
Binary file
|