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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9abf186818144a8c4bcd7520f9d95c13f8dc1f1aec94b1a14317e3f904f8cbb
4
- data.tar.gz: 910219122fb854cd0772a1b48a53c688f67d1a597482bed2462a0eda3109b01d
3
+ metadata.gz: ac2fc2780b82eadb1ac59bbd1af1427ef6522c4ce97c4a51c8d3dbfe7181763f
4
+ data.tar.gz: 4c75ea339bca32b4b3249faad455c7383ff700d7dd7d338804a91bd8ad4c46da
5
5
  SHA512:
6
- metadata.gz: 35141392b47728e0ad929d97d1afc100f137465519d7da270f44fbb07e93ed8a8bd1bcdf99f14f26371da2d2f990d48c8565ef96cc8380293d90634b95011d53
7
- data.tar.gz: 0cb4e44a168f4dc92cfee10dabc938765981de4823e852f96649e6a8ffad1f61705ac5c722270ea7ba26ec2077083870c12377e1e47d1fb7442613f1598b3269
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!!!
@@ -14,9 +14,34 @@
14
14
 
15
15
  require "extpp"
16
16
  require "mkmf-gnome"
17
+ require "native-package-installer"
17
18
 
18
- required_pkg_config_package("arrow-glib")
19
- required_pkg_config_package("arrow-dataset")
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")
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
 
15
15
  module ArrowDuckDB
16
- VERSION = "1.0.0"
16
+ VERSION = "1.0.1"
17
17
  end
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.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-08-12 00:00:00.000000000 Z
11
+ date: 2021-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: duckdb