aboutsummaryrefslogtreecommitdiff
path: root/ruby/tests
Commit message (Collapse)AuthorAgeFilesLines
* Ruby extension: added oneof accessor.Chris Fallin2015-01-141-0/+6
|
* Addressed code-review comments.Chris Fallin2015-01-141-1/+6
|
* Two tests for Ruby code generator:Chris Fallin2015-01-143-0/+208
| | | | | | | | | | | | - A golden-file test that ensures protoc produces known-valid output. - A Ruby test that loads that golden file and ensures it actually works with the extension. This split strategy allows us to test end-to-end without needing to integrate the Ruby gem build system and the protoc build system. This is desirable because we do not want a gem build/install to depend on building protoc, and we do not want building protoc to depend on building and testing the gem.
* Support oneofs in MRI Ruby C extension.Chris Fallin2015-01-141-0/+92
|
* Line-wraps at 80 chars.Chris Fallin2015-01-131-13/+18
|
* Support for maps in the MRI C Ruby extension.Chris Fallin2015-01-061-2/+256
| | | | | | | | This adds the Map container and support for parsing and serializing maps in the protobuf wire format (as defined by the C++ implementation, with MapEntry submessages in a repeated field). JSON map serialization/parsing are not yet supported as these will require some changes to upb as well.
* Rename protobuf Ruby module to google/protobuf and rework its buildChris Fallin2014-12-122-2/+2
| | | | | | system. The Ruby module build now uses an amalgamated distribution of upb, and successfully builds a Ruby gem called 'google-protobuf' with module 'google/protobuf'.
* Provide a Ruby extension.Chris Fallin2014-12-092-0/+671
This adds a Ruby extension in ruby/ that is based on the 'upb' library (now included as a submodule), and adds support for Ruby code generation to the protoc compiler.