aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/compiler/ruby
Commit message (Collapse)AuthorAgeFilesLines
* Added Ruby to conformance tests.Josh Haberman2015-07-162-16/+24
| | | | | | | | | | | | | 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
* Modified FindRubyTestDir to use GOOGLE_THIRD_PARTY_PROTOBUFAustin Schuh2015-06-101-0/+4
|
* When doing make distcheck, a src/google/protobuf/compiler/ruby is created toBo Yang2015-05-261-3/+3
| | | | | put built libraries. This directory hides the one that contains ruby_generated_code.proto and ruby_generated_code.rb.
* Copy two data files from ruby/tests to src/google/compiler/ruby. Tests in ↵Bo Yang2015-05-253-7/+148
| | | | src/google/compiler/ruby depend on these two files, but they were missed in language distributions other than ruby
* Merge branch 'master' of github.com:google/protobufJosh Haberman2015-02-173-10/+209
|\
| * Properly support maps in Ruby protoc and another bugfix.Chris Fallin2015-02-121-16/+59
| | | | | | | | | | | | | | | | | | | | Previously, we supported map fields in the Ruby DSL. However, we never connected the final link in the chain and generated `map` DSL commands for map fields in `.proto` files. My apologies -- I had been testing with the DSL directly so I missed this. Also fixed a handlerdata-setup-infinite-loop when a map value field's type is its containing message.
| * Add missing LIBPROTOC_EXPORT to ruby generatorNobuaki Sukegawa2015-02-081-1/+2
| |
| * Merge pull request #186 from ennerf/win32-msvc-fixFeng Xiao2015-02-021-2/+2
| |\ | | | | | | MSVC protoc compiler fix
| | * removed accidental whitespaceFlorian Enner2015-02-021-1/+1
| | |
| | * replaced type fix with the recommended wayFlorian Enner2015-01-311-8/+2
| | |
| | * fixed MSVC compile errorFlorian Enner2015-01-311-0/+6
| | | | | | | | | | | | <stdint.h> is not part of the standard, so I've added a workaround.
| * | Fix golden-file Ruby test to work with out-of-tree builds.Chris Fallin2015-01-141-33/+36
| | |
| * | Two tests for Ruby code generator:Chris Fallin2015-01-141-0/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 the Ruby code generator.Chris Fallin2015-01-141-18/+46
| |/
| * Support Ruby code generation only for proto3.Chris Fallin2014-12-121-0/+8
| |
| * Rename protobuf Ruby module to google/protobuf and rework its buildChris Fallin2014-12-121-1/+1
| | | | | | | | | | | | 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'.
* | Integrate changes from Google open-source branch.Josh Haberman2015-02-171-3/+4
|/
* Provide a Ruby extension.Chris Fallin2014-12-092-0/+370
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.