aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/compiler/ruby
Commit message (Collapse)AuthorAge
* Adopt ruby_package in ruby generated code. (#4627)Gravatar Paul Yang2018-05-17
| | | | | | * Adopt ruby_package in ruby generated code. * Add test for ruby_package
* Deleted scoped_ptr.hGravatar Adam Cozzette2018-03-14
| | | | | We no longer need this, now that we have finished the switch to C++11 and are using std::unique_ptr.
* Add and fix C++ runtime docsGravatar Jisi Liu2016-08-02
|
* Ruby: translate package names from snake_case -> PascalCase.Gravatar Josh Haberman2016-07-25
|
* Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.Gravatar Josh Haberman2016-07-25
| | | | | This brings us more into line with other langauges, and makes it more obvious when we are requiring protobuf generated code.
* Integrated internal changes from GoogleGravatar Adam Cozzette2016-06-29
| | | | This includes all internal changes from around May 20 to now.
* Generate well-known types in Ruby extension and prune unneeded proto2 ↵Gravatar Josh Haberman2016-03-03
| | | | dependencies.
* Added Ruby to conformance tests.Gravatar Josh Haberman2015-07-16
| | | | | | | | | | | | | 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_PROTOBUFGravatar Austin Schuh2015-06-10
|
* When doing make distcheck, a src/google/protobuf/compiler/ruby is created toGravatar Bo Yang2015-05-26
| | | | | 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 ↵Gravatar Bo Yang2015-05-25
| | | | 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/protobufGravatar Josh Haberman2015-02-17
|\
* | Integrate changes from Google open-source branch.Gravatar Josh Haberman2015-02-17
| |
| * Properly support maps in Ruby protoc and another bugfix.Gravatar Chris Fallin2015-02-12
| | | | | | | | | | | | | | | | | | | | 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 generatorGravatar Nobuaki Sukegawa2015-02-08
| |
| * Merge pull request #186 from ennerf/win32-msvc-fixGravatar Feng Xiao2015-02-02
| |\ | | | | | | MSVC protoc compiler fix
| | * removed accidental whitespaceGravatar Florian Enner2015-02-02
| | |
| | * replaced type fix with the recommended wayGravatar Florian Enner2015-01-31
| | |
| | * fixed MSVC compile errorGravatar Florian Enner2015-01-31
| | | | | | | | | | | | <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.Gravatar Chris Fallin2015-01-14
| | |
| * | Two tests for Ruby code generator:Gravatar Chris Fallin2015-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.Gravatar Chris Fallin2015-01-14
| |/
| * Support Ruby code generation only for proto3.Gravatar Chris Fallin2014-12-12
| |
| * Rename protobuf Ruby module to google/protobuf and rework its buildGravatar Chris Fallin2014-12-12
|/ | | | | | 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.Gravatar Chris Fallin2014-12-09
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.