oxcel 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 96d087368e565cb8f2645cb6f4bc1b26d7d79d33e9dcb19bb390ada735cab32c
4
+ data.tar.gz: 38118f6337b4ded31a271fa9d0e73e5bccc420cfc51ed1ce81e7232b727bdcb1
5
+ SHA512:
6
+ metadata.gz: 812162c14ce4f9be33ca38a92b9dffcb77282fc2db451f5976ca96361f0cf03de219bfa5b7e300dbbca1a890b84f086fd188ccfb138f653b0a5f02e8b768fa8d
7
+ data.tar.gz: 2d074d3db6e4fb80dd69cb28db10d93786f377e445349d3f51ec15bd2aa9c2ac8d8881b12ed7e4e7af337b68028e003d9a8cd80d0f44167fde49a004f8f934b4
data/CHANGELOG.md ADDED
@@ -0,0 +1,16 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## [0.1.0] - 2026-12-06
6
+
7
+ - Initial release combining Rust's `calamine` 0.39 and `rust_xlsxwriter` 0.105 with zero non-native Ruby dependencies.
8
+ - **True O(1) `.xlsx` streaming reader** via `XlsxCellReader` (zero-copy `SharedString`, `Enumerable` inclusion, lazy `Enumerator#first` early-break support, deterministic `Reader#close` / `closed?` auto-closed on block exit, ~30 MB flat Peak RSS on 100k rows).
9
+ - **Alba-inspired declarative `Oxcel::Resource` DSL** with pre-compiled extractors, `columns` shorthand, conditional columns (`if:`), `params:`, `after_write` hooks (e.g. `SUM` total rows), `save`/`to_file`/`to_bytes`, multi-sheet composition (`write_to`), and batched constant-memory streaming.
10
+ - **Global configuration (`Oxcel.configure` / `Oxcel.config`)** for `coerce_integers`, `constant_memory`, `default_date_format`, and `default_datetime_format`.
11
+ - **Native Ruby types & utilities**: `Integer`, `Float`, `BigDecimal`, `Date` vs `Time` distinction, `Boolean`, `Oxcel.formula`, `Oxcel.link`, `Oxcel.cell`, `Oxcel::A1` coordinate helpers, value-object equality (`==`/`eql?`/`hash`), and readable `#inspect`.
12
+ - **Reader metadata & flexibility**: `sheets_metadata`, `merged_regions`, `formulas` (sparse coordinate hash), `dimensions`, `Oxcel.open_bytes`, `IO`/`StringIO`/`Pathname`/extensionless `Tempfile` auto-detection, explicit `format:`.
13
+ - **B2B report writer features**: `page_setup` (landscape/portrait, A4/A3/Letter/B4/B5, `fit_to_pages`, `repeat_rows`, header/footer, print gridlines), `column_width`, `add_dropdown`, `add_note`, `protect`, `tab_color`, `gridlines`, individual borders, underline/strikethrough/indent/rotation/shrink/valign, `merge_range`, `autofilter`, `freeze_panes`, `autofit`.
14
+ - **Zero-config Rails 7/8 Railtie**: auto-loaded when Rails is present; registers `:xlsx` MIME type and `render xlsx:` supporting both `Oxcel::Resource` and procedural builders.
15
+ - **Migration toolkit** (lazy-loaded via `autoload`): `Oxcel::Compat::Caxlsx`, `Oxcel::Compat::Roo`, O(1) streaming `Oxcel.diff`, and migration guides (`docs/MIGRATING_FROM_CAXLSX.md`, `docs/MIGRATING_FROM_ROO.md`).
16
+ - **First-party type definitions & Agent Skill**: bundled Sorbet / Tapioca `rbi/oxcel.rbi`, Ruby `sig/oxcel.rbs` (guarded by reflection drift tests), and `skills/oxcel/SKILL.md`.