ru_token 0.1.7-x86_64-linux → 0.1.8-x86_64-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: 18bd6f423c7e3a3af8a7c8c986424a5eeca510afaf00dc6cd8c545c74a38e4f0
4
- data.tar.gz: 572ec1ae4ae2351bcc88f1bdd1c7ab80abb088631b44e1ec7503c3baec28837c
3
+ metadata.gz: '0872b00c6c5fcf40b7c5587241d0eadc5b87c8ccd34287a4bf070157b27c1972'
4
+ data.tar.gz: 66617ee4f0dc8dcdd42d2831f3312f84b0ae64117b4b7efb23040d7a9f4a560c
5
5
  SHA512:
6
- metadata.gz: 99619518c62d40d79bada06d38fd04c8416327bd73917fcb59fc6f82eae56595966766ed740dc44d10db966b709ff7d4e73023d4a4440cdd08f14ed726cc887f
7
- data.tar.gz: 1df186ace2c15c54ae0955a73a385ad7b505ab19fa65eb8f0c596d0b9ddecf644904247cb09e34575857d64864ed979574bc7ada8e568b205e0c15bcd6a2b026
6
+ metadata.gz: 943391b3d263f13c0bbe792735631aa32cdfa0e09f0af7beca6c2a9bb3dc6be0c2dc5097177b60c43ac2e6e83d03fb441ef070d8911825f9a3461bb29a9cbffa
7
+ data.tar.gz: ac66e391792f25ea975f368e5ab99aa6683ece88cfb95ad33b0b047dc0b8dbfc5ba7a9182484ef5c3f27ae1aef2b0ae97c590dff4bf778c4b87b62c532f000f3
data/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ---
11
+ ## [0.1.8] - 2025-07-30
12
+ ### Fix
13
+ - Correct loading paths for native gem versions.
14
+
10
15
  ---
11
16
  ## [0.1.7] - 2025-07-30
12
17
  ### Changed
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RuToken
4
- VERSION = "0.1.7"
4
+ VERSION = "0.1.8"
5
5
  end
data/lib/ru_token.rb CHANGED
@@ -3,9 +3,14 @@
3
3
  require_relative "ru_token/version"
4
4
 
5
5
  begin
6
- require "ru_token/ru_token"
6
+ ruby_version = RUBY_VERSION.split('.')[0..1].join('.')
7
+ require "ru_token/#{ruby_version}/ru_token"
7
8
  rescue LoadError
8
- warn "Failed to load ru_token native extension."
9
+ begin
10
+ require "ru_token/ru_token"
11
+ rescue LoadError
12
+ warn "Failed to load ru_token native extension."
13
+ end
9
14
  end
10
15
 
11
16
  module RuToken
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ru_token
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Logan Bresnahan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-07-30 00:00:00.000000000 Z
11
+ date: 2025-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler