jvertica 0.1.2 → 0.1.3

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: ab5f8736cac99b5044af9d9531657ead41aba91c
4
- data.tar.gz: 868c7a7cea4c09c0e8a5d87a356caa51bf4513f8
3
+ metadata.gz: 2e53badf563b438fd973cecd8f00ea5f5b1b861b
4
+ data.tar.gz: 3b08867c727faea7c61db337fa7d9eb61780d4a9
5
5
  SHA512:
6
- metadata.gz: be5c17f9209573075175bf89d3934a157706f7e749618e566249b09ce4481c3faa1c5e900b16f99a9bbf8f88371b314ec7d359e303c08b020b63229662fad20b
7
- data.tar.gz: 8c3ca41bf17333e44c6a6d4395f91181a3c93f68a50df845e83655bd4d1776cc15d4f541dfb603da486e3b6cf216755738101fd87136224b803a188caf4ba54c
6
+ metadata.gz: 2c1abbc4d39eeb07c862aadaee532ce6b893fd3cb3d958b5b155c8d9e2e6bd84a3f3000dd2fa95995109ecb4efa349b3b6f88940c49306307f4ab95c3c39b675
7
+ data.tar.gz: 6b29d7743b8aa84aec08ec8749cb668cf3e97f4f753b97c9002e96690b50f3a57bba9e2ae9e15ede3674563a502b396e565438fcf46ed769e03a5ddd00547860
@@ -1,3 +1,3 @@
1
1
  class Jvertica
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/jvertica.rb CHANGED
@@ -39,12 +39,13 @@ class Jvertica
39
39
 
40
40
  @connection = begin
41
41
  DriverManager.getConnection "jdbc:vertica://#{host}:#{port}/#{database}", prop
42
- @closed = false
43
42
  rescue => e
44
43
  raise ConnectionError.new("Connection Failed.\n" +
45
44
  "Error Message => #{e.message}\n" +
46
45
  "see documentation => #{Constant::CONNECTION_PROPERTY_DOCUMENT_URL}\n")
47
46
  end
47
+ @closed = false
48
+ @connection
48
49
  end
49
50
 
50
51
  def closed?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jvertica
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - takahiro.nakayama
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-16 00:00:00.000000000 Z
11
+ date: 2014-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement