tiny_tds 0.9.5.beta.7-x86-mingw32 → 0.9.5.beta.8-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: 9ca68e81e7b82558d91ce4d9e799def7f73b2efe
4
- data.tar.gz: 3468e9dabcef7dfac92b81accec0bb868baf26e2
3
+ metadata.gz: 9c4c7a5bd30b8342ffd8dd793c4a6830097e7856
4
+ data.tar.gz: d433d45763d5bac215c77e9bb9f79bc75f019848
5
5
  SHA512:
6
- metadata.gz: c1577555214f6f39635737f2c10ea01e9a799f9f2747c001efd70f9372de38a7707936339e617f28ff0a75b9b3e7252f8e66a66fcb420cd5c9c8035cf005e699
7
- data.tar.gz: 0849c9a579d2b3e0da27cbe60a3ad058396a874161a06d005e8f892e9a582694c08ff466cfcb3d7ecd1349894e76c4ca7d93f171416afbeaec4aa976ce3c74be
6
+ metadata.gz: 89c5581c3699b5ec34edc6d27219ce84a4b17228a925e558c02bb088299671cee4d5f9655ddf87f5058b0366e27fa46167e00cf178b011d28b3bc7e085054059
7
+ data.tar.gz: 28477ba0dc32725e9fe066314bf650e5890d1e0af5dfcdff67e81323aa0ce0eaa07622e91a2d17e3c3cd27a316485076fcc8fd1264919bccde795afc51729ae8
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.5.beta.7
1
+ 0.9.5.beta.8
data/exe/defncopy.exe CHANGED
Binary file
data/exe/tsql.exe CHANGED
Binary file
@@ -9,6 +9,6 @@ FREETDS_VERSION = ENV['TINYTDS_FREETDS_VERSION'] || "0.95.78"
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
  }
12
- FREETDS_VERSION_INFO['0.99'] = {files: 'ftp://ftp.freetds.org/pub/freetds/current/freetds-dev.0.99.479.tar.bz2'}
12
+ FREETDS_VERSION_INFO['0.99'] = {files: 'ftp://ftp.freetds.org/pub/freetds/current/freetds-dev.0.99.536.tar.bz2'}
13
13
  FREETDS_VERSION_INFO['current'] = {files: 'https://github.com/FreeTDS/freetds/archive/master.zip'}
14
14
  FREETDS_SOURCE_URI = FREETDS_VERSION_INFO[FREETDS_VERSION][:files]
data/lib/tiny_tds/bin.rb CHANGED
@@ -47,6 +47,7 @@ module TinyTds
47
47
  #
48
48
  def binary?(file)
49
49
  bytes = File.stat(file).blksize
50
+ return false unless bytes
50
51
  bytes = 4096 if bytes > 4096
51
52
  s = (File.read(file, bytes) || "")
52
53
  s = s.encode('US-ASCII', :undef => :replace).split(//)
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.7
4
+ version: 0.9.5.beta.8
5
5
  platform: x86-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-02 00:00:00.000000000 Z
13
+ date: 2016-01-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mini_portile2