ruby-fst 0.2.0-aarch64-linux → 0.2.2-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eab56e5045586c3279dbc01936b8387de90486349fb187953ae3128f295eae7a
4
- data.tar.gz: 55e246569033e968d5c507acab6632b0a1fb83f93b3dcf7ba65c8bd111dc5fcc
3
+ metadata.gz: e9592fc7ef73cbfd8aaccfef62ac0ef492e999159a02421fcf07571593987262
4
+ data.tar.gz: 5e6122e7ea9a6fb041288f04cfe11f24fa93a4a42de686ac6c9ebaed81f9dce3
5
5
  SHA512:
6
- metadata.gz: ae6563e91868399beb93ddee6563efd597e1698a42a2391c5bedcd4ecaaa4bf765a4cf21c14adf9a1ea3401ba8f5060c952e70f9d53bf8f3fa9f5726d5221161
7
- data.tar.gz: 354dac3923ea116aa661bd711842fee0cfd6ebf033515061f1a433f7bf4da155059851ecce21e7934cca65e8371610fbad14da8c2fe2b616de8ec7d4c0447fb6
6
+ metadata.gz: 633f81a2cf9083f03fc59bbb2bca1c68fd9887960452a9f97f0329cdfe3a4da0613a43a8d8e45baa551d938fc44f756732553b881a6387e1efcd842529ffdd0c
7
+ data.tar.gz: 1af5305c3caf55f38322fdc7e29b49e2d724d21aae8810ac932a380c7f71b8f6acb52aa673ef1eebaa0675b4046163bdea1297e659210f3bddd74de98a6945bb
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: aarch64-linux
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.so
29
29
  - lib/ruby_fst/3.3/ruby_fst.so
30
30
  - lib/ruby_fst/3.4/ruby_fst.so
31
+ - lib/ruby_fst/4.0/ruby_fst.so
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
  - - ">="