activerecord-jdbcvertica-adapter 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/activerecord-jdbcvertica-adapter/version.rb +1 -1
- data/lib/arjdbc/vertica/adapter.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 454d94966226db1cd68acd272a7499277c5540dc
|
4
|
+
data.tar.gz: 3dba16656245e7b90a9832debf8c0644f706984a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 676cc00f7c9007fa8defcb266ecaf59b14a9e2106f47f19e0176d6bc5fa75d8d25ebe3a9b96dbbd503c44951e75a7007259e6628191c81d4ece9ef1a7f6d3423
|
7
|
+
data.tar.gz: d62b44dff401527dd8248b227e233687aafc74bce03eb65723b7123ce295b42feca119f5ed38cd8426a5b1f11f4c6e921873c8af896507d90415143d26841bb6
|
@@ -199,7 +199,7 @@ module ::ArJdbc
|
|
199
199
|
return @primary_keys[table_name] if @primary_keys[table_name]
|
200
200
|
|
201
201
|
keys = self.execute("SELECT column_name FROM v_catalog.primary_keys WHERE table_name = '#{table_name}';")
|
202
|
-
@primary_keys[table_name] = [ keys.first['column_name'] ]
|
202
|
+
@primary_keys[table_name] = [ keys.first && keys.first['column_name'] ]
|
203
203
|
@primary_keys[table_name]
|
204
204
|
end
|
205
205
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-jdbcvertica-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Dewitt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|