sequel-duckdb 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AGENTS.md +26 -0
- data/CHANGELOG.md +21 -20
- data/justfile +2 -4
- data/lib/sequel/duckdb/version.rb +1 -4
- metadata +1 -3
- data/.release-please-manifest.json +0 -3
- data/release-please-config.json +0 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a1480a62e0835a027629de3218ef9250fea068a46f9450538de582f4b36c76be
|
|
4
|
+
data.tar.gz: 42aed3262df4e475d44b8fc55bcce43c0c141932790480554ef1fc2a6522b086
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48c581cb9f3d5e2fb577ac9737a357eff2ce64210f0225266a4d23bf8f1ae7c5ef2fde581e995281ff941a5f7ba75446134efc2853dc303273ee6dcbe5c16cd9
|
|
7
|
+
data.tar.gz: cbe2aaf2eb5d373e18dae14aeafe185331e8d377a06fee03f6147f50f4dc145a33f95c4338250cbd6b9826f64d30c1b3b61a621c468ae93463f50210d5dc7e63
|
data/AGENTS.md
CHANGED
|
@@ -40,6 +40,32 @@ cp -rf source dest # NOT: cp -r source dest
|
|
|
40
40
|
|
|
41
41
|
<!-- BEGIN BEADS INTEGRATION profile:full hash:d4f96305 -->
|
|
42
42
|
|
|
43
|
+
## Releases and Commit Messages
|
|
44
|
+
|
|
45
|
+
Releases are tag-based and cut weekly by a release agent; nothing about them is
|
|
46
|
+
manual for a human. `.github/workflows/release.yml` publishes to rubygems.org
|
|
47
|
+
via trusted publishing when a `v*` tag is pushed. To cut one:
|
|
48
|
+
|
|
49
|
+
1. Pick the version from the conventional commits since the last `v*` tag.
|
|
50
|
+
While the gem is 0.x, a breaking change bumps the minor version and
|
|
51
|
+
anything else bumps the patch.
|
|
52
|
+
2. Set `VERSION` in `lib/sequel/duckdb/version.rb`, run `bundle install` so
|
|
53
|
+
`Gemfile.lock` agrees, and add a `CHANGELOG.md` section listing only the
|
|
54
|
+
`feat`/`fix`/breaking commits.
|
|
55
|
+
3. Land that commit on main and wait for the `ci` check to go green on it.
|
|
56
|
+
4. Push the matching tag, e.g. `git tag v0.2.1 && git push origin v0.2.1`.
|
|
57
|
+
The workflow refuses a tag that does not equal `v` + `VERSION`, or a commit
|
|
58
|
+
without a green `ci` check, and it confirms rubygems serves the version.
|
|
59
|
+
|
|
60
|
+
Commit types decide what reaches the changelog:
|
|
61
|
+
|
|
62
|
+
- `feat:` and `fix:` are ONLY for changes to the shipped gem: what a consumer
|
|
63
|
+
of sequel-duckdb would notice.
|
|
64
|
+
- Tooling, CI, hooks, the justfile, lint and coverage config, and dependency
|
|
65
|
+
bumps are `chore:`, `ci:` or `build:`. Test-only changes are `test:`.
|
|
66
|
+
- A breaking change to the gem's API needs `!` after the type or a
|
|
67
|
+
`BREAKING CHANGE:` footer.
|
|
68
|
+
|
|
43
69
|
## Issue Tracking with bd (beads)
|
|
44
70
|
|
|
45
71
|
**IMPORTANT**: This project uses **bd (beads)** for ALL issue tracking. Do NOT use markdown TODOs, task lists, or other tracking methods.
|
data/CHANGELOG.md
CHANGED
|
@@ -5,42 +5,43 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [0.2.
|
|
8
|
+
## [0.2.1](https://github.com/outcomesinsights/sequel-duckdb/compare/v0.2.0...v0.2.1) (2026-10-01)
|
|
9
|
+
|
|
10
|
+
No changes to the gem's behaviour. The first release published by the
|
|
11
|
+
tag-based release workflow.
|
|
9
12
|
|
|
13
|
+
## [0.2.0](https://github.com/outcomesinsights/sequel-duckdb/compare/v0.1.0...v0.2.0) (2026-09-30)
|
|
10
14
|
|
|
11
15
|
### ⚠ BREAKING CHANGES
|
|
12
16
|
|
|
13
|
-
|
|
14
|
-
|
|
17
|
+
- Removed parameterized query support, custom error handling methods, and other over-engineered features. Adapter now follows Sequel conventions using built-in features.
|
|
18
|
+
- Removed custom error message formatting methods (database_exception_message, database_exception_class, handle_constraint_violation) in favor of Sequel's built-in patterns.
|
|
15
19
|
|
|
16
20
|
### Features
|
|
17
21
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
- add Database#copy_to support ([17ce698](https://github.com/outcomesinsights/sequel-duckdb/commit/17ce6981fca43653ecd50c29f83b50bcf7e5b23b))
|
|
23
|
+
- add schema methods ([fcd11fd](https://github.com/outcomesinsights/sequel-duckdb/commit/fcd11fd99b267b925888ef8accfc7bc7dbad87ad))
|
|
24
|
+
- add support for date_arithmetic ([fc0dde7](https://github.com/outcomesinsights/sequel-duckdb/commit/fc0dde71c542f3a1cb23310a12b8529065b9baf6))
|
|
25
|
+
- additional options for create_view ([7f19ad2](https://github.com/outcomesinsights/sequel-duckdb/commit/7f19ad2efe3ea7c1074b5e9e8a1c918216958701))
|
|
26
|
+
- share DuckDB::Database instance and support cross-database schema queries ([564cb47](https://github.com/outcomesinsights/sequel-duckdb/commit/564cb4767471f0a5183e7219bf6008e57e644fec))
|
|
27
|
+
- support different read\_\* functions in CREATE VIEW ([98eba2e](https://github.com/outcomesinsights/sequel-duckdb/commit/98eba2ed486d1f775508ea4bac0dc6f7cd62a37e))
|
|
25
28
|
|
|
26
29
|
### Bug Fixes
|
|
27
30
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
- bump minimum Ruby to 3.2 and upgrade minitest to 6.x ([55b874d](https://github.com/outcomesinsights/sequel-duckdb/commit/55b874d96f49684f3a4f13eccb7c6af5fc83e6b8))
|
|
32
|
+
- **ci:** install DuckDB C library for native extension ([#7](https://github.com/outcomesinsights/sequel-duckdb/issues/7)) ([7af7437](https://github.com/outcomesinsights/sequel-duckdb/commit/7af7437c8b4db151e913087e558d3950bed34601))
|
|
33
|
+
- formatting for date_arithmetic ([835ad7e](https://github.com/outcomesinsights/sequel-duckdb/commit/835ad7e6a9de7fd0b6c441ee394aa8ff54cc0612))
|
|
34
|
+
- move DuckDB::Database init from connect to adapter_initialize ([e06e0f2](https://github.com/outcomesinsights/sequel-duckdb/commit/e06e0f2958b958ae368948a80234af058a24b7cd))
|
|
35
|
+
- remove hard duckdb C extension dependency from gemspec ([7c598ac](https://github.com/outcomesinsights/sequel-duckdb/commit/7c598ac53534c7d29567bdf6c2fe1170162fa216))
|
|
36
|
+
- use nested module syntax for Helpers to support mock adapter loading ([7962262](https://github.com/outcomesinsights/sequel-duckdb/commit/7962262dd9c45369815404a2c325f67f2820295f))
|
|
35
37
|
|
|
36
38
|
### Code Refactoring
|
|
37
39
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
- simplify adapter execution and error handling ([e812777](https://github.com/outcomesinsights/sequel-duckdb/commit/e812777acd815466cebbd58cc1f54b8254fcabfd))
|
|
40
41
|
|
|
41
42
|
### Tests
|
|
42
43
|
|
|
43
|
-
|
|
44
|
+
- remove tests for deleted features and fix remaining failures ([b056ec8](https://github.com/outcomesinsights/sequel-duckdb/commit/b056ec89ddc48957a35f8ecf302eddc07e47b959))
|
|
44
45
|
|
|
45
46
|
## [0.1.0] - 2025-07-21
|
|
46
47
|
|
data/justfile
CHANGED
|
@@ -9,20 +9,18 @@ ci: fmt-check lint test hygiene
|
|
|
9
9
|
bundle-update *ARGS:
|
|
10
10
|
bundle update {{ ARGS }}
|
|
11
11
|
|
|
12
|
-
# CHANGELOG.md is generated by release-please in its own style and rewritten on
|
|
13
|
-
# every release, so the markdown formatter leaves it alone.
|
|
14
12
|
# Rewrite files to canonical format. Run deliberately; never from a hook.
|
|
15
13
|
fmt:
|
|
16
14
|
git ls-files "*.sh" | xargs -r shfmt -w
|
|
17
15
|
just --fmt --unstable
|
|
18
|
-
git ls-files "*.md"
|
|
16
|
+
git ls-files "*.md" | xargs -r mdformat
|
|
19
17
|
|
|
20
18
|
# Report format drift without changing anything. This is what the hooks run —
|
|
21
19
|
# a formatter that rewrites files mid-commit changes what you already reviewed.
|
|
22
20
|
fmt-check:
|
|
23
21
|
git ls-files "*.sh" | xargs -r shfmt -d
|
|
24
22
|
just --fmt --check --unstable
|
|
25
|
-
git ls-files "*.md"
|
|
23
|
+
git ls-files "*.md" | xargs -r mdformat --check
|
|
26
24
|
|
|
27
25
|
# What actually runs before a push. Defaults to the complete `ci`; point it at
|
|
28
26
|
# something smaller ONLY where running complete CI locally is impractical.
|
|
@@ -11,9 +11,6 @@ module Sequel
|
|
|
11
11
|
# puts Sequel::DuckDB::VERSION
|
|
12
12
|
#
|
|
13
13
|
# @since 0.1.0
|
|
14
|
-
|
|
15
|
-
# release-please bumps this file by rewriting the FIRST quoted version
|
|
16
|
-
# string in it. Keep VERSION's value the only quoted version here.
|
|
17
|
-
VERSION = "0.2.0"
|
|
14
|
+
VERSION = "0.2.1"
|
|
18
15
|
end
|
|
19
16
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sequel-duckdb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ryan Duryea
|
|
@@ -195,7 +195,6 @@ files:
|
|
|
195
195
|
- ".kiro/steering/tech.md"
|
|
196
196
|
- ".kiro/steering/testing.md"
|
|
197
197
|
- ".mdformat.toml"
|
|
198
|
-
- ".release-please-manifest.json"
|
|
199
198
|
- ".rubocop.yml"
|
|
200
199
|
- ".rubocop_todo.yml"
|
|
201
200
|
- ".yardopts"
|
|
@@ -227,7 +226,6 @@ files:
|
|
|
227
226
|
- plans/mock_without_driver_gem.md
|
|
228
227
|
- plans/over_engineering_analysis.md
|
|
229
228
|
- plans/schema_management.md
|
|
230
|
-
- release-please-config.json
|
|
231
229
|
- sig/sequel/duckdb.rbs
|
|
232
230
|
homepage: https://github.com/sequel/sequel-duckdb
|
|
233
231
|
licenses:
|
data/release-please-config.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
|
|
3
|
-
"release-type": "ruby",
|
|
4
|
-
"include-component-in-tag": false,
|
|
5
|
-
"bump-minor-pre-major": true,
|
|
6
|
-
"bump-patch-for-minor-pre-major": true,
|
|
7
|
-
"bootstrap-sha": "8c6792de032d5ba5f54fcd8e3672b59c250039e2",
|
|
8
|
-
"packages": {
|
|
9
|
-
".": {
|
|
10
|
-
"package-name": "sequel-duckdb",
|
|
11
|
-
"version-file": "lib/sequel/duckdb/version.rb"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|