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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc91b3bdc6979d1588f0ceb0093089ada53b7c047bfaf64ee90a0612fb77e026
4
- data.tar.gz: 765e4161627327ae13764e221667dd79a5e8c8ef693e8220e889e5f6eabe31de
3
+ metadata.gz: d43f78499978ea26358d36ab78823d561ca00f413b9602bfa0eb917f5c90b14a
4
+ data.tar.gz: c751f8423b785d9e37e568757fb5ea526bfc0c3dd58cee6ebb76960d0898d515
5
5
  SHA512:
6
- metadata.gz: 127820981fc7a695652ce47f716949e71d441a1eb737a46c09f742525d9dd3a0b130fe365fb35cac4eb7b9acd988664552bee8a5171cfeec75898a60a00cbd80
7
- data.tar.gz: 4c4a286cca722b517d446cb968d1781d2b6793ffcfb3e935cb1365d6ce758f60a598ce2d8496f862c4505cc4391aef417d08f0d1e9a4e3ef01f45ed9d9dcd396
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("dependency-check") do
34
- ruby("-S", "rake")
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
@@ -16,7 +16,7 @@
16
16
  # under the License.
17
17
 
18
18
  module Plasma
19
- VERSION = "0.15.1"
19
+ VERSION = "1.0.1"
20
20
 
21
21
  module Version
22
22
  numbers, TAG = VERSION.split("-")
@@ -18,7 +18,7 @@
18
18
  module Helper
19
19
  class PlasmaStore
20
20
  def initialize(options={})
21
- @path = `pkg-config --variable=executable plasma`.chomp
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
@@ -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
- $LOAD_PATH.unshift(arrow_ext_dir.to_s)
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.15.1
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: 2019-11-01 00:00:00.000000000 Z
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.15.1
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.15.1
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.0.6
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: