jvertica 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jvertica/version.rb +1 -1
- data/lib/jvertica.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b20c0ef9e1c5ff50fa51dd0b7cc61a475d57352d
|
4
|
+
data.tar.gz: 2d8cb6619767070d8d646339cfc5c9194145b6a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad1f5e053ad48b24b290472c3f73dad8714245e55644efbeab5fd21dfbf89b0578bbdbd42ba3800eaa5851979280e1b5d7c02584ea4d00a1a54ee8a1f9851449
|
7
|
+
data.tar.gz: 0bf3ce3ea787102a7d4588d512d86bf934512947a203d0d220b67b9fd5203b75eb6fa6ef0ceb9158c44d8abba729f2eecb18d7552c48fc1abdece8eca7114150
|
data/lib/jvertica/version.rb
CHANGED
data/lib/jvertica.rb
CHANGED
@@ -110,7 +110,7 @@ class Jvertica
|
|
110
110
|
|
111
111
|
def copy query, source = nil, &blk
|
112
112
|
raise InvalidQuery.new('can use only "copy".') unless %r{\A\s*copy}miu === query
|
113
|
-
if !source.nil?
|
113
|
+
if !source.nil? or block_given?
|
114
114
|
copy_stream(query, source, &blk)
|
115
115
|
else
|
116
116
|
[query(query), nil]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- takahiro.nakayama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|