ibm_db 5.4.0-x86-mingw32 → 5.5.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +8 -0
- data/README +3 -2
- data/ext/Makefile +12 -10
- data/ext/extconf.rb +16 -27
- data/ext/ibm_db.c +1 -2
- data/ext/ibm_db.o +0 -0
- data/ext/ibm_db.so +0 -0
- data/ext/mkmf.log +8 -8
- data/ext/ruby_ibm_db_cli.o +0 -0
- data/lib/active_record/connection_adapters/ibm_db_adapter.rb +2346 -1841
- data/lib/mswin32/ibm_db.rb +2 -2
- data/lib/mswin32/rb3x/i386/ruby32/ibm_db.so +0 -0
- data/test/config.yml +68 -12
- metadata +48 -10
- data/debug.log +0 -1
- data/lib/mswin32/rb3x/i386/ruby31/ibm_db.so +0 -0
data/lib/mswin32/ibm_db.rb
CHANGED
@@ -59,9 +59,9 @@ if(needToDownloadedCLIPackage == true)
|
|
59
59
|
|
60
60
|
if (RUBY_PLATFORM =~ /mswin/ || RUBY_PLATFORM =~ /mingw/)
|
61
61
|
if(is64Bit)
|
62
|
-
DOWNLOADLINK = "
|
62
|
+
DOWNLOADLINK = "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/ntx64_odbc_cli.zip"
|
63
63
|
else
|
64
|
-
DOWNLOADLINK = "
|
64
|
+
DOWNLOADLINK = "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/nt32_odbc_cli.zip"
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
Binary file
|
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.0
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- IBM
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-15 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
|
- - ">="
|
@@ -24,20 +38,46 @@ dependencies:
|
|
24
38
|
- - ">="
|
25
39
|
- !ruby/object:Gem::Version
|
26
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '7.0'
|
48
|
+
- - "<"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '7.2'
|
51
|
+
type: :runtime
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '7.0'
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '7.2'
|
27
61
|
- !ruby/object:Gem::Dependency
|
28
62
|
name: activerecord
|
29
63
|
requirement: !ruby/object:Gem::Requirement
|
30
64
|
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '7.0'
|
31
68
|
- - "<"
|
32
69
|
- !ruby/object:Gem::Version
|
33
|
-
version: '7.
|
70
|
+
version: '7.2'
|
34
71
|
type: :runtime
|
35
72
|
prerelease: false
|
36
73
|
version_requirements: !ruby/object:Gem::Requirement
|
37
74
|
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '7.0'
|
38
78
|
- - "<"
|
39
79
|
- !ruby/object:Gem::Version
|
40
|
-
version: '7.
|
80
|
+
version: '7.2'
|
41
81
|
- !ruby/object:Gem::Dependency
|
42
82
|
name: archive-zip
|
43
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,7 +107,6 @@ files:
|
|
67
107
|
- MANIFEST
|
68
108
|
- ParameterizedQueries README
|
69
109
|
- README
|
70
|
-
- debug.log
|
71
110
|
- ext/Makefile
|
72
111
|
- ext/Makefile.nt32
|
73
112
|
- ext/Makefile.nt32.191
|
@@ -95,7 +134,7 @@ files:
|
|
95
134
|
- lib/mswin32/rb2x/i386/ruby26/ibm_db.so
|
96
135
|
- lib/mswin32/rb2x/i386/ruby27/ibm_db.so
|
97
136
|
- lib/mswin32/rb3x/i386/ruby30/ibm_db.so
|
98
|
-
- lib/mswin32/rb3x/i386/
|
137
|
+
- lib/mswin32/rb3x/i386/ruby32/ibm_db.so
|
99
138
|
- test/active_record/connection_adapters/fake_adapter.rb
|
100
139
|
- test/activejob/destroy_association_async_test.rb
|
101
140
|
- test/activejob/destroy_async_job_not_present_test.rb
|
@@ -848,9 +887,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
848
887
|
- - ">="
|
849
888
|
- !ruby/object:Gem::Version
|
850
889
|
version: '0'
|
851
|
-
requirements:
|
852
|
-
|
853
|
-
rubygems_version: 3.3.3
|
890
|
+
requirements: []
|
891
|
+
rubygems_version: 3.4.1
|
854
892
|
signing_key:
|
855
893
|
specification_version: 4
|
856
894
|
summary: 'Rails Driver and Adapter for IBM Data Servers: {DB2 on Linux/Unix/Windows,
|
data/debug.log
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
# Logfile created on 2023-03-28 15:47:54 -0400 by logger.rb/v1.5.0
|
Binary file
|