]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ruby : make Ruby bindings installed with build options (#3056)
authorKITAITI Makoto <redacted>
Thu, 17 Apr 2025 09:49:58 +0000 (18:49 +0900)
committerGitHub <redacted>
Thu, 17 Apr 2025 09:49:58 +0000 (18:49 +0900)
commitf0d2bfbfb77e01df6160f64d249bd43e75e11660
tree0ee5608006213342cf3123482b0d9d3459d2e580
parent170b2faf75c2f6173ef947e6ef346961f3368e1b
ruby : make Ruby bindings installed with build options (#3056)

* Fix signature of URI.new7s return value

* Use path instead of string | _ToPath

* Add document comment to RBS

* Remove unnecessary build flags

* Remove unnecessary line

* Remove files have become unnecessary

* Make gem install accept build options for whisper.cpp

* Add instraction for build options in README

* Add methods for check to Options

* Test build options

* Rename: configs -> options

* Add assert_installed assertion

* Use assert_installed

* Remove unused attribute

* Extract dependency check logic as Dependencies class

* Update README

* Add WHISPER_FFMPEG option

* Test extra build options only on local test

* Bump version to 1.3.2 [skip ci]
bindings/ruby/README.md
bindings/ruby/ext/cpu.mk [deleted file]
bindings/ruby/ext/dependencies.rb [new file with mode: 0644]
bindings/ruby/ext/extconf.rb
bindings/ruby/ext/metal-embed.mk [deleted file]
bindings/ruby/ext/metal.mk [deleted file]
bindings/ruby/ext/options.rb [new file with mode: 0644]
bindings/ruby/sig/whisper.rbs
bindings/ruby/tests/helper.rb
bindings/ruby/tests/test_package.rb
bindings/ruby/whispercpp.gemspec