tiny_tds 0.9.5.beta.9-x86-mingw32 → 0.9.5.beta.10-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a22de6daccbb32e849ded1598a9b0bea8a2f374
4
- data.tar.gz: e2888e203d3b156484c5e990b5745146de943336
3
+ metadata.gz: 4a843592de713a6fe13663f0848584e37a4c8a7b
4
+ data.tar.gz: ae317dab98daa440591a15cdd9ec922096f15f70
5
5
  SHA512:
6
- metadata.gz: 579d4e13948ecfff15be28f34a37e97d59f84f24302e3b0f1de24706a604399b270593b10e9aabab26861cca25d2c027b1cd64da24dc07c4a07ee774a6c9cb62
7
- data.tar.gz: 0da76ec7ef20ea7874c8b3e94ffd05d4f72727f3f26bef4d605e0f96f444b9ec8c98b4245cddb39878b18bcba109a0ae2baeb1c0bcd23bcc71db5d3d8ab5fc87
6
+ metadata.gz: 35b0e091cbcbda9c926a44c04f8787cac36f25d801b384736eefd158f5c93719ccbd756d4f415ca67ee73448fdd11297cec5ba2f39ce4424950a35ab8e0be563
7
+ data.tar.gz: 7bfc9756878ad9a167089c7f7cf6b1bcf080b86ccd2f97c644f5e0f81df30d7dbb6dd35366c1f9adfe5dd914c070b30de366c7d85dee7ec012d2b8026237a5b9
data/.gitignore CHANGED
@@ -15,6 +15,6 @@ lib/tiny_tds/tiny_tds.rb
15
15
  Gemfile.lock
16
16
  misc
17
17
  *.gem
18
- /exe/tsql
18
+ /exe/*
19
19
  /ports/*
20
20
  !/ports/patches/
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.5.beta.9
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 '../..', __FILE__
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, options = {})
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
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.9
4
+ version: 0.9.5.beta.10
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Ken Collins