fast_xlsx 0.3.0-aarch64-linux → 0.4.0-aarch64-linux
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/CHANGELOG.md +6 -0
- data/README.md +15 -13
- data/bench/Gemfile.lock +2 -2
- data/lib/fast_xlsx/3.3/fast_xlsx.so +0 -0
- data/lib/fast_xlsx/3.4/fast_xlsx.so +0 -0
- data/lib/fast_xlsx/4.0/fast_xlsx.so +0 -0
- data/lib/fast_xlsx/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e7438a6f69df41153d85c357819655b1f6a22ee1dc73190fc32707b7e12b7a10
|
|
4
|
+
data.tar.gz: 5dffe1b70f6486c0bdb5d087b272e19c029f46f2b11c0fcf18babff2911f8557
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 054da301b24d98a3b6e448e13f0c617fa27a4932b5f1d055b62b720b395fbeb2f98eba1ebb5fcb0e12b0a05bcbe1260dfdd042beb2567dda7c810c3f02b29fc6
|
|
7
|
+
data.tar.gz: 3c88b39a8a3f12aeb2b6012b74e175e5376708b70f57e259b753b2a1b005dd1885dd6150291012d2fd0475493366d1da12bf31391dd57f39204551fd078157c0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.4.0] - 2026-10-01
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Dates and times written without a format now get `yyyy-mm-dd` (`Date`) or `yyyy-mm-dd hh:mm:ss` (`Time`, `DateTime`) instead of showing as serial numbers. A cell's own format, its table column's and `column_format` still win. Applying the format makes writing date-heavy data about 15% slower, the same as passing a date format yourself.
|
|
8
|
+
|
|
3
9
|
## [0.3.0] - 2026-10-01
|
|
4
10
|
|
|
5
11
|
### Changed
|
data/README.md
CHANGED
|
@@ -82,6 +82,8 @@ ws.write(1, 2, Date.today, date) # format one cell
|
|
|
82
82
|
|
|
83
83
|
Per-side borders override `border`. Unknown options and invalid values raise `ArgumentError`.
|
|
84
84
|
|
|
85
|
+
Dates and times written without a format get `yyyy-mm-dd` or `yyyy-mm-dd hh:mm:ss`; a table column's format or `column_format` wins over that. A format you pass replaces it, so give date cells one with a `num_format` (e.g. `Format.new(bold: true, num_format: "yyyy-mm-dd")`), or Excel shows the serial number.
|
|
86
|
+
|
|
85
87
|
### Columns and filters
|
|
86
88
|
|
|
87
89
|
```ruby
|
|
@@ -250,8 +252,8 @@ Values are mapped by type:
|
|
|
250
252
|
|---|---|
|
|
251
253
|
| `Integer`, `Float`, any `Numeric` | number |
|
|
252
254
|
| `String` | string |
|
|
253
|
-
| `Time` |
|
|
254
|
-
| `Date
|
|
255
|
+
| `Time`, `DateTime` | date and time (`yyyy-mm-dd hh:mm:ss` unless formatted), in its own offset |
|
|
256
|
+
| `Date` | date (`yyyy-mm-dd` unless formatted) |
|
|
255
257
|
| `FastXlsx::Formula.new("SUM(A1:A9)")` | formula |
|
|
256
258
|
| `FastXlsx::URL.new("https://…")`, `URL.new(url, text: "Title")` | hyperlink (optionally showing other text) |
|
|
257
259
|
| `FastXlsx::RichString.new(["Total: ", bold], "1,234")` | text with a format per segment |
|
|
@@ -273,17 +275,17 @@ Apple Silicon, Ruby 4.0.5. Each library uses its own idiomatic row-append API; x
|
|
|
273
275
|
|
|
274
276
|
| Library | Time | vs fastest | Ruby objects allocated |
|
|
275
277
|
|---|---:|---:|---:|
|
|
276
|
-
| **fast_xlsx** (`memory: :constant`) | **
|
|
277
|
-
| **fast_xlsx** (`memory: :low`) | **
|
|
278
|
-
| **fast_xlsx** | **
|
|
279
|
-
| [xlsxtream](https://github.com/felixbuenemann/xlsxtream) 3.1 |
|
|
280
|
-
| [fast_excel](https://github.com/Paxa/fast_excel) 0.5 (constant_memory) |
|
|
281
|
-
| [fast_excel](https://github.com/Paxa/fast_excel) 0.5 |
|
|
282
|
-
| [write_xlsx](https://github.com/cxn03651/write_xlsx) 1.15 |
|
|
283
|
-
| [caxlsx](https://github.com/caxlsx/caxlsx) 4.5 |
|
|
284
|
-
| [rubyXL](https://github.com/weshatheleopard/rubyXL) 3.4 |
|
|
285
|
-
|
|
286
|
-
All outputs are
|
|
278
|
+
| **fast_xlsx** (`memory: :constant`) | **77 ms** | 1.0x | 7 |
|
|
279
|
+
| **fast_xlsx** (`memory: :low`) | **86 ms** | 1.1x | 7 |
|
|
280
|
+
| **fast_xlsx** | **89 ms** | 1.1x | 10 |
|
|
281
|
+
| [xlsxtream](https://github.com/felixbuenemann/xlsxtream) 3.1 | 183 ms | 2.4x | 561,728 |
|
|
282
|
+
| [fast_excel](https://github.com/Paxa/fast_excel) 0.5 (constant_memory) | 200 ms | 2.6x | 20,079 |
|
|
283
|
+
| [fast_excel](https://github.com/Paxa/fast_excel) 0.5 | 238 ms | 3.1x | 320,076 |
|
|
284
|
+
| [write_xlsx](https://github.com/cxn03651/write_xlsx) 1.15 | 608 ms | 7.8x | 1,483,899 |
|
|
285
|
+
| [caxlsx](https://github.com/caxlsx/caxlsx) 4.5 | 689 ms | 8.9x | 745,122 |
|
|
286
|
+
| [rubyXL](https://github.com/weshatheleopard/rubyXL) 3.4 | 2755 ms | 35.6x | 8,700,448 |
|
|
287
|
+
|
|
288
|
+
All outputs are 689–750 KB.
|
|
287
289
|
|
|
288
290
|
### Memory
|
|
289
291
|
|
data/bench/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: ..
|
|
3
3
|
specs:
|
|
4
|
-
fast_xlsx (0.
|
|
4
|
+
fast_xlsx (0.4.0)
|
|
5
5
|
rb_sys (~> 0.9.130)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -77,7 +77,7 @@ DEPENDENCIES
|
|
|
77
77
|
CHECKSUMS
|
|
78
78
|
caxlsx (4.5.0) sha256=e3d98d859f148df05d5462086b5079b523f29c1766b569535f1d68629ce743ff
|
|
79
79
|
fast_excel (0.5.0) sha256=59c418bdcf586a6030798d4e3a9f575742badaceaf7bb90f38eee5feb5bdc478
|
|
80
|
-
fast_xlsx (0.
|
|
80
|
+
fast_xlsx (0.4.0)
|
|
81
81
|
ffi (1.17.4-aarch64-linux-gnu) sha256=b208f06f91ffd8f5e1193da3cae3d2ccfc27fc36fba577baf698d26d91c080df
|
|
82
82
|
ffi (1.17.4-aarch64-linux-musl) sha256=9286b7a615f2676245283aef0a0a3b475ae3aae2bb5448baace630bb77b91f39
|
|
83
83
|
ffi (1.17.4-arm-linux-gnu) sha256=d6dbddf7cb77bf955411af5f187a65b8cd378cb003c15c05697f5feee1cb1564
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/fast_xlsx/version.rb
CHANGED