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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91dcddcf54dfa48b2696bce80add3e7853f7e1a7
4
- data.tar.gz: 94c29f91fe6d5fedc8f4adb3ddc48cf73e71f2b6
3
+ metadata.gz: 1a631883cee242e455e295c0d68a901a9626ddc2
4
+ data.tar.gz: b48c465202a4a1b6392d861e647feaf9b5b428a6
5
5
  SHA512:
6
- metadata.gz: 67ec08f75ba48bc34bb32540194d30cdbdfe3513b09578b0a031615c1a7a7cbbeb1327f3256f410c0c57d95037aef3c67669c40e58ed5649bc74772ea31e424c
7
- data.tar.gz: 1d4685e4cde26be395175403bce5c141ec424ff8ed92f847b82e0879965c683817672c213af3b0dc3c37d1192f2ec1cb7e24a8df4b9fda8a53777f2aa957c7d6
6
+ metadata.gz: 4cf70dc68628f75e7f6af09c477a6be85cf495c90fde36e5a22d19a9fcc43537aad41254c20733e927f8c87dda247ab19701269e024316a59439efa3837fb952
7
+ data.tar.gz: 2054c93141a823c80bb5f1e4352a5dff3c033a1c7268da0a604d086bd75a1fba6ff226f23b8f9fa5738007bd987a8fc2abd6cbcb6b121e8646db9e2f943b1656
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: x64-mingw32
6
6
  authors:
7
7
  - Ken Collins