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 +4 -4
- data/.yardopts +1 -0
- data/CHANGELOG.md +26 -0
- data/lib/vertica/connection.rb +2 -0
- data/lib/vertica/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aab402951b8970d94865215b997c0ec8f25248a9
|
4
|
+
data.tar.gz: 9e4744ce64adca5a85f9dff6d3a644fb0c49379e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 648db786ffdc9ccf6bdfb2d11d23e1e9af57008e1562e1bf5c1ec337d3a5d0962400696a877e97d2d6e57a6c9ef89b8cbba702a231ef9eb0d3a5ec9d11dfba6f
|
7
|
+
data.tar.gz: 332b88fdf4b8c9ffaa3268873364a7404311fcc4e21c5345de258c286222c6aa8e268473d19896a93dda9f6eed6f0999b0e56b589ff08a8407477e7183e2c655
|
data/.yardopts
CHANGED
data/CHANGELOG.md
ADDED
@@ -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.
|
data/lib/vertica/connection.rb
CHANGED
@@ -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)
|
data/lib/vertica/version.rb
CHANGED
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.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-
|
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:
|
168
|
+
version: '0'
|
168
169
|
requirements: []
|
169
170
|
rubyforge_project:
|
170
171
|
rubygems_version: 2.0.14.1
|