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 CHANGED
@@ -1,5 +1,9 @@
1
1
 
2
- * 0.4.5.rc3 *
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
@@ -2,7 +2,7 @@
2
2
  source :rubygems
3
3
 
4
4
  group :development do
5
- gem 'rake', '>= 0.8.7'
5
+ gem 'rake', '0.8.7'
6
6
  gem 'mini_portile', '0.2.2'
7
7
  gem 'rake-compiler', '0.7.8'
8
8
  end
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010 Ken Collins, <ken@metaskills.net>
1
+ Copyright (c) 2010-2011 Ken Collins, <ken@metaskills.net>
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person
4
4
  obtaining a copy of this software and associated documentation
@@ -258,6 +258,7 @@ For help and support.
258
258
 
259
259
  Current to do list.
260
260
 
261
+ * Include OpenSSL with Windows binaries for SQL Azure.
261
262
  * Install an interrupt handler.
262
263
  * Allow #escape to accept all ruby primitives.
263
264
  * Get bug reports!
@@ -1,3 +1,3 @@
1
1
  module TinyTds
2
- VERSION = '0.4.5.rc3'
2
+ VERSION = '0.4.5'
3
3
  end
@@ -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://www.ibiblio.org/pub/Linux/ALPHA/freetds/current/freetds-current.tgz"} }
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
 
@@ -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
- assert_equal col_name, result.fields.first
311
- assert_equal col_name, row.keys.first
312
- assert_utf8_encoding result.fields.first
313
- assert_utf8_encoding row.keys.first
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: 15424123
5
- prerelease: 6
4
+ hash: 5
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
9
  - 5
10
- - rc
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-04-29 00:00:00 -04:00
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: 25
90
+ hash: 3
93
91
  segments:
94
- - 1
95
- - 3
96
- - 1
97
- version: 1.3.1
92
+ - 0
93
+ version: "0"
98
94
  requirements: []
99
95
 
100
96
  rubyforge_project: