tiny_tds 1.0.2-x86-mingw32 → 1.0.3-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: c1449de36460ffb44eb4f5f8fb24af356ea06e75
4
- data.tar.gz: bc8e2aebee2dbc47b921e2cd918dd4a2d9771b3a
3
+ metadata.gz: 37b610ac78afd887a26f43a40481d2284ee64950
4
+ data.tar.gz: 320474779bbf96d1fde255e945aa192c4c38787e
5
5
  SHA512:
6
- metadata.gz: e7d3413434b8f7424279e05819f4fd7b2c4ebfd07305dc5358ca9af6658dbfa2de09b04b43dcd17b04ab8303edca1ce87e4b4bd9913722553c4034a3793c5319
7
- data.tar.gz: 93649a2c0b7fc05ee65a9ee067ef643f67b68c11028387890519d35fe4a7ebd1bf266501bb0f9194fb5825ff1336597e620835ab56c2e99e8dbc6e1c59ae5d70
6
+ metadata.gz: 4acbf5d57fb7c5d9fdb5f4daf7a3609d5f4d9acc36c1b75321c1eef14a8f3302fb6c9dbbce0df35d11a7986dd3b0dade82ece7d62d47ff64a5580c185a27dfdb
7
+ data.tar.gz: 8f83067edfc376804380f5bb75712b3f4b073e363ff5e697f9302d7f85de1cfefd0b947c0447e29f270f879850e4e2caab115e3c923b6c7f3b728f5b5a6891d2
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.
@@ -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: 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-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
@@ -143,7 +144,7 @@ files:
143
144
  - ports/i686-w64-mingw32/bin/libiconv-2.dll
144
145
  - ports/i686-w64-mingw32/bin/libsybdb-5.dll
145
146
  - ports/i686-w64-mingw32/bin/ssleay32-1.0.2g-i686-w64-mingw32.dll
146
- - ports/patches/freetds/1.0rc4/0001-mingw_missing_inet_pton.diff
147
+ - ports/patches/freetds/1.0rc5/0001-mingw_missing_inet_pton.diff
147
148
  - test/appveyor/dbsetup.ps1
148
149
  - test/appveyor/dbsetup.sql
149
150
  - test/benchmark/query.rb