activerecord-sqlserver-adapter 4.1.0 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/active_record/connection_adapters/sqlserver_adapter.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a8005045891583dc51df339c0137aa77280cb60
|
4
|
+
data.tar.gz: 96a85f72bf66aa7e889eb5c8bc56d127a281828d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85b940e7772633f8f4b2aa2300d349b184b413ccfbfe752154ab1170139ca38492f5d4be084c87a5885a24ff5ff7900a1606a25c089e5e6ede4d7a11eb4ffbbb
|
7
|
+
data.tar.gz: 47a9efe0cf5282b91beceb8cfa894cb1a71cdfae8336bfb7a4452271c6664b1d0176a7e62d4b8d0675ce93b7478918e57ae013b4a99f1c6f77de58152e6dc2d2
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.1.
|
1
|
+
4.1.1
|
@@ -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]
|
40
|
+
SUPPORTED_VERSIONS = [2005, 2008, 2010, 2011, 2012, 2014]
|
41
41
|
|
42
42
|
attr_reader :database_version, :database_year, :spid, :product_level, :product_version, :edition
|
43
43
|
|
@@ -204,6 +204,10 @@ module ActiveRecord
|
|
204
204
|
@database_year == 2012
|
205
205
|
end
|
206
206
|
|
207
|
+
def sqlserver_2014?
|
208
|
+
@database_year == 2014
|
209
|
+
end
|
210
|
+
|
207
211
|
def sqlserver_azure?
|
208
212
|
@sqlserver_azure
|
209
213
|
end
|
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.1
|
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: 2015-08-20 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: activerecord
|
@@ -98,7 +98,7 @@ 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.
|
101
|
+
rubygems_version: 2.4.8
|
102
102
|
signing_key:
|
103
103
|
specification_version: 4
|
104
104
|
summary: ActiveRecord SQL Server Adapter. For SQL Server 2005 And Higher.
|