activerecord-sqlserver-adapter 3.2.3 → 3.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ * 3.2.4 *
3
+
4
+ * Fixed schema reflection for identity columns using ODBC. Fixes #193.
5
+
6
+
2
7
  * 3.2.3 *
3
8
 
4
9
  * Fixed datetime quoting for ActiveSupport::TimeWithZone objects. Fixes #187 and #189.
@@ -235,6 +235,7 @@ module ActiveRecord
235
235
  end
236
236
  ci[:null] = ci[:is_nullable].to_i == 1 ; ci.delete(:is_nullable)
237
237
  ci[:is_primary] = ci[:is_primary].to_i == 1
238
+ ci[:is_identity] = ci[:is_identity].to_i == 1 unless [TrueClass, FalseClass].include?(ci[:is_identity].class)
238
239
  ci
239
240
  end
240
241
  end
@@ -3,7 +3,7 @@ module ActiveRecord
3
3
  module Sqlserver
4
4
  module Version
5
5
 
6
- VERSION = '3.2.3'
6
+ VERSION = '3.2.4'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-sqlserver-adapter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 2
9
- - 3
10
- version: 3.2.3
9
+ - 4
10
+ version: 3.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ken Collins
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2012-04-24 00:00:00 Z
22
+ date: 2012-05-01 00:00:00 Z
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency
25
25
  name: activerecord