red-arrow-cuda 0.16.0 → 2.0.0

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: 4aed832c08b5a208039167653be6800c5a87cdae7e89463eac8ab0154ce7742d
4
- data.tar.gz: 65ca6df99ec35da6521e461862a1aedb32cb60ab08e502f8e0285c9adc79e240
3
+ metadata.gz: a71810866d04e9c04344465936457b39e6a7242e6b15baf2049f766517070461
4
+ data.tar.gz: 47c17e350a41af8c3104b16f19516a2bd572a5afdd80084bb77b2920678eb748
5
5
  SHA512:
6
- metadata.gz: b497548ca0e20ba209c0a92b93720efa1882d42e9437a3e63369d39601c48156890c8dd7a1c490432de848b4dbec3a4073606c1d0cc354f8a4422a22cb1f5b5b
7
- data.tar.gz: b7d3872e7cd71c2096b1d37ac10ee0b78d8fc8b46f312c03db4f12610a7d93e871c8094ba335cbc5e3102d8cf2d6f937165db3c78d40009ce9adea070a909c5f
6
+ metadata.gz: 84a8a7fd3ccca79e1e2a810d632ae63abc66770ef1df6a1be08626496680d95ff0ba062d901da48bee5c716e2d75905f964113a630bf9bc47b0e5989081f8a14
7
+ data.tar.gz: 6a999bd7fb378395630656d33360e148fb72d917e2a25c4d84173c8393caa2eaae2fd9ab7a3579b02449a1c73341478f3c28eca0630a8eed2124f6e0cad44cba
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
@@ -19,6 +19,7 @@
19
19
 
20
20
  require "pkg-config"
21
21
  require "native-package-installer"
22
+ require_relative "../lib/arrow-cuda/version"
22
23
 
23
24
  case RUBY_PLATFORM
24
25
  when /mingw|mswin/
@@ -33,7 +34,10 @@ end
33
34
  namespace :dependency do
34
35
  desc "Check dependency"
35
36
  task :check do
36
- unless PKGConfig.check_version?("arrow-cuda-glib")
37
+ unless PKGConfig.check_version?("arrow-cuda-glib",
38
+ ArrowCUDA::Version::MAJOR,
39
+ ArrowCUDA::Version::MINOR,
40
+ ArrowCUDA::Version::MICRO)
37
41
  unless NativePackageInstaller.install(:debian => "libarrow-cuda-glib-dev",
38
42
  :redhat => "arrow-cuda-glib-devel")
39
43
  exit(false)
@@ -16,7 +16,7 @@
16
16
  # under the License.
17
17
 
18
18
  module ArrowCUDA
19
- VERSION = "0.16.0"
19
+ VERSION = "2.0.0"
20
20
 
21
21
  module Version
22
22
  numbers, TAG = VERSION.split("-")
@@ -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-arrow-cuda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 2.0.0
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: 2020-02-07 00:00:00.000000000 Z
11
+ date: 2020-10-19 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.16.0
19
+ version: 2.0.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: 0.16.0
26
+ version: 2.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -93,7 +93,7 @@ homepage: https://arrow.apache.org/
93
93
  licenses:
94
94
  - Apache-2.0
95
95
  metadata: {}
96
- post_install_message:
96
+ post_install_message:
97
97
  rdoc_options: []
98
98
  require_paths:
99
99
  - lib
@@ -108,12 +108,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
- rubyforge_project:
112
- rubygems_version: 2.7.6.2
113
- signing_key:
111
+ rubygems_version: 3.1.2
112
+ signing_key:
114
113
  specification_version: 4
115
114
  summary: Red Arrow CUDA is the Ruby bindings of Apache Arrow CUDA
116
115
  test_files:
117
- - test/helper.rb
118
- - test/run-test.rb
119
116
  - test/test-cuda.rb
117
+ - test/run-test.rb
118
+ - test/helper.rb