activerecord-sqlserver-adapter 4.2.17 → 4.2.18

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f3710cca4199d458c3582679a22346641e2ea3a
4
- data.tar.gz: cd58d819ea28e6a1acfd168c5f9d3720e3d3a53b
3
+ metadata.gz: 4eb1ede5c52973fc2c07ff98cfee35184cc3483e
4
+ data.tar.gz: f1768ab4fe695c1df94866ba410d61089d2f2856
5
5
  SHA512:
6
- metadata.gz: f40dffb58641d640658c7750bfcedfe3fb35a65d7d029ed66c53701b65766a8b9ed9da63eb0442905a174343881e594a4dd8aaf00a4390ca2487b00368c16c2e
7
- data.tar.gz: f6bf0939e3a0cd7c1480839675fc8a57ae376985413fa73c6f137682ba329566b9187699efbb8762c82582ae4e9ead22fd08dc8915dc7b947bd3087012f1c21b
6
+ metadata.gz: aa9efe107a1d4f7dc54ff51aadb18294b0fe4253f4c7ea65a8422c6398d745ade47ec2dec267bc448d1374b4560c46ef4c22f2443c704a586aa7280b0feabac5
7
+ data.tar.gz: 92dd7a83f46cd84154d8fcbe4eb5479f26c2474699c2e052cf0c41015401e05ef23bf685169a1b8fa1250107d7abd94fab05387a45885460ff95409ae83ca8de
@@ -1,3 +1,14 @@
1
+ ## v4.2.18
2
+
3
+ ## Fixed
4
+
5
+ * Add `WITH NO_INFOMSGS` to `user_options` method. Fixes #580
6
+
7
+ #### Changed
8
+
9
+ * Pass the `:contained` option to TinyTDS. Fixes #527
10
+
11
+
1
12
  ## v4.2.17
2
13
 
3
14
  #### Changed
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.2.17
1
+ 4.2.18
@@ -154,7 +154,7 @@ module ActiveRecord
154
154
 
155
155
  def user_options
156
156
  return {} if sqlserver_azure?
157
- rows = select_rows('dbcc useroptions', 'SCHEMA')
157
+ rows = select_rows('DBCC USEROPTIONS WITH NO_INFOMSGS', 'SCHEMA')
158
158
  rows = rows.first if rows.size == 2 && rows.last.empty?
159
159
  rows.reduce(HashWithIndifferentAccess.new) do |values, row|
160
160
  if row.instance_of? Hash
@@ -327,7 +327,8 @@ module ActiveRecord
327
327
  login_timeout: config_login_timeout(config),
328
328
  timeout: config_timeout(config),
329
329
  encoding: config_encoding(config),
330
- azure: config[:azure]
330
+ azure: config[:azure],
331
+ contained: config[:contained]
331
332
  ).tap do |client|
332
333
  if config[:azure]
333
334
  client.execute('SET ANSI_NULLS ON').do
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.17
4
+ version: 4.2.18
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-31 00:00:00.000000000 Z
17
+ date: 2017-03-26 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: activerecord
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  version: '0'
195
195
  requirements: []
196
196
  rubyforge_project:
197
- rubygems_version: 2.6.4
197
+ rubygems_version: 2.6.8
198
198
  signing_key:
199
199
  specification_version: 4
200
200
  summary: ActiveRecord SQL Server Adapter.