activerecord-sqlserver-adapter 3.2.9 → 3.2.10
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.
data/CHANGELOG
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
|
|
2
|
+
* 3.2.10 *
|
|
3
|
+
|
|
4
|
+
* Remove connection defaults for host/username/password. Since we want to suppoert Windows Authentication
|
|
5
|
+
and there are just to many possibilities. So we now have to be explicit.
|
|
6
|
+
* Remove really old TinyTDS warning.
|
|
7
|
+
|
|
8
|
+
|
|
2
9
|
* 3.2.9 *
|
|
3
10
|
|
|
4
11
|
* The #remove_default_constraint uses #execute_procedure now. Fixes #223. Thanks @gicappa and @clintmiller.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.2.
|
|
1
|
+
3.2.10
|
|
@@ -157,7 +157,7 @@ module ActiveRecord
|
|
|
157
157
|
WHEN 0 THEN NULL
|
|
158
158
|
WHEN 1 THEN 'READ UNCOMITTED'
|
|
159
159
|
WHEN 2 THEN 'READ COMITTED'
|
|
160
|
-
WHEN 3 THEN 'REPEATABLE'
|
|
160
|
+
WHEN 3 THEN 'REPEATABLE READ'
|
|
161
161
|
WHEN 4 THEN 'SERIALIZABLE'
|
|
162
162
|
WHEN 5 THEN 'SNAPSHOT' END AS [isolation_level]
|
|
163
163
|
FROM [sys].[dm_exec_sessions]
|
|
@@ -24,12 +24,11 @@ module ActiveRecord
|
|
|
24
24
|
|
|
25
25
|
def self.sqlserver_connection(config) #:nodoc:
|
|
26
26
|
config = config.symbolize_keys
|
|
27
|
-
config.reverse_merge! :mode => :dblib
|
|
27
|
+
config.reverse_merge! :mode => :dblib
|
|
28
28
|
mode = config[:mode].to_s.downcase.underscore.to_sym
|
|
29
29
|
case mode
|
|
30
30
|
when :dblib
|
|
31
31
|
require 'tiny_tds'
|
|
32
|
-
warn("TinyTds v0.4.3 or higher required. Using #{TinyTds::VERSION}") unless TinyTds::Client.instance_methods.map(&:to_s).include?("active?")
|
|
33
32
|
when :odbc
|
|
34
33
|
raise ArgumentError, 'Missing :dsn configuration.' unless config.has_key?(:dsn)
|
|
35
34
|
require 'odbc'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-sqlserver-adapter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.2.
|
|
4
|
+
version: 3.2.10
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,11 +13,11 @@ authors:
|
|
|
13
13
|
autorequire:
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
|
-
date: 2012-
|
|
16
|
+
date: 2012-11-07 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: activerecord
|
|
20
|
-
requirement:
|
|
20
|
+
requirement: !ruby/object:Gem::Requirement
|
|
21
21
|
none: false
|
|
22
22
|
requirements:
|
|
23
23
|
- - ~>
|
|
@@ -25,8 +25,13 @@ dependencies:
|
|
|
25
25
|
version: 3.2.0
|
|
26
26
|
type: :runtime
|
|
27
27
|
prerelease: false
|
|
28
|
-
version_requirements:
|
|
29
|
-
|
|
28
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
29
|
+
none: false
|
|
30
|
+
requirements:
|
|
31
|
+
- - ~>
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 3.2.0
|
|
34
|
+
description: ActiveRecord SQL Server Adapter. For SQL Server 2005 And Higher.
|
|
30
35
|
email: ken@metaskills.net
|
|
31
36
|
executables: []
|
|
32
37
|
extensions: []
|
|
@@ -73,8 +78,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
73
78
|
version: '0'
|
|
74
79
|
requirements: []
|
|
75
80
|
rubyforge_project: activerecord-sqlserver-adapter
|
|
76
|
-
rubygems_version: 1.8.
|
|
81
|
+
rubygems_version: 1.8.24
|
|
77
82
|
signing_key:
|
|
78
83
|
specification_version: 3
|
|
79
|
-
summary: SQL Server
|
|
84
|
+
summary: ActiveRecord SQL Server Adapter. For SQL Server 2005 And Higher.
|
|
80
85
|
test_files: []
|
|
86
|
+
has_rdoc:
|