red-arrow-duckdb 1.0.0 → 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/doc/text/news.md +13 -0
- data/ext/arrow-duckdb/extconf.rb +27 -4
- data/lib/arrow-duckdb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac2fc2780b82eadb1ac59bbd1af1427ef6522c4ce97c4a51c8d3dbfe7181763f
|
4
|
+
data.tar.gz: 4c75ea339bca32b4b3249faad455c7383ff700d7dd7d338804a91bd8ad4c46da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1963496e56b1868cac0c462758250110c4a95d3bc1f990cb67f7e26da11db2f85ebe1a3edfcf3109454ff43a8b4012b9fb807164eb6fd089fe0ee176ef6718b
|
7
|
+
data.tar.gz: 637dd0226663c59358a13b6545544c49c149221d6e97b150d12751a50368e2c30dd8887e2b267728c10a0f228384fc17244ada2cf19cead1e8c51e5525ce32ca
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 1.0.1 - 2021-11-06
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* macOS: Don't require specifying `PKG_CONFIG_PATH` on install such
|
8
|
+
as `PKG_CONFIG_PATH=$(brew --prefix openssl)/lib/pkgconfig gem
|
9
|
+
install red-arrow-duckdb`.
|
10
|
+
[GitHub#1][Reported by Konstantin Ilchenko]
|
11
|
+
|
12
|
+
### Thanks
|
13
|
+
|
14
|
+
* Konstantin Ilchenko
|
15
|
+
|
3
16
|
## 1.0.0 - 2021-08-12
|
4
17
|
|
5
18
|
Initial release!!!
|
data/ext/arrow-duckdb/extconf.rb
CHANGED
@@ -14,9 +14,34 @@
|
|
14
14
|
|
15
15
|
require "extpp"
|
16
16
|
require "mkmf-gnome"
|
17
|
+
require "native-package-installer"
|
17
18
|
|
18
|
-
|
19
|
-
|
19
|
+
checking_for(checking_message("Homebrew")) do
|
20
|
+
case NativePackageInstaller::Platform.detect
|
21
|
+
when NativePackageInstaller::Platform::Homebrew
|
22
|
+
openssl_prefix = `brew --prefix openssl`.chomp
|
23
|
+
unless openssl_prefix.empty?
|
24
|
+
PKGConfig.add_path("#{openssl_prefix}/lib/pkgconfig")
|
25
|
+
end
|
26
|
+
true
|
27
|
+
else
|
28
|
+
false
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
required_pkg_config_package("arrow-glib",
|
33
|
+
debian: "libarrow-glib-dev",
|
34
|
+
redhat: "arrow-glib-devel",
|
35
|
+
homebrew: "apache-arrow-glib") or exit(false)
|
36
|
+
required_pkg_config_package("arrow-dataset",
|
37
|
+
debian: "libarrow-dataset-dev",
|
38
|
+
redhat: "arrow-dataset-devel") or exit(false)
|
39
|
+
unless have_library("duckdb")
|
40
|
+
install_missing_native_package(debian: "libduckdb-dev",
|
41
|
+
redhat: "duckdb-devel",
|
42
|
+
homebrew: "duckdb") or exit(false)
|
43
|
+
have_library("duckdb") or exit(false)
|
44
|
+
end
|
20
45
|
|
21
46
|
[
|
22
47
|
["glib2", "ext/glib2"],
|
@@ -28,6 +53,4 @@ required_pkg_config_package("arrow-dataset")
|
|
28
53
|
add_depend_package_path(name, source_dir, build_dir)
|
29
54
|
end
|
30
55
|
|
31
|
-
have_library("duckdb") or exit(false)
|
32
|
-
|
33
56
|
create_makefile("arrow_duckdb")
|
data/lib/arrow-duckdb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red-arrow-duckdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sutou Kouhei
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: duckdb
|