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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 88c8704ccf7c18a244fb6af879990db16daf40d2
4
- data.tar.gz: f7d8bad1456300700ba6df3ce53fa50a24d17d48
3
+ metadata.gz: 454d94966226db1cd68acd272a7499277c5540dc
4
+ data.tar.gz: 3dba16656245e7b90a9832debf8c0644f706984a
5
5
  SHA512:
6
- metadata.gz: 64ed60299c0987668a3eef2eef701ab587b060f60c283dc872a20ae8ee20ab8c8ddabe851d095a1590220d309dc919c8603f6e8ac0be361776473d46ff8e51fa
7
- data.tar.gz: a6ea610ee63e61594e4f79bac8fb988abf526b3fdff7f595ddfa809048c9d4afc075d5e43aa10ccab66e819e024b77ff2df96a0d2d4cb55dde6f072b62410665
6
+ metadata.gz: 676cc00f7c9007fa8defcb266ecaf59b14a9e2106f47f19e0176d6bc5fa75d8d25ebe3a9b96dbbd503c44951e75a7007259e6628191c81d4ece9ef1a7f6d3423
7
+ data.tar.gz: d62b44dff401527dd8248b227e233687aafc74bce03eb65723b7123ce295b42feca119f5ed38cd8426a5b1f11f4c6e921873c8af896507d90415143d26841bb6
@@ -1,7 +1,7 @@
1
1
  module Activerecord
2
2
  module Jdbcvertica
3
3
  module Adapter
4
- VERSION = "0.0.9"
4
+ VERSION = "0.1.0"
5
5
  end
6
6
  end
7
7
  end
@@ -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.9
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-01-15 00:00:00.000000000 Z
11
+ date: 2014-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord