mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-02-21 09:21:49 +00:00
* Improve Rakefile * Remove intermediate files * Remove unnecessary manipulations from extconf.rb * Add README and LINCENSE to source files * Manage ext source files using YAML file * Use extsources.yaml to include files into gem package file * Add git-managed source files to build dependency * Add test task * Download model for test if not exists * Add test for build * Ignore gem package directory * Enable GitHub action for Ruby binding * Fix model name * Build lib file for test * Use extension for each platform * Use extension for each platform on testing * Move built lib file rather than copy * Add intermediate files to clean targets
29 lines
820 B
Ruby
29 lines
820 B
Ruby
require "yaml"
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "whispercpp"
|
|
s.authors = ["Georgi Gerganov", "Todd A. Fisher"]
|
|
s.version = '1.3.0'
|
|
s.date = '2024-05-14'
|
|
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") + YAML.load_file("extsources.yaml").values.flatten
|
|
|
|
s.summary = %q{Ruby whisper.cpp bindings}
|
|
s.test_files = ["tests/test_whisper.rb"]
|
|
|
|
s.extensions << 'ext/extconf.rb'
|
|
|
|
|
|
#### Documentation and testing.
|
|
s.homepage = 'https://github.com/ggerganov/whisper.cpp'
|
|
s.rdoc_options = ['--main', '../../README.md']
|
|
|
|
|
|
s.platform = Gem::Platform::RUBY
|
|
|
|
s.licenses = ['MIT']
|
|
end
|