jvertica 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/example/copy.rb +1 -2
- data/jvertica.gemspec +2 -2
- data/lib/jvertica/version.rb +1 -1
- data/lib/jvertica.rb +1 -4
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5621f7030c3292cb6df477676201211a0ccead25
|
4
|
+
data.tar.gz: b6f8bc1ea53f2fcda33710348837aee5b529c759
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f74d77760ed9e90405c1c8d9f85246b65a137cfa1ff8e034e889139fe92158f4e501e531b34d8da164cbfc99222b2346a94a64a3171553ef0d87c5ff2832b90f
|
7
|
+
data.tar.gz: 63dd22953040bf0add918624679f8ec1d99c24b1473f24b65583264647701574db2b303246e6343a594e6f9bdeec0057f967e4824510d7078e1de345ef985e98
|
data/example/copy.rb
CHANGED
@@ -16,8 +16,7 @@ params = {
|
|
16
16
|
puts params
|
17
17
|
|
18
18
|
vertica = Jvertica.connect(params)
|
19
|
-
vertica.query("
|
20
|
-
vertica.query("CREATE TABLE sandbox.jvertica_test (id integer, str varchar(80))")
|
19
|
+
vertica.query("CREATE TABLE IF NOT EXISTS sandbox.jvertica_test (id integer, str varchar(80))")
|
21
20
|
vertica.copy("COPY sandbox.jvertica_test FROM STDIN PARSER fjsonparser() NO COMMIT") do |io|
|
22
21
|
File.open(File.expand_path('../data.json', __FILE__), 'r') do |f|
|
23
22
|
begin
|
data/jvertica.gemspec
CHANGED
@@ -6,8 +6,8 @@ require 'jvertica/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "jvertica"
|
8
8
|
spec.version = Jvertica::VERSION
|
9
|
-
spec.authors = ["takahiro.nakayama"]
|
10
|
-
spec.email = ["civitaspo@gmail.com"]
|
9
|
+
spec.authors = ["takahiro.nakayama", "Naotoshi Seo"]
|
10
|
+
spec.email = ["civitaspo@gmail.com", "sonots@gmail.com"]
|
11
11
|
spec.summary = %q{jvertica}
|
12
12
|
spec.description = %q{jvertica presents wrapper methods of jdbc-vertica java native methods.}
|
13
13
|
spec.homepage = "https://github.com/civitaspo/jvertica"
|
data/lib/jvertica/version.rb
CHANGED
data/lib/jvertica.rb
CHANGED
@@ -42,7 +42,7 @@ class Jvertica
|
|
42
42
|
|
43
43
|
@connection =
|
44
44
|
begin
|
45
|
-
|
45
|
+
com.vertica.jdbc.Driver.new.connect("jdbc:vertica://#{host}:#{port}/#{database}", prop)
|
46
46
|
rescue => e
|
47
47
|
raise ConnectionError.new(
|
48
48
|
"Connection Failed.\n" <<
|
@@ -128,9 +128,6 @@ class Jvertica
|
|
128
128
|
|
129
129
|
private
|
130
130
|
|
131
|
-
class DriverManager < java.sql.DriverManager
|
132
|
-
end
|
133
|
-
|
134
131
|
class Properties < java.util.Properties
|
135
132
|
end
|
136
133
|
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
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.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- takahiro.nakayama
|
8
|
+
- Naotoshi Seo
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
12
|
+
date: 2015-06-25 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -83,6 +84,7 @@ dependencies:
|
|
83
84
|
description: jvertica presents wrapper methods of jdbc-vertica java native methods.
|
84
85
|
email:
|
85
86
|
- civitaspo@gmail.com
|
87
|
+
- sonots@gmail.com
|
86
88
|
executables: []
|
87
89
|
extensions: []
|
88
90
|
extra_rdoc_files: []
|