kabosu 0.1.0 → 0.1.1.dev.20260225.c337406
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/ext/kabosu/Cargo.toml +1 -1
- data/lib/kabosu/release.rake +39 -0
- data/lib/kabosu/version.rb +1 -1
- metadata +8 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fc7453bb61c41418170b825f1f3364a8f52ac5fb280a098227ce84b825bf62cb
|
|
4
|
+
data.tar.gz: c7de243b504115df2b58400eb8392932050a226cb4d7986eb8002c646b10b78f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef273c7c573ea9e6898cd96c6775751d49846f465406195659ab3e27057b392d95af0a27e930131718c0fb78f8af0a6cd0344ccc6711fba33656947d419d7d9b
|
|
7
|
+
data.tar.gz: 40c0b7699d4e42de518560c175a178286d749f0c53e19d8a3ad92609cba2fc71b9a7ddbd1a60673e1601090528e25c7f77af235869a0d4758537e83e63d3c573
|
data/ext/kabosu/Cargo.toml
CHANGED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
namespace :release do
|
|
2
|
+
desc "Bump version. Usage: rake release:bump[1.2.3]"
|
|
3
|
+
task :bump, [:version] do |_t, args|
|
|
4
|
+
version = args[:version]
|
|
5
|
+
abort "Usage: rake release:bump[1.2.3]" unless version&.match?(/\A\d+\.\d+\.\d+\z/)
|
|
6
|
+
|
|
7
|
+
# Update lib/kabosu/version.rb
|
|
8
|
+
version_file = File.expand_path("version.rb", __dir__)
|
|
9
|
+
content = File.read(version_file)
|
|
10
|
+
new_content = content.sub(/VERSION = ".*"/, %(VERSION = "#{version}"))
|
|
11
|
+
File.write(version_file, new_content)
|
|
12
|
+
puts "Updated #{version_file}"
|
|
13
|
+
|
|
14
|
+
# Update ext/kabosu/Cargo.toml
|
|
15
|
+
cargo_file = File.expand_path("../../ext/kabosu/Cargo.toml", __dir__)
|
|
16
|
+
content = File.read(cargo_file)
|
|
17
|
+
new_content = content.sub(/^version = ".*"/, %(version = "#{version}"))
|
|
18
|
+
File.write(cargo_file, new_content)
|
|
19
|
+
puts "Updated #{cargo_file}"
|
|
20
|
+
|
|
21
|
+
puts "\nVersion bumped to #{version}"
|
|
22
|
+
puts "Next steps:"
|
|
23
|
+
puts " jj commit -m 'Bump version to #{version}'"
|
|
24
|
+
puts " jj tag set v#{version}"
|
|
25
|
+
puts " jj git push --all"
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
desc "Build the gem"
|
|
29
|
+
task :build do
|
|
30
|
+
sh "gem build kabosu.gemspec"
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
desc "Build and push the gem to RubyGems"
|
|
34
|
+
task push: :build do
|
|
35
|
+
gemfile = Dir["kabosu-*.gem"].max_by { |f| File.mtime(f) }
|
|
36
|
+
abort "No .gem file found" unless gemfile
|
|
37
|
+
sh "gem push #{gemfile}"
|
|
38
|
+
end
|
|
39
|
+
end
|
data/lib/kabosu/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kabosu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1.dev.20260225.c337406
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- davafons
|
|
8
|
+
autorequire:
|
|
8
9
|
bindir: bin
|
|
9
10
|
cert_chain: []
|
|
10
|
-
date:
|
|
11
|
+
date: 2026-02-25 00:00:00.000000000 Z
|
|
11
12
|
dependencies:
|
|
12
13
|
- !ruby/object:Gem::Dependency
|
|
13
14
|
name: rb_sys
|
|
@@ -67,6 +68,7 @@ dependencies:
|
|
|
67
68
|
version: '5.0'
|
|
68
69
|
description: Kabosu provides Ruby bindings for sudachi.rs, a Rust implementation of
|
|
69
70
|
the Sudachi Japanese morphological analyzer.
|
|
71
|
+
email:
|
|
70
72
|
executables: []
|
|
71
73
|
extensions:
|
|
72
74
|
- ext/kabosu/extconf.rb
|
|
@@ -80,12 +82,14 @@ files:
|
|
|
80
82
|
- lib/kabosu/dict_manager.rb
|
|
81
83
|
- lib/kabosu/morpheme_list.rb
|
|
82
84
|
- lib/kabosu/pos_matcher.rb
|
|
85
|
+
- lib/kabosu/release.rake
|
|
83
86
|
- lib/kabosu/tasks.rake
|
|
84
87
|
- lib/kabosu/version.rb
|
|
85
88
|
homepage: https://github.com/davafons/kabosu
|
|
86
89
|
licenses:
|
|
87
90
|
- MIT
|
|
88
91
|
metadata: {}
|
|
92
|
+
post_install_message:
|
|
89
93
|
rdoc_options: []
|
|
90
94
|
require_paths:
|
|
91
95
|
- lib
|
|
@@ -100,7 +104,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
100
104
|
- !ruby/object:Gem::Version
|
|
101
105
|
version: '0'
|
|
102
106
|
requirements: []
|
|
103
|
-
rubygems_version: 3.
|
|
107
|
+
rubygems_version: 3.5.22
|
|
108
|
+
signing_key:
|
|
104
109
|
specification_version: 4
|
|
105
110
|
summary: Ruby bindings for Sudachi Japanese morphological analyzer
|
|
106
111
|
test_files: []
|