activerecord-sqlserver-adapter 3.0.12 → 3.0.13
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG
CHANGED
@@ -24,7 +24,7 @@ module ActiveRecord
|
|
24
24
|
when :dblib
|
25
25
|
raise ArgumentError, 'Missing :dataserver configuration.' unless config.has_key?(:dataserver)
|
26
26
|
require_library_or_gem 'tiny_tds'
|
27
|
-
warn("TinyTds v0.4.3 or higher required. Using #{TinyTds::VERSION}") unless TinyTds::Client.instance_methods.include?("active?")
|
27
|
+
warn("TinyTds v0.4.3 or higher required. Using #{TinyTds::VERSION}") unless TinyTds::Client.instance_methods.map(&:to_s).include?("active?")
|
28
28
|
when :odbc
|
29
29
|
raise ArgumentError, 'Missing :dsn configuration.' unless config.has_key?(:dsn)
|
30
30
|
if RUBY_VERSION < '1.9'
|
@@ -165,7 +165,7 @@ module ActiveRecord
|
|
165
165
|
include Sqlserver::Errors
|
166
166
|
|
167
167
|
ADAPTER_NAME = 'SQLServer'.freeze
|
168
|
-
VERSION = '3.0.
|
168
|
+
VERSION = '3.0.13'.freeze
|
169
169
|
DATABASE_VERSION_REGEXP = /Microsoft SQL Server\s+"?(\d{4}|\w+)"?/
|
170
170
|
SUPPORTED_VERSIONS = [2005,2008,2010,2011].freeze
|
171
171
|
|
@@ -365,6 +365,8 @@ module ActiveRecord
|
|
365
365
|
encoding = config[:encoding].present? ? config[:encoding] : nil
|
366
366
|
TinyTds::Client.new({
|
367
367
|
:dataserver => config[:dataserver],
|
368
|
+
:host => config[:host],
|
369
|
+
:port => config[:port],
|
368
370
|
:username => config[:username],
|
369
371
|
:password => config[:password],
|
370
372
|
:database => config[:database],
|
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: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 13
|
10
|
+
version: 3.0.13
|
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: 2011-04-
|
22
|
+
date: 2011-04-15 00:00:00 -04:00
|
23
23
|
default_executable:
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|