tiny_tds 0.9.5.beta.10-x64-mingw32 → 0.9.5.beta.11-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/defncopy +1 -1
- data/bin/tsql +1 -1
- data/exe/defncopy.exe +0 -0
- data/exe/tsql.exe +0 -0
- data/ext/tiny_tds/extconsts.rb +1 -1
- data/lib/tiny_tds/2.0/tiny_tds.so +0 -0
- data/lib/tiny_tds/2.1/tiny_tds.so +0 -0
- data/lib/tiny_tds/2.2/tiny_tds.so +0 -0
- data/lib/tiny_tds/bin.rb +10 -4
- data/ports/patches/freetds/{0.95.78 → 0.95.80}/0001-mingw_missing_inet_pton.diff +0 -0
- data/ports/x86_64-w64-mingw32/bin/libeay32-1.0.2e-x86_64-w64-mingw32.dll +0 -0
- data/ports/x86_64-w64-mingw32/bin/libiconv-2.dll +0 -0
- data/ports/x86_64-w64-mingw32/bin/libsybdb-5.dll +0 -0
- data/ports/x86_64-w64-mingw32/bin/ssleay32-1.0.2e-x86_64-w64-mingw32.dll +0 -0
- data/test/test_helper.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a17a17755e29d321e691f6d4edc98257b2769937
|
4
|
+
data.tar.gz: 910b2a8a98e0993430639f9d0def4046a18e02a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd9460d5aea68a6d22606ad67eea2ca315ae8280a410b8ce771bd6779c12892231c0a60e8615e0fedc4ad97a56e4c896b70d950db30faafacd69b1f50579c4ef
|
7
|
+
data.tar.gz: 45612a92b0ab4479c08b3ff8b195d5828704a78d714bfb9f103607936f7eeb8a37aa57874600a725cd30c4692af9dd6c9e2cc6b3d9f7c783324307477ade7b4c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.5.beta.
|
1
|
+
0.9.5.beta.11
|
data/bin/defncopy
CHANGED
data/bin/tsql
CHANGED
data/exe/defncopy.exe
CHANGED
Binary file
|
data/exe/tsql.exe
CHANGED
Binary file
|
data/ext/tiny_tds/extconsts.rb
CHANGED
@@ -5,7 +5,7 @@ ICONV_SOURCE_URI = "http://ftp.gnu.org/pub/gnu/libiconv/libiconv-#{ICONV_VERSION
|
|
5
5
|
OPENSSL_VERSION = ENV['TINYTDS_OPENSSL_VERSION'] || '1.0.2e'
|
6
6
|
OPENSSL_SOURCE_URI = "http://www.openssl.org/source/openssl-#{OPENSSL_VERSION}.tar.gz"
|
7
7
|
|
8
|
-
FREETDS_VERSION = ENV['TINYTDS_FREETDS_VERSION'] || "0.95.
|
8
|
+
FREETDS_VERSION = ENV['TINYTDS_FREETDS_VERSION'] || "0.95.80"
|
9
9
|
FREETDS_VERSION_INFO = Hash.new { |h,k|
|
10
10
|
h[k] = {files: "ftp://ftp.freetds.org/pub/freetds/stable/freetds-#{k}.tar.bz2"}
|
11
11
|
}
|
Binary file
|
Binary file
|
Binary file
|
data/lib/tiny_tds/bin.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require_relative './version'
|
2
|
+
require 'shellwords'
|
2
3
|
|
3
4
|
module TinyTds
|
4
5
|
class Bin
|
@@ -14,7 +15,7 @@ module TinyTds
|
|
14
15
|
def exe(name, *args)
|
15
16
|
bin = new(name)
|
16
17
|
puts bin.info
|
17
|
-
|
18
|
+
bin.run(*args)
|
18
19
|
end
|
19
20
|
|
20
21
|
end
|
@@ -25,6 +26,12 @@ module TinyTds
|
|
25
26
|
@exefile = find_exe
|
26
27
|
end
|
27
28
|
|
29
|
+
def run(*args)
|
30
|
+
return nil unless path
|
31
|
+
Kernel.system Shellwords.join(args.unshift(path))
|
32
|
+
$?.to_i
|
33
|
+
end
|
34
|
+
|
28
35
|
def path
|
29
36
|
return @path if defined?(@path)
|
30
37
|
@path = @exefile && File.exists?(@exefile) ? @exefile : which
|
@@ -38,13 +45,12 @@ module TinyTds
|
|
38
45
|
private
|
39
46
|
|
40
47
|
def find_bin
|
41
|
-
File.join ROOT, 'bin',
|
48
|
+
File.join ROOT, 'bin', name
|
42
49
|
end
|
43
50
|
|
44
51
|
def find_exe
|
45
52
|
EXTS.each do |ext|
|
46
|
-
f = File.join ROOT, 'exe', "#{
|
47
|
-
puts f.inspect
|
53
|
+
f = File.join ROOT, 'exe', "#{name}#{ext}"
|
48
54
|
return f if File.exists?(f)
|
49
55
|
end
|
50
56
|
nil
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/test_helper.rb
CHANGED
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: 0.9.5.beta.
|
4
|
+
version: 0.9.5.beta.11
|
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: 2016-01-
|
13
|
+
date: 2016-01-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: mini_portile2
|
@@ -140,7 +140,7 @@ files:
|
|
140
140
|
- lib/tiny_tds/version.rb
|
141
141
|
- ports/patches/freetds/0.91.112/Makefile.in.diff
|
142
142
|
- ports/patches/freetds/0.91.112/dblib-30-char-username.diff
|
143
|
-
- ports/patches/freetds/0.95.
|
143
|
+
- ports/patches/freetds/0.95.80/0001-mingw_missing_inet_pton.diff
|
144
144
|
- ports/x86_64-w64-mingw32/bin/libeay32-1.0.2e-x86_64-w64-mingw32.dll
|
145
145
|
- ports/x86_64-w64-mingw32/bin/libiconv-2.dll
|
146
146
|
- ports/x86_64-w64-mingw32/bin/libsybdb-5.dll
|