red-plasma 0.15.1 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -3
- data/lib/plasma/version.rb +1 -1
- data/test/helper/plasma-store.rb +1 -1
- data/test/run-test.rb +8 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d43f78499978ea26358d36ab78823d561ca00f413b9602bfa0eb917f5c90b14a
|
4
|
+
data.tar.gz: c751f8423b785d9e37e568757fb5ea526bfc0c3dd58cee6ebb76960d0898d515
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e44eb8fd78769477e9607a78b7222f25f539eae353e567f9a97553ebdd939f8cd2a66f6d4706e7a21fc0b7b27b30db431e777ec394e0063821aa315cbbba91c0
|
7
|
+
data.tar.gz: 1d28d98440a15fcb0ec0e0489dde98bfe792b8e0be1d1b4698ac2a1f84c0d52eafa64a29b017e5b5a2fa4facfe0e7a499c60ea50962907264416abd5f27aa36c
|
data/Rakefile
CHANGED
@@ -30,10 +30,12 @@ release_task.prerequisites.replace(["build", "release:rubygem_push"])
|
|
30
30
|
|
31
31
|
desc "Run tests"
|
32
32
|
task :test do
|
33
|
-
cd(
|
34
|
-
|
33
|
+
cd(base_dir) do
|
34
|
+
cd("dependency-check") do
|
35
|
+
ruby("-S", "rake")
|
36
|
+
end
|
37
|
+
ruby("test/run-test.rb")
|
35
38
|
end
|
36
|
-
ruby("test/run-test.rb")
|
37
39
|
end
|
38
40
|
|
39
41
|
task default: :test
|
data/lib/plasma/version.rb
CHANGED
data/test/helper/plasma-store.rb
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
module Helper
|
19
19
|
class PlasmaStore
|
20
20
|
def initialize(options={})
|
21
|
-
@path = `pkg-config --variable=
|
21
|
+
@path = `pkg-config --variable=plasma_store_server plasma`.chomp
|
22
22
|
@memory_size = options[:memory_size] || 1024 * 1024
|
23
23
|
@socket_file = Tempfile.new(["plasma-store", ".sock"])
|
24
24
|
@socket_file.close
|
data/test/run-test.rb
CHANGED
@@ -34,7 +34,14 @@ test_dir = base_dir + "test"
|
|
34
34
|
arrow_lib_dir = arrow_base_dir + "lib"
|
35
35
|
arrow_ext_dir = arrow_base_dir + "ext" + "arrow"
|
36
36
|
|
37
|
-
|
37
|
+
build_dir = ENV["BUILD_DIR"]
|
38
|
+
if build_dir
|
39
|
+
arrow_build_dir = Pathname.new(build_dir) + "red-arrow"
|
40
|
+
else
|
41
|
+
arrow_build_dir = arrow_ext_dir
|
42
|
+
end
|
43
|
+
|
44
|
+
$LOAD_PATH.unshift(arrow_build_dir.to_s)
|
38
45
|
$LOAD_PATH.unshift(arrow_lib_dir.to_s)
|
39
46
|
$LOAD_PATH.unshift(lib_dir.to_s)
|
40
47
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red-plasma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apache Arrow Developers
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: red-arrow
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 1.0.1
|
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: 0.
|
26
|
+
version: 1.0.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,7 +94,7 @@ homepage: https://arrow.apache.org/
|
|
94
94
|
licenses:
|
95
95
|
- Apache-2.0
|
96
96
|
metadata: {}
|
97
|
-
post_install_message:
|
97
|
+
post_install_message:
|
98
98
|
rdoc_options: []
|
99
99
|
require_paths:
|
100
100
|
- lib
|
@@ -109,8 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
|
-
rubygems_version: 3.
|
113
|
-
signing_key:
|
112
|
+
rubygems_version: 3.1.2
|
113
|
+
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Red Plasma is the Ruby bindings of Plasma
|
116
116
|
test_files:
|