tokenizers 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0677a3662d1f3af9007bdc0524a71903270cfbb85c3bf0efaa2365946df6c5b1
4
- data.tar.gz: 00e49737180957c88fb8f8418de40c8983715c733275df16c1ab2fe97355f92d
3
+ metadata.gz: ae078880dfee0d026206156174a482b7e5345aea4784bb4a3e1298c499dd0e3d
4
+ data.tar.gz: baedf2cd55c0b4332232924bc2439e8ab9f6ba6703794e376f7f34f5724717c2
5
5
  SHA512:
6
- metadata.gz: f1fd8f9a57be7cac938ae6bc46533f540b210ef6d46a3f46e168a257d2b3156000b9f451e1085a9c90dd54444abeaa69b5d2ae2905fdb5abfc85fb7d610f1427
7
- data.tar.gz: c748fb9150431ecce025e9f98f870e8140f186a2cc796eb5df2dfef630db05ab45eb8f23f2dc5e50d39b4eadb5fc1f5e4902482f41b6dd469ff95eae4ec3d2f3
6
+ metadata.gz: 6292155935e06d70b9ab862d2493154ec21f3cc1ec9a7188e00517f026a3d79460f84b08c9701b6eab2b758ab27ce2a5a4fb90c517ec7a1817f5de31a0b95324
7
+ data.tar.gz: 99b04f81650ae8b12be1e82dc8989a37d9d90542cb461c7fadf0e618f8ac4592b614fa357a462d2e71cb8833e058678ff6e5e5d421b825c969559f5569c89cd5
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- ## 0.4.0 (2023-07-20)
1
+ ## 0.4.1 (2023-10-05)
2
+
3
+ - Fixed error loading gem
4
+
5
+ ## 0.4.0 (2023-09-20)
2
6
 
3
7
  - Updated Tokenizers to 0.14.0
4
8
  - Dropped support for Ruby < 3
data/Cargo.lock CHANGED
@@ -778,7 +778,7 @@ dependencies = [
778
778
 
779
779
  [[package]]
780
780
  name = "tokenizers"
781
- version = "0.4.0"
781
+ version = "0.4.1"
782
782
  dependencies = [
783
783
  "magnus",
784
784
  "onig",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "tokenizers"
3
- version = "0.4.0"
3
+ version = "0.4.1"
4
4
  license = "Apache-2.0"
5
5
  authors = ["Andrew Kane <andrew@ankane.org>"]
6
6
  edition = "2021"
@@ -38,7 +38,7 @@ static TRAINERS: Lazy<RModule> = Lazy::new(|ruby| ruby.get_inner(&TOKENIZERS).co
38
38
 
39
39
  #[magnus::init]
40
40
  fn init(ruby: &Ruby) -> RbResult<()> {
41
- let module = ruby.get_inner(&TOKENIZERS);
41
+ let module = ruby.define_module("Tokenizers")?;
42
42
 
43
43
  let class = module.define_class("Tokenizer", ruby.class_object())?;
44
44
  class.define_singleton_method("new", function!(RbTokenizer::from_model, 1))?;
@@ -1,3 +1,3 @@
1
1
  module Tokenizers
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tokenizers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-21 00:00:00.000000000 Z
11
+ date: 2023-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys