activerecord-sqlserver-adapter 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +5 -0
- data/README.rdoc +1 -0
- data/lib/active_record/connection_adapters/sqlserver_adapter.rb +2 -2
- metadata +4 -4
data/CHANGELOG
CHANGED
data/README.rdoc
CHANGED
@@ -151,6 +151,7 @@ If you’d like to contribute a feature or bugfix, thanks! To make sure your fix
|
|
151
151
|
Many many people have contributed. If you do not see your name here and it should be let us know. Also, many thanks go out to those that have pledged financial contributions.
|
152
152
|
|
153
153
|
* Ken Collins
|
154
|
+
* Erik Bryn
|
154
155
|
* Murray Steele
|
155
156
|
* Shawn Balestracci
|
156
157
|
* Joe Rafaniello
|
@@ -181,7 +181,7 @@ module ActiveRecord
|
|
181
181
|
include Sqlserver::Errors
|
182
182
|
|
183
183
|
ADAPTER_NAME = 'SQLServer'.freeze
|
184
|
-
VERSION = '3.0.
|
184
|
+
VERSION = '3.0.2'.freeze
|
185
185
|
DATABASE_VERSION_REGEXP = /Microsoft SQL Server\s+(\d{4})/
|
186
186
|
SUPPORTED_VERSIONS = [2005,2008].freeze
|
187
187
|
|
@@ -356,7 +356,7 @@ module ActiveRecord
|
|
356
356
|
if config[:dsn].include?(';')
|
357
357
|
driver = odbc::Driver.new.tap do |d|
|
358
358
|
d.name = config[:dsn_name] || 'Driver1'
|
359
|
-
|
359
|
+
d.attrs = config[:dsn].split(';').map{ |atr| atr.split('=') }.reject{ |kv| kv.size != 2 }.inject({}){ |h,kv| k,v = kv ; h[k] = v ; h }
|
360
360
|
end
|
361
361
|
odbc::Database.new.drvconnect(driver)
|
362
362
|
else
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-sqlserver-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 2
|
10
|
+
version: 3.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ken Collins
|
@@ -19,7 +19,7 @@ autorequire:
|
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
21
|
|
22
|
-
date: 2010-09-
|
22
|
+
date: 2010-09-21 00:00:00 -04:00
|
23
23
|
default_executable:
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|