tiny_tds 0.9.5.beta.9-x86-mingw32 → 0.9.5.beta.10-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/i686-w64-mingw32/bin/libeay32-1.0.2e-i686-w64-mingw32.dll +0 -0
- data/ports/i686-w64-mingw32/bin/libiconv-2.dll +0 -0
- data/ports/i686-w64-mingw32/bin/libsybdb-5.dll +0 -0
- data/ports/i686-w64-mingw32/bin/ssleay32-1.0.2e-i686-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: 4a843592de713a6fe13663f0848584e37a4c8a7b
|
4
|
+
data.tar.gz: ae317dab98daa440591a15cdd9ec922096f15f70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35b0e091cbcbda9c926a44c04f8787cac36f25d801b384736eefd158f5c93719ccbd756d4f415ca67ee73448fdd11297cec5ba2f39ce4424950a35ab8e0be563
|
7
|
+
data.tar.gz: 7bfc9756878ad9a167089c7f7cf6b1bcf080b86ccd2f97c644f5e0f81df30d7dbb6dd35366c1f9adfe5dd914c070b30de366c7d85dee7ec012d2b8026237a5b9
|
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
|