duckdb 0.10.0.0 → 0.10.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test_on_macos.yml +1 -1
- data/.github/workflows/test_on_ubuntu.yml +1 -1
- data/.github/workflows/test_on_windows.yml +1 -1
- data/CHANGELOG.md +6 -2
- data/Gemfile.lock +5 -5
- data/README.md +8 -1
- data/ext/duckdb/extconf.rb +2 -5
- data/lib/duckdb/column.rb +1 -1
- data/lib/duckdb/result.rb +1 -1
- data/lib/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: b2100acff5462ba1ae39b45795b53969911ff7e567007875098cebc536b6b3a1
|
4
|
+
data.tar.gz: c99f55d6e6b9d535f75ed6759daaddb0ef39dc49ee1861cc1a1b7c18a914ea6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 112837a9b6df91ff4db6ebd489c1ad04fbacac7eea0d778d3c82ecc21ef1c0772cbca42123a99f39a170585fbbaf0cba5f904809cac2dd71a8e7fe2b474fe71b
|
7
|
+
data.tar.gz: b6b2b47cff49a552e51d53988f03f73dd2163ec06877114a019bbaf155c2519417465e3fe208a15cdaf4953df6749661786f2ca627fb42488fbae7f466b77e97
|
data/CHANGELOG.md
CHANGED
@@ -4,15 +4,19 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
|
5
5
|
## Unreleased
|
6
6
|
|
7
|
+
# 0.10.1.0 - 2024-03-22
|
8
|
+
- drop duckdb v0.8.x.
|
9
|
+
- fix column type failures with duckdb v0.10.1.
|
10
|
+
|
7
11
|
# 0.10.0.0 - 2024-02-18
|
8
|
-
- bump to duckdb
|
12
|
+
- bump to duckdb v0.10.0.
|
9
13
|
- fix building error with duckdb v0.10.0.
|
10
14
|
- bundle update to bump nokogiri from 1.16.0 to 1.16.2.
|
11
15
|
- fix Decimal type conversion.
|
12
16
|
|
13
17
|
## Breaking changes
|
14
18
|
|
15
|
-
- `DuckDB::Connection#query_progress` returns `DuckDB::QueryProgress` object only when duckdb library version is 0.10.0.
|
19
|
+
- `DuckDB::Connection#query_progress` returns `DuckDB::QueryProgress` object only when duckdb library version is 0.10.0 or later.
|
16
20
|
- The available methods are `DuckDB::QueryProgress#percentage`, `DuckDB::QueryProgress#rows_processed`, `DuckDB::QueryProgress#total_rows_to_process`.
|
17
21
|
|
18
22
|
# 0.9.2.3 - 2023-12-29
|
data/Gemfile.lock
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
duckdb (0.10.
|
4
|
+
duckdb (0.10.1.0)
|
5
5
|
bigdecimal (>= 3.1.4)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
benchmark-ips (2.13.0)
|
11
|
-
bigdecimal (3.1.
|
11
|
+
bigdecimal (3.1.7)
|
12
12
|
mini_portile2 (2.8.5)
|
13
|
-
minitest (5.22.
|
14
|
-
nokogiri (1.16.
|
13
|
+
minitest (5.22.3)
|
14
|
+
nokogiri (1.16.3)
|
15
15
|
mini_portile2 (~> 2.8.2)
|
16
16
|
racc (~> 1.4)
|
17
|
-
nokogiri (1.16.
|
17
|
+
nokogiri (1.16.3-x86_64-linux)
|
18
18
|
racc (~> 1.4)
|
19
19
|
racc (1.7.3)
|
20
20
|
rake (13.1.0)
|
data/README.md
CHANGED
@@ -42,6 +42,13 @@ Using `brew install` is recommended.
|
|
42
42
|
brew install duckdb
|
43
43
|
```
|
44
44
|
|
45
|
+
## Pre-requisite setup (Windows):
|
46
|
+
|
47
|
+
Using [Ruby + Devkit](https://rubyinstaller.org/downloads/) is recommended.
|
48
|
+
|
49
|
+
1. Download libduckdb-windows-amd64.zip from [DuckDB](https://github.com/duckdb/duckdb/releases) and extranct it.
|
50
|
+
2. Copy `duckdb.dll` into `C:\Windows\System32`
|
51
|
+
|
45
52
|
## How to install
|
46
53
|
|
47
54
|
```sh
|
@@ -50,7 +57,7 @@ gem install duckdb
|
|
50
57
|
|
51
58
|
After you've run the above pre-requisite setup, this should work fine.
|
52
59
|
|
53
|
-
If it doesn't, you may
|
60
|
+
If it doesn't, you may have to specify the location of the C header and library files:
|
54
61
|
|
55
62
|
```sh
|
56
63
|
gem install duckdb -- --with-duckdb-include=/duckdb_header_directory --with-duckdb-lib=/duckdb_library_directory
|
data/ext/duckdb/extconf.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'mkmf'
|
4
4
|
|
5
|
-
DUCKDB_REQUIRED_VERSION = '0.
|
5
|
+
DUCKDB_REQUIRED_VERSION = '0.9.0'
|
6
6
|
|
7
7
|
def check_duckdb_header(header, version)
|
8
8
|
found = find_header(
|
@@ -52,11 +52,8 @@ dir_config('duckdb')
|
|
52
52
|
|
53
53
|
check_duckdb_header('duckdb.h', DUCKDB_REQUIRED_VERSION)
|
54
54
|
|
55
|
-
# check duckdb >= 0.8.0
|
56
|
-
check_duckdb_library('duckdb', 'duckdb_string_is_inlined', DUCKDB_REQUIRED_VERSION)
|
57
|
-
|
58
55
|
# check duckdb >= 0.9.0
|
59
|
-
|
56
|
+
check_duckdb_library('duckdb', 'duckdb_bind_parameter_index', DUCKDB_REQUIRED_VERSION)
|
60
57
|
|
61
58
|
# check duckdb >= 0.10.0
|
62
59
|
have_func('duckdb_appender_column_count', 'duckdb.h')
|
data/lib/duckdb/column.rb
CHANGED
data/lib/duckdb/result.rb
CHANGED
@@ -24,7 +24,7 @@ module DuckDB
|
|
24
24
|
# end
|
25
25
|
class Result
|
26
26
|
include Enumerable
|
27
|
-
TO_METHODS = if Gem::Version.new(DuckDB::LIBRARY_VERSION)
|
27
|
+
TO_METHODS = if Gem::Version.new(DuckDB::LIBRARY_VERSION) == Gem::Version.new('0.10.0')
|
28
28
|
Hash.new(:_to_string).merge(
|
29
29
|
1 => :_to_boolean,
|
30
30
|
3 => :_to_smallint,
|
data/lib/duckdb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: duckdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaki Suketa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bigdecimal
|