tiny_tds 0.9.5.beta.9-x64-mingw32 → 0.9.5.beta.10-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/VERSION +1 -1
- data/exe/defncopy.exe +0 -0
- data/exe/tsql.exe +0 -0
- 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 +5 -4
- 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
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a631883cee242e455e295c0d68a901a9626ddc2
|
4
|
+
data.tar.gz: b48c465202a4a1b6392d861e647feaf9b5b428a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cf70dc68628f75e7f6af09c477a6be85cf495c90fde36e5a22d19a9fcc43537aad41254c20733e927f8c87dda247ab19701269e024316a59439efa3837fb952
|
7
|
+
data.tar.gz: 2054c93141a823c80bb5f1e4352a5dff3c033a1c7268da0a604d086bd75a1fba6ff226f23b8f9fa5738007bd987a8fc2abd6cbcb6b121e8646db9e2f943b1656
|
data/.gitignore
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.5.beta.
|
1
|
+
0.9.5.beta.10
|
data/exe/defncopy.exe
CHANGED
Binary file
|
data/exe/tsql.exe
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/tiny_tds/bin.rb
CHANGED
@@ -3,9 +3,9 @@ require_relative './version'
|
|
3
3
|
module TinyTds
|
4
4
|
class Bin
|
5
5
|
|
6
|
-
ROOT = File.expand_path '
|
6
|
+
ROOT = File.expand_path '../../..', __FILE__
|
7
7
|
PATHS = ENV['PATH'].split File::PATH_SEPARATOR
|
8
|
-
EXTS = ENV['PATHEXT'] ? ENV['PATHEXT'].split(';') : ['']
|
8
|
+
EXTS = (ENV['PATHEXT'] ? ENV['PATHEXT'].split(';') : ['']) | ['.exe']
|
9
9
|
|
10
10
|
attr_reader :name
|
11
11
|
|
@@ -19,7 +19,7 @@ module TinyTds
|
|
19
19
|
|
20
20
|
end
|
21
21
|
|
22
|
-
def initialize(name
|
22
|
+
def initialize(name)
|
23
23
|
@name = name
|
24
24
|
@binstub = find_bin
|
25
25
|
@exefile = find_exe
|
@@ -27,7 +27,7 @@ module TinyTds
|
|
27
27
|
|
28
28
|
def path
|
29
29
|
return @path if defined?(@path)
|
30
|
-
@path = File.exists?(@exefile) ? @exefile : which
|
30
|
+
@path = @exefile && File.exists?(@exefile) ? @exefile : which
|
31
31
|
end
|
32
32
|
|
33
33
|
def info
|
@@ -44,6 +44,7 @@ module TinyTds
|
|
44
44
|
def find_exe
|
45
45
|
EXTS.each do |ext|
|
46
46
|
f = File.join ROOT, 'exe', "#{@name}#{ext}"
|
47
|
+
puts f.inspect
|
47
48
|
return f if File.exists?(f)
|
48
49
|
end
|
49
50
|
nil
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|