activerecord-sqlserver-adapter 4.1.2 → 4.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b851975c88c2b2810d1f45ee1b9ee0b8dc9b46d1
|
4
|
+
data.tar.gz: 41f1bf0aafd2ebe9437b628654883124c41bfef2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55213f6889c0842689a286835cb48186e857c89ecf1b45a1a3a284bbbec7afa5c5c711d849a80f2454ead1d930250028f51b4e2570c4825bd343f9eaa1d0c32a
|
7
|
+
data.tar.gz: 4daa2a36923f7cc8b0684380bbb1a7fbd94b0389b7c640d149c109a3e2f0b38329fc4565b8f816e3de1a5b44883ab9811468ca87e0cb6414feda8e95f6fb10f8
|
data/CHANGELOG
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.1.
|
1
|
+
4.1.4
|
@@ -31,12 +31,13 @@ module ActiveRecord
|
|
31
31
|
else
|
32
32
|
name = index[:index_name]
|
33
33
|
unique = index[:index_description] =~ /unique/
|
34
|
+
where = select_value("SELECT [filter_definition] FROM sys.indexes WHERE name = #{quote(name)}")
|
34
35
|
columns = index[:index_keys].split(',').map do |column|
|
35
36
|
column.strip!
|
36
37
|
column.gsub! '(-)', '' if column.ends_with?('(-)')
|
37
38
|
column
|
38
39
|
end
|
39
|
-
indexes << IndexDefinition.new(table_name, name, unique, columns)
|
40
|
+
indexes << IndexDefinition.new(table_name, name, unique, columns, nil, nil, where)
|
40
41
|
end
|
41
42
|
end
|
42
43
|
end
|
@@ -37,7 +37,7 @@ module ActiveRecord
|
|
37
37
|
VERSION = File.read(File.expand_path('../../../../VERSION', __FILE__)).strip
|
38
38
|
ADAPTER_NAME = 'SQLServer'.freeze
|
39
39
|
DATABASE_VERSION_REGEXP = /Microsoft SQL Server\s+"?(\d{4}|\w+)"?/
|
40
|
-
SUPPORTED_VERSIONS = [2005, 2008, 2010, 2011, 2012, 2014]
|
40
|
+
SUPPORTED_VERSIONS = [2005, 2008, 2010, 2011, 2012, 2014, 2016]
|
41
41
|
|
42
42
|
attr_reader :database_version, :database_year, :spid, :product_level, :product_version, :edition
|
43
43
|
|
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.1.
|
4
|
+
version: 4.1.4
|
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:
|
17
|
+
date: 2016-10-20 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: activerecord
|
@@ -98,8 +98,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
requirements: []
|
100
100
|
rubyforge_project: activerecord-sqlserver-adapter
|
101
|
-
rubygems_version: 2.4.
|
101
|
+
rubygems_version: 2.4.5.1
|
102
102
|
signing_key:
|
103
103
|
specification_version: 4
|
104
104
|
summary: ActiveRecord SQL Server Adapter. For SQL Server 2005 And Higher.
|
105
105
|
test_files: []
|
106
|
+
has_rdoc:
|