tiny_tds 0.9.5.beta.7-x64-mingw32 → 0.9.5.beta.8-x64-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c12a1c2a1e4a18ec5697b5df567f17751d7d0fb
4
- data.tar.gz: 02fe36d719fa01a0009662e5fb987cd03a14fc75
3
+ metadata.gz: d5e660cacd15cdd0d037e59ceb93cc6e3f3c7d01
4
+ data.tar.gz: 8554887835e09f19c4746535605586d382510bfd
5
5
  SHA512:
6
- metadata.gz: b032cb2d5758a7c61457ee621672b4e022b4ff1a485c3fa9f67d07c5b9c165ab2026d1e9dca9ab8c0c4edcab86d3853224be7188024ddd6e251e369aede0e426
7
- data.tar.gz: 6e1daffb5e301efab6c1facf9687c19af4795ee41786d49d8ac36df3c3d7e99abd24d7676a66f6f7e12ce84ea7c989174251382269e583734104d6c58f8401ac
6
+ metadata.gz: 2aafd27e2d9772283a4b05f61261261e0d17b29f6a800f6a9c889e3129de6f35995b0d4db6634e472cdbbfa145751055fd4a8703a06df9bf0e3be4c96ff27c06
7
+ data.tar.gz: 472f8cd06c78244487e399dbb121252684ae6e521f703817a4be4a9706c4819717821dfc079fbfaa6b8270a158f67f898dc6772930e22f16f8101434b01d86cc
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: x64-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