tiny_tds 2.1.2-x64-mingw32 → 2.1.3.pre-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +0 -0
- data/.gitattributes +0 -0
- data/.gitignore +0 -0
- data/.rubocop.yml +0 -0
- data/.travis.yml +4 -3
- data/CHANGELOG.md +8 -0
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +0 -0
- data/ISSUE_TEMPLATE.md +0 -0
- data/MIT-LICENSE +0 -0
- data/README.md +18 -11
- data/Rakefile +0 -0
- data/VERSION +1 -1
- data/appveyor.yml +13 -6
- data/ext/tiny_tds/client.c +0 -0
- data/ext/tiny_tds/client.h +0 -0
- data/ext/tiny_tds/extconf.rb +17 -13
- data/ext/tiny_tds/extconsts.rb +3 -3
- data/ext/tiny_tds/result.c +0 -0
- data/ext/tiny_tds/result.h +0 -0
- data/ext/tiny_tds/tiny_tds_ext.c +0 -0
- data/ext/tiny_tds/tiny_tds_ext.h +0 -0
- data/lib/tiny_tds.rb +0 -0
- data/lib/tiny_tds/bin.rb +0 -0
- data/lib/tiny_tds/client.rb +0 -0
- data/lib/tiny_tds/error.rb +0 -0
- data/lib/tiny_tds/gem.rb +0 -0
- data/lib/tiny_tds/result.rb +0 -0
- data/lib/tiny_tds/version.rb +0 -0
- data/patches/freetds/1.00.27/0001-mingw_missing_inet_pton.diff +0 -0
- data/patches/freetds/1.00.27/0002-Don-t-use-MSYS2-file-libws2_32.diff +0 -0
- data/patches/libiconv/1.14/1-avoid-gets-error.patch +0 -0
- data/tasks/native_gem.rake +1 -1
- data/tasks/package.rake +0 -0
- data/tasks/ports.rake +5 -7
- data/tasks/ports/freetds.rb +0 -0
- data/tasks/ports/libiconv.rb +0 -0
- data/tasks/ports/openssl.rb +2 -18
- data/tasks/ports/recipe.rb +0 -0
- data/tasks/test.rake +0 -0
- data/test/appveyor/dbsetup.ps1 +0 -0
- data/test/appveyor/dbsetup.sql +0 -0
- data/test/benchmark/query.rb +0 -0
- data/test/benchmark/query_odbc.rb +0 -0
- data/test/benchmark/query_tinytds.rb +0 -0
- data/test/client_test.rb +0 -0
- data/test/gem_test.rb +0 -0
- data/test/result_test.rb +0 -0
- data/test/schema/sqlserver_2000.sql +0 -0
- data/test/schema/sqlserver_2005.sql +0 -0
- data/test/schema/sqlserver_2008.sql +0 -0
- data/test/schema/sqlserver_2014.sql +0 -0
- data/test/schema/sqlserver_2016.sql +0 -0
- data/test/schema/sqlserver_azure.sql +0 -0
- data/test/schema/sybase_ase.sql +0 -0
- data/test/schema_test.rb +0 -0
- data/test/test_helper.rb +0 -0
- data/test/thread_test.rb +0 -0
- data/tiny_tds.gemspec +2 -2
- metadata +34 -46
- data/BACKERS.md +0 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3cb773172867145664e5ac745d430b68a43edf83edef90ff97ccbb2d23f6435
|
4
|
+
data.tar.gz: 739e4e6bc3d53d76520596878a563312df86af2ab20d7d8f6692470280dd0a4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 674af6e9ebaf9fac450ec3994b67488a3a1158173481cf1c5f44fb381ed81b70c4ceaf3a272fb1b9be1d7d2686f676dc8d2aeba821864c025a9a08f70505934c
|
7
|
+
data.tar.gz: 0bc50f05d685e788f3f04ea004f07a21ad47d6a5c9c66c437bafe241c619c7cc96f7166fec98de85208adf0d1a4b27846916bb9466a67145061a523cd54f5f6f
|
data/.codeclimate.yml
CHANGED
File without changes
|
data/.gitattributes
CHANGED
File without changes
|
data/.gitignore
CHANGED
File without changes
|
data/.rubocop.yml
CHANGED
File without changes
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/CODE_OF_CONDUCT.md
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/ISSUE_TEMPLATE.md
CHANGED
File without changes
|
data/MIT-LICENSE
CHANGED
File without changes
|
data/README.md
CHANGED
@@ -6,10 +6,6 @@
|
|
6
6
|
* [![Dependency Status](https://dependencyci.com/github/rails-sqlserver/tiny_tds/badge)](https://dependencyci.com/github/rails-sqlserver/tiny_tds) - Dependency Status
|
7
7
|
* [![Gitter chat](https://img.shields.io/badge/%E2%8A%AA%20GITTER%20-JOIN%20CHAT%20%E2%86%92-brightgreen.svg?style=flat)](https://gitter.im/rails-sqlserver/activerecord-sqlserver-adapter) - Community
|
8
8
|
|
9
|
-
## Supporting TinyTDS/Adapter
|
10
|
-
|
11
|
-
Both TinyTDS and the Rails SQL Server Adapter are MIT-licensed open source projects. Its ongoing development is made possible thanks to the support by these awesome [backers](https://github.com/rails-sqlserver/tiny_tds/blob/master/BACKERS.md). If you'd like to join them, check out our [Patreon Campaign](https://www.patreon.com/metaskills).
|
12
|
-
|
13
9
|
|
14
10
|
## About TinyTDS
|
15
11
|
|
@@ -42,15 +38,15 @@ $ apt-get install wget
|
|
42
38
|
$ apt-get install build-essential
|
43
39
|
$ apt-get install libc6-dev
|
44
40
|
|
45
|
-
$ wget http://www.freetds.org/files/stable/freetds-1.
|
46
|
-
$ tar -xzf freetds-1.
|
47
|
-
$ cd freetds-1.
|
41
|
+
$ wget http://www.freetds.org/files/stable/freetds-1.1.24.tar.gz
|
42
|
+
$ tar -xzf freetds-1.1.24.tar.gz
|
43
|
+
$ cd freetds-1.1.24
|
48
44
|
$ ./configure --prefix=/usr/local --with-tdsver=7.3
|
49
45
|
$ make
|
50
46
|
$ make install
|
51
47
|
```
|
52
48
|
|
53
|
-
|
49
|
+
Please read the MiniPortile and/or Windows sections at the end of this file for advanced configuration options past the following:
|
54
50
|
|
55
51
|
```
|
56
52
|
--with-freetds-dir=DIR
|
@@ -73,11 +69,11 @@ TinyTDS is developed against FreeTDS 0.95, 0.99, and 1.0 current. Our default an
|
|
73
69
|
|
74
70
|
**NOTE:** Windows users of our pre-compiled native gems need not worry about installing FreeTDS and its dependencies.
|
75
71
|
|
76
|
-
* **Do I need to install FreeTDS?** Yes! Somehow, someway, you are going to need FreeTDS for TinyTDS to compile against.
|
72
|
+
* **Do I need to install FreeTDS?** Yes! Somehow, someway, you are going to need FreeTDS for TinyTDS to compile against.
|
77
73
|
|
78
74
|
* **OK, I am installing FreeTDS, how do I configure it?** Contrary to what most people think, you do not need to specially configure FreeTDS in any way for client libraries like TinyTDS to use it. About the only requirement is that you compile it with libiconv for proper encoding support. FreeTDS must also be compiled with OpenSSL (or the like) to use it with Azure. See the "Using TinyTDS with Azure" section below for more info.
|
79
75
|
|
80
|
-
* **Do I need to configure `--with-tdsver` equal to anything?** Most likely! Technically you should not have
|
76
|
+
* **Do I need to configure `--with-tdsver` equal to anything?** Most likely! Technically you should not have to. This is only a default for clients/configs that do not specify what TDS version they want to use. We are currently having issues with passing down a TDS version with the login bit. Till we get that fixed, if you are not using a freetds.conf or a TDSVER environment variable, then make sure to use 7.1.
|
81
77
|
|
82
78
|
* **But I want to use TDS version 7.2 for SQL Server 2005 and up!** TinyTDS uses TDS version 7.1 (previously named 8.0) and fully supports all the data types supported by FreeTDS, this includes `varchar(max)` and `nvarchar(max)`. Technically compiling and using TDS version 7.2 with FreeTDS is not supported. But this does not mean those data types will not work. I know, it's confusing If you want to learn more, read this thread. http://lists.ibiblio.org/pipermail/freetds/2011q3/027306.html
|
83
79
|
|
@@ -405,7 +401,7 @@ The default is true and since FreeTDS v1.0 would do this as well.
|
|
405
401
|
|
406
402
|
## Compiling Gems for Windows
|
407
403
|
|
408
|
-
For the convenience of Windows users, TinyTDS ships pre-compiled gems for
|
404
|
+
For the convenience of Windows users, TinyTDS ships pre-compiled gems for supported versions of Ruby on Windows. In order to generate these gems, [rake-compiler-dock](https://github.com/rake-compiler/rake-compiler-dock) is used. This project provides several [Docker images](https://registry.hub.docker.com/u/larskanis/) with rvm, cross-compilers and a number of different target versions of Ruby.
|
409
405
|
|
410
406
|
Run the following rake task to compile the gems for Windows. This will check the availability of [Docker](https://www.docker.com/) (and boot2docker on Windows or OS-X) and will give some advice for download and installation. When docker is running, it will download the docker image (once-only) and start the build:
|
411
407
|
|
@@ -466,6 +462,17 @@ $ rake TINYTDS_UNIT_HOST=mydb.host.net TINYTDS_SCHEMA=sqlserver_azure
|
|
466
462
|
$ rake TINYTDS_UNIT_HOST=mydb.host.net TINYTDS_UNIT_PORT=5000 TINYTDS_SCHEMA=sybase_ase
|
467
463
|
```
|
468
464
|
|
465
|
+
## Docker Builds
|
466
|
+
|
467
|
+
If you use a [multi stage](https://docs.docker.com/develop/develop-images/multistage-build/) Docker build to assemble your gems in one phase and then copy your app and gems
|
468
|
+
into another, lighter, container without build tools you will need to make sure you tell the OS how to find dependencies for TinyTDS.
|
469
|
+
|
470
|
+
After you have built and installed FreeTDS it will normally place library files in `/usr/local/lib`. When TinyTDS builds native extensions,
|
471
|
+
it [already knows to look here](https://github.com/rails-sqlserver/tiny_tds/blob/master/ext/tiny_tds/extconf.rb#L31) but if you copy your app to a new container that link will be broken.
|
472
|
+
|
473
|
+
Set the LD_LIBRARY_PATH environment variable `export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}` and run `ldconfig`. If you run `ldd tiny_tds.so` you should not see any broken links. Make
|
474
|
+
sure you also copied in the library dependencies from your build container with a command like `COPY --from=builder /usr/local/lib /usr/local/lib`.
|
475
|
+
|
469
476
|
## Help & Support
|
470
477
|
|
471
478
|
* Github Source: http://github.com/rails-sqlserver/tiny_tds
|
data/Rakefile
CHANGED
File without changes
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.3.pre
|
data/appveyor.yml
CHANGED
@@ -1,21 +1,27 @@
|
|
1
1
|
init:
|
2
2
|
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
|
3
|
-
- SET PATH=C:\MinGW\msys\1.0\bin;%PATH%
|
4
3
|
- SET RAKEOPT=-rdevkit
|
5
4
|
- SET TESTOPTS='-v'
|
6
|
-
- SET MAKE=make V=1
|
5
|
+
- SET MAKE=make V=1 -j2
|
7
6
|
clone_depth: 5
|
8
7
|
skip_tags: true
|
9
8
|
skip_branch_with_pr: true
|
10
9
|
matrix:
|
11
|
-
fast_finish:
|
10
|
+
fast_finish: false
|
12
11
|
install:
|
13
12
|
# Output debugging info
|
14
13
|
- ps: Update-AppveyorBuild -Version "$(Get-Content $env:appveyor_build_folder\VERSION).$env:appveyor_build_number"
|
14
|
+
- ps: |
|
15
|
+
if ($env:ruby_version -like "*head*") {
|
16
|
+
$(new-object net.webclient).DownloadFile("https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-$env:ruby_version.exe", "$pwd/ruby-setup.exe")
|
17
|
+
cmd /c ruby-setup.exe /verysilent /dir=C:/Ruby$env:ruby_version
|
18
|
+
}
|
15
19
|
- perl --version
|
16
20
|
- ruby --version
|
17
21
|
- gem --version
|
18
22
|
|
23
|
+
# prevent freetds to link to wrong ws2_32 lib on i686-w64-mingw32
|
24
|
+
- c:/msys64/usr/bin/rm /usr/lib/w32api/libws2_32.a
|
19
25
|
# Set up project prerequisits
|
20
26
|
- bundle install
|
21
27
|
- bundle exec rake ports
|
@@ -43,9 +49,10 @@ environment:
|
|
43
49
|
TINYTDS_UNIT_AZURE_PASS:
|
44
50
|
secure: fYKSKV4v+36OFQp2nZdX4DfUpgmy5cm0wuR73cgdmEk=
|
45
51
|
matrix:
|
46
|
-
- ruby_version: "24-x64"
|
47
52
|
- ruby_version: "24"
|
48
|
-
- ruby_version: "
|
49
|
-
- ruby_version: "
|
53
|
+
- ruby_version: "25-x64"
|
54
|
+
- ruby_version: "26"
|
55
|
+
- ruby_version: "head-x64"
|
50
56
|
on_failure:
|
57
|
+
- find -name config.log | xargs cat
|
51
58
|
- find -name compile.log | xargs cat
|
data/ext/tiny_tds/client.c
CHANGED
File without changes
|
data/ext/tiny_tds/client.h
CHANGED
File without changes
|
data/ext/tiny_tds/extconf.rb
CHANGED
@@ -22,35 +22,39 @@ do_help if arg_config('--help')
|
|
22
22
|
|
23
23
|
# Make sure to check the ports path for the configured host
|
24
24
|
host = RbConfig::CONFIG['host']
|
25
|
-
project_dir = File.
|
25
|
+
project_dir = File.expand_path("../../..", __FILE__)
|
26
26
|
freetds_ports_dir = File.join(project_dir, 'ports', host, 'freetds', FREETDS_VERSION)
|
27
27
|
freetds_ports_dir = File.expand_path(freetds_ports_dir)
|
28
28
|
|
29
29
|
# Add all the special path searching from the original tiny_tds build
|
30
|
-
# order is important here! First in,
|
30
|
+
# order is important here! First in, first searched.
|
31
31
|
DIRS = %w(
|
32
|
-
/usr/local
|
33
32
|
/opt/local
|
33
|
+
/usr/local
|
34
34
|
)
|
35
35
|
|
36
|
+
# Add the ports directory if it exists for local developer builds
|
37
|
+
DIRS.unshift(freetds_ports_dir) if File.directory?(freetds_ports_dir)
|
38
|
+
|
36
39
|
# Grab freetds environment variable for use by people on services like
|
37
40
|
# Heroku who they can't easily use bundler config to set directories
|
38
|
-
DIRS.
|
39
|
-
|
40
|
-
# Add the ports directory if it exists for local developer builds
|
41
|
-
DIRS.push(freetds_ports_dir) if File.directory?(freetds_ports_dir)
|
41
|
+
DIRS.unshift(ENV['FREETDS_DIR']) if ENV.has_key?('FREETDS_DIR')
|
42
42
|
|
43
43
|
# Add the search paths for freetds configured above
|
44
|
-
DIRS.
|
45
|
-
idir = "#{path}/include"
|
44
|
+
ldirs = DIRS.flat_map do |path|
|
46
45
|
ldir = "#{path}/lib"
|
46
|
+
[ldir, "#{ldir}/freetds"]
|
47
|
+
end
|
47
48
|
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
)
|
49
|
+
idirs = DIRS.flat_map do |path|
|
50
|
+
idir = "#{path}/include"
|
51
|
+
[idir, "#{idir}/freetds"]
|
52
52
|
end
|
53
53
|
|
54
|
+
puts "looking for freetds headers in the following directories:\n#{idirs.map{|a| " - #{a}\n"}.join}"
|
55
|
+
puts "looking for freetds library in the following directories:\n#{ldirs.map{|a| " - #{a}\n"}.join}"
|
56
|
+
dir_config('freetds', idirs, ldirs)
|
57
|
+
|
54
58
|
have_dependencies = [
|
55
59
|
find_header('sybfront.h'),
|
56
60
|
find_header('sybdb.h'),
|
data/ext/tiny_tds/extconsts.rb
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
ICONV_VERSION = ENV['TINYTDS_ICONV_VERSION'] || "1.15"
|
3
3
|
ICONV_SOURCE_URI = "http://ftp.gnu.org/pub/gnu/libiconv/libiconv-#{ICONV_VERSION}.tar.gz"
|
4
4
|
|
5
|
-
OPENSSL_VERSION = ENV['TINYTDS_OPENSSL_VERSION'] || '1.1.
|
6
|
-
OPENSSL_SOURCE_URI = "https://www.openssl.org/source/openssl-#{OPENSSL_VERSION}.tar.gz"
|
5
|
+
OPENSSL_VERSION = ENV['TINYTDS_OPENSSL_VERSION'] || '1.1.1d'
|
6
|
+
OPENSSL_SOURCE_URI = "https://www.openssl.org/source/old/1.1.1/openssl-#{OPENSSL_VERSION}.tar.gz"
|
7
7
|
|
8
|
-
FREETDS_VERSION = ENV['TINYTDS_FREETDS_VERSION'] || "1.
|
8
|
+
FREETDS_VERSION = ENV['TINYTDS_FREETDS_VERSION'] || "1.1.24"
|
9
9
|
FREETDS_VERSION_INFO = Hash.new { |h,k|
|
10
10
|
h[k] = {files: "http://www.freetds.org/files/stable/freetds-#{k}.tar.bz2"}
|
11
11
|
}
|
data/ext/tiny_tds/result.c
CHANGED
File without changes
|
data/ext/tiny_tds/result.h
CHANGED
File without changes
|
data/ext/tiny_tds/tiny_tds_ext.c
CHANGED
File without changes
|
data/ext/tiny_tds/tiny_tds_ext.h
CHANGED
File without changes
|
data/lib/tiny_tds.rb
CHANGED
File without changes
|
data/lib/tiny_tds/bin.rb
CHANGED
File without changes
|
data/lib/tiny_tds/client.rb
CHANGED
File without changes
|
data/lib/tiny_tds/error.rb
CHANGED
File without changes
|
data/lib/tiny_tds/gem.rb
CHANGED
File without changes
|
data/lib/tiny_tds/result.rb
CHANGED
File without changes
|
data/lib/tiny_tds/version.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/tasks/native_gem.rake
CHANGED
@@ -8,7 +8,7 @@ task 'gem:windows' => ['ports:cross'] do
|
|
8
8
|
build = ['bundle']
|
9
9
|
|
10
10
|
# and finally build the native gem
|
11
|
-
build << 'rake cross native gem RUBY_CC_VERSION=2.
|
11
|
+
build << 'rake cross native gem RUBY_CC_VERSION=2.7.0:2.6.0:2.5.0:2.4.0 CFLAGS="-Wall" MAKE="make -j`nproc`"'
|
12
12
|
|
13
13
|
RakeCompilerDock.sh build.join(' && ')
|
14
14
|
end
|
data/tasks/package.rake
CHANGED
File without changes
|
data/tasks/ports.rake
CHANGED
@@ -6,14 +6,14 @@ require_relative 'ports/openssl'
|
|
6
6
|
require_relative 'ports/freetds'
|
7
7
|
require_relative '../ext/tiny_tds/extconsts'
|
8
8
|
|
9
|
-
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE if defined? OpenSSL
|
10
|
-
|
11
9
|
namespace :ports do
|
12
10
|
openssl = Ports::Openssl.new(OPENSSL_VERSION)
|
13
11
|
libiconv = Ports::Libiconv.new(ICONV_VERSION)
|
14
12
|
freetds = Ports::Freetds.new(FREETDS_VERSION)
|
15
13
|
|
16
14
|
directory "ports"
|
15
|
+
CLEAN.include "ports/*mingw32*"
|
16
|
+
CLEAN.include "ports/*.installed"
|
17
17
|
|
18
18
|
task :openssl, [:host] do |task, args|
|
19
19
|
args.with_defaults(host: RbConfig::CONFIG['host'])
|
@@ -71,15 +71,13 @@ namespace :ports do
|
|
71
71
|
task 'cross' do
|
72
72
|
require 'rake_compiler_dock'
|
73
73
|
|
74
|
-
# make sure to install our bundle
|
75
|
-
build = ['bundle']
|
76
|
-
|
77
74
|
# build the ports for all our cross compile hosts
|
78
75
|
GEM_PLATFORM_HOSTS.each do |gem_platform, host|
|
76
|
+
# make sure to install our bundle
|
77
|
+
build = ['bundle']
|
79
78
|
build << "rake ports:compile[#{host}] MAKE='make -j`nproc`'"
|
79
|
+
RakeCompilerDock.sh build.join(' && '), platform: gem_platform
|
80
80
|
end
|
81
|
-
|
82
|
-
RakeCompilerDock.sh build.join(' && ')
|
83
81
|
end
|
84
82
|
end
|
85
83
|
|
data/tasks/ports/freetds.rb
CHANGED
File without changes
|
data/tasks/ports/libiconv.rb
CHANGED
File without changes
|
data/tasks/ports/openssl.rb
CHANGED
@@ -27,27 +27,11 @@ module Ports
|
|
27
27
|
|
28
28
|
private
|
29
29
|
|
30
|
-
def execute(action, command, options={})
|
31
|
-
# OpenSSL Requires Perl >= 5.10, while the Ruby devkit uses MSYS1 with Perl 5.8.8.
|
32
|
-
# To overcome this, prepend Git's usr/bin to the PATH.
|
33
|
-
# It has MSYS2 with a recent version of perl.
|
34
|
-
prev_path = ENV['PATH']
|
35
|
-
if host =~ /mingw/ && IO.popen(["perl", "-e", "print($])"], &:read).to_f < 5.010
|
36
|
-
git_perl = 'C:/Program Files/Git/usr/bin'
|
37
|
-
if File.directory?(git_perl)
|
38
|
-
ENV['PATH'] = "#{git_perl}#{File::PATH_SEPARATOR}#{ENV['PATH']}"
|
39
|
-
ENV['PERL'] = 'perl'
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
super
|
44
|
-
ENV['PATH'] = prev_path
|
45
|
-
end
|
46
|
-
|
47
30
|
def configure_defaults
|
48
31
|
opts = [
|
49
32
|
'shared',
|
50
|
-
target_arch
|
33
|
+
target_arch,
|
34
|
+
"--openssldir=#{path}",
|
51
35
|
]
|
52
36
|
|
53
37
|
if cross_build?
|
data/tasks/ports/recipe.rb
CHANGED
File without changes
|
data/tasks/test.rake
CHANGED
File without changes
|
data/test/appveyor/dbsetup.ps1
CHANGED
File without changes
|
data/test/appveyor/dbsetup.sql
CHANGED
File without changes
|
data/test/benchmark/query.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/test/client_test.rb
CHANGED
File without changes
|
data/test/gem_test.rb
CHANGED
File without changes
|
data/test/result_test.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/test/schema/sybase_ase.sql
CHANGED
File without changes
|
data/test/schema_test.rb
CHANGED
File without changes
|
data/test/test_helper.rb
CHANGED
File without changes
|
data/test/thread_test.rb
CHANGED
File without changes
|
data/tiny_tds.gemspec
CHANGED
@@ -21,9 +21,9 @@ 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', '~> 0
|
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
29
|
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.3.pre
|
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: 2020-04-08 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: 0
|
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: 0
|
70
|
+
version: '1.0'
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: minitest
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,7 +112,6 @@ files:
|
|
112
112
|
- ".gitignore"
|
113
113
|
- ".rubocop.yml"
|
114
114
|
- ".travis.yml"
|
115
|
-
- BACKERS.md
|
116
115
|
- CHANGELOG.md
|
117
116
|
- CODE_OF_CONDUCT.md
|
118
117
|
- Gemfile
|
@@ -134,12 +133,10 @@ files:
|
|
134
133
|
- ext/tiny_tds/tiny_tds_ext.c
|
135
134
|
- ext/tiny_tds/tiny_tds_ext.h
|
136
135
|
- lib/tiny_tds.rb
|
137
|
-
- lib/tiny_tds/2.0/tiny_tds.so
|
138
|
-
- lib/tiny_tds/2.1/tiny_tds.so
|
139
|
-
- lib/tiny_tds/2.2/tiny_tds.so
|
140
|
-
- lib/tiny_tds/2.3/tiny_tds.so
|
141
136
|
- lib/tiny_tds/2.4/tiny_tds.so
|
142
137
|
- lib/tiny_tds/2.5/tiny_tds.so
|
138
|
+
- lib/tiny_tds/2.6/tiny_tds.so
|
139
|
+
- lib/tiny_tds/2.7/tiny_tds.so
|
143
140
|
- lib/tiny_tds/bin.rb
|
144
141
|
- lib/tiny_tds/client.rb
|
145
142
|
- lib/tiny_tds/error.rb
|
@@ -149,35 +146,27 @@ files:
|
|
149
146
|
- patches/freetds/1.00.27/0001-mingw_missing_inet_pton.diff
|
150
147
|
- patches/freetds/1.00.27/0002-Don-t-use-MSYS2-file-libws2_32.diff
|
151
148
|
- 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.
|
165
|
-
- ports/x86_64-w64-mingw32/
|
166
|
-
- ports/x86_64-w64-mingw32/
|
167
|
-
- ports/x86_64-w64-mingw32/
|
168
|
-
- ports/x86_64-w64-mingw32/
|
169
|
-
- ports/x86_64-w64-mingw32/
|
170
|
-
- ports/x86_64-w64-mingw32/
|
171
|
-
- ports/x86_64-w64-mingw32/
|
172
|
-
- ports/x86_64-w64-mingw32/
|
173
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.0e/bin/c_rehash
|
174
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.0e/bin/libcrypto-1_1-x64.dll
|
175
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.0e/bin/libssl-1_1-x64.dll
|
176
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.0e/bin/openssl.exe
|
177
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.0e/lib/libcrypto.a
|
178
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.0e/lib/libcrypto.dll.a
|
179
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.0e/lib/libssl.a
|
180
|
-
- ports/x86_64-w64-mingw32/openssl/1.1.0e/lib/libssl.dll.a
|
149
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/bsqldb.exe
|
150
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/datacopy.exe
|
151
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/defncopy.exe
|
152
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/freebcp.exe
|
153
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/libct-4.dll
|
154
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/libsybdb-5.dll
|
155
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/osql
|
156
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/tdspool.exe
|
157
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/bin/tsql.exe
|
158
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/lib/libct.dll.a
|
159
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/lib/libct.la
|
160
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/lib/libsybdb.dll.a
|
161
|
+
- ports/x86_64-w64-mingw32/freetds/1.1.24/lib/libsybdb.la
|
162
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/bin/c_rehash
|
163
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/bin/libcrypto-1_1-x64.dll
|
164
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/bin/libssl-1_1-x64.dll
|
165
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/bin/openssl.exe
|
166
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/lib/libcrypto.a
|
167
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/lib/libcrypto.dll.a
|
168
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/lib/libssl.a
|
169
|
+
- ports/x86_64-w64-mingw32/openssl/1.1.1d/lib/libssl.dll.a
|
181
170
|
- tasks/native_gem.rake
|
182
171
|
- tasks/package.rake
|
183
172
|
- tasks/ports.rake
|
@@ -222,18 +211,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
222
211
|
requirements:
|
223
212
|
- - ">="
|
224
213
|
- !ruby/object:Gem::Version
|
225
|
-
version: '2.
|
214
|
+
version: '2.4'
|
226
215
|
- - "<"
|
227
216
|
- !ruby/object:Gem::Version
|
228
|
-
version:
|
217
|
+
version: 2.8.dev
|
229
218
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
230
219
|
requirements:
|
231
|
-
- - "
|
220
|
+
- - ">"
|
232
221
|
- !ruby/object:Gem::Version
|
233
|
-
version:
|
222
|
+
version: 1.3.1
|
234
223
|
requirements: []
|
235
|
-
|
236
|
-
rubygems_version: 2.7.3
|
224
|
+
rubygems_version: 3.1.2
|
237
225
|
signing_key:
|
238
226
|
specification_version: 4
|
239
227
|
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)
|