Home

Awesome

Temporal Ruby SDK

⚠️ UNDER ACTIVE DEVELOPMENT

The last tag before this refresh is v0.1.1. Please reference that tag for the previous code.

TODO: Usage documentation

Development

Build

Prerequisites:

To build shared library for development use:

bundle exec rake compile

Note, this is not compile:dev because debug-mode in Rust has an issue that causes runtime stack size problems.

To lint, build, and test release:

bundle exec rake

Testing

This project uses minitest. To test:

bundle exec rake test

Can add options via TESTOPTS. E.g. single test:

bundle exec rake test TESTOPTS="--name=test_start_workflows_async"

Code Formatting and Type Checking

This project uses rubocop:

bundle exec rake rubocop:autocorrect

This project uses steep. First may need the RBS collection:

bundle exec rake rbs:install_collection

Now can run steep:

bundle exec rake steep

Proto Generation

Run:

bundle exec rake proto:generate