activerecord-sqlserver-adapter 4.2.16 → 4.2.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/VERSION +1 -1
- data/lib/active_record/connection_adapters/sqlserver/database_statements.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f3710cca4199d458c3582679a22346641e2ea3a
|
4
|
+
data.tar.gz: cd58d819ea28e6a1acfd168c5f9d3720e3d3a53b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f40dffb58641d640658c7750bfcedfe3fb35a65d7d029ed66c53701b65766a8b9ed9da63eb0442905a174343881e594a4dd8aaf00a4390ca2487b00368c16c2e
|
7
|
+
data.tar.gz: f6bf0939e3a0cd7c1480839675fc8a57ae376985413fa73c6f137682ba329566b9187699efbb8762c82582ae4e9ead22fd08dc8915dc7b947bd3087012f1c21b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.2.
|
1
|
+
4.2.17
|
@@ -154,7 +154,9 @@ module ActiveRecord
|
|
154
154
|
|
155
155
|
def user_options
|
156
156
|
return {} if sqlserver_azure?
|
157
|
-
select_rows('dbcc useroptions', 'SCHEMA')
|
157
|
+
rows = select_rows('dbcc useroptions', 'SCHEMA')
|
158
|
+
rows = rows.first if rows.size == 2 && rows.last.empty?
|
159
|
+
rows.reduce(HashWithIndifferentAccess.new) do |values, row|
|
158
160
|
if row.instance_of? Hash
|
159
161
|
set_option = row.values[0].gsub(/\s+/, '_')
|
160
162
|
user_value = row.values[1]
|
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: 4.2.
|
4
|
+
version: 4.2.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Collins
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2017-01-
|
17
|
+
date: 2017-01-31 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: activerecord
|