ru_token 0.1.2 → 0.1.4
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 +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/ru_token/version.rb +1 -1
- data/ru_token.gemspec +43 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e897566a4b98c9426b317af0be78057572d638d1c9e487e762f61d4e5d294fa3
|
4
|
+
data.tar.gz: 4817abb3728a559b74dedbfba48e10c1a809f696e28a8bdef517498ac21f70a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d152bcdf654b504c37538595b1f9acadade6066682a60e5763fff5fbeecdf1ee69d8dee93f954b234338ba0b1a5b9413bee1d9233587f190b0a4a151306203c0
|
7
|
+
data.tar.gz: 5677dbb0e27105dcc26e0a50b5c31c81ca6c4e171980129cc09dd309005efefc6107e6caa986be7a47c2f85f22886cae8b4669d815a47590481dc58c0cce9c43
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,16 @@ 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.4] - 2025-07-30
|
12
|
+
### Changed
|
13
|
+
- Removed test runners from release process.
|
14
|
+
|
15
|
+
---
|
16
|
+
## [0.1.3] - 2025-07-30
|
17
|
+
### Changed
|
18
|
+
- Update release process to properly pre-compile native gems.
|
19
|
+
|
10
20
|
---
|
11
21
|
## [0.1.2] - 2025-07-30
|
12
22
|
|
data/lib/ru_token/version.rb
CHANGED
data/ru_token.gemspec
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/ru_token/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "ru_token"
|
7
|
+
spec.version = RuToken::VERSION
|
8
|
+
spec.authors = ["Logan Bresnahan"]
|
9
|
+
spec.email = ["loganbbres@gmail.com"]
|
10
|
+
|
11
|
+
spec.summary = "Ruby wrapper for the tiktoken Rust library, providing fast tokenization for OpenAI models."
|
12
|
+
spec.description = "RuToken is a Ruby gem that wraps the tiktoken Rust library, enabling fast and efficient tokenization for OpenAI models. It supports multiple models including o200k_base, cl100k_base, p50k_base, and r50k_base."
|
13
|
+
spec.homepage = "https://github.com/LoganBresnahan/ru_token"
|
14
|
+
spec.license = "GPL-3.0-or-later"
|
15
|
+
spec.required_ruby_version = ">= 2.7.0"
|
16
|
+
spec.required_rubygems_version = ">= 3.0.0"
|
17
|
+
|
18
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
19
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
20
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
21
|
+
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
|
22
|
+
|
23
|
+
# Specify which files should be added to the gem when it is released.
|
24
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
25
|
+
spec.files = Dir.chdir(__dir__) do
|
26
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
27
|
+
(File.expand_path(f) == __FILE__) ||
|
28
|
+
f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor Gemfile])
|
29
|
+
end
|
30
|
+
end
|
31
|
+
spec.bindir = "exe"
|
32
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
33
|
+
spec.require_paths = ["lib"]
|
34
|
+
spec.extensions = ["ext/ru_token/Cargo.toml"]
|
35
|
+
|
36
|
+
# Development dependencies are managed here for the gem.
|
37
|
+
spec.add_development_dependency "bundler", ">= 2.0"
|
38
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
39
|
+
spec.add_development_dependency "rake-compiler"
|
40
|
+
|
41
|
+
# For more information and examples about making a new gem, check out our
|
42
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
43
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ru_token
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Logan Bresnahan
|
@@ -74,6 +74,7 @@ files:
|
|
74
74
|
- ext/ru_token/src/lib.rs
|
75
75
|
- lib/ru_token.rb
|
76
76
|
- lib/ru_token/version.rb
|
77
|
+
- ru_token.gemspec
|
77
78
|
- sig/ru_token.rbs
|
78
79
|
homepage: https://github.com/LoganBresnahan/ru_token
|
79
80
|
licenses:
|
@@ -98,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
99
|
- !ruby/object:Gem::Version
|
99
100
|
version: 3.0.0
|
100
101
|
requirements: []
|
101
|
-
rubygems_version: 3.
|
102
|
+
rubygems_version: 3.1.6
|
102
103
|
signing_key:
|
103
104
|
specification_version: 4
|
104
105
|
summary: Ruby wrapper for the tiktoken Rust library, providing fast tokenization for
|