mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-09-21 13:37:35 -05:00
* Bump version to 1.3.9 * Fix JFKReader's format * Add Whisper::Context#free * Add test for Whisper::Context#free * Add Whisper::Context#free to RBS * Add Whisper::VAD::Context#free * Add test for Whisper::VAD::Context#free * Add Whisper::VAD::Context#free to RBS * Add Parakeet::Context#free * Add test for Parakeet::Context#free * Add Parakeet::Context#free to RBS * Check MemoryView format more strictly * Fallback MemoryView flags to SIMPLE when MemoryView not available * Add changelog entries * Update document on callbacks * Remove whitespace Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com> --------- Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com>
37 lines
1.1 KiB
Ruby
37 lines
1.1 KiB
Ruby
require_relative "extsources"
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "whispercpp"
|
|
s.authors = ["Georgi Gerganov", "Todd A. Fisher"]
|
|
s.version = '1.3.9'
|
|
s.description = %q{High-performance inference of OpenAI's Whisper automatic speech recognition (ASR) model via Ruby}
|
|
s.email = 'todd.fisher@gmail.com'
|
|
s.extra_rdoc_files = ['LICENSE', 'README.md']
|
|
|
|
s.files = `git ls-files . -z`.split("\x0") +
|
|
EXTSOURCES.collect {|file|
|
|
basename = File.basename(file)
|
|
if s.extra_rdoc_files.include?(basename)
|
|
basename
|
|
else
|
|
file.sub("../..", "ext/sources")
|
|
.sub("../javascript", "ext/sources/bindings/javascript")
|
|
end
|
|
}
|
|
|
|
s.summary = %q{Ruby whisper.cpp bindings}
|
|
s.test_files = s.files.select {|file| file.start_with? "test/"}
|
|
|
|
s.extensions << 'ext/extconf.rb'
|
|
s.required_ruby_version = '>= 3.3.0'
|
|
|
|
#### Documentation and testing.
|
|
s.homepage = 'https://github.com/ggml-org/whisper.cpp'
|
|
s.rdoc_options = ['--main', 'README.md']
|
|
|
|
|
|
s.platform = Gem::Platform::RUBY
|
|
|
|
s.licenses = ['MIT']
|
|
end
|