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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1769be5dc11de446932e700fa5d565eedd0acb13
4
- data.tar.gz: a27fc285acdf1b2d18c464effb4251a6a657106d
3
+ metadata.gz: 2a8005045891583dc51df339c0137aa77280cb60
4
+ data.tar.gz: 96a85f72bf66aa7e889eb5c8bc56d127a281828d
5
5
  SHA512:
6
- metadata.gz: bbb747777f956819b3c0f74e0c50d144462a11736416a66cc09d34214195583c6fb1e1d120599e6d5b7212238a7dc89d7c4f0fcaa456bae7e2b45d924fb90087
7
- data.tar.gz: 2520b82a442e5dd2dceb78731a8689251bdcc50bc40c2d58b955330b39a16d98b64b08de54d10afc72292fa36a7ccc5a74092167a9f01fee82ab03b942c068da
6
+ metadata.gz: 85b940e7772633f8f4b2aa2300d349b184b413ccfbfe752154ab1170139ca38492f5d4be084c87a5885a24ff5ff7900a1606a25c089e5e6ede4d7a11eb4ffbbb
7
+ data.tar.gz: 47a9efe0cf5282b91beceb8cfa894cb1a71cdfae8336bfb7a4452271c6664b1d0176a7e62d4b8d0675ce93b7478918e57ae013b4a99f1c6f77de58152e6dc2d2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.1.0
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.0
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: 2014-05-23 00:00:00.000000000 Z
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.2.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.