tiny_tds 2.1.0-x64-mingw32 → 2.1.4.pre2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +5 -4
- data/CHANGELOG.md +27 -1
- data/ISSUE_TEMPLATE.md +32 -6
- data/README.md +32 -21
- data/VERSION +1 -1
- data/appveyor.yml +26 -7
- data/docker-compose.yml +22 -0
- data/ext/tiny_tds/client.c +95 -50
- data/ext/tiny_tds/client.h +6 -3
- data/ext/tiny_tds/extconf.rb +17 -13
- data/ext/tiny_tds/extconsts.rb +2 -2
- data/ext/tiny_tds/result.c +29 -16
- data/tasks/native_gem.rake +1 -1
- data/tasks/ports.rake +6 -8
- data/tasks/ports/openssl.rb +2 -18
- data/test/bin/setup.sh +1 -1
- data/test/client_test.rb +84 -57
- data/test/gem_test.rb +15 -15
- data/test/result_test.rb +83 -42
- data/test/schema_test.rb +22 -22
- data/test/test_helper.rb +59 -5
- data/test/thread_test.rb +1 -1
- data/tiny_tds.gemspec +3 -2
- metadata +50 -39
- data/BACKERS.md +0 -32
- data/circle.yml +0 -31
data/test/thread_test.rb
CHANGED
@@ -49,7 +49,7 @@ class ThreadTest < TinyTds::TestCase
|
|
49
49
|
begin
|
50
50
|
result = client.execute "select dbname()"
|
51
51
|
result.each { |r| puts r }
|
52
|
-
rescue Exception =>
|
52
|
+
rescue Exception => _e
|
53
53
|
# We are throwing an error on purpose here since 0.6.1 would
|
54
54
|
# segfault on errors thrown in threads
|
55
55
|
end
|
data/tiny_tds.gemspec
CHANGED
@@ -21,9 +21,10 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.required_ruby_version = '>= 2.0.0'
|
22
22
|
s.metadata['msys2_mingw_dependencies'] = 'freetds'
|
23
23
|
s.add_development_dependency 'mini_portile2', '~> 2.0'
|
24
|
-
s.add_development_dependency 'rake', '~>
|
24
|
+
s.add_development_dependency 'rake', '~> 13.0'
|
25
25
|
s.add_development_dependency 'rake-compiler', '~> 1.0'
|
26
|
-
s.add_development_dependency 'rake-compiler-dock', '~>
|
26
|
+
s.add_development_dependency 'rake-compiler-dock', '~> 1.0'
|
27
27
|
s.add_development_dependency 'minitest', '~> 5.6'
|
28
28
|
s.add_development_dependency 'connection_pool', '~> 2.2'
|
29
|
+
s.add_development_dependency 'toxiproxy', '~> 2.0.0'
|
29
30
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tiny_tds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4.pre2
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Ken Collins
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-03-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: mini_portile2
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
35
|
+
version: '13.0'
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '13.0'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: rake-compiler
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,14 +60,14 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
63
|
+
version: '1.0'
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version:
|
70
|
+
version: '1.0'
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: minitest
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -96,6 +96,20 @@ dependencies:
|
|
96
96
|
- - "~>"
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '2.2'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: toxiproxy
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - "~>"
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: 2.0.0
|
106
|
+
type: :development
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - "~>"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 2.0.0
|
99
113
|
description: TinyTDS - A modern, simple and fast FreeTDS library for Ruby using DB-Library.
|
100
114
|
Developed for the ActiveRecord SQL Server adapter.
|
101
115
|
email:
|
@@ -112,7 +126,6 @@ files:
|
|
112
126
|
- ".gitignore"
|
113
127
|
- ".rubocop.yml"
|
114
128
|
- ".travis.yml"
|
115
|
-
- BACKERS.md
|
116
129
|
- CHANGELOG.md
|
117
130
|
- CODE_OF_CONDUCT.md
|
118
131
|
- Gemfile
|
@@ -124,7 +137,7 @@ files:
|
|
124
137
|
- appveyor.yml
|
125
138
|
- bin/defncopy-ttds
|
126
139
|
- bin/tsql-ttds
|
127
|
-
-
|
140
|
+
- docker-compose.yml
|
128
141
|
- exe/.keep
|
129
142
|
- ext/tiny_tds/client.c
|
130
143
|
- ext/tiny_tds/client.h
|
@@ -135,11 +148,10 @@ files:
|
|
135
148
|
- ext/tiny_tds/tiny_tds_ext.c
|
136
149
|
- ext/tiny_tds/tiny_tds_ext.h
|
137
150
|
- lib/tiny_tds.rb
|
138
|
-
- lib/tiny_tds/2.0/tiny_tds.so
|
139
|
-
- lib/tiny_tds/2.1/tiny_tds.so
|
140
|
-
- lib/tiny_tds/2.2/tiny_tds.so
|
141
|
-
- lib/tiny_tds/2.3/tiny_tds.so
|
142
151
|
- lib/tiny_tds/2.4/tiny_tds.so
|
152
|
+
- lib/tiny_tds/2.5/tiny_tds.so
|
153
|
+
- lib/tiny_tds/2.6/tiny_tds.so
|
154
|
+
- lib/tiny_tds/2.7/tiny_tds.so
|
143
155
|
- lib/tiny_tds/bin.rb
|
144
156
|
- lib/tiny_tds/client.rb
|
145
157
|
- lib/tiny_tds/error.rb
|
@@ -149,19 +161,19 @@ files:
|
|
149
161
|
- patches/freetds/1.00.27/0001-mingw_missing_inet_pton.diff
|
150
162
|
- patches/freetds/1.00.27/0002-Don-t-use-MSYS2-file-libws2_32.diff
|
151
163
|
- patches/libiconv/1.14/1-avoid-gets-error.patch
|
152
|
-
- ports/x86_64-w64-mingw32/freetds/1.
|
153
|
-
- ports/x86_64-w64-mingw32/freetds/1.
|
154
|
-
- ports/x86_64-w64-mingw32/freetds/1.
|
155
|
-
- ports/x86_64-w64-mingw32/freetds/1.
|
156
|
-
- ports/x86_64-w64-mingw32/freetds/1.
|
157
|
-
- ports/x86_64-w64-mingw32/freetds/1.
|
158
|
-
- ports/x86_64-w64-mingw32/freetds/1.
|
159
|
-
- ports/x86_64-w64-mingw32/freetds/1.
|
160
|
-
- ports/x86_64-w64-mingw32/freetds/1.
|
161
|
-
- ports/x86_64-w64-mingw32/freetds/1.
|
162
|
-
- ports/x86_64-w64-mingw32/freetds/1.
|
163
|
-
- ports/x86_64-w64-mingw32/freetds/1.
|
164
|
-
- ports/x86_64-w64-mingw32/freetds/1.
|
164
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/bsqldb.exe
|
165
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/datacopy.exe
|
166
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/defncopy.exe
|
167
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/freebcp.exe
|
168
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/libct-4.dll
|
169
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/libsybdb-5.dll
|
170
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/osql
|
171
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/tdspool.exe
|
172
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/tsql.exe
|
173
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/lib/libct.dll.a
|
174
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/lib/libct.la
|
175
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/lib/libsybdb.dll.a
|
176
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/lib/libsybdb.la
|
165
177
|
- ports/x86_64-w64-mingw32/libiconv/1.15/bin/iconv.exe
|
166
178
|
- ports/x86_64-w64-mingw32/libiconv/1.15/bin/libcharset-1.dll
|
167
179
|
- ports/x86_64-w64-mingw32/libiconv/1.15/bin/libiconv-2.dll
|
@@ -170,14 +182,14 @@ files:
|
|
170
182
|
- ports/x86_64-w64-mingw32/libiconv/1.15/lib/libcharset.la
|
171
183
|
- ports/x86_64-w64-mingw32/libiconv/1.15/lib/libiconv.dll.a
|
172
184
|
- ports/x86_64-w64-mingw32/libiconv/1.15/lib/libiconv.la
|
173
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.
|
174
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.
|
175
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.
|
176
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.
|
177
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.
|
178
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.
|
179
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.
|
180
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.
|
185
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/bin/c_rehash
|
186
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/bin/libcrypto-1_1-x64.dll
|
187
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/bin/libssl-1_1-x64.dll
|
188
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/bin/openssl.exe
|
189
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/lib/libcrypto.a
|
190
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/lib/libcrypto.dll.a
|
191
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/lib/libssl.a
|
192
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/lib/libssl.dll.a
|
181
193
|
- tasks/native_gem.rake
|
182
194
|
- tasks/package.rake
|
183
195
|
- tasks/ports.rake
|
@@ -222,18 +234,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
222
234
|
requirements:
|
223
235
|
- - ">="
|
224
236
|
- !ruby/object:Gem::Version
|
225
|
-
version: '2.
|
237
|
+
version: '2.4'
|
226
238
|
- - "<"
|
227
239
|
- !ruby/object:Gem::Version
|
228
|
-
version:
|
240
|
+
version: 2.8.dev
|
229
241
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
230
242
|
requirements:
|
231
|
-
- - "
|
243
|
+
- - ">"
|
232
244
|
- !ruby/object:Gem::Version
|
233
|
-
version:
|
245
|
+
version: 1.3.1
|
234
246
|
requirements: []
|
235
|
-
|
236
|
-
rubygems_version: 2.6.12
|
247
|
+
rubygems_version: 3.1.2
|
237
248
|
signing_key:
|
238
249
|
specification_version: 4
|
239
250
|
summary: TinyTDS - A modern, simple and fast FreeTDS library for Ruby using DB-Library.
|
data/BACKERS.md
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
# Backers
|
2
|
-
|
3
|
-
You can join in supporting TinyTDS and the Rails SQL Server Adapter development by [pledging on Patreon](https://www.patreon.com/metaskills)! Backers in the same pledge level appear in the order of pledge date.
|
4
|
-
|
5
|
-
### $2000
|
6
|
-
|
7
|
-
[It could be you!](https://www.patreon.com/bePatron?c=765225&rid=1611218)
|
8
|
-
|
9
|
-
|
10
|
-
### $500
|
11
|
-
|
12
|
-
[It could be you!](https://www.patreon.com/bePatron?c=765225&rid=1611209)
|
13
|
-
|
14
|
-
|
15
|
-
### $250
|
16
|
-
|
17
|
-
[It could be you!](https://www.patreon.com/bePatron?c=765225&rid=1611199)
|
18
|
-
|
19
|
-
|
20
|
-
### $100
|
21
|
-
|
22
|
-
[It could be you!](https://www.patreon.com/bePatron?c=765225&rid=1611196)
|
23
|
-
|
24
|
-
|
25
|
-
### $50+
|
26
|
-
|
27
|
-
[It could be you!](https://www.patreon.com/bePatron?c=765225&rid=1611186)
|
28
|
-
|
29
|
-
|
30
|
-
### $10+
|
31
|
-
|
32
|
-
[It could be you!](https://www.patreon.com/bePatron?c=765225&rid=1611149)
|
data/circle.yml
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
general:
|
2
|
-
branches:
|
3
|
-
ignore:
|
4
|
-
- /dev.*/
|
5
|
-
|
6
|
-
machine:
|
7
|
-
environment:
|
8
|
-
PATH: /opt/local/bin:${PATH}
|
9
|
-
TESTOPTS: -v
|
10
|
-
TINYTDS_UNIT_HOST: localhost
|
11
|
-
services:
|
12
|
-
- docker
|
13
|
-
|
14
|
-
dependencies:
|
15
|
-
override:
|
16
|
-
- sudo ./test/bin/install-openssl.sh
|
17
|
-
- sudo ./test/bin/install-freetds.sh
|
18
|
-
- rvm-exec 2.1.9 bundle install
|
19
|
-
- rvm-exec 2.2.5 bundle install
|
20
|
-
- rvm-exec 2.3.1 bundle install
|
21
|
-
|
22
|
-
database:
|
23
|
-
post:
|
24
|
-
- docker info
|
25
|
-
- ./test/bin/setup.sh
|
26
|
-
|
27
|
-
test:
|
28
|
-
override:
|
29
|
-
- rvm-exec 2.1.9 bundle exec rake
|
30
|
-
- rvm-exec 2.2.5 bundle exec rake
|
31
|
-
- rvm-exec 2.3.1 bundle exec rake
|