ruby-fst 0.2.1-arm64-darwin → 0.2.2-arm64-darwin

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: 28209bed0dd6853044e2b7ee47effd18693c37ebba0352c72c75d9c1bb9586e6
4
- data.tar.gz: a2f40dd2fd1bd24e9e6fbd69564762a988cd38c6b290a9bb558e8cd5966aff7f
3
+ metadata.gz: d9d12c09549d95dc89a1d870448301994e740269f2e04cc66a7c7f0290c6c93b
4
+ data.tar.gz: f5e1f30a7124f22b6f24bb35a6be0ca8b7d073995b7b1c83fe5426bfd5177db4
5
5
  SHA512:
6
- metadata.gz: 0c11699e079a7e584fe0b3cf71aa71b49d1485df626baba67ac2adcec20a639102339ecd72e325ad59899a4a43d99541dc7c284ffdf35a935e29d4737695700e
7
- data.tar.gz: c2881e0cd3d8fea8f1e84b445efc036a7d5c7057393654bb1b587e0940db83e654b4bbea79a5dd0e89648ba81ef4460c865cb9ccbc176a3575fbf1e00bad1d5d
6
+ metadata.gz: 6e693911295e1b68b3b99f2fdeef192270673cdc3f00dd432220cd5473cb022fb590da7d440d7397f21a5fd09981399f278b752b9fe8354253fa44fb851d54df
7
+ data.tar.gz: cc0df0e021d70c2b4092a79cf6f9674be2522004debaf27833f14c22e4aabd4a930e8e437773eda4b24bec37813d325b5be249a5edac7f9e030a5b14263788dc
data/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.2.2] — 2026-09-24
10
+
11
+ ### Fixed
12
+ - Precompiled gems failed to load: the binaries ship under `lib/ruby_fst/<ruby minor>/`, but
13
+ the loader only looked for the source-build path. It now tries the versioned directory first.
14
+
9
15
  ## [0.2.1] — 2026-09-24
10
16
 
11
17
  ### Fixed
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyFst
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
5
5
  end
data/lib/ruby_fst.rb CHANGED
@@ -1,7 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative 'ruby_fst/version'
4
- require_relative 'ruby_fst/ruby_fst'
4
+ begin
5
+ require_relative "ruby_fst/#{RUBY_VERSION[/\A\d+\.\d+/]}/ruby_fst"
6
+ rescue LoadError
7
+ require_relative 'ruby_fst/ruby_fst'
8
+ end
5
9
 
6
10
  module RubyFst
7
11
  module RangeQuery
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-fst
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Denis Sablic