red-plasma 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/plasma/version.rb +1 -1
- data/red-plasma.gemspec +1 -1
- data/test/helper/plasma-store.rb +7 -0
- data/test/run-test.rb +2 -0
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91f7dcfca7ed13b6b341709b0822022e97175a72e8031ed5e6abc928b623ed63
|
4
|
+
data.tar.gz: 106fbb595ebc0b56b232e76ae06520ee4e92682e8324b87ed82ecb9b25b9a8e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f95b6f99a1d6c4131bea32cd3a70e404241f5d06b1e964fc7969d12a4297168901b1152fdaf914f6dd406449df57a4ad1191b003fe95702e48eefa23ed5a321a
|
7
|
+
data.tar.gz: 5f5fb1b44edb09f3db2b5902ed524a7855141b1de334c48515e35ccde80209c95941820c0325b0ec21b8f2cdf42536cc9850b43f08cc9dbbb6538aeb9aa6266a
|
data/lib/plasma/version.rb
CHANGED
data/red-plasma.gemspec
CHANGED
@@ -41,7 +41,7 @@ Gem::Specification.new do |spec|
|
|
41
41
|
spec.test_files += Dir.glob("test/**/*")
|
42
42
|
spec.extensions = ["dependency-check/Rakefile"]
|
43
43
|
|
44
|
-
spec.add_runtime_dependency("red-arrow")
|
44
|
+
spec.add_runtime_dependency("red-arrow", "= #{spec.version}")
|
45
45
|
|
46
46
|
spec.add_development_dependency("bundler")
|
47
47
|
spec.add_development_dependency("rake")
|
data/test/helper/plasma-store.rb
CHANGED
@@ -44,6 +44,13 @@ module Helper
|
|
44
44
|
def stop
|
45
45
|
return if @pid.nil?
|
46
46
|
Process.kill(:TERM, @pid)
|
47
|
+
timeout = 1
|
48
|
+
limit = Time.now + timeout
|
49
|
+
while Time.now < limit
|
50
|
+
return if Process.waitpid(@pid, Process::WNOHANG)
|
51
|
+
sleep(0.1)
|
52
|
+
end
|
53
|
+
Process.kill(:KILL, @pid)
|
47
54
|
Process.waitpid(@pid)
|
48
55
|
end
|
49
56
|
end
|
data/test/run-test.rb
CHANGED
@@ -28,7 +28,9 @@ lib_dir = base_dir + "lib"
|
|
28
28
|
test_dir = base_dir + "test"
|
29
29
|
|
30
30
|
arrow_lib_dir = arrow_base_dir + "lib"
|
31
|
+
arrow_ext_dir = arrow_base_dir + "ext" + "arrow"
|
31
32
|
|
33
|
+
$LOAD_PATH.unshift(arrow_ext_dir.to_s)
|
32
34
|
$LOAD_PATH.unshift(arrow_lib_dir.to_s)
|
33
35
|
$LOAD_PATH.unshift(lib_dir.to_s)
|
34
36
|
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red-plasma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apache Arrow Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: red-arrow
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.13.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.13.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,12 +108,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
|
-
|
111
|
+
rubyforge_project:
|
112
|
+
rubygems_version: 2.7.6.2
|
112
113
|
signing_key:
|
113
114
|
specification_version: 4
|
114
115
|
summary: Red Plasma is the Ruby bindings of Plasma
|
115
116
|
test_files:
|
116
|
-
- test/test-plasma-client.rb
|
117
117
|
- test/helper.rb
|
118
|
-
- test/helper/plasma-store.rb
|
119
118
|
- test/run-test.rb
|
119
|
+
- test/test-plasma-client.rb
|
120
|
+
- test/helper/plasma-store.rb
|