Skip to content

Conversation

aakashanandg
Copy link
Contributor

@aakashanandg aakashanandg commented Oct 1, 2025

This PR introduces a new Ruby wrapper for spannerlib, located in spannerlib/wrappers/spannerlib-ruby.

The implementation uses Ruby's ffi gem to bind to the native Go library and exposes an idiomatic API with Pool and Connection classes. A full RSpec test suite is included to verify functionality against the Spanner emulator.

How to Test

  1. Start the Spanner emulator (using docker).

  2. Export the host: export SPANNER_EMULATOR_HOST="localhost:9010".

  3. Build the Go shared library (.so file).

  4. Navigate to spannerlib/wrappers/spannerlib-ruby.

  5. Run bundle install and then bundle exec rspec.

@aakashanandg aakashanandg requested a review from a team as a code owner October 1, 2025 10:36
@aakashanandg aakashanandg force-pushed the main branch 5 times, most recently from 657d676 to 17bd506 Compare October 6, 2025 11:42
olavloite
olavloite previously approved these changes Oct 6, 2025
@aakashanandg aakashanandg merged commit bb87d96 into googleapis:main Oct 7, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants