Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to work with kRPC server 0.2.x #6

Merged
merged 2 commits into from
Feb 15, 2016
Merged

Conversation

djungelorm
Copy link
Contributor

In kRPC 0.2.x the server has been upgraded to use protobuf 3. This required some changes to the protocol buffer definitions (optional fields are no longer possible, so some boolean fields were added): krpc/krpc@92494c7#diff-4ea62fc6fe7db6b41cbca425cd4b0799

This patch updates the ruby client so that it works with server version 0.2.x. I also added some tests for the low level protobuf encoding, and updated it to use the official google-protobuf 3.0.0 gem.

@djungelorm
Copy link
Contributor Author

Looks like the travis build failure is due to travis using an outdated version of bundler. The build works fine on my local machine with Ruby 2.1.
rubygems/rubygems#1419

@TeWu TeWu self-assigned this Feb 13, 2016
@TeWu
Copy link
Owner

TeWu commented Feb 15, 2016

Thanks, I really appreciate the time you took to patch it.

TeWu added a commit that referenced this pull request Feb 15, 2016
Update to work with kRPC server 0.2.x
@TeWu TeWu merged commit 305e1ff into TeWu:master Feb 15, 2016
@djungelorm
Copy link
Contributor Author

My pleasure - I'd not written in Ruby before and it was fun to learn it. I hope my code isn't too n00bish!

@TeWu TeWu added this to the 0.3.0 milestone Jun 18, 2016
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