vertica 0.9.0.beta8 → 0.9.0.beta9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/vertica/connection.rb +6 -4
  3. metadata +5 -5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.0.beta8
1
+ 0.9.0.beta9
@@ -50,7 +50,7 @@ class Vertica::Connection
50
50
  end
51
51
 
52
52
  def ssl?
53
- socket.kind_of?(OpenSSL::SSL::SSLSocket)
53
+ Object.const_defined?('OpenSSL') && socket.kind_of?(OpenSSL::SSL::SSLSocket)
54
54
  end
55
55
 
56
56
  def opened?
@@ -84,9 +84,11 @@ class Vertica::Connection
84
84
  reset_values
85
85
  end
86
86
 
87
- def reset
88
- close if opened?
89
- reset_values
87
+ def reset_connection
88
+ close
89
+
90
+ startup_connection
91
+ initialize_connection
90
92
  end
91
93
 
92
94
  def cancel
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vertica
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0.beta8
4
+ version: 0.9.0.beta9
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ date: 2012-02-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rake
18
- requirement: &2157181100 !ruby/object:Gem::Requirement
18
+ requirement: &2164945780 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: '0'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *2157181100
26
+ version_requirements: *2164945780
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jeweler
29
- requirement: &2157194780 !ruby/object:Gem::Requirement
29
+ requirement: &2164959520 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *2157194780
37
+ version_requirements: *2164959520
38
38
  description: Query Vertica with ruby
39
39
  email: sprsquish@gmail.com
40
40
  executables: []