ruby-fst 0.2.0-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: 2a18227ce3eb3e6650b199403aa2bb431b7db530113ce650246c87e945343621
4
- data.tar.gz: 0d2e9a6b20793313e1d43bcb8fc99005cc6841ea60d2f09f7bb681059e9d683f
3
+ metadata.gz: d9d12c09549d95dc89a1d870448301994e740269f2e04cc66a7c7f0290c6c93b
4
+ data.tar.gz: f5e1f30a7124f22b6f24bb35a6be0ca8b7d073995b7b1c83fe5426bfd5177db4
5
5
  SHA512:
6
- metadata.gz: 801841411ab804ae5eee2d7e6da09f2f94e27c1ba2a5d3afea9892521d202a9b48d8727adaccb1e22112831c29c052eb21fc05568d1833e102e6b15a07c496b2
7
- data.tar.gz: 2d260cb6cf5562d8ee2583fd1edb790c495563995934120c3fcbb155fa460ba212e156af4eee219b80cfb137e3a57e4c91523082bac3beb35aee74749804beda
6
+ metadata.gz: 6e693911295e1b68b3b99f2fdeef192270673cdc3f00dd432220cd5473cb022fb590da7d440d7397f21a5fd09981399f278b752b9fe8354253fa44fb851d54df
7
+ data.tar.gz: cc0df0e021d70c2b4092a79cf6f9674be2522004debaf27833f14c22e4aabd4a930e8e437773eda4b24bec37813d325b5be249a5edac7f9e030a5b14263788dc
data/CHANGELOG.md CHANGED
@@ -6,6 +6,19 @@ 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
+
15
+ ## [0.2.1] — 2026-09-24
16
+
17
+ ### Fixed
18
+ - Precompiled gems now build for Ruby 4.0, widening `required_ruby_version` from `< 3.5.dev`
19
+ to `< 4.1.dev`. On Ruby 4.x every precompiled variant was ineligible, so bundler fell back
20
+ to the source gem and the install needed a Rust toolchain and libclang.
21
+
9
22
  ## [0.2.0] — 2026-05-13
10
23
 
11
24
  ### Added
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.0'
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-fst
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Denis Sablic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-13 00:00:00.000000000 Z
11
+ date: 2026-09-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Finite state transducer backed ordered sets and maps via the Rust fst
14
14
  crate by BurntSushi
@@ -28,6 +28,7 @@ files:
28
28
  - lib/ruby_fst/3.2/ruby_fst.bundle
29
29
  - lib/ruby_fst/3.3/ruby_fst.bundle
30
30
  - lib/ruby_fst/3.4/ruby_fst.bundle
31
+ - lib/ruby_fst/4.0/ruby_fst.bundle
31
32
  - lib/ruby_fst/version.rb
32
33
  - ruby_fst.gemspec
33
34
  homepage: https://github.com/dsablic/ruby-fst
@@ -48,7 +49,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
48
49
  version: '3.2'
49
50
  - - "<"
50
51
  - !ruby/object:Gem::Version
51
- version: 3.5.dev
52
+ version: 4.1.dev
52
53
  required_rubygems_version: !ruby/object:Gem::Requirement
53
54
  requirements:
54
55
  - - ">="