jvertica 0.2.0 → 0.2.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: 1a6ffa844844713a37b94069b96c6826ebb4105e
4
- data.tar.gz: 3ea2ee859b704e11d030f343b1d1e99926f3051a
3
+ metadata.gz: 684ee3e315b2f6d2cf9bf3455e2b57f6eef2a9a0
4
+ data.tar.gz: ac8671dfa8d194bac352574fcc5c00fcbb09b8b5
5
5
  SHA512:
6
- metadata.gz: e7f12c1edb36ba819143feeca77c5cb137087c282076f667ea7583ba74a1fb7cf1324b979020c0744f7f3a7c1c40f4560d16e25b303a531138f878f40aa351ff
7
- data.tar.gz: d348a5a11fbbfc5cc6f8aee07c27a2b851f141a02a456b7ed8fe469f1e0ba66532fd886cf1b24ae695d06ddd97785b10f4054ca3a520b212ab88d43b80bd25c1
6
+ metadata.gz: 453de528b657fbe07c94eeec801980762b763732e5b0dd35c31ac636433031cc4fc7f2d3fb73d0b6025e24cf1b6bcff872e50aa01d760e984b773513b639aa20
7
+ data.tar.gz: 9faee88343057662d59dcdb9846f015fcccfd1e1aecc84b74e8334241c3577075aa6389c0163682d35769f04401a235e62233cf20d7bc1c8de5f182645f696ea
@@ -1,3 +1,3 @@
1
1
  class Jvertica
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
data/lib/jvertica.rb CHANGED
@@ -181,11 +181,12 @@ class Jvertica
181
181
 
182
182
  if block_given?
183
183
  i, o = IO.pipe
184
+ copy_stream_thread = Thread.current
184
185
  thread = Thread.new do
185
186
  begin
186
187
  yield(o)
187
188
  rescue => e
188
- Thread.main.raise e
189
+ copy_stream_thread.raise e
189
190
  end
190
191
  o.close
191
192
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jvertica
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - takahiro.nakayama
@@ -9,78 +9,78 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-25 00:00:00.000000000 Z
12
+ date: 2016-01-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ version_requirements: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '1.7'
15
21
  requirement: !ruby/object:Gem::Requirement
16
22
  requirements:
17
- - - ~>
23
+ - - "~>"
18
24
  - !ruby/object:Gem::Version
19
25
  version: '1.7'
20
- name: bundler
21
26
  prerelease: false
22
27
  type: :development
28
+ - !ruby/object:Gem::Dependency
29
+ name: rake
23
30
  version_requirements: !ruby/object:Gem::Requirement
24
31
  requirements:
25
- - - ~>
32
+ - - "~>"
26
33
  - !ruby/object:Gem::Version
27
- version: '1.7'
28
- - !ruby/object:Gem::Dependency
34
+ version: '10.0'
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - ~>
37
+ - - "~>"
32
38
  - !ruby/object:Gem::Version
33
39
  version: '10.0'
34
- name: rake
35
40
  prerelease: false
36
41
  type: :development
42
+ - !ruby/object:Gem::Dependency
43
+ name: rspec
37
44
  version_requirements: !ruby/object:Gem::Requirement
38
45
  requirements:
39
- - - ~>
46
+ - - ">="
40
47
  - !ruby/object:Gem::Version
41
- version: '10.0'
42
- - !ruby/object:Gem::Dependency
48
+ version: '0'
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - '>='
51
+ - - ">="
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
- name: rspec
49
54
  prerelease: false
50
55
  type: :development
56
+ - !ruby/object:Gem::Dependency
57
+ name: dotenv
51
58
  version_requirements: !ruby/object:Gem::Requirement
52
59
  requirements:
53
- - - '>='
60
+ - - ">="
54
61
  - !ruby/object:Gem::Version
55
62
  version: '0'
56
- - !ruby/object:Gem::Dependency
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
- - - '>='
65
+ - - ">="
60
66
  - !ruby/object:Gem::Version
61
67
  version: '0'
62
- name: dotenv
63
68
  prerelease: false
64
69
  type: :development
70
+ - !ruby/object:Gem::Dependency
71
+ name: jdbc-vertica
65
72
  version_requirements: !ruby/object:Gem::Requirement
66
73
  requirements:
67
- - - '>='
74
+ - - ">="
68
75
  - !ruby/object:Gem::Version
69
76
  version: '0'
70
- - !ruby/object:Gem::Dependency
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
- - - '>='
79
+ - - ">="
74
80
  - !ruby/object:Gem::Version
75
81
  version: '0'
76
- name: jdbc-vertica
77
82
  prerelease: false
78
83
  type: :runtime
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - '>='
82
- - !ruby/object:Gem::Version
83
- version: '0'
84
84
  description: jvertica presents wrapper methods of jdbc-vertica java native methods.
85
85
  email:
86
86
  - civitaspo@gmail.com
@@ -89,9 +89,9 @@ executables: []
89
89
  extensions: []
90
90
  extra_rdoc_files: []
91
91
  files:
92
- - .gitignore
93
- - .rspec
94
- - .travis.yml
92
+ - ".gitignore"
93
+ - ".rspec"
94
+ - ".travis.yml"
95
95
  - Gemfile
96
96
  - LICENSE.txt
97
97
  - README.md
@@ -118,17 +118,17 @@ require_paths:
118
118
  - lib
119
119
  required_ruby_version: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - '>='
121
+ - - ">="
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  requirements:
126
- - - '>='
126
+ - - ">="
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
- rubygems_version: 2.4.5
131
+ rubygems_version: 2.4.8
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: jvertica