fast_xlsx 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e437e53063a29cc586d2d18200be43a28ec6a967907f053fb06b2c0494202cf9
4
- data.tar.gz: 6c7fbc5799ef0526bcd9733114c50d7442d998769f7f8b00bbdc821c216a8ba1
3
+ metadata.gz: cd683d252e7a6aa1e682a600b6ac80c688487ae21d6ef1e38545b4bd177ecb00
4
+ data.tar.gz: 8785f8bfa9840f45a6f6e59d352b85ebaddccad7609b64ecabc68db297bf213a
5
5
  SHA512:
6
- metadata.gz: 2ca68d242260d67c52265c2f373453d32da549842862fb4695f7c2f9d2267bf4bde9f1ebbafb200a44dc582a9c85e9a4082579169ccb7af03b349c74a991aeea
7
- data.tar.gz: 28230cf03c0f109e690273b7906b57ab18cc5ecdceafb348155c7b6c1e8370c85aadc3889d22775d30abd08058f43ea81ff6aa8f8d207f58ed039e1f03ef3110
6
+ metadata.gz: dc2e931966753abf23eac73a2ed20e900e4840dcc1a83664939980bfd53d21ccf4f56e4a40bf3b322dde05f1f860c131ec1a09b3c3e878f52caa4e082ce6df32
7
+ data.tar.gz: 9e375f7510642255093ffe25d84fa0ea39e2d7da1ba23d73e2672c55be39dac79b342501b58d845167f99ce4614d03bd2d4c1649d1217b064557cc1c1ab05b58
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.1] - 2026-09-30
4
+
5
+ ### Fixed
6
+
7
+ - Precompiled (platform) gems failed to `require`: the extension was only looked up where a source install puts it, not in the per-Ruby-version directory that platform gems use. 0.1.0 is yanked; upgrade to 0.1.1.
8
+
9
+ ### Changed
10
+
11
+ - Releases now install and load the built platform gems on Linux, macOS and Windows with Ruby 3.3, 3.4 and 4.0 before publishing.
12
+
3
13
  ## [0.1.0] - 2026-09-30
4
14
 
5
15
  First release: a fast `.xlsx` writer built on rust_xlsxwriter. Early API; it may still change before 1.0.
data/bench/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- fast_xlsx (0.1.0)
4
+ fast_xlsx (0.1.1)
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.1.0)
80
+ fast_xlsx (0.1.1)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastXlsx
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/lib/fast_xlsx.rb CHANGED
@@ -45,7 +45,13 @@ module FastXlsx
45
45
  end
46
46
 
47
47
  # The native extension looks up FastXlsx::Error, so load it after Error is defined.
48
- require "fast_xlsx/fast_xlsx"
48
+ # Precompiled gems ship one binary per Ruby version (fast_xlsx/3.4/fast_xlsx);
49
+ # a gem compiled on install has a single fast_xlsx/fast_xlsx.
50
+ begin
51
+ require "fast_xlsx/#{RUBY_VERSION[/\d+\.\d+/]}/fast_xlsx"
52
+ rescue LoadError
53
+ require "fast_xlsx/fast_xlsx"
54
+ end
49
55
 
50
56
  # Owns the worksheets; serialize with #to_xlsx or #save.
51
57
  class Workbook
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_xlsx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zac