Skip to content

Commit 36a68c9

Browse files
authored
chore: bump version to 2.2.0 and update gemspec (#112)
Update gemspec to reflect all new features added since 2.1.0: - Logistic Regression classifier - TF-IDF vectorization - Streaming/incremental training - Pluggable persistence backends - Thread safety improvements Also adds required_ruby_version >= 3.1 to match CI matrix.
1 parent 7e1b38e commit 36a68c9

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
classifier (2.1.0)
4+
classifier (2.2.0)
55
fast-stemmer (~> 1.0)
66
matrix
77
mutex_m (~> 0.2)

classifier.gemspec

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
Gem::Specification.new do |s|
22
s.name = 'classifier'
3-
s.version = '2.1.0'
4-
s.summary = 'Text classification with Bayesian, LSI, and k-Nearest Neighbors algorithms.'
5-
s.description = 'A Ruby library for text classification using Bayesian, LSI (Latent Semantic Indexing), and k-Nearest Neighbors (kNN) algorithms. Includes native C extension for fast LSI operations.'
3+
s.version = '2.2.0'
4+
s.summary = 'Text classification with Bayesian, LSI, Logistic Regression, kNN, and TF-IDF vectorization.'
5+
s.description = 'A Ruby library for text classification featuring Naive Bayes, LSI (Latent Semantic Indexing), ' \
6+
'Logistic Regression, and k-Nearest Neighbors classifiers. Includes TF-IDF vectorization, ' \
7+
'streaming/incremental training, pluggable persistence backends, thread safety, and a native ' \
8+
'C extension for fast LSI operations.'
69
s.author = 'Lucas Carlson'
710
s.email = 'lucas@rufy.com'
811
s.homepage = 'https://rubyclassifier.com'
@@ -12,6 +15,7 @@ Gem::Specification.new do |s|
1215
'bug_tracker_uri' => 'https://github.com/cardmagic/classifier/issues',
1316
'changelog_uri' => 'https://github.com/cardmagic/classifier/releases'
1417
}
18+
s.required_ruby_version = '>= 3.1'
1519
s.files = Dir['{lib,sig}/**/*.{rb,rbs}', 'ext/**/*.{c,h,rb}', 'bin/*', 'LICENSE', '*.md', 'test/*']
1620
s.extensions = ['ext/classifier/extconf.rb']
1721
s.license = 'LGPL'

0 commit comments

Comments
 (0)