vertica 1.0.0.rc2 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd8271cb188eef45ec983912494a8ebb72209567
4
- data.tar.gz: 730d859a30f294766df5e0a789ecb79de550771c
3
+ metadata.gz: aab402951b8970d94865215b997c0ec8f25248a9
4
+ data.tar.gz: 9e4744ce64adca5a85f9dff6d3a644fb0c49379e
5
5
  SHA512:
6
- metadata.gz: 504edb900db1f059bb19cb9f619f8d5cf51586bbd8184fb0bfe1bad1f9b208cb49704c21f0e5b2c76de502103035e2f90d7d3086b7dcebc699f5e6b911c2172e
7
- data.tar.gz: 4560a75f5a0f2926cf95f95ea3514b578c7779a082148e3af86b84e22091f392a788f084d46b0bcdda309c6a0040628db9e79e5ff44b28b162815312901b5325
6
+ metadata.gz: 648db786ffdc9ccf6bdfb2d11d23e1e9af57008e1562e1bf5c1ec337d3a5d0962400696a877e97d2d6e57a6c9ef89b8cbba702a231ef9eb0d3a5ec9d11dfba6f
7
+ data.tar.gz: 332b88fdf4b8c9ffaa3268873364a7404311fcc4e21c5345de258c286222c6aa8e268473d19896a93dda9f6eed6f0999b0e56b589ff08a8407477e7183e2c655
data/.yardopts CHANGED
@@ -2,3 +2,4 @@
2
2
  --markup markdown
3
3
  --readme README.md
4
4
  --no-private
5
+ - CHANGELOG.md
@@ -0,0 +1,26 @@
1
+ # Changelog
2
+
3
+ ## Version 1.0.0
4
+
5
+ - Version 1.0 is a complete rewrite of the internals, but should be mostly API compatible
6
+ for the common use cases. However, many internals that were exposed before are now private,
7
+ and cannot be accessed anymore.
8
+ - Rows our now returned as `Vertica::Row` instances, instead of a Hash or Array. You can access
9
+ fields in a `Vertica::Row` using the field index as integer, or field name as String or
10
+ Symbol. The `row_style` option has been removed.
11
+ - The library now uses keyword arguments instead of option hashes. This means that unknown
12
+ options now raise an exception instead of being silently ignored.
13
+ - Properly handle timezones: `timestamp` and `timestamptz` values are now returned as `Time`
14
+ instances, with the timezone set to the connection's timezone.
15
+ - `Time` and `DateTime` values now include microseconds and timezone when passed to
16
+ `Vertica.quote`.
17
+ - Add support for setting the timezone (`timezone: 'America/Toronto'`) and enabling autocommit
18
+ (`autocommit: true`) when initializing a connection.
19
+ - To set the username to use when connecting, set the `username` keyword argument; `user` is
20
+ deprecated.
21
+ - Full support for `long varchar`, and `varbinary`/`bytea` data types.
22
+ - Made the API to support new types much easier to use (see `Vertica::DataType`), and raise
23
+ a more useful exception when encountering a data type that cannot be handled.
24
+ - [Full API documentation](http://www.rubydoc.info/gems/vertica/frames) using yard.
25
+ - Much better unit test and functional test coverage.
26
+ - Support for Ruby 1.9 is dropped.
@@ -46,6 +46,8 @@ class Vertica::Connection
46
46
  # [Vertica documentation for `SET TIME ZONE`](https://my.vertica.com/docs/7.1.x/HTML/Content/Authoring/SQLReferenceManual/Statements/SET/SETTIMEZONE.htm).
47
47
  # @param search_path [Array<String>] A list of schemas to use as search path. See the
48
48
  # [Vertica documentation for `SET SEARCH_PATH`](https://my.vertica.com/docs/7.1.x/HTML/Content/Authoring/SQLReferenceManual/Statements/SET/SETSEARCH_PATH.htm).
49
+ # @param autocommit [Boolean] Enable autocommit on the session. See [the Vertica documentation](https://my.vertica.com/docs/7.1.x/HTML/Content/Authoring/ConnectingToHPVertica/vsql/AUTOCOMMIT.htm)
50
+ # for more information.
49
51
  # @param debug [Boolean] Setting this to true will log all the communication between client and server
50
52
  # to STDOUT. Useful when developing this library.
51
53
  def initialize(host: nil, port: 5433, username: nil, password: nil, database: nil, interruptable: false, ssl: false, read_timeout: 600, debug: false, role: nil, search_path: nil, timezone: nil, autocommit: false, skip_startup: false, skip_initialize: false, user: nil)
@@ -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.rc2"
4
+ VERSION = "1.0.0"
5
5
  end
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.rc2
4
+ version: 1.0.0
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-10 00:00:00.000000000 Z
13
+ date: 2016-07-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
@@ -81,6 +81,7 @@ files:
81
81
  - .gitignore
82
82
  - .travis.yml
83
83
  - .yardopts
84
+ - CHANGELOG.md
84
85
  - Gemfile
85
86
  - LICENSE
86
87
  - README.md
@@ -162,9 +163,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
163
  version: '0'
163
164
  required_rubygems_version: !ruby/object:Gem::Requirement
164
165
  requirements:
165
- - - '>'
166
+ - - '>='
166
167
  - !ruby/object:Gem::Version
167
- version: 1.3.1
168
+ version: '0'
168
169
  requirements: []
169
170
  rubyforge_project:
170
171
  rubygems_version: 2.0.14.1