tiny_tds 1.0.2-x64-mingw32 → 1.0.3-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: 3520f99173bcf0da0886e7b6ce2195471b081b69
4
- data.tar.gz: f21f5a4aaf490f9f35d4bd8a230ddf2f79ae59cd
3
+ metadata.gz: d9bb713973059d9eb09715f8129c13914e7e3e3b
4
+ data.tar.gz: a87ce3cbf57f2f63dd975aa56cdcdcbdbfeaa4ef
5
5
  SHA512:
6
- metadata.gz: c8118ad8bd9eac5bea2b36d069c13adf5a0cbeb6caf8c6bbeacd4b32fcbb1642a1d6e5e2b3d15b90ea8b811aa4ef7323b13527dffb04fa46f30b60d5df929ccf
7
- data.tar.gz: a55f93e86cec3b69f922b36e3387b428fdf1395bad2d4170c77dcdbf84fbf11b5f5b3fa8837c0d4412b728cf15e12e6762a9251e6eaf42ebec236422a558463f
6
+ metadata.gz: 88d47ec92a00e53fd2093599dc75c81959fed1e35b4e93b2e4aa618fcacccf9d039d5005f64a7ec524e9ffe06025856cf7307f502fbb52016765a6279a003763
7
+ data.tar.gz: ee45867a563f237d081aaa00c0637192f13b47d95eff286d195caab1db85b9b0e15f0c196e829492f2a77c8dc3837dedb69095e79344c66182a33ac145abc507
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ * 1.0.3 *
2
+
3
+ * Use FreeTDS 1.0rc5 for cross compile windows gems.
4
+ * Ensure we only work with latest FreeTDS v0.95.x or higher.
5
+
6
+
1
7
  * 1.0.2 *
2
8
 
3
9
  * Cross compile w/2.3.0 using rake-compiler-dock ~> 0.5.1. Fixes #268 #270.
data/ISSUE_TEMPLATE.md ADDED
@@ -0,0 +1,5 @@
1
+ Having problems? Have you checked these first:
2
+
3
+ * Are you using FreeTDS 0.95.80 or later? Check `$ tsql -C` to find out.
4
+ * If not, please update then uninstall the TinyTDS gem and re-install it.
5
+ * Are you using Ubuntu? If so, you may have forgotten to install FreeTDS first.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TinyTDS - Simple and fast FreeTDS bindings for Ruby using DB-Library.
2
2
 
3
- [![Build Status](https://ci.appveyor.com/api/projects/status/g2bhhbsdkx0mal55/branch/master?svg=true)](https://ci.appveyor.com/project/rails-sqlserver/tiny-tds/branch/master) [![Gem Version](https://img.shields.io/badge/gem-v0.7.0-blue.svg)](https://rubygems.org/gems/tiny_tds) [![Gitter chat](https://img.shields.io/badge/%E2%8A%AA%20GITTER%20-JOIN%20CHAT%20%E2%86%92-brightgreen.svg?style=flat)](https://gitter.im/rails-sqlserver/activerecord-sqlserver-adapter)
3
+ [![Build Status](https://ci.appveyor.com/api/projects/status/g2bhhbsdkx0mal55/branch/master?svg=true)](https://ci.appveyor.com/project/rails-sqlserver/tiny-tds/branch/master) [![Gem Version](https://img.shields.io/gem/v/tiny_tds.svg)](https://rubygems.org/gems/tiny_tds) [![Gitter chat](https://img.shields.io/badge/%E2%8A%AA%20GITTER%20-JOIN%20CHAT%20%E2%86%92-brightgreen.svg?style=flat)](https://gitter.im/rails-sqlserver/activerecord-sqlserver-adapter)
4
4
 
5
5
  The TinyTDS gem is meant to serve the extremely common use-case of connecting, querying and iterating over results to Microsoft SQL Server or Sybase databases from Ruby using the FreeTDS's DB-Library API.
6
6
 
@@ -62,9 +62,7 @@ TinyTDS is developed against FreeTDS 0.95, 0.99, and 1.0 current. Our default an
62
62
 
63
63
  Our goal is to support every SQL Server data type and covert it to a logical Ruby object. When dates or times are returned, they are instantiated to either `:utc` or `:local` time depending on the query options. Only [datetimeoffset] types are excluded. All strings are associated the to the connection's encoding and all binary data types are associated to Ruby's `ASCII-8BIT/BINARY` encoding.
64
64
 
65
- Below is a list of the data types we support when using the 7.3 TDS protocol version. You must be using the latest FreeTDS v0.95.74 or higher.
66
-
67
- Using a lower protocol version will result in these types being returned as strings.
65
+ Below is a list of the data types we support when using the 7.3 TDS protocol version. Using a lower protocol version will result in these types being returned as strings.
68
66
 
69
67
  * [date]
70
68
  * [datetime2]
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
@@ -292,13 +292,17 @@ else
292
292
  end
293
293
 
294
294
  def asplode(lib)
295
- abort "-----\n#{lib} is missing.\n-----"
295
+ msg = "-----\n"
296
+ msg << "#{lib} is missing.\n"
297
+ msg << "Do you have FreeTDS 0.95.80 or higher installed?\n" if lib == 'freetds'
298
+ msg << "-----"
299
+ abort(msg)
296
300
  end
297
301
 
298
302
  def freetds_usable?(lib_prefix)
299
303
  have_header('sybfront.h') && have_header('sybdb.h') &&
300
304
  find_library("#{lib_prefix}sybdb", 'tdsdbopen') &&
301
- find_library("#{lib_prefix}ct", 'ct_bind')
305
+ find_library("#{lib_prefix}sybdb", 'dbanydatecrack')
302
306
  end
303
307
 
304
308
  # We use freetds, when available already, and fallback to compilation of ports
@@ -5,11 +5,11 @@ ICONV_SOURCE_URI = "http://ftp.gnu.org/pub/gnu/libiconv/libiconv-#{ICONV_VERSION
5
5
  OPENSSL_VERSION = ENV['TINYTDS_OPENSSL_VERSION'] || '1.0.2g'
6
6
  OPENSSL_SOURCE_URI = "https://www.openssl.org/source/openssl-#{OPENSSL_VERSION}.tar.gz"
7
7
 
8
- FREETDS_VERSION = ENV['TINYTDS_FREETDS_VERSION'] || "1.0rc4"
8
+ FREETDS_VERSION = ENV['TINYTDS_FREETDS_VERSION'] || "1.0rc5"
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['1.0rc4'] = {files: 'ftp://ftp.freetds.org/pub/freetds/stable/release_candidates/freetds-1.0rc4.tar.bz2'}
12
+ FREETDS_VERSION_INFO['1.0rc5'] = {files: 'ftp://ftp.freetds.org/pub/freetds/stable/release_candidates/freetds-1.0rc5.tar.bz2'}
13
13
  FREETDS_VERSION_INFO['0.99'] = {files: 'ftp://ftp.freetds.org/pub/freetds/current/freetds-dev.0.99.678.tar.gz'}
14
14
  FREETDS_VERSION_INFO['0.95'] = {files: 'ftp://ftp.freetds.org/pub/freetds/stable/freetds-0.95.92.tar.gz'}
15
15
  FREETDS_SOURCE_URI = FREETDS_VERSION_INFO[FREETDS_VERSION][:files]
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: 1.0.2
4
+ version: 1.0.3
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-05-01 00:00:00.000000000 Z
13
+ date: 2016-05-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mini_portile2
@@ -111,6 +111,7 @@ files:
111
111
  - CHANGELOG
112
112
  - CODE_OF_CONDUCT.md
113
113
  - Gemfile
114
+ - ISSUE_TEMPLATE.md
114
115
  - MIT-LICENSE
115
116
  - README.md
116
117
  - Rakefile
@@ -139,7 +140,7 @@ files:
139
140
  - lib/tiny_tds/error.rb
140
141
  - lib/tiny_tds/result.rb
141
142
  - lib/tiny_tds/version.rb
142
- - ports/patches/freetds/1.0rc4/0001-mingw_missing_inet_pton.diff
143
+ - ports/patches/freetds/1.0rc5/0001-mingw_missing_inet_pton.diff
143
144
  - ports/x86_64-w64-mingw32/bin/libeay32-1.0.2g-x86_64-w64-mingw32.dll
144
145
  - ports/x86_64-w64-mingw32/bin/libiconv-2.dll
145
146
  - ports/x86_64-w64-mingw32/bin/libsybdb-5.dll