tiny_tds 0.4.5.rc3-x86-mingw32 → 0.4.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +5 -1
- data/Gemfile +1 -1
- data/MIT-LICENSE +1 -1
- data/README.rdoc +1 -0
- data/lib/tiny_tds/version.rb +1 -1
- data/tasks/ports.rake +1 -1
- data/test/result_test.rb +6 -6
- metadata +8 -12
data/CHANGELOG
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
|
2
|
-
* 0.4.5
|
2
|
+
* 0.4.5 *
|
3
|
+
|
4
|
+
* Includes precompiled Windows binaries for FreeTDS 0.91rc2 & LibIconv. No precompiled OpenSSL yet for Windows to SQL Azure.
|
5
|
+
|
6
|
+
* Fixed symbolized unicode column names.
|
3
7
|
|
4
8
|
* Use same bigint ruby functions to return identity. Hopefully fixes #19.
|
5
9
|
|
data/Gemfile
CHANGED
data/MIT-LICENSE
CHANGED
data/README.rdoc
CHANGED
data/lib/tiny_tds/version.rb
CHANGED
data/tasks/ports.rake
CHANGED
@@ -7,7 +7,7 @@ namespace :ports do
|
|
7
7
|
FREETDS_VERSION = ENV['TINYTDS_FREETDS_082'] ? "0.82" : "0.91"
|
8
8
|
FREETDS_VERSION_INFO = {
|
9
9
|
"0.82" => {:files => "http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-stable.tgz"},
|
10
|
-
"0.91" => {:files => "http://
|
10
|
+
"0.91" => {:files => "http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/release_candidates/freetds-0.91RC2.tar.gz"} }
|
11
11
|
|
12
12
|
ORIGINAL_HOST = RbConfig::CONFIG["arch"]
|
13
13
|
|
data/test/result_test.rb
CHANGED
@@ -300,17 +300,17 @@ class ResultTest < TinyTds::TestCase
|
|
300
300
|
assert_equal data.first.keys.map{ |r| r.object_id }, data.last.keys.map{ |r| r.object_id }
|
301
301
|
end
|
302
302
|
|
303
|
-
should 'have properly encoded column names' do
|
303
|
+
should 'have properly encoded column names with symbol keys' do
|
304
304
|
col_name = "öäüß"
|
305
305
|
@client.execute("DROP TABLE [test_encoding]").do rescue nil
|
306
306
|
@client.execute("CREATE TABLE [dbo].[test_encoding] ( [#{col_name}] [nvarchar](10) NOT NULL )").do
|
307
307
|
@client.execute("INSERT INTO [test_encoding] ([#{col_name}]) VALUES (N'#{col_name}')").do
|
308
308
|
result = @client.execute("SELECT [#{col_name}] FROM [test_encoding]")
|
309
|
-
row = result.each.first
|
310
|
-
|
311
|
-
assert_equal col_name,
|
312
|
-
|
313
|
-
|
309
|
+
row = result.each(:as => :hash, :symbolize_keys => true).first
|
310
|
+
assert_instance_of Symbol, result.fields.first
|
311
|
+
assert_equal col_name.to_sym, result.fields.first
|
312
|
+
assert_instance_of Symbol, row.keys.first
|
313
|
+
assert_equal col_name.to_sym, row.keys.first
|
314
314
|
end unless sqlserver_azure?
|
315
315
|
|
316
316
|
should 'allow #return_code to work with stored procedures and reset per sql batch' do
|
metadata
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tiny_tds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 5
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
9
|
- 5
|
10
|
-
|
11
|
-
- 3
|
12
|
-
version: 0.4.5.rc3
|
10
|
+
version: 0.4.5
|
13
11
|
platform: x86-mingw32
|
14
12
|
authors:
|
15
13
|
- Ken Collins
|
@@ -18,7 +16,7 @@ autorequire:
|
|
18
16
|
bindir: bin
|
19
17
|
cert_chain: []
|
20
18
|
|
21
|
-
date: 2011-
|
19
|
+
date: 2011-05-24 00:00:00 -04:00
|
22
20
|
default_executable:
|
23
21
|
dependencies: []
|
24
22
|
|
@@ -87,14 +85,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
87
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
86
|
none: false
|
89
87
|
requirements:
|
90
|
-
- - "
|
88
|
+
- - ">="
|
91
89
|
- !ruby/object:Gem::Version
|
92
|
-
hash:
|
90
|
+
hash: 3
|
93
91
|
segments:
|
94
|
-
-
|
95
|
-
|
96
|
-
- 1
|
97
|
-
version: 1.3.1
|
92
|
+
- 0
|
93
|
+
version: "0"
|
98
94
|
requirements: []
|
99
95
|
|
100
96
|
rubyforge_project:
|