tiny_tds 1.0.2-x64-mingw32 → 1.0.3-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 +4 -4
- data/CHANGELOG +6 -0
- data/ISSUE_TEMPLATE.md +5 -0
- data/README.md +2 -4
- data/VERSION +1 -1
- data/ext/tiny_tds/extconf.rb +6 -2
- data/ext/tiny_tds/extconsts.rb +2 -2
- data/ports/patches/freetds/{1.0rc4 → 1.0rc5}/0001-mingw_missing_inet_pton.diff +0 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9bb713973059d9eb09715f8129c13914e7e3e3b
|
4
|
+
data.tar.gz: a87ce3cbf57f2f63dd975aa56cdcdcbdbfeaa4ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88d47ec92a00e53fd2093599dc75c81959fed1e35b4e93b2e4aa618fcacccf9d039d5005f64a7ec524e9ffe06025856cf7307f502fbb52016765a6279a003763
|
7
|
+
data.tar.gz: ee45867a563f237d081aaa00c0637192f13b47d95eff286d195caab1db85b9b0e15f0c196e829492f2a77c8dc3837dedb69095e79344c66182a33ac145abc507
|
data/CHANGELOG
CHANGED
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
|
-
[](https://ci.appveyor.com/project/rails-sqlserver/tiny-tds/branch/master) [](https://ci.appveyor.com/project/rails-sqlserver/tiny-tds/branch/master) [](https://rubygems.org/gems/tiny_tds) [](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.
|
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.
|
1
|
+
1.0.3
|
data/ext/tiny_tds/extconf.rb
CHANGED
@@ -292,13 +292,17 @@ else
|
|
292
292
|
end
|
293
293
|
|
294
294
|
def asplode(lib)
|
295
|
-
|
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}
|
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
|
data/ext/tiny_tds/extconsts.rb
CHANGED
@@ -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.
|
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.
|
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]
|
File without changes
|
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.
|
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-
|
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.
|
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
|