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

Added Ruby to conformance tests. #604

Merged
merged 3 commits into from
Jul 20, 2015

Conversation

haberman
Copy link
Member

This involved fixing a few important bugs in the
Ruby implementation -- mostly cases of mixing
upb field types and descriptor types (upb field
types do not distinguish between int/sint/fixed/sfixed
like descriptor types do).

Also added protobuf-specific exceptions so parse
errors can be caught specifically.

Change-Id: Ib49d3db976900b2c6f3455c8b88af52cfb86e036

This involved fixing a few important bugs in the
Ruby implementation -- mostly cases of mixing
upb field types and descriptor types (upb field
types do not distinguish between int/sint/fixed/sfixed
like descriptor types do).

Also added protobuf-specific exceptions so parse
errors can be caught specifically.

Change-Id: Ib49d3db976900b2c6f3455c8b88af52cfb86e036
test_message = Conformance::TestAllTypes.decode_json(request.json_payload)

when nil
raise "Request didn't have payload.";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove semi-colon.

period could either be added on other lines or removed here, for consistency.

haberman added 2 commits July 17, 2015 16:20
Change-Id: Id008ebac5159f773e1bde8b85acb2626cbd16de8
Change-Id: If7b1cc0f03f609a7f43ddafc8509b44207c60910
@haberman
Copy link
Member Author

PTAL, I have integrated all of these comments. Thanks!

@raggi
Copy link

raggi commented Jul 20, 2015

LGTM

👍

haberman added a commit that referenced this pull request Jul 20, 2015
Added Ruby to conformance tests.
@haberman haberman merged commit aba42ed into protocolbuffers:master Jul 20, 2015
@haberman haberman deleted the ruby-conformance branch February 18, 2016 21:03
taoso pushed a commit to taoso/protobuf that referenced this pull request Aug 1, 2018
…tocolbuffers#604)

32a84b2 added a newline that resulted in the interface doc comment
becoming detached from the interface type definition. However, both it
and the corresponding server comment were inconsistent, so this change
makes them all consistent and well-rendered in godoc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants