red-gandiva 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: 58f3d77bc9396b1da9c54c9ce7429ccae42240af4cee7542bd484c6c69b9a05c
4
- data.tar.gz: 5c632d1300bb99f30bb54137244858f505202139b59329612f89cbdd872e04d6
3
+ metadata.gz: 62a9c14b7888342f22b815e54b01f8bb4148ef5a73fe22c5690d9b0af4daace4
4
+ data.tar.gz: 022bb38241916f8b096c59bfe9ecbd509ad0e241db6111d81497315ef7b4b910
5
5
  SHA512:
6
- metadata.gz: 33a743a8936c77ead7a9ca9a2cb6f5e29a9605f1982e6d2249997b7a85606c5e56a841f53008f7480404521fd0abacbab491c2e60a542020bcb9b4d2f96084a5
7
- data.tar.gz: 4f99eee50279cba73d4411d2b07607abdc332a1eca031eb6241490946daa17132b9e652218bf9959489ff02bc30cbecfa50e0bfaad5f93cddffb6f5aa25ddd0a
6
+ metadata.gz: 7e7d1a115f5995749c1a11a0a2fbdae281c9d45cfe50592a241ffb56a0bb8f6d8f9153ff1cb45f98a870d17e0c5438d96202c28cc3b7773e0d1cc9270fa8eb3e
7
+ data.tar.gz: 9a22334b1308a5b057f2f6d6546f21d93aeab18dbf111e34dfb38357411128132c3e94a3baa03857e6c4b773859e562d301057ecfe3617a0c1466ae94df956d4
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/gandiva/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?("gandiva-glib")
37
+ unless PKGConfig.check_version?("gandiva-glib",
38
+ Gandiva::Version::MAJOR,
39
+ Gandiva::Version::MINOR,
40
+ Gandiva::Version::MICRO)
37
41
  unless NativePackageInstaller.install(:debian => "libgandiva-glib-dev",
38
42
  :redhat => "gandiva-glib-devel")
39
43
  exit(false)
@@ -16,7 +16,7 @@
16
16
  # under the License.
17
17
 
18
18
  module Gandiva
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-gandiva
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
@@ -112,7 +112,7 @@ homepage: https://arrow.apache.org/
112
112
  licenses:
113
113
  - Apache-2.0
114
114
  metadata: {}
115
- post_install_message:
115
+ post_install_message:
116
116
  rdoc_options: []
117
117
  require_paths:
118
118
  - lib
@@ -127,15 +127,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
130
- rubyforge_project:
131
- rubygems_version: 2.7.6.2
132
- signing_key:
130
+ rubygems_version: 3.1.2
131
+ signing_key:
133
132
  specification_version: 4
134
133
  summary: Red Gandiva is the Ruby bindings of Gandiva
135
134
  test_files:
136
- - test/test-boolean-literal-node.rb
135
+ - test/test-projector.rb
137
136
  - test/expression-builder/test-add.rb
138
137
  - test/expression-builder/test-record.rb
139
- - test/helper.rb
140
138
  - test/run-test.rb
141
- - test/test-projector.rb
139
+ - test/helper.rb
140
+ - test/test-boolean-literal-node.rb