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 +4 -4
- data/lib/jvertica/version.rb +1 -1
- data/lib/jvertica.rb +2 -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: 2e53badf563b438fd973cecd8f00ea5f5b1b861b
|
4
|
+
data.tar.gz: 3b08867c727faea7c61db337fa7d9eb61780d4a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c1abbc4d39eeb07c862aadaee532ce6b893fd3cb3d958b5b155c8d9e2e6bd84a3f3000dd2fa95995109ecb4efa349b3b6f88940c49306307f4ab95c3c39b675
|
7
|
+
data.tar.gz: 6b29d7743b8aa84aec08ec8749cb668cf3e97f4f753b97c9002e96690b50f3a57bba9e2ae9e15ede3674563a502b396e565438fcf46ed769e03a5ddd00547860
|
data/lib/jvertica/version.rb
CHANGED
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.
|
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-
|
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
|