vertica 1.0.0 → 1.0.1

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: aab402951b8970d94865215b997c0ec8f25248a9
4
- data.tar.gz: 9e4744ce64adca5a85f9dff6d3a644fb0c49379e
3
+ metadata.gz: df3c0da7b3f06ebefc1510848802b932c951a289
4
+ data.tar.gz: 2ad214b56cf565eae9ae3d4c56dfdac202fece83
5
5
  SHA512:
6
- metadata.gz: 648db786ffdc9ccf6bdfb2d11d23e1e9af57008e1562e1bf5c1ec337d3a5d0962400696a877e97d2d6e57a6c9ef89b8cbba702a231ef9eb0d3a5ec9d11dfba6f
7
- data.tar.gz: 332b88fdf4b8c9ffaa3268873364a7404311fcc4e21c5345de258c286222c6aa8e268473d19896a93dda9f6eed6f0999b0e56b589ff08a8407477e7183e2c655
6
+ metadata.gz: 32f0269fcdc0e18f4a75b2cd515eddf85805e8f28f12b05a570e5227cc99152a46ef2e55560e4ab038fcdb359858ad19611319aa7bbc7faaf001a3598e897219
7
+ data.tar.gz: 21057ff1fd1aeb04b52de43c2a5f8e6d6ebc32d4e757608dc8dbba4f237f78ee2a8b828dadecb35893a358c6f68902e6cc65bf08eaa9bcee54fc722293bfa620
data/.travis.yml CHANGED
@@ -7,6 +7,8 @@ rvm:
7
7
  - jruby-9.1.1.0
8
8
  - jruby-head
9
9
  - ruby-head
10
+ env:
11
+ - VERTICA_SERVER_SUPPORTS_SSL=true
10
12
 
11
13
  matrix:
12
14
  allow_failures:
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## Version 1.0.1
4
+
5
+ - Fix an issue that made connecting over SSL not work.
6
+
3
7
  ## Version 1.0.0
4
8
 
5
9
  - Version 1.0 is a complete rewrite of the internals, but should be mostly API compatible
data/README.md CHANGED
@@ -29,6 +29,8 @@ Now, run `bundle install`.
29
29
 
30
30
  ## Usage
31
31
 
32
+ See the [API Documentation](http://www.rubydoc.info/gems/vertica) for a full reference of the API. Examples of basic use cases are below
33
+
32
34
  ### Connecting
33
35
 
34
36
  The `Vertica.connect` methods takes keyword arguments and returns a connection
@@ -170,7 +172,7 @@ Travis CI against Vertica 7 CE, and against several Ruby versions.
170
172
  ### See also
171
173
 
172
174
  * [Website](http://vanbergen.org/vertica)
173
- * [API Documentation](http://www.rubydoc.info/gems/vertica/frames)
175
+ * [API Documentation](http://www.rubydoc.info/gems/vertica)
174
176
  * [Vertica documentation](https://my.vertica.com/docs/7.1.x/HTML/index.htm)
175
177
  * [sequel-vertica](https://github.com/camilo/sequel-vertica): Sequel integration
176
178
  * [newrelic-vertica](https://github.com/wvanbergen/newrelic-vertica): NewRelic monitoring of queries
@@ -3,7 +3,7 @@ module Vertica
3
3
  class SslRequest < FrontendMessage
4
4
  message_id nil
5
5
 
6
- def to_bytes
6
+ def message_body
7
7
  [80877103].pack('N')
8
8
  end
9
9
  end
@@ -1,5 +1,5 @@
1
1
  module Vertica
2
2
  # The version of the package. We adhere to semantic versioning.
3
3
  # To release a new version, update this constant, commit to master, and run `rake release`
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
@@ -19,7 +19,11 @@ class FunctionalConnectionTest < Minitest::Test
19
19
  refute connection.ssl?
20
20
 
21
21
  rescue Vertica::Error::SSLNotSupported
22
- puts "\nThe test server doesn't support SSL, so SSL connections could not be tested."
22
+ if ENV['VERTICA_SERVER_SUPPORTS_SSL']
23
+ raise
24
+ else
25
+ puts "\nThe test server doesn't support SSL, so SSL connections could not be tested."
26
+ end
23
27
  end
24
28
 
25
29
  def test_interruptable_connection
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: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Smick
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-07-13 00:00:00.000000000 Z
13
+ date: 2016-10-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake