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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5855147af5fe02372c4bf0f67e5f5c4c046305e3d77fee7d6578d63b7d31aa7
4
- data.tar.gz: 88701d3c0213ce6fbbe45185f82cbc823d7eb5ee6ff531ab19a720bfd72f3939
3
+ metadata.gz: b2100acff5462ba1ae39b45795b53969911ff7e567007875098cebc536b6b3a1
4
+ data.tar.gz: c99f55d6e6b9d535f75ed6759daaddb0ef39dc49ee1861cc1a1b7c18a914ea6d
5
5
  SHA512:
6
- metadata.gz: 955bf24278d0eff8138690a9fa2dbb465c5ab94654e7be07f8001d7eeb8863af461d94c9bbdd0af4260bac0090c13bb1b18f3dd8608b55dec1d23e057577eac9
7
- data.tar.gz: 9c2ce6b1648cd95ee16418abb01203c18f8f1d7f0360f242866c97aadd5ee1af92c1c4ba9da29146ea54904cd1acc45873ebf3cf5c0db42a6d94c4212dbeef96
6
+ metadata.gz: 112837a9b6df91ff4db6ebd489c1ad04fbacac7eea0d778d3c82ecc21ef1c0772cbca42123a99f39a170585fbbaf0cba5f904809cac2dd71a8e7fe2b474fe71b
7
+ data.tar.gz: b6b2b47cff49a552e51d53988f03f73dd2163ec06877114a019bbaf155c2519417465e3fe208a15cdaf4953df6749661786f2ca627fb42488fbae7f466b77e97
@@ -16,7 +16,7 @@ jobs:
16
16
  strategy:
17
17
  matrix:
18
18
  ruby: ['3.0.6', '3.1.4', '3.2.3', '3.3.0', 'head']
19
- duckdb: ['0.9.2', '0.10.0']
19
+ duckdb: ['0.9.2', '0.10.0', '0.10.1']
20
20
 
21
21
  steps:
22
22
  - uses: actions/checkout@v3
@@ -16,7 +16,7 @@ jobs:
16
16
  strategy:
17
17
  matrix:
18
18
  ruby: ['3.0.6', '3.1.4', '3.2.3', '3.3.0', 'head']
19
- duckdb: ['0.9.2', '0.10.0']
19
+ duckdb: ['0.9.2', '0.10.0', '0.10.1']
20
20
 
21
21
  steps:
22
22
  - uses: actions/checkout@v3
@@ -16,7 +16,7 @@ jobs:
16
16
  strategy:
17
17
  matrix:
18
18
  ruby: ['3.0.6', '3.1.4', '3.2.2', '3.3.0', 'ucrt', 'mingw', 'mswin', 'head']
19
- duckdb: ['0.9.2', '0.10.0']
19
+ duckdb: ['0.9.2', '0.10.0', '0.10.1']
20
20
 
21
21
  steps:
22
22
  - uses: actions/checkout@v3
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 0.10.0.
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.0.0)
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.6)
11
+ bigdecimal (3.1.7)
12
12
  mini_portile2 (2.8.5)
13
- minitest (5.22.2)
14
- nokogiri (1.16.2)
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.2-x86_64-linux)
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 habe to specify the location of the C header and library files:
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'mkmf'
4
4
 
5
- DUCKDB_REQUIRED_VERSION = '0.8.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
- have_func('duckdb_bind_parameter_index', 'duckdb.h')
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
@@ -48,7 +48,7 @@ module DuckDB
48
48
  uuid
49
49
  json
50
50
  ]
51
- if Gem::Version.new(DuckDB::LIBRARY_VERSION) >= Gem::Version.new('0.10.0')
51
+ if Gem::Version.new(DuckDB::LIBRARY_VERSION) == Gem::Version.new('0.10.0')
52
52
  types[17, 0] = :uhugeint
53
53
  end
54
54
  index = _type
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) >= Gem::Version.new('0.10.0')
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,
@@ -3,5 +3,5 @@
3
3
  module DuckDB
4
4
  # The version string of ruby-duckdb.
5
5
  # Currently, ruby-duckdb is NOT semantic versioning.
6
- VERSION = '0.10.0.0'
6
+ VERSION = '0.10.1.0'
7
7
  end
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.0.0
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-02-17 00:00:00.000000000 Z
11
+ date: 2024-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigdecimal