]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ruby : Fix of C++ header guard name, model URI support, type signature and more ...
authorKITAITI Makoto <redacted>
Mon, 30 Dec 2024 12:26:35 +0000 (21:26 +0900)
committerGitHub <redacted>
Mon, 30 Dec 2024 12:26:35 +0000 (14:26 +0200)
commitc84b83c370d3dd8d04dd1e9389085cc4e83dbfeb
tree173f2e6615810e64ad9c04bfbedee6fc945e88ce
parent5136fd92c2c03fb4417b01d511c41490d7353dfa
ruby : Fix of C++ header guard name, model URI support, type signature and more (#2683)

* Add test to make Whisper::Context.new accept URI string

* Add test to make Whisper::Context.new accept URI

* Make Whisper::Context.new accept URI string and URI

* Update README

Revert "Fix argument of rb_undefine_finalizer"

* Fix typos

* Add type signature file

* Assign literarl to const variable

* Load Whisper::Model::URI from Init_whisper

* Simplify .gitignore

* Don't load whisper.so from whisper/model/uri.rb

* Use each_with_object instead of each

* Add Development section to README

* Rename header guard to conform to C++ naming convention
bindings/ruby/.gitignore
bindings/ruby/README.md
bindings/ruby/ext/ruby_whisper.cpp
bindings/ruby/ext/ruby_whisper.h
bindings/ruby/lib/whisper.rb [deleted file]
bindings/ruby/lib/whisper/model/uri.rb
bindings/ruby/sig/whisper.rbs [new file with mode: 0644]
bindings/ruby/tests/test_model.rb