Twirp services in Ruby
Перейти к файлу
Arthur Nogueira Neves 749d0e489e bump version 1.12 2024-08-26 17:52:24 -04:00
.github/workflows CI: Use newest actions/checkout 2024-02-13 23:39:53 +01:00
example for now , rack 3 does not work 2024-08-26 17:42:09 -04:00
gemfiles Run CI with different versions of Faraday 2024-02-13 23:39:53 +01:00
internal/gen/typemap
lib bump version 1.12 2024-08-26 17:52:24 -04:00
protoc-gen-twirp_ruby update comment 2023-06-12 21:30:13 -04:00
test Merge pull request #122 from Shopify/bump-protobuf-4 2024-08-26 16:36:00 -04:00
vendor
.gitignore Run CI with different versions of Faraday 2024-02-13 23:39:53 +01:00
CONTRIBUTING.md move repo to my name 2023-06-12 21:21:47 -04:00
Gemfile
LICENSE
README.md Add a note about version 1.10 2024-08-26 17:14:04 -04:00
RELEASE_NOTES.md Add release notes 2024-08-26 17:51:56 -04:00
Rakefile
go.mod move repo to my name 2023-06-12 21:21:47 -04:00
go.sum
twirp.gemspec for now , rack 3 does not work 2024-08-26 17:42:09 -04:00

README.md

Twirp-Ruby

Run Tests

Twirp is a protocol for routing and serialization of services defined in a .proto file, allowing easy implementation of RPC services with auto-generated clients in different languages.

The canonical implementation is in Golang. The Twirp-Ruby project is the official implementation in Ruby for both server and clients.

Install

Add gem "twirp" to your Gemfile, or install with gem install twirp.

To auto-generate Ruby code from a proto file, use the protoc plugin and the --ruby_out option (see Wiki page).

No backwards compatible breaking changes, between minor versions(1.10.0)

When upgrading from version 1.9.0 to 1.10.0, note that there is a breaking change in the Twirp::ClientResp#initialize method. The method now accepts keyword arguments. For more details, refer to this comparison and this issue.

Documentation

On the wiki.

Contributing

On the CONTRIBUTING file.

Releases and changes

See the releases page for latest information about released versions.